/* ========================================
   fr3akazo1d Personal Website
   Dark Hacker Aesthetic with Glitch Effects
   ======================================== */

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --bg-main: #10141a;
    --bg-secondary: #141d2b;
    --accent-cyan: #00fff7;
    --accent-red: #ff003c;
    --text-main: #c0c0c0;
    --text-bright: #ffffff;
    
    /* Fonts */
    --font-mono: 'JetBrains Mono', 'Hack', 'Source Code Pro', monospace;
    --font-sans: 'Inter', 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body, body * {
    cursor: none !important;
}

::selection {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
}

/* === CUSTOM CURSOR === */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    opacity: 1;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    opacity: 1;
}

/* Hide custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    body, body * {
        cursor: auto !important;
    }
}

/* === LINKS === */
a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-cyan);
}

/* === UNIVERSAL CARD HOVER GLOW === */
.blog-card:hover,
.project-card:hover,
.contact-card:hover,
.platform-card:hover,
.skill-category:hover,
.timeline-item:hover .timeline-content,
.cert-item:hover,
.terminal-window:hover,
.course-card:hover,
.conference-card:hover,
.gallery-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 247, 0.4), 0 0 60px rgba(0, 255, 247, 0.2);
    border-color: var(--accent-cyan) !important;
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === HEADER === */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.header-container {
    text-align: center;
    z-index: 1;
}

/* === LOGO === */
.logo-container {
    margin-bottom: var(--spacing-lg);
}

.logo {
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Orbitron', 'Rajdhani', 'Share Tech Mono', 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
    text-transform: uppercase;
}

.logo-f {
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 20px rgba(0, 255, 247, 0.4),
        0 0 40px rgba(0, 255, 247, 0.2);
}

.logo-exclaim {
    color: var(--accent-red);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 20px rgba(255, 7, 58, 0.4),
        0 0 40px rgba(255, 7, 58, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* === CYBERPUNK GLITCH EFFECT === */
.glitch {
    position: relative;
    display: inline-block;
    text-shadow: 
        0.04em 0 0 rgba(255, 0, 60, 0.6),
        -0.03em 0 0 rgba(0, 255, 247, 0.6);
    animation: glitch-main 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    opacity: 0;
}

.glitch::before {
    left: 3px;
    text-shadow: -2px 0 var(--accent-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-before 3s infinite steps(4);
    mix-blend-mode: screen;
}

.glitch::after {
    left: -3px;
    text-shadow: 2px 0 var(--accent-red);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-after 4s infinite steps(4);
    mix-blend-mode: screen;
}

/* Noise overlay */
.glitch::before {
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
}

@keyframes glitch-main {
    0%, 100% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
    2% {
        text-shadow: 
            0.06em 0.03em 0 rgba(255, 0, 60, 0.8),
            -0.04em -0.02em 0 rgba(0, 255, 247, 0.8);
    }
    4% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
    10% {
        text-shadow: 
            -0.05em 0.02em 0 rgba(255, 0, 60, 0.7),
            0.04em -0.01em 0 rgba(0, 255, 247, 0.7);
    }
    12% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
    45% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
    47% {
        text-shadow: 
            -0.04em -0.03em 0 rgba(255, 0, 60, 0.8),
            0.05em 0.02em 0 rgba(0, 255, 247, 0.8);
    }
    49% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
    52% {
        text-shadow: 
            0.06em -0.02em 0 rgba(255, 0, 60, 0.7),
            -0.05em 0.03em 0 rgba(0, 255, 247, 0.7);
    }
    54% {
        text-shadow: 
            0.04em 0 0 rgba(255, 0, 60, 0.6),
            -0.03em 0 0 rgba(0, 255, 247, 0.6);
    }
}

@keyframes glitch-before {
    0%, 100% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    2% {
        clip: rect(61px, 9999px, 70px, 0);
        opacity: 0.8;
    }
    3% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    8% {
        clip: rect(33px, 9999px, 42px, 0);
        opacity: 0.7;
    }
    9% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    45% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    47% {
        clip: rect(91px, 9999px, 102px, 0);
        opacity: 0.9;
    }
    48% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    82% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    84% {
        clip: rect(44px, 9999px, 56px, 0);
        opacity: 0.8;
    }
    85% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
}

@keyframes glitch-after {
    0%, 100% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    3% {
        clip: rect(55px, 9999px, 64px, 0);
        opacity: 0.7;
    }
    4% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    15% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    17% {
        clip: rect(88px, 9999px, 98px, 0);
        opacity: 0.8;
    }
    18% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    52% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    54% {
        clip: rect(29px, 9999px, 38px, 0);
        opacity: 0.9;
    }
    55% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    88% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
    90% {
        clip: rect(72px, 9999px, 82px, 0);
        opacity: 0.7;
    }
    91% {
        clip: rect(0, 9999px, 0, 0);
        opacity: 0;
    }
}

/* === TERMINAL LINE === */
.terminal-line {
    font-size: 1.8rem;
    margin-top: var(--spacing-md);
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 600;
}

.terminal-line .username {
    color: var(--accent-cyan) !important;
    filter: drop-shadow(0 0 15px var(--accent-cyan));
}

.terminal-line .username::before,
.terminal-line .username::after {
    color: var(--accent-cyan);
}

.terminal-line .prompt-text {
    color: var(--accent-red) !important;
    filter: drop-shadow(0 0 15px var(--accent-red));
}

.terminal-line .prompt-text::before,
.terminal-line .prompt-text::after {
    color: var(--accent-red);
}

.hero-cmd {
    color: var(--text-bright);
    font-size: 1.8rem;
    font-family: var(--font-mono);
    font-weight: 400;
    margin-left: 0.4rem;
    letter-spacing: 0.05em;
}

.hero-cursor {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    font-family: var(--font-mono);
    animation: heroBlink 0.9s step-end infinite;
    margin-left: 1px;
}

@keyframes heroBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* === CLICK RIPPLE === */
.click-ripple {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--accent-cyan);
    opacity: 0;
    white-space: nowrap;
    text-shadow: 0 0 8px var(--accent-cyan);
    animation: rippleFade 0.8s ease forwards;
    transform: translateY(0);
}

@keyframes rippleFade {
    0%   { opacity: 0.9; transform: translateY(-2px); }
    60%  { opacity: 0.6; transform: translateY(-10px); }
    100% { opacity: 0;   transform: translateY(-18px); }
}

/* === PACKET TOAST === */
.packet-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    max-width: 340px;
}

.packet-toast {
    background: rgba(10, 13, 18, 0.97);
    border: 1px solid rgba(0, 255, 247, 0.25);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 4px;
    padding: 0.55rem 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-main);
    line-height: 1.6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 255, 247, 0.06);
    animation: toastIn 0.25s ease, toastOut 0.4s ease 4.5s forwards;
    pointer-events: auto;
}

