@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&display=swap');

:root {
    --bg-color: #050510;
    --surface-color: #0b0b1a;
    --surface-light: #13132b;
    --border-color: rgba(56, 189, 248, 0.15);

    --text-primary: #f0f4ff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --nav-bg: rgba(5, 5, 16, 0.75);

    /* Brand Colors (Adapted to Cyberpunk/BCS Theme) */
    --google-blue: #3b82f6;
    --google-red: #a855f7;
    --google-yellow: #06b6d4;
    --google-green: #38bdf8;
    
    --card-bg: rgba(17, 17, 17, 0.6);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

    --google-gradient: linear-gradient(to right, #38bdf8, #3b82f6, #a855f7, #06b6d4);

    /* Animations */
    --float-anim-speed: 15s;
    --pulse-anim-speed: 4s;
    --fade-up-speed: 0.6s;
}

[data-theme="light"] {
    --bg-color: #f0f4f8;
    --surface-color: #ffffff;
    --surface-light: #e2e8f0;
    --border-color: rgba(15, 23, 42, 0.1);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --nav-bg: rgba(240, 244, 248, 0.75);
    
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Theme Slider */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface-light);
    border: 1px solid var(--border-color);
    transition: .4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-primary);
    transition: .4s;
    z-index: 2;
}

input:checked+.slider {
    background-color: var(--surface-light);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider i {
    font-size: 11px;
    z-index: 1;
}

.light-icon {
    color: #f1c40f;
}

.dark-icon {
    color: var(--text-secondary);
}

[data-theme="light"] .dark-icon {
    color: #2c3e50;
}

[data-theme="light"] .light-icon {
    color: var(--text-secondary);
}

[data-theme="light"] body {
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--google-blue);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

html {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    /* NEW LIGHTWEIGHT BACKGROUND FROM SNIPPET */
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

/* Gradient Classes */
.google-gradient-text {
    background: var(--google-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.google-icon {
    background: var(--google-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hollow-gradient-text {
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    background: var(--google-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--bg-color);
    /* Thicker stroke because H1 text is massive */
    -webkit-text-stroke: 3px transparent;
    animation: shine 4s linear infinite;
    display: inline-block;
}

.typewriter-h1 {
    display: inline-block;
    animation: typeInset 2s steps(22, end) forwards;
}

@keyframes typeInset {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 -5% 0 0);
    }

    /* Prevents clipping the edge of the last character */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, 0.35); /* Liquid transparency */
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.4);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

nav.scrolled {
    top: 10px;
    width: 95%;
    max-width: 1250px;
    background: rgba(10, 10, 10, 0.5);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

[data-theme="light"] nav.scrolled {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

@media (max-width: 768px) {
    nav {
        width: 95%;
        padding: 0.8rem 1.5rem;
    }
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active i {
    color: var(--google-blue);
}

/* Main Container */
main {
    flex: 1;
    padding: 8rem 5% 5rem 5%;
    position: relative;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    position: relative;
}

/* LIGHTWEIGHT HERO GLOW FROM SNIPPET */
.hero-glow {
    position: fixed;
    /* Fixed so it persists on all pages properly */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0); /* force GPU */
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 60%);
    z-index: -1;
    filter: blur(50px);
    animation: pulseGlow var(--pulse-anim-speed) alternate infinite;
    will-change: transform, opacity;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) translateZ(0) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(0) scale(1.1);
    }
}

/* FLOATING ICONS */
.floating-icons {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.float-icon {
    position: absolute;
    display: inline-block;

    /* Hollow Gradient Border Effect */
    background: var(--google-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--bg-color);
    /* Fills center with background to appear hollow */
    -webkit-text-stroke: 2px transparent;
    /* Transparent stroke reveals gradient */

    animation: floatAnim var(--float-anim-speed) ease-in-out infinite, shine 4s linear infinite;
    will-change: transform, opacity, filter;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Removed heavy blur which was making the thin stroke invisible, and boosted opacity */
.float-icon.icon-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s, 0s;
    font-size: 4rem;
    opacity: 0.5;
}

.float-icon.icon-2 {
    top: 60%;
    left: 85%;
    animation-delay: -2s, -1s;
    font-size: 2.5rem;
    opacity: 0.6;
}

.float-icon.icon-3 {
    top: 75%;
    left: 20%;
    animation-delay: -4s, -2s;
    font-size: 1.5rem;
    opacity: 0.8;
}

.float-icon.icon-4 {
    top: 30%;
    left: 80%;
    animation-delay: -1s, -3s;
    font-size: 3rem;
    opacity: 0.55;
}

.float-icon.icon-5 {
    top: 15%;
    left: 65%;
    animation-delay: -3s, -4s;
    font-size: 1.8rem;
    opacity: 0.7;
}

.float-icon.icon-6 {
    top: 85%;
    left: 75%;
    animation-delay: -5s, -1s;
    font-size: 3.5rem;
    opacity: 0.45;
}

.float-icon.icon-7 {
    top: 40%;
    left: 10%;
    animation-delay: -6s, -2s;
    font-size: 1.2rem;
    opacity: 0.9;
}

.float-icon.icon-8 {
    top: 10%;
    left: 35%;
    animation-delay: -2s, -3s;
    font-size: 2.2rem;
    opacity: 0.65;
}

.float-icon.icon-9 {
    top: 80%;
    left: 10%;
    animation-delay: -4s, -4s;
    font-size: 4.5rem;
    opacity: 0.4;
}

.float-icon.icon-10 {
    top: 50%;
    left: 90%;
    animation-delay: -7s, -5s;
    font-size: 1.6rem;
    opacity: 0.75;
}

.float-icon.icon-11 {
    top: 25%;
    left: 50%;
    animation-delay: -1s, -6s;
    font-size: 2.8rem;
    opacity: 0.5;
}

.float-icon.icon-12 {
    top: 90%;
    left: 45%;
    animation-delay: -3s, -7s;
    font-size: 1.4rem;
    opacity: 0.85;
}

.float-icon.icon-13 {
    top: 35%;
    left: 30%;
    animation-delay: -5s, -2s;
    font-size: 2rem;
    opacity: 0.6;
}

.float-icon.icon-14 {
    top: 70%;
    left: 55%;
    animation-delay: -2s, -5s;
    font-size: 3.2rem;
    opacity: 0.45;
}

.float-icon.icon-15 {
    top: 15%;
    left: 85%;
    animation-delay: -6s, -1s;
    font-size: 2.4rem;
    opacity: 0.7;
}

.float-icon.icon-16 {
    top: 60%;
    left: 5%;
    animation-delay: -1s, -4s;
    font-size: 1.8rem;
    opacity: 0.8;
}

.float-icon.icon-17 {
    top: 85%;
    left: 35%;
    animation-delay: -4s, -6s;
    font-size: 2.6rem;
    opacity: 0.55;
}

.float-icon.icon-18 {
    top: 45%;
    left: 75%;
    animation-delay: -3s, -3s;
    font-size: 3.8rem;
    opacity: 0.4;
}

.float-icon.icon-19 {
    top: 20%;
    left: 45%;
    animation-delay: -2s, -4s;
    font-size: 2.2rem;
    opacity: 0.65;
}

.float-icon.icon-20 {
    top: 80%;
    left: 25%;
    animation-delay: -5s, -1s;
    font-size: 3.5rem;
    opacity: 0.5;
}

.float-icon.icon-21 {
    top: 10%;
    left: 10%;
    animation-delay: -1s, -5s;
    font-size: 1.8rem;
    opacity: 0.8;
}

.float-icon.icon-22 {
    top: 65%;
    left: 90%;
    animation-delay: -6s, -3s;
    font-size: 2.7rem;
    opacity: 0.45;
}

.float-icon.icon-23 {
    top: 35%;
    left: 70%;
    animation-delay: -3s, -2s;
    font-size: 2.4rem;
    opacity: 0.7;
}

.float-icon.icon-24 {
    top: 90%;
    left: 65%;
    animation-delay: -7s, -6s;
    font-size: 1.5rem;
    opacity: 0.85;
}

.float-icon.icon-25 {
    top: 50%;
    left: 15%;
    animation-delay: -4s, -7s;
    font-size: 3rem;
    opacity: 0.55;
}

.float-icon.icon-26 {
    top: 5%;
    left: 75%;
    animation-delay: -2s, -1s;
    font-size: 2.1rem;
    opacity: 0.75;
}

.float-icon.icon-27 {
    top: 75%;
    left: 45%;
    animation-delay: -1s, -4s;
    font-size: 1.9rem;
    opacity: 0.6;
}

.float-icon.icon-28 {
    top: 40%;
    left: 95%;
    animation-delay: -5s, -3s;
    font-size: 2.5rem;
    opacity: 0.4;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
    }
}

.hero-subtitle-container {
    height: 30px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TYPEWRITER FROM SNIPPET */
.typewriter {
    color: var(--text-primary);
    font-family: 'Inter', monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.typewriter::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--google-blue);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 3rem;
}

/* Animations */
.reveal-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.reveal-text {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stagger-1 {
    animation-delay: 0.1s !important;
}

.stagger-2 {
    animation-delay: 0.2s !important;
}

.stagger-3 {
    animation-delay: 0.3s !important;
}

.stagger-4 {
    animation-delay: 0.4s !important;
}

.stagger-5 {
    animation-delay: 0.5s !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp var(--fade-up-speed) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    text-align: center;
    margin-bottom: 5rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Magnetic Buttons */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.magnetic-btn:hover {
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--google-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    color: var(--text-primary);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--surface-light);
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Glassmorphism Cards */
.neo-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* For the new border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .neo-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.neo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .neo-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* THE FADED COLORFUL BORDER FROM THE SNIPPET */
.neo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--google-gradient);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shine 4s ease infinite;
    pointer-events: none;
}

.neo-card:hover::after {
    opacity: 1;
}

.large-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.neo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 800;
}

.neo-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Skills Tags */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-tag {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.skill-tag i {
    font-size: 1.1rem;
}

.skill-tag:hover {
    border-color: var(--google-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2);
}

/* Timeline Minimal */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 3px solid var(--google-blue);
    border-radius: 50%;
    top: 24px;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background: var(--google-blue);
    box-shadow: 0 0 15px var(--google-blue);
}

.left {
    left: 0;
    text-align: right;
}

.left::after {
    right: -8px;
}

.right {
    left: 50%;
    text-align: left;
}

.right::after {
    left: -8px;
}

.timeline-date {
    color: var(--google-red);
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    background: var(--bg-color);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item::after {
        left: 14px;
    }

    .right {
        left: 0%;
    }

    .left::after {
        left: 14px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        background: rgba(17, 17, 17, 0.85); /* Dark glass effect */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 2rem;
        border-bottom: none;
        border-left: 1px solid var(--border-color);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        text-align: left;
        z-index: -1; /* Behind nav bar initially so it slides under */
    }

    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.85);
    }

    .nav-links.nav-open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 8px 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001; /* Stay above the sidebar */
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
}

/* --- Scroll Indicator --- */
#scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 900;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: floatUpDown 2.5s ease-in-out infinite;
    pointer-events: none;
}

#scroll-indicator .mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
}

#scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--google-blue);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

#scroll-indicator .arrow-down {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--google-blue);
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

@keyframes scrollWheel {
    0% {
        top: 4px;
        opacity: 1;
    }

    100% {
        top: 16px;
        opacity: 0;
    }
}