* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #050b14;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --accent-blue: #00f0ff;
    --glass-bg: rgba(10, 25, 47, 0.6);
    --glass-border: rgba(0, 240, 255, 0.15);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden; 
}

#shattered-glass {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.page-section {
    width: 95%;
    max-width: 1100px;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
                inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.center-header {
    justify-content: center;
}

.section-header h2 {
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
}

.section-header .highlight {
    color: var(--accent-blue);
    font-weight: 700;
}

.header-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border) 0%, transparent 100%);
    max-width: 300px;
}

.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.portfolio-container {
    display: flex;
    width: 95%;
    max-width: 1300px;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.name-section { flex: 1; }
.name-wrapper { position: relative; display: inline-block; }

.original-text { opacity: 0; transition: opacity 0.3s ease; }
.text-shard {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; filter: drop-shadow(0px 0px 8px rgba(0, 240, 255, 0.4));
}

.name-wrapper h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: 7.5rem;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -3px;
    text-shadow: 0px 10px 30px rgba(0,0,0,0.8);
}

.name-wrapper .last-name {
    background: linear-gradient(135deg, var(--text-main) 20%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-indicator {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.scroll-arrow span {
    display: block; width: 20px; height: 20px;
    border-bottom: 2px solid var(--accent-blue);
    border-right: 2px solid var(--accent-blue);
    transform: rotate(45deg); margin: -6px 0;
    animation: scroll 2s infinite;
}
.scroll-arrow span:nth-child(2) { animation-delay: -0.2s; }
.scroll-arrow span:nth-child(3) { animation-delay: -0.4s; }

@keyframes scroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; box-shadow: 2px 2px 5px rgba(0,240,255,0.5); }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

.sys-status {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    color: var(--accent-blue);
    letter-spacing: 2px;
    opacity: 0.7;
}

.info-section { flex: 1.2; max-width: 600px; }

.roles {
    list-style: none; font-size: 1.3rem;
    line-height: 2.2; color: var(--text-muted); font-weight: 600;
}
.cyber-bullet {
    color: var(--accent-blue); margin-right: 15px;
    font-family: 'Syncopate', sans-serif; text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}
.roles li:hover { color: var(--text-main); }

.achievements-showcase { position: relative; min-height: 90px; display: flex; align-items: center; width: 100%; }

.achievement-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 2rem; border-radius: 12px; font-size: 1.15rem; font-weight: 600; width: 100%;
    position: absolute; opacity: 0; transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none;
}
.achievement-card.active {
    opacity: 1; transform: translateX(0); pointer-events: auto;
    border-left: 3px solid var(--accent-blue);
    background: linear-gradient(90deg, rgba(0,240,255,0.05) 0%, transparent 100%);
}

.about-panel { text-align: center; }
.full-name { font-family: 'Syncopate', sans-serif; font-size: 2.5rem; margin-bottom: 2rem; color: var(--accent-blue); }

.education-grid { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.edu-card { display: flex; align-items: flex-start; gap: 1rem; background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; }
.edu-card h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #fff; }
.edu-card p { color: var(--text-muted); font-size: 1.1rem; }

.projects-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
}
.project-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    transition: transform 0.3s ease; 
    text-decoration: none; 
    color: var(--text-main);
    padding: 2.5rem;
}
.project-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent-blue); 
}
.project-header { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.8rem;
    margin-bottom: 1.2rem; 
}
.project-header h3 { 
    font-family: 'Syncopate', sans-serif; 
    font-size: 1.5rem; 
}
.status-badge { 
    background: rgba(0, 240, 255, 0.1); 
    color: var(--accent-blue); 
    padding: 0.3rem 0.8rem; 
    border-radius: 50px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    border: 1px solid var(--accent-blue); 
}
.project-card p { 
    color: var(--text-muted); 
    font-size: 1.1rem; 
}

.social-footer { width: 100%; display: flex; justify-content: center; padding-bottom: 4rem; }
.footer-panel { width: 95%; max-width: 800px; text-align: center; }
.footer-panel h3 { margin-bottom: 2rem; font-family: 'Syncopate', sans-serif; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.social-btn { display: inline-block; padding: 1rem 2rem; border: 1px solid var(--glass-border); border-radius: 8px; color: var(--text-main); text-decoration: none; font-weight: bold; font-family: 'Syncopate', sans-serif; transition: all 0.3s ease; }
.social-btn:hover { background: rgba(0, 240, 255, 0.1); border-color: var(--accent-blue); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }

@media (max-width: 950px) {
    .portfolio-container { 
        flex-direction: column; 
        gap: 3rem; 
        text-align: center; 
    }
    
    .glass-panel {
        padding: 1.5rem;
    }

    .name-wrapper h1 { 
        font-size: 4.5rem; 
    }
    
    .name-section { 
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .scroll-indicator { 
        justify-content: center; 
    }

    .profile-data {
        display: flex;
        justify-content: center;
    }
    .roles {
        text-align: left;
        display: inline-block;
    }
    .roles li {
        display: flex;
        align-items: flex-start;
    }
    .cyber-bullet {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .projects-grid { 
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links { 
        flex-direction: column; 
        gap: 1rem; 
    }
}