.packet-toast-label {
    color: var(--accent-cyan);
    margin-right: 0.3rem;
}

.packet-toast-warn {
    border-left-color: var(--accent-red);
}

.packet-toast-warn .packet-toast-label {
    color: var(--accent-red);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateX(20px); }
}

.motto {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-style: italic;
    margin-top: var(--spacing-md);
    opacity: 0.8;
}

/* === AVATAR === */
.avatar-container {
    margin-top: var(--spacing-lg);
}

.avatar-scene {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-cyan);
    box-shadow: 
        0 0 30px rgba(0, 255, 247, 0.5),
        0 0 60px rgba(0, 255, 247, 0.3),
        inset 0 0 20px rgba(0, 255, 247, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.avatar-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(0, 255, 247, 0.7),
        0 0 80px rgba(0, 255, 247, 0.5),
        inset 0 0 30px rgba(0, 255, 247, 0.2);
    border-color: var(--accent-red);
}

.avatar-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(
        45deg,
        var(--accent-cyan),
        var(--accent-red),
        var(--accent-cyan)
    );
    background-size: 300% 300%;
    animation: gradient-rotate 4s ease infinite;
    z-index: 0;
    opacity: 0.3;
}

@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === NAVIGATION === */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(10, 13, 18, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 247, 0.12);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 0.5rem;
}

.nav-prompt {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-right: 1rem;
    border-right: 1px solid rgba(0, 255, 247, 0.15);
    margin-right: 0.25rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.nav-prompt:hover {
    opacity: 0.75;
    text-decoration: none;
}

.nav-prompt-user   { color: var(--accent-cyan); }
.nav-prompt-at     { color: var(--text-main); opacity: 0.4; }
.nav-prompt-host   { color: var(--accent-red); }
.nav-prompt-suffix { color: var(--text-main); opacity: 0.4; margin-left: 1px; }

.nav-menu > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow: visible;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding: 0.3rem 0.45rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::before {
    content: '/';
    color: var(--accent-cyan);
    opacity: 0.3;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
    margin-right: 1px;
}

/* Suppress old underline */
.nav-link::after { display: none !important; }

.nav-link:hover { color: #ffffff; }
.nav-link:hover::before {
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.nav-link.active { color: var(--accent-cyan); }
.nav-link.active::before {
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.nav-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-main);
    opacity: 0.45;
    white-space: nowrap;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 255, 247, 0.12);
    margin-left: 0.25rem;
    letter-spacing: 0.05em;
}

.nav-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d26a;
    box-shadow: 0 0 6px #00d26a;
    animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #00d26a; }
    50%       { opacity: 0.3; box-shadow: none; }
}

/* === NAV DROPDOWN === */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-main);
    padding: 0.3rem 0.45rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-toggle::before {
    content: '/';
    color: var(--accent-cyan);
    opacity: 0.3;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
    margin-right: 1px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: #ffffff; }

.nav-dropdown-toggle:hover::before,
.nav-dropdown.open .nav-dropdown-toggle::before {
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.dropdown-chevron {
    opacity: 0.4;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;
    background: rgba(10, 13, 18, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 247, 0.18);
    border-radius: 6px;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 247, 0.06);
    animation: dropdownSlide 0.15s ease;
}

.nav-dropdown-menu::before {
    content: 'ls ./explore';
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-cyan);
    opacity: 0.45;
    padding: 0.3rem 1rem 0.45rem;
    border-bottom: 1px solid rgba(0, 255, 247, 0.1);
    margin-bottom: 0.25rem;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown-link::before {
    content: '/';
    color: var(--accent-cyan);
    opacity: 0.3;
    transition: opacity 0.15s ease, text-shadow 0.15s ease;
    margin-right: 2px;
}

.nav-dropdown-link:hover {
    color: #ffffff;
    background: rgba(0, 255, 247, 0.04);
}

.nav-dropdown-link:hover::before {
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-cyan);
}

/* === SKIP TO CONTENT === */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 1rem;
    background: var(--accent-cyan);
    color: var(--bg-main);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 200000;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 1rem;
}

/* === CRT SCANLINES OVERLAY === */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99997;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.04) 2px,
        rgba(0, 0, 0, 0.04) 4px
    );
}

.crt-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

/* === HUD WIDGET === */
.hud-widget {
    position: fixed;
    bottom: 6rem;
    left: 1.2rem;
    z-index: 9000;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--accent-cyan);
    opacity: 0.35;
    line-height: 1.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
    letter-spacing: 0.04em;
}

.hud-widget:hover {
    opacity: 0.75;
}

.hud-line {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.hud-label {
    color: var(--text-main);
    opacity: 0.45;
}

.hud-conn {
    gap: 0.35rem;
    color: #00d26a;
}

.hud-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00d26a;
    box-shadow: 0 0 5px #00d26a;
    animation: statusPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-red));
    z-index: 100002;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(0, 255, 247, 0.6);
    transition: none;
}

