
:root {
    --bg-dark: #030712;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(0, 229, 255, 0.15);
    --accent-blue: #00e5ff;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

.background-glow {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, rgba(3, 7, 18, 0) 70%);
    z-index: -1;
}

.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px; 
    margin: 0 auto;
}

.glass-sidebar {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sidebar-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.name {
    font-size: 1.5rem;   
    font-weight: 300;
    color: #f8fafc;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.lastname {
    font-size: 2rem;      
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 1rem;
}
.role-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-blue);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.quick-stats {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
    margin-bottom: 1.5rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.signature {
    font-family: 'Brush Script MT', 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--accent-blue);
    opacity: 0.6;
    margin: 1rem 0;
}

.sidebar-socials {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}

.icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: 0.3s;
    font-size: 1.4rem;
    /* ELIMINA LÍNEAS AZULES */
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
}

.icon-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
    border-bottom: none !important;
}

.bento-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 2rem; 
}

.col-span-2 {
    grid-column: span 2;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: 0.3s;
    margin-bottom: 1.5rem; 
}

.glass-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-title {
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.hero-card {
    display: flex !important;
    flex-direction: row !important;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.hero-text-content {
    flex: 1;
    text-align: left;
}
.hero-text-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.hero-image-wrapper {
    width: 240px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.right-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.3);
}
.tech-container, .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-pill img {
    width: 20px;
    height: 20px;
}
.interest-tag {
    background: rgba(0, 229, 255, 0.05);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    border: 1px solid transparent;
}
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.edu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 16px;
}
.edu-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
}
.edu-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.edu-text span {
    font-size: 0.85rem;
    color: var(--accent-blue);
}
.peers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.peer-pill {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.map-card {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
}

.map-info {
    width: 30%;
}
.map-container {
    width: 70%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
}
.floating-ghost {
    font-size: 3rem;
    margin-top: 1rem;
    animation: hover-ghost 3s infinite ease-in-out;
}
@keyframes hover-ghost {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .glass-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
}
.edu-item {
    transition: transform 0.3s ease, background 0.3s ease;
}
.edu-item:hover {
    transform: translateY(-5px); 
    background: rgba(0, 229, 255, 0.05);
}
.edu-logo {
    transition: transform 0.3s ease;
}
.edu-item:hover .edu-logo {
    transform: scale(1.1) rotate(5deg); 
}

a.subtle-link {
    text-decoration: none; 
    color: inherit;       
    cursor: pointer;
}

.link-icon {
    font-size: 0.8rem;
    opacity: 0.4;       
    margin-left: 6px;
    transition: all 0.3s ease;
}

a.subtle-link:hover .link-icon {
    opacity: 1;
    color: var(--accent-blue); 
}