/* === SECTIONS === */
.section {
    min-height: 100vh;
    padding: var(--spacing-lg) 0;
    position: relative;
    padding-top: calc(60px + var(--spacing-lg));
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

#career {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.section-title {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Suppress glitch ghost layers while the decrypt animation runs */
.section-title.decrypting::before,
.section-title.decrypting::after {
    display: none !important;
}

/* === TERMINAL WINDOW === */
.terminal-window {
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 247, 0.2);
    transition: all 0.3s ease;
}

.terminal-header {
    background: #0a0e14;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 247, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff5f56;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--text-main);
}

.terminal-body {
    padding: var(--spacing-md);
    font-size: 1rem;
    line-height: 1.8;
}

.prompt {
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.prompt-user {
    color: var(--accent-cyan);
}

.prompt-path {
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.command-line {
    margin: 0.8rem 0;
    font-family: 'JetBrains Mono', monospace;
}

.command {
    color: var(--accent-cyan);
    font-weight: 500;
}

.output {
    color: var(--text-main);
    margin: 0.5rem 0;
}

.output ul {
    list-style: none;
    padding-left: 1rem;
}

.output li {
    margin: 0.3rem 0;
}

.description-text {
    line-height: 1.8;
    white-space: pre-line;
}

.focus-title {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 1rem;
}

.motto-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-style: italic;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

.highlight-red {
    color: var(--accent-red);
    font-weight: 600;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* === ABOUT SECTION === */
#about .about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* === BLOG SECTION === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 247, 0.2);
    border-color: var(--accent-cyan);
}

/* Make entire card clickable */
.blog-card .card-link {
    position: static;
}

.blog-card .card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.card-date {
    color: var(--accent-red);
    font-size: 0.9rem;
}

.card-tag {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    background: rgba(0, 255, 247, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: var(--spacing-sm);
}

.card-excerpt {
    color: var(--text-main);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.card-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    text-shadow: 0 0 10px var(--accent-cyan);
}

.arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .arrow {
    transform: translateX(5px);
}

.card-reading-time {
    color: var(--text-main);
    font-size: 0.78rem;
    opacity: 0.6;
    font-family: var(--font-mono);
}

/* === PROJECTS SECTION === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 
        0 10px 30px rgba(255, 0, 60, 0.2),
        0 20px 60px rgba(255, 0, 60, 0.1);
    border-color: var(--accent-red);
}

.project-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.project-icon svg {
    width: 100%;
    height: 100%;
}

.project-title {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.tag {
    background: rgba(255, 0, 60, 0.1);
    color: var(--accent-red);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 0, 60, 0.3);
}

.project-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* === CONTACT SECTION === */
#contact .contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.contact-tagline {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 255, 247, 0.05);
    border-left: 3px solid var(--accent-cyan);
    display: inline-block;
    border-radius: 4px;
}

.contact-tagline .prompt {
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
    perspective: 1000px;
}

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

.contact-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 
        0 15px 40px rgba(0, 255, 247, 0.3),
        0 25px 70px rgba(0, 255, 247, 0.15);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 247, 0.1);
    border-radius: 8px;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card:hover .contact-card-icon {
    background: rgba(0, 255, 247, 0.2);
    transform: scale(1.05);
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-red) !important;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.contact-card-text {
    font-size: 1rem;
    color: var(--accent-cyan) !important;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-card-label {
    font-size: 0.85rem;
    color: var(--text-main) !important;
    opacity: 0.8;
}

.contact-card-arrow {
    display: none;
}

.contact-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 255, 247, 0.1);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    color: #00ff00;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* === GITHUB SECTION === */
.github-profile-banner {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    transition: all 0.3s ease;
}

.github-profile-banner:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 247, 0.15);
}

.github-profile-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-cyan);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
}

.github-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.github-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.github-profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-bright);
    font-family: var(--font-mono);
}

.github-profile-bio {
    color: var(--text-main);
    font-size: 0.95rem;
}

.github-profile-stats {
    display: flex;
    gap: var(--spacing-md);
    margin: 0.5rem 0;
}

.github-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 56px;
}

.github-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    line-height: 1;
}

.github-stat-label {
    font-size: 0.72rem;
    color: var(--text-main);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.github-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 247, 0.08);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.github-profile-btn:hover {
    background: rgba(0, 255, 247, 0.18);
    box-shadow: 0 0 15px rgba(0, 255, 247, 0.3);
    color: var(--accent-cyan);
}

.github-repos-title {
    font-size: 1.1rem;
    font-family: var(--font-mono);
    color: var(--accent-red);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.03em;
}

.github-repos-title::before {
    content: '$ ';
    color: var(--accent-cyan);
}

.github-repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    min-height: 80px;
}

.github-repo-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.15);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.github-repo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.github-repo-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 255, 247, 0.15);
    transform: translateY(-3px);
    color: inherit;
}

.github-repo-card:hover::before {
    opacity: 1;
}

.github-repo-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.github-repo-name svg {
    opacity: 0.6;
    flex-shrink: 0;
}

.github-repo-description {
    font-size: 0.87rem;
    color: var(--text-main);
    line-height: 1.55;
    flex: 1;
}

.github-repo-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: auto;
}

.github-repo-lang {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-main);
}

.github-lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.github-repo-stars,
.github-repo-forks {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-main);
    opacity: 0.8;
}

.github-repo-stars svg,
.github-repo-forks svg {
    width: 13px;
    height: 13px;
    color: var(--accent-red);
}

.github-repo-updated {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-main);
    opacity: 0.5;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.github-repo-card.github-repo-fork .github-repo-name::after {
    content: 'fork';
    font-size: 0.65rem;
    color: var(--text-main);
    opacity: 0.6;
    background: rgba(192,192,192,0.1);
    border: 1px solid rgba(192,192,192,0.2);
    border-radius: 3px;
    padding: 0 5px;
}

.github-loading {
    grid-column: 1 / -1;
    padding: var(--spacing-md);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.github-loading-prompt {
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.github-error {
    grid-column: 1 / -1;
    padding: var(--spacing-md);
    color: var(--accent-red);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    background: rgba(255,0,60,0.05);
    border: 1px solid rgba(255,0,60,0.2);
    border-radius: 6px;
}

.github-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

.github-all-repos-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: rgba(0, 255, 247, 0.08);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.github-all-repos-btn:hover {
    background: rgba(0, 255, 247, 0.18);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .github-profile-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .github-profile-stats {
        justify-content: center;
    }
    .github-profile-btn {
        align-self: center;
    }
    .github-repos-grid {
        grid-template-columns: 1fr;
    }
}

/* === TERMINAL FOOTER === */
.terminal-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 255, 247, 0.15);
    padding: 0;
    margin-top: var(--spacing-xl);
}

.term-footer-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.5rem 1.2rem;
    border-bottom: 1px solid rgba(0, 255, 247, 0.08);
}

.term-footer-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.term-btn-red    { background: #ff5f57; }
.term-btn-yellow { background: #febc2e; }
.term-btn-green  { background: #28c840; }

.term-footer-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-main);
    opacity: 0.4;
    margin-left: 0.5rem;
}

.term-footer-body {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    max-width: 750px;
}

.term-footer-line {
    margin-bottom: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
}

.term-footer-prompt {
    color: var(--accent-red);
    margin-right: 0.2rem;
}

.term-footer-cmd {
    color: var(--text-bright);
}

.term-footer-output {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-main);
    opacity: 0.65;
    margin: 0.15rem 0;
    padding-left: 1rem;
}

.term-footer-dim {
    opacity: 0.35;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.term-footer-comment {
    color: var(--text-main);
    opacity: 0.5;
    font-style: italic;
    margin: 0.6rem 0;
}

.term-cyan { color: var(--accent-cyan); }
.term-red  { color: var(--accent-red); }

.term-footer-cursor-line {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    margin-top: 0.75rem;
}

.term-footer-blink {
    color: var(--accent-cyan);
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* === GLITCH FLICKER ON SECTION ENTRY === */
@keyframes glitchFlickerIn {
    0%   { opacity: 0; color: var(--accent-red); text-shadow: -3px 0 var(--accent-red), 3px 0 var(--accent-cyan); filter: blur(2px); }
    15%  { opacity: 1; color: var(--accent-red); text-shadow: 2px 0 var(--accent-red); filter: none; }
    30%  { opacity: 0.7; color: var(--accent-cyan); text-shadow: -2px 0 var(--accent-red), 2px 0 var(--accent-cyan); }
    50%  { opacity: 1; color: var(--accent-red); text-shadow: none; }
    70%  { color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); }
    100% { opacity: 1; color: var(--accent-cyan); text-shadow: none; filter: none; }
}

.section-title.glitch-enter {
    animation: glitchFlickerIn 0.55s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .section-title.glitch-enter { animation: none; }
    .crt-overlay { display: none; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .logo {
        font-size: 5rem;
    }
    
    .terminal-line {
        font-size: 1.5rem;
    }
    
    .motto {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .blog-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-scene {
        width: 200px;
        height: 200px;
    }
    
    .hoodie-emblem {
        font-size: 1.5rem;
    }
    
    /* Skills radar responsive */
    .skills-radar-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .radar-container {
        height: 300px;
    }
    
    /* Contact cards responsive */
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .contact-description {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    /* Disable custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    body, body * {
        cursor: auto !important;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .logo {
        font-size: 4rem;
    }
    
    .terminal-body {
        font-size: 0.9rem;
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .glitch,
    .glitch::before,
    .glitch::after {
        animation: none !important;
        text-shadow: none !important;
    }

    .logo {
        animation: none !important;
    }

    .skill-progress::after {
        animation: none !important;
    }

    .cursor-blink {
        animation: blink 0s step-end infinite !important;
        opacity: 1 !important;
    }

    .loading-progress {
        animation: none !important;
        width: 100% !important;
    }
}

.blog-archive-btn-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-archive-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 0, 60, 0.1);
    color: var(--accent-red);
    text-decoration: none;
    border: 1px solid var(--accent-red);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-archive-btn:hover {
    background: rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

.blog-archive-link {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.blog-all-posts-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(0, 255, 247, 0.1);
    color: var(--accent-cyan);
    text-decoration: none;
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.blog-all-posts-btn:hover {
    background: rgba(0, 255, 247, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 247, 0.3);
    color: var(--accent-cyan);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    opacity: 1;
}

/* === SKILLS SECTION === */
.skills-radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.radar-card {
    background: rgba(20, 29, 43, 0.5);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.radar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 247, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.radar-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 255, 247, 0.2);
    transform: translateY(-5px);
}

.radar-card:hover::before {
    opacity: 1;
}

.radar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 0, 60, 0.3);
}

.radar-title {
    font-size: 1.3rem;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.3);
}

.radar-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.radar-container canvas {
    max-width: 100%;
    max-height: 100%;
}

.skills-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 900px) {
    .skills-matrix {
        grid-template-columns: 1fr;
    }
}

.skill-category {
    background: rgba(20, 29, 43, 0.5);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    min-height: 400px;
}

.skill-category:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 247, 0.2);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 0, 60, 0.3);
}

.category-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 255, 247, 0.1);
    border-radius: 8px;
    padding: 6px;
    transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
    background: rgba(0, 255, 247, 0.15);
    transform: scale(1.05);
}

.category-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.category-title {
    font-size: 0.95rem;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.skill-name {
    color: var(--text-main);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.4;
    word-break: break-word;
    flex: 1;
}

.skill-level-text {
    color: var(--accent-red);
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.skill-bar {
    height: 8px;
    background: rgba(16, 20, 26, 0.8);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 247, 0.2);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--accent-cyan) 0%,
        var(--accent-red) 100%
    );
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === CERTIFICATIONS === */
.certifications {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(20, 29, 43, 0.3);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 8px;
}

.certifications-title {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-icon {
    color: var(--accent-cyan);
    font-size: 1.3rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.cert-badge {
    background: rgba(16, 20, 26, 0.5);
    border: 2px solid rgba(0, 255, 247, 0.3);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-badge::before {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    color: rgba(0, 255, 247, 0.1);
    font-weight: bold;
}

.cert-badge:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
    transform: translateY(-3px);
}

.cert-name {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cert-full {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-year {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* === CAREER TIMELINE === */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    transition: all 0.3s ease;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    z-index: 2;
    transition: all 0.3s ease;
}

.marker-icon svg {
    width: 20px;
    height: 20px;
}

.current-marker {
    border-color: var(--accent-red);
    background: var(--accent-red);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--accent-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-red);
    }
    50% {
        box-shadow: 0 0 30px var(--accent-red), 0 0 40px var(--accent-red);
    }
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% + var(--spacing-xl));
    background: linear-gradient(
        180deg,
        var(--accent-cyan) 0%,
        rgba(0, 255, 247, 0.3) 50%,
        rgba(0, 255, 247, 0.1) 100%
    );
}

.timeline-content {
    background: rgba(20, 29, 43, 0.5);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content.expanded .timeline-details {
    max-height: 2000px;
    opacity: 1;
    margin-top: var(--spacing-md);
}

.timeline-content.expanded .timeline-toggle svg {
    transform: rotate(180deg);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid rgba(0, 255, 247, 0.2);
}

.timeline-item.current .timeline-content {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.1);
}

.timeline-item.current .timeline-content::before {
    border-right-color: var(--accent-red);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
}

.timeline-item:hover .marker-icon {
    transform: scale(1.1);
}

.timeline-header {
    margin-bottom: var(--spacing-md);
    position: relative;
    cursor: pointer;
}

.timeline-item.current .timeline-header {
    cursor: default;
}

.timeline-toggle {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-cyan);
}

.timeline-toggle:hover {
    background: rgba(0, 255, 247, 0.1);
    transform: scale(1.1);
}

.timeline-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.timeline-details {
    max-height: 2000px;
    overflow: visible;
    opacity: 1;
    margin-top: var(--spacing-md);
    transition: all 0.5s ease;
}

.timeline-details.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
}

.timeline-date {
    margin-bottom: 0.5rem;
}

.date-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: bold;
}

.current-badge {
    background: rgba(255, 0, 60, 0.15);
    border-color: var(--accent-red);
    color: var(--accent-red);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-red);
    }
    50% {
        box-shadow: 0 0 15px var(--accent-red), 0 0 25px var(--accent-red);
    }
}

.timeline-role {
    font-size: 1.5rem;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 1rem;
}

.company-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

.location {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.timeline-description {
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    white-space: pre-line;
}

.timeline-achievements {
    margin-bottom: var(--spacing-md);
}

.achievements-title {
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.achievements-list {
    list-style: none;
    padding-left: 0;
}

.achievements-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.5;
}

.achievements-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.timeline-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.3rem 0.7rem;
    background: rgba(16, 20, 26, 0.7);
    border: 1px solid rgba(0, 255, 247, 0.3);
    border-radius: 4px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 255, 247, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 247, 0.3);
}

/* === EDUCATION SECTION === */
.education-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(20, 29, 43, 0.3);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
}

.education-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-md);
}

.edu-icon {
    width: 24px;
    height: 24px;
}

.education-item {
    padding: var(--spacing-md);
    background: rgba(16, 20, 26, 0.5);
    border: 1px solid rgba(0, 255, 247, 0.1);
    border-radius: 6px;
    margin-bottom: var(--spacing-sm);
}

.education-item:last-child {
    margin-bottom: 0;
}

.edu-degree {
    font-size: 1.1rem;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.edu-institution {
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.edu-date {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.5rem;
}

.edu-description {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === CERTIFICATIONS SECTION === */
.certifications-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(20, 29, 43, 0.3);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 8px;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--accent-red);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-lg);
}

.section-icon {
    width: 28px;
    height: 28px;
}

.cert-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.cert-item {
    padding: var(--spacing-md);
    background: rgba(16, 20, 26, 0.6);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-3px);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.cert-name-badge {
    background: var(--accent-red);
    color: var(--bg-main);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'JetBrains Mono', monospace;
}

.cert-date {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.cert-full-name {
    font-size: 1.05rem;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-issuer {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cert-credential {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
}

/* === LEARNING PLATFORMS SECTION === */
.learning-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(20, 29, 43, 0.3);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 900px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

.platform-card {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    cursor: pointer;
    transform-style: preserve-3d;
}

.platform-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 
        0 10px 30px rgba(0, 255, 247, 0.2),
        0 20px 60px rgba(0, 255, 247, 0.1);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.platform-name {
    font-size: 1.2rem;
    color: var(--text-bright);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.platform-rank {
    background: rgba(0, 255, 247, 0.15);
    color: var(--accent-cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.platform-stats {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.platform-joined {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* === COURSES SECTION === */
.courses-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(20, 29, 43, 0.3);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.course-card {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.course-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
}

.course-badge {
    background: rgba(0, 255, 247, 0.15);
    color: var(--accent-cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-full-name {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.course-provider {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.course-description {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* === CONFERENCES SECTION === */
.conferences-timeline {
    margin-top: var(--spacing-lg);
}

.conference-year-group {
    margin-bottom: var(--spacing-xl);
}

.conference-year-group {
    margin-bottom: var(--spacing-xl);
}

.conference-year {
    font-size: 2rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(0, 255, 247, 0.3);
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.conference-card {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.conf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.conf-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    flex: 1;
}

.conf-type {
    background: rgba(255, 0, 60, 0.15);
    color: var(--accent-red);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.conf-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.location-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.conf-date {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-md);
}

.conf-activities {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 255, 247, 0.1);
}

.conf-activities strong {
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.conf-activities ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.conf-activities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.5;
    font-size: 0.95rem;
}

.conf-activities li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.conf-highlights {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(0, 255, 247, 0.05);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 4px;
}

.conf-highlights strong {
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.conf-highlights {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.gallery-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-cover {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 255, 247, 0.1);
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(16, 20, 26, 0.6), rgba(16, 20, 26, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to bottom, rgba(16, 20, 26, 0.7), rgba(0, 255, 247, 0.1));
}

.gallery-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.gallery-title {
    font-size: 1.5rem;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    margin: 0;
}

.gallery-meta {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.gallery-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.gallery-location svg {
    width: 16px;
    height: 16px;
}

.gallery-date {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.gallery-count {
    background: rgba(0, 255, 247, 0.15);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    align-self: flex-start;
}

.gallery-content {
    padding: var(--spacing-md);
}

.gallery-description {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.gallery-view-btn {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.gallery-view-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.4);
}

/* Gallery Modal/Lightbox */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 20, 26, 0.95);
    z-index: 10001;
    overflow-y: auto;
    padding: var(--spacing-lg);
}

.gallery-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.gallery-modal-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.gallery-modal-title {
    font-size: 2rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
}

.gallery-close-btn {
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.gallery-close-btn:hover {
    color: var(--accent-red);
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery-photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(0, 255, 247, 0.2);
    transition: all 0.3s ease;
}

.gallery-photo-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
}

.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-photo-item:hover img {
    transform: scale(1.1);
}

.gallery-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 20, 26, 0.95), transparent);
    color: var(--text-bright);
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-photo-item:hover .gallery-photo-caption {
    opacity: 1;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: default;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 255, 247, 0.3);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: var(--accent-red);
    color: var(--bg-main);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: var(--text-bright);
    margin-top: 1.5rem;
    font-size: 1.1rem;
       text-align: center;
    cursor: default;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 247, 0.1);
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10003;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--accent-cyan);
    color: var(--bg-main);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-bright);
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(16, 20, 26, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 247, 0.3);
    backdrop-filter: blur(10px);
}

/* Fix cursor visibility in modals */
.gallery-modal,
.gallery-modal *,
.gallery-lightbox,
.gallery-lightbox * {
    cursor: inherit;
}

.gallery-modal .gallery-close-btn,
.gallery-modal .gallery-photo-item,
.lightbox-close,
.lightbox-nav {
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .gallery-lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-counter {
        bottom: 1rem;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: var(--spacing-md);
    }
    
    .marker-icon {
        width: 30px;
        height: 30px;
    }
    
    .marker-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .timeline-role {
        font-size: 1.2rem;
    }
    
    .timeline-content::before {
        left: -8px;
        border-right-width: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }
}

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.loading-screen.show {
    opacity: 1;
    visibility: visible;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Orbitron', 'Rajdhani', 'Share Tech Mono', 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.loading-f {
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 20px rgba(0, 255, 247, 0.4),
        0 0 40px rgba(0, 255, 247, 0.2);
}

.loading-exclaim {
    color: var(--accent-red);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 20px rgba(255, 7, 58, 0.4),
        0 0 40px rgba(255, 7, 58, 0.2);
}

.loading-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-main);
}

.loading-prompt {
    color: var(--accent-red);
}

.loading-command {
    color: var(--accent-cyan);
    margin-left: 0.5rem;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 255, 247, 0.2);
    border-radius: 2px;
    margin: var(--spacing-md) auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-red));
    width: 0%;
    animation: loadProgress 2s ease-in-out forwards;
    box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* === HACK BUTTON === */
.hack-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(20, 29, 43, 0.9);
    border: 1px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 998;
    animation: pulse 2s infinite;
}

.hack-button:hover {
    background: rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.6);
    transform: scale(1.1) rotate(10deg);
}

.hack-button svg {
    width: 24px;
    height: 24px;
    color: var(--accent-red);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 60, 0.6);
    }
}

.loading-status {
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 1rem;
    z-index: 1001;
    background: none;
    border: 1px solid rgba(0, 255, 247, 0.25);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    line-height: 1;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 247, 0.2);
    background: rgba(0, 255, 247, 0.05);
}

.mob-toggle-text  { display: block; }
.mob-toggle-close { display: none; }
.mobile-menu-toggle.active .mob-toggle-text  { display: none; }
.mobile-menu-toggle.active .mob-toggle-close { display: block; }

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(20, 29, 43, 0.9);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(20, 29, 43, 1);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.4);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

/* === SMOOTH SCROLL OFFSET === */
html {
    scroll-padding-top: 65px;
}

/* === LOADING STATES === */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === TABLET & MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-prompt,
    .nav-status {
        display: none !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 85% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: rgba(10, 13, 18, 0.99) !important;
        backdrop-filter: blur(16px) !important;
        border-left: 1px solid rgba(0, 255, 247, 0.18) !important;
        border-bottom: none !important;
        transition: right 0.3s ease !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    /* Terminal title bar at top of drawer */
    .nav-menu::before {
        content: 'root@fr3akazo1d:~# ls /';
        display: block;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--accent-cyan);
        opacity: 0.55;
        padding: 4.5rem 1.5rem 0.9rem;
        border-bottom: 1px solid rgba(0, 255, 247, 0.1);
        flex-shrink: 0;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu > ul {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0.5rem 0 !important;
        overflow: visible !important;
        flex: 1;
    }

    .nav-menu > ul > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 255, 247, 0.06) !important;
    }

    .nav-menu > ul > li > a.nav-link {
        display: flex !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.88rem !important;
        width: 100%;
    }

    .nav-menu > ul > li > a.nav-link:hover {
        background: rgba(0, 255, 247, 0.04);
    }

    /* Dropdown in mobile drawer — inline expand */
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(0, 255, 247, 0.06) !important;
    }

    .nav-dropdown ul.nav-dropdown-menu li {
        border-bottom: none !important;
    }

    .nav-dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.88rem;
        justify-content: space-between;
    }

    .nav-dropdown-toggle:hover {
        background: rgba(0, 255, 247, 0.04);
    }

    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        min-width: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(0, 255, 247, 0.07) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: rgba(0, 255, 247, 0.02) !important;
        backdrop-filter: none !important;
        animation: none !important;
        padding: 0.25rem 0 !important;
    }

    .nav-dropdown-menu::before {
        display: none !important;
    }

    .nav-dropdown-link {
        padding: 0.75rem 2.5rem !important;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .loading-logo {
        font-size: 4rem;
    }
    
    .loading-bar {
        width: 80%;
    }
}

/* ==========================================
   Calendar Styles
   ========================================== */

.calendar-overview {
    margin-bottom: var(--spacing-xl);
}

.calendar-subtitle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-subtitle svg {
    color: var(--accent-green);
}

/* Calendar Timeline */
.calendar-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.calendar-event {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.calendar-event:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
    transform: translateX(5px);
}

/* Event Date Box */
.event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, var(--bg-main), var(--bg-secondary));
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-month {
    font-size: 0.875rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-weight: 600;
}

.event-day {
    font-size: 2rem;
    color: var(--text-bright);
    font-weight: 700;
    line-height: 1;
    margin: 0.25rem 0;
}

.event-year {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Event Details */
.event-details {
    flex: 1;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.event-title {
    font-size: 1.25rem;
    color: var(--text-bright);
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
}

.event-title a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: var(--accent-green);
}

.event-status {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.status-planned {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

.status-confirmed {
    background: rgba(57, 255, 20, 0.2);
    color: var(--accent-green);
}

.status-attending {
    background: rgba(0, 255, 247, 0.2);
    color: var(--accent-cyan);
}

.status-completed {
    background: rgba(138, 138, 138, 0.2);
    color: var(--text-dim);
}

.status-cancelled {
    background: rgba(255, 7, 58, 0.2);
    color: var(--accent-red);
}

.status-not-going {
    background: rgba(255, 7, 58, 0.2);
    color: var(--accent-red);
}

.status-not-attending {
    background: rgba(255, 7, 58, 0.2);
    color: var(--accent-red);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dim);
    font-size: 0.875rem;
}

.event-meta > span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.event-description {
    color: var(--text-dim);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.event-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.event-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-link-btn:hover {
    background: rgba(0, 255, 247, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 247, 0.2);
}

.event-link-btn svg {
    flex-shrink: 0;
}

/* Past Events */
.calendar-past {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 255, 247, 0.2);
}

.calendar-past-list {
    display: grid;
    gap: var(--spacing-sm);
}

.past-event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-left: 3px solid var(--text-dim);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.past-event-item:hover {
    border-left-color: var(--accent-cyan);
    background: rgba(0, 255, 247, 0.05);
}

.past-event-info {
    display: grid;
    grid-template-columns: 120px 1fr 250px;
    gap: var(--spacing-md);
    align-items: center;
    flex: 1;
}

.past-event-date {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.past-event-title {
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 500;
}

.past-event-location {
    color: var(--text-dim);
    text-align: right;
    font-size: 0.875rem;
}

.past-event-links {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
}

.past-event-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.past-event-link:hover {
    background: rgba(0, 255, 247, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 247, 0.3);
}

.past-event-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Calendar Stats */
.calendar-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-box {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-event {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .event-day {
        font-size: 1.5rem;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .past-event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .past-event-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    
    .past-event-location {
        text-align: left;
    }
    
    .past-event-links {
        width: 100%;
        justify-content: flex-start;
    }
    
    .calendar-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Next Event Banner (Homepage)
   ========================================== */

.next-event-banner {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 247, 0.2);
    max-width: 800px;
    width: auto;
}

.next-event-banner:hover {
    border-color: var(--accent-green);
    box-shadow: 0 4px 24px rgba(0, 255, 247, 0.4);
    transform: translateX(-50%) translateY(-2px);
}

.next-event-banner.event-happening-now {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--accent-red);
    animation: pulse-red 2s ease-in-out infinite;
}

.next-event-banner.event-happening-now:hover {
    border-color: var(--accent-red);
    box-shadow: 0 4px 24px rgba(255, 0, 60, 0.4);
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 0, 60, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 0, 60, 0.4);
    }
}

.next-event-link {
    display: flex;
    flex: 1;
    min-width: 0;
    pointer-events: auto;
}

.next-event-close {
    background: rgba(255, 75, 75, 0.15);
    border: 1px solid var(--accent-red);
    border-radius: 6px;
    color: var(--accent-red);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: -1;
    z-index: 1001;
    min-width: 36px;
    min-height: 36px;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.next-event-close svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
    stroke-width: 2.5;
}

.next-event-close:hover {
    color: #ffffff;
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: rotate(90deg);
}

.next-event-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
}

.next-event-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-event-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

.next-event-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.next-event-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.next-event-title {
    font-size: 0.875rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-event-date {
    font-size: 0.75rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-event-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.next-event-banner:hover .next-event-arrow {
    transform: translateX(5px);
}

.next-event-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

/* Adjust content margin when banner is present */
body:has(.next-event-banner) #about {
    margin-top: calc(80px + 100px);
}

/* Responsive */
@media (max-width: 768px) {
    .next-event-banner {
        padding: 0.5rem 0.75rem;
        top: 80px;
        width: 90%;
        max-width: 90%;
    }
    
    .next-event-content {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .next-event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        min-width: 0;
    }
    
    .next-event-label {
        font-size: 0.65rem;
    }
    
    .next-event-title {
        font-size: 0.75rem;
    }
    
    .next-event-date {
        font-size: 0.65rem;
    }
    
    .next-event-icon {
        width: 18px;
        height: 18px;
    }
    
    .next-event-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .next-event-details {
        gap: 0.125rem;
    }
    
    .next-event-label {
        font-size: 0.625rem;
    }
    
    .next-event-title {
        font-size: 0.875rem;
    }
    
    .next-event-date {
        font-size: 0.75rem;
    }
    
    .next-event-arrow {
        width: 20px;
        height: 20px;
    }
    
    .next-event-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    body:has(.next-event-banner) #about {
        margin-top: calc(70px + 90px);
    }
}

/* Pulse animation for next event banner */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 255, 247, 0.2);
    }
    50% {
        box-shadow: 0 8px 40px rgba(0, 255, 247, 0.35);
    }
}

.next-event-banner {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ==========================================
   MATRIX RAIN CANVAS
   ========================================== */
.matrix-rain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.13;
    pointer-events: none;
}

/* Lift hero content above the canvas without touching fixed-positioned nav */
.header-container {
    position: relative;
    z-index: 1;
}

/* ==========================================
   VISITOR RECON SCAN OVERLAY
   ========================================== */
.visitor-scan-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.visitor-scan-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.visitor-scan-terminal {
    width: 100%;
    max-width: 560px;
    background: #0d1117;
    border: 1px solid rgba(0, 255, 247, 0.25);
    border-radius: 6px;
    box-shadow:
        0 0 0 1px rgba(0, 255, 247, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 255, 247, 0.06);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    overflow: hidden;
    animation: scanSlideIn 0.35s ease forwards;
}

@keyframes scanSlideIn {
    from { transform: translateY(-20px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0)     scale(1);    opacity: 1; }
}

.visitor-scan-terminal .terminal-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #161b22;
    border-bottom: 1px solid rgba(0, 255, 247, 0.1);
}

.visitor-scan-terminal .terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(192, 192, 192, 0.5);
}

.visitor-scan-close {
    background: none;
    border: none;
    color: rgba(192, 192, 192, 0.5);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0 0.25rem;
    transition: color 0.2s;
    margin-left: auto;
}

.visitor-scan-close:hover {
    color: var(--accent-red);
}

.visitor-scan-body {
    padding: 1rem 1.25rem;
    min-height: 200px;
    max-height: 380px;
    overflow-y: auto;
    line-height: 1.7;
}

.scan-line {
    display: block;
    animation: scanLineFade 0.2s ease;
}

.scan-line--cyan  { color: var(--accent-cyan); }
.scan-line--green { color: #39ff14; }
.scan-line--red   { color: var(--accent-red); }
.scan-line--text  { color: var(--text-main); }

@keyframes scanLineFade {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   LIVE THREAT INTEL FEED
   ========================================== */
.threat-feed {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    width: 340px;
    background: rgba(10, 14, 20, 0.97);
    border: 1px solid rgba(0, 255, 247, 0.35);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    z-index: 950;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 247, 0.08);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.threat-feed-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem;
    background: rgba(0, 255, 247, 0.07);
    border-bottom: 1px solid rgba(0, 255, 247, 0.2);
    cursor: pointer;
    user-select: none;
}

.threat-feed-header:hover {
    background: rgba(0, 255, 247, 0.11);
}

.threat-feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
    animation: feedDotBlink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes feedDotBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.threat-feed-title {
    color: var(--accent-cyan);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    flex: 1;
    text-shadow: 0 0 8px rgba(0, 255, 247, 0.4);
}

.threat-feed-toggle {
    background: none;
    border: none;
    color: rgba(192, 192, 192, 0.5);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
    transition: color 0.2s;
}

.threat-feed-toggle:hover {
    color: var(--accent-cyan);
}

.threat-feed-body {
    padding: 0.4rem 0.6rem;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,255,247,0.15) transparent;
}

.threat-feed.minimized .threat-feed-body {
    max-height: 0;
    padding: 0 0.6rem;
}

@keyframes entrySlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- real article entries --- */
.sec-article {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 255, 247, 0.06);
    animation: entrySlide 0.3s ease;
}

.sec-article:last-child { border-bottom: none; }

.sec-article-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.72rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.sec-article-link:hover { color: var(--accent-cyan); }

.sec-article-meta {
    margin-top: 0.2rem;
    font-size: 0.62rem;
    color: rgba(192,192,192,0.4);
    display: flex;
    gap: 0.5rem;
}

.sec-article-meta-age { color: var(--accent-cyan); opacity: 0.7; }

/* source label in header */
.threat-feed-source {
    font-size: 0.58rem;
    color: rgba(192,192,192,0.35);
    letter-spacing: 0.04em;
    flex: 1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* refresh button */
.threat-feed-refresh {
    background: none;
    border: none;
    color: rgba(192,192,192,0.4);
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
    transition: color 0.2s, transform 0.4s;
}

.threat-feed-refresh:hover  { color: var(--accent-cyan); }
.threat-feed-refresh.spinning { animation: feedSpin 0.6s linear; }

@keyframes feedSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* loading / error state */
.sec-feed-status {
    color: rgba(192,192,192,0.4);
    font-size: 0.7rem;
    padding: 0.5rem 0;
    text-align: center;
}

/* Mobile: hide threat feed on small screens */
@media (max-width: 600px) {
    .threat-feed {
        display: none;
    }
}
