/* ============================================
           1. CSS VARIABLES & RESET
           ============================================ */
        :root {
            /* Colors - Light Theme */
            --color-bg: #FAFAFA;
            --color-text: #1A1A1A;
            --color-text-secondary: #6B7280;
            --color-accent: #059669;
            --color-accent-warning: #D97706;
            --color-border: #E5E7EB;
            --color-surface: #FFFFFF;
            --color-surface-alt: #F1F5F9;
            --color-success: #059669;
            --color-danger: #DC2626;
            --color-callout-bg: #FFFBEB;
            --color-callout-border: #F59E0B;
            --color-callout-text: #92400E;
            --color-dos-bg: #ECFDF5;
            --color-donts-bg: #FEF2F2;
            
            /* Typography */
            --font-display: 'Barlow Condensed', sans-serif;
            --font-body: 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            
            /* Spacing */
            --section-gap: clamp(3rem, 8vw, 6rem);
            --content-max-width: 820px;
            --content-padding: clamp(1rem, 4vw, 2rem);
            
            /* Transitions */
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
        
    /* --- AUTO-FORCED DARK THEME --- */
    --color-bg: #0F0F0F;
                --color-text: #F5F5F5;
                --color-text-secondary: #9CA3AF;
                --color-border: #374151;
                --color-surface: #1A1A1A;
                --color-surface-alt: #262626;
                --color-callout-bg: #292524;
                --color-callout-border: #D97706;
                --color-callout-text: #FCD34D;
                --color-dos-bg: #052E16;
                --color-donts-bg: #450A0A;
}

        

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ============================================
           2. GENERAL TYPOGRAPHY
           ============================================ */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-display);
            font-weight: 600;
            line-height: 1.2;
            color: var(--color-text);
            text-align: left;
        }

        h2 {
            font-size: clamp(1.75rem, 4vw, 2rem);
            letter-spacing: 0.01em;
            margin-bottom: 1.25rem;
            scroll-margin-top: 2rem;
        }

        h3 {
            font-size: clamp(1.25rem, 3vw, 1.5rem);
            margin-top: 2rem;
            margin-bottom: 0.75rem;
            scroll-margin-top: 2rem;
        }

        p {
            margin-bottom: 1.25rem;
            text-align: left;
        }

        a {
            color: var(--color-accent);
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: opacity var(--transition-fast);
        }

        a:hover {
            opacity: 0.8;
        }

        a:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }

        strong {
            font-weight: 500;
        }

        ul, ol {
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
            text-align: left;
        }

        li {
            margin-bottom: 0.5rem;
        }

        blockquote {
            border-left: 3px solid var(--color-accent);
            padding-left: 1.25rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--color-text-secondary);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            text-align: left;
        }

        th, td {
            padding: 0.75rem 1rem;
            border: 1px solid var(--color-border);
            text-align: left;
        }

        th {
            background-color: var(--color-surface-alt);
            font-weight: 500;
        }

        figure {
            margin: 2rem 0;
        }

        figcaption {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            text-align: center;
            margin-top: 0.75rem;
            letter-spacing: 0.02em;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        hr {
            border: none;
            height: 1px;
            background-color: var(--color-border);
            margin: 2rem 0;
        }

        /* ============================================
           3. LAYOUT - SECTIONS
           ============================================ */
        header {
            /* Empty header - no visual gap before hero */
        }

        main {
            width: 100%;
        }

        [data-content] {
            max-width: var(--content-max-width);
            margin-left: auto;
            margin-right: auto;
            padding-left: var(--content-padding);
            padding-right: var(--content-padding);
            padding-top: var(--section-gap);
            padding-bottom: var(--section-gap);
        }

        [data-content]:first-of-type {
            padding-top: 0;
        }

        /* ============================================
           4. COMPONENTS
           ============================================ */
        
        /* --- info-box --- */
        .info-box {
            background: var(--color-surface);
            border-left: 4px solid var(--color-accent);
            padding: 24px 28px;
            margin: 32px 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        }

        .info-box p {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-text);
            margin-bottom: 0.75rem;
            text-align: left;
        }

        .info-box p:last-child {
            margin-bottom: 0;
        }

        .info-box p:first-child strong {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--color-accent);
            display: block;
            margin-bottom: 12px;
        }

        /* --- odds-example --- */
        .odds-example {
            background: var(--color-surface-alt);
            border-radius: 8px;
            padding: 24px;
            margin: 32px 0;
        }

        .odds-example p {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-text);
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .odds-example p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--color-text-secondary);
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--color-border);
        }

        .odds-example p:last-child {
            margin-bottom: 0;
        }

        .odds-example strong {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--color-accent);
        }

        /* --- callout --- */
        .callout {
            background: var(--color-callout-bg);
            border: 1px solid var(--color-callout-border);
            border-radius: 6px;
            padding: 20px 24px;
            margin: 28px 0;
        }

        .callout p {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-callout-text);
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .callout p:first-child strong {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            display: block;
            margin-bottom: 8px;
            color: var(--color-accent-warning);
        }

        .callout p:last-child {
            margin-bottom: 0;
        }

        /* --- comparison --- */
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 32px 0;
        }

        .comparison > div {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 24px;
        }

        .comparison > div p {
            text-align: left;
            margin-bottom: 0.75rem;
        }

        .comparison > div p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--color-accent);
            color: var(--color-text);
        }

        .comparison ul {
            margin-bottom: 0;
        }

        .comparison li {
            font-size: 15px;
            line-height: 1.5;
            color: var(--color-text);
        }

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

        /* --- key-takeaway --- */
        .key-takeaway {
            border-top: 3px solid var(--color-text);
            padding-top: 20px;
            margin: 40px 0;
        }

        .key-takeaway p {
            font-family: var(--font-display);
            font-size: clamp(20px, 3vw, 24px);
            font-weight: 600;
            line-height: 1.3;
            color: var(--color-text);
            margin-bottom: 0;
            text-align: left;
        }

        /* --- fun-fact --- */
        .fun-fact {
            position: relative;
            margin: 24px 0;
            padding-left: 24px;
        }

        .fun-fact::before {
            content: '\2014';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--color-accent);
            font-weight: 700;
        }

        .fun-fact p {
            font-family: var(--font-body);
            font-style: italic;
            font-size: 15px;
            color: var(--color-text-secondary);
            line-height: 1.5;
            margin-bottom: 0;
            text-align: left;
        }

        /* --- glossary-term --- */
        .glossary-term {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin: 24px 0;
        }

        .glossary-term p {
            margin-bottom: 0;
            text-align: left;
        }

        .glossary-term strong {
            font-family: var(--font-mono);
            color: var(--color-accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            flex-shrink: 0;
        }

        @media (max-width: 500px) {
            .glossary-term {
                flex-direction: column;
                gap: 4px;
            }
        }

        /* --- dos-donts --- */
        .dos-donts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 32px 0;
        }

        .dos-donts > div {
            border-radius: 8px;
            padding: 20px;
        }

        .dos-donts > div:first-child {
            background: var(--color-dos-bg);
        }

        .dos-donts > div:last-child {
            background: var(--color-donts-bg);
        }

        .dos-donts > div p {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            margin-bottom: 12px;
            text-align: left;
        }

        .dos-donts > div:first-child p strong {
            color: var(--color-success);
        }

        .dos-donts > div:last-child p strong {
            color: var(--color-danger);
        }

        .dos-donts ul {
            margin-bottom: 0;
            padding-left: 1.25rem;
        }

        .dos-donts li {
            font-size: 15px;
            line-height: 1.5;
            color: var(--color-text);
        }

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

        /* --- pre-bet-checklist --- */
        .pre-bet-checklist {
            margin: 32px 0;
            padding-left: 24px;
            border-left: 3px solid var(--color-accent);
        }

        .pre-bet-checklist p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: var(--color-accent);
            margin-bottom: 16px;
            text-align: left;
        }

        .pre-bet-checklist ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }

        .pre-bet-checklist li {
            position: relative;
            padding-left: 32px;
            margin-bottom: 12px;
            font-size: 16px;
            line-height: 1.5;
        }

        .pre-bet-checklist li::before {
            content: '\2610';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--color-accent);
            font-size: 18px;
            background: var(--color-bg);
            padding-right: 4px;
        }

        /* --- at-a-glance --- */
        .at-a-glance {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            margin: 32px 0;
            border: 1px solid var(--color-border);
            border-radius: 8px;
            overflow: hidden;
        }

        .at-a-glance > div {
            padding: 20px;
            border-right: 1px solid var(--color-border);
            background: var(--color-surface);
        }

        .at-a-glance > div:last-child {
            border-right: none;
        }

        .at-a-glance > div p {
            text-align: left;
            margin-bottom: 0.5rem;
        }

        .at-a-glance > div p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 16px;
            color: var(--color-text);
            margin-bottom: 8px;
        }

        .at-a-glance > div p:last-child {
            font-size: 14px;
            color: var(--color-text-secondary);
            line-height: 1.5;
            margin-bottom: 0;
        }

        @media (max-width: 700px) {
            .at-a-glance {
                grid-template-columns: 1fr;
            }
            .at-a-glance > div {
                border-right: none;
                border-bottom: 1px solid var(--color-border);
            }
            .at-a-glance > div:last-child {
                border-bottom: none;
            }
        }

        /* --- worked-example --- */
        .worked-example {
            background: var(--color-surface-alt);
            border-radius: 8px;
            padding: 28px;
            margin: 32px 0;
        }

        .worked-example p {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-text);
            margin-bottom: 0.75rem;
            text-align: left;
        }

        .worked-example p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            color: var(--color-accent);
            margin-bottom: 20px;
        }

        .worked-example p:last-child {
            margin-bottom: 0;
        }

        .worked-example strong {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--color-accent);
        }

        /* --- card-grid --- */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 32px 0;
        }

        .card-grid > div {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .card-grid > div p {
            text-align: left;
            margin-bottom: 0.5rem;
        }

        .card-grid > div p:first-child {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 16px;
            color: var(--color-text);
            margin-bottom: 8px;
        }

        .card-grid > div p:last-child {
            font-size: 14px;
            color: var(--color-text-secondary);
            line-height: 1.5;
            margin-bottom: 0;
        }

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

        /* --- section-bridge --- */
        .section-bridge {
            text-align: center;
            margin: 2.5rem 0;
            position: relative;
        }

        .section-bridge::before,
        .section-bridge::after {
            content: '\2014\2014';
            color: var(--color-border);
            margin: 0 1rem;
        }

        .section-bridge p {
            display: inline;
            font-family: var(--font-display);
            font-style: italic;
            font-size: 17px;
            color: var(--color-accent);
            margin: 0;
        }

        /* ============================================
           5. HERO SECTION
           ============================================ */
        [data-content="hero"] {
            max-width: none;
            padding: 0;
            margin: 0;
            width: 100%;
            background: 
                linear-gradient(90deg, transparent 49.5%, rgba(5,150,105,0.08) 49.5%, rgba(5,150,105,0.08) 50.5%, transparent 50.5%),
                repeating-linear-gradient(0deg, transparent 0px, transparent 40px, rgba(5,150,105,0.03) 40px, rgba(5,150,105,0.03) 41px),
                var(--color-bg);
            padding-top: clamp(3rem, 10vw, 5rem);
            padding-bottom: clamp(2rem, 6vw, 3rem);
        }

        .hero-inner {
            max-width: var(--content-max-width);
            margin: 0 auto;
            padding: 0 var(--content-padding);
            text-align: center;
        }

        .rubrica {
            font-family: var(--font-display);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-accent);
            display: block;
            margin-bottom: 1rem;
        }

        [data-content="hero"] h1 {
            font-family: var(--font-display);
            font-size: clamp(2.25rem, 7vw, 3rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            color: var(--color-text);
            margin-bottom: 1.25rem;
            text-align: center;
        }

        .subtitle {
            font-family: var(--font-body);
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            font-weight: 400;
            color: var(--color-text-secondary);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .hero-divider {
            width: 60px;
            height: 3px;
            background-color: var(--color-accent);
            border: none;
            margin: 0 auto 1.5rem;
        }

        .meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            font-size: 14px;
            color: var(--color-text-secondary);
            margin-bottom: 2rem;
        }

        .meta time {
            letter-spacing: 0.02em;
        }

        .badge {
            font-family: var(--font-display);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background-color: var(--color-accent);
            color: var(--color-surface);
            padding: 4px 10px;
            border-radius: 3px;
        }

        [data-content="hero"] figure {
            max-width: 900px;
            margin: 0 auto;
        }

        [data-content="hero"] figure img {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        [data-content="hero"] figcaption {
            font-size: 13px;
            margin-top: 1rem;
        }

        .hero-cta {
            display: inline-block;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--color-surface);
            background-color: var(--color-accent);
            padding: 12px 28px;
            border-radius: 4px;
            text-decoration: none;
            margin-top: 1.5rem;
            transition: transform var(--transition-fast), opacity var(--transition-fast);
        }

        .hero-cta:hover {
            transform: translateY(-2px);
            opacity: 0.95;
        }

        /* ============================================
           6. TABLE OF CONTENTS - HORIZONTAL
           ============================================ */
        [data-content="toc"] {
            max-width: none;
            background-color: var(--color-surface);
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        .toc-inner {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 var(--content-padding);
        }

        .toc-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
            align-items: center;
        }

        .toc-nav a {
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: var(--color-text-secondary);
            text-decoration: none;
            padding: 6px 14px;
            border: 1px solid var(--color-border);
            border-radius: 4px;
            transition: all var(--transition-fast);
            white-space: nowrap;
        }

        .toc-nav a:hover {
            color: var(--color-accent);
            border-color: var(--color-accent);
            background-color: rgba(5,150,105,0.05);
        }

        @media (max-width: 600px) {
            .toc-nav {
                justify-content: flex-start;
            }
            .toc-nav a {
                font-size: 12px;
                padding: 5px 10px;
            }
        }

        /* ============================================
           7. FAQ ACCORDION
           ============================================ */
        details {
            border-bottom: 1px solid var(--color-border);
            interpolate-size: allow-keywords;
        }

        details:first-of-type {
            border-top: 1px solid var(--color-border);
        }

        summary {
            font-family: var(--font-display);
            font-size: clamp(1rem, 2vw, 1.125rem);
            font-weight: 600;
            color: var(--color-text);
            padding: 1.25rem 2.5rem 1.25rem 0;
            cursor: pointer;
            list-style: none;
            position: relative;
            transition: color var(--transition-fast);
        }

        summary::-webkit-details-marker {
            display: none;
        }

        summary::after {
            content: '+';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            font-family: var(--font-mono);
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--color-accent);
            transition: transform var(--transition-base);
        }

        details[open] summary::after {
            transform: translateY(-50%) rotate(45deg);
        }

        summary:hover {
            color: var(--color-accent);
        }

        summary:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }

        /* Modern details animation */
        ::details-content {
            opacity: 0;
            block-size: 0;
            overflow: hidden;
            transition: 
                opacity var(--transition-base),
                block-size var(--transition-base),
                content-visibility var(--transition-base) allow-discrete;
        }

        details[open]::details-content {
            opacity: 1;
            block-size: auto;
        }

        details > div {
            padding-bottom: 1.25rem;
        }

        details > div p {
            font-size: 16px;
            line-height: 1.7;
            color: var(--color-text);
            text-align: left;
        }

        /* Fallback for older browsers */
        @supports not selector(::details-content) {
            details[open] > *:not(summary) {
                animation: fade-in 300ms ease forwards;
            }
            @keyframes fade-in {
                from { opacity: 0; }
                to { opacity: 1; }
            }
        }

     

        /* ============================================
           9. UTILITY & IMAGES
           ============================================ */
        .hero-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
        }

        .article-image {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 4px;
        }

        /* ============================================
           10. MEDIA QUERIES
           ============================================ */
        @media (max-width: 768px) {
            :root {
                --section-gap: 3rem;
            }

            [data-content="hero"] h1 {
                font-size: clamp(1.75rem, 8vw, 2.5rem);
            }

            h2 {
                font-size: 1.5rem;
            }

            h3 {
                font-size: 1.25rem;
            }

            body {
                font-size: 17px;
            }
        }

        @media (max-width: 480px) {
            .meta {
                flex-direction: column;
                gap: 0.5rem;
            }
        }

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border, #333);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navigation-bar {
    max-width: var(--wide-width, 1100px);
    margin: 0 auto;
    padding: 15px var(--component-padding, 24px);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keep mobile burger on the right */
}

/* --- DESKTOP MENU --- */
.site-nav--desktop {
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .top-navigation-bar {
        justify-content: center; /* Center the desktop menu */
    }

    .site-nav--desktop {
        display: block;
    }
    .mobile-controls {
        display: none; /* Hide burger on desktop */
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent);
    }
}

/* --- MOBILE BURGER BUTTON --- */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE MENU SLIDER --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; /* Slide in */
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent);
    padding-left: 10px; /* Nice slide effect on hover */
}

/* --- OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); /* Beautiful blur effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Footer Styles
   ======================================== */
.site-footer {
    width: 100%;
    background-color: #111111; /* Dark background matching the theme */
    border-top: 1px solid #333333;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
}

.footer-inner {
    max-width: 1200px; /* Wide container for 4 columns */
    margin: 0 auto;
    padding: 0 24px;
}

/* 4-Column Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-heading {
    color: #E8E8E8;
    font-family: var(--font-heading, sans-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1DB954; /* Subtle green accent */
    display: inline-block;
}

/* Base styles for lists in all columns */
.footer-list,
.footer-nav-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-list li,
.footer-nav-menu ul li {
    margin-bottom: 14px;
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
    text-align: left;
}

/* Custom bullet points */
.footer-list li::before,
.footer-nav-menu ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333333; /* Dimmed bullets */
}

/* Specific styling for the warning column */
.warning-list li::before {
    color: #c62828; /* Subdued red for warnings */
}

.highlight {
    color: #E8E8E8;
    font-weight: 500;
}

/* Link hover effects */
.footer-list a,
.footer-nav-menu ul a {
    color: #999999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-nav-menu ul a:hover {
    color: #1DB954; /* Highlight on hover */
}

/* Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Stack into 1 column on mobile */
        gap: 30px;
    }
}

/* ========================================
   404 Error Page
   ======================================== */
.page-404-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(60px, 10vw, 120px) var(--content-padding, 24px);
    background: var(--color-bg, #111111);
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Subtle green radial glow in the background */
.page-404-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(29, 185, 84, 0.08), transparent 60%);
    pointer-events: none;
}

.page-404-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Massive 404 text */
.page-404-content .error-code {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: clamp(100px, 20vw, 180px);
    line-height: 0.9;
    color: var(--color-accent, #1DB954);
    margin-bottom: 10px;
    text-shadow: 0 4px 30px rgba(29, 185, 84, 0.2); /* Glowing effect */
}

/* Offside title */
.page-404-content .error-title {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: clamp(32px, 6vw, 54px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text, #E8E8E8);
    margin-bottom: 16px;
}

/* Description paragraph */
.page-404-content .error-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--color-text-secondary, #999999);
    margin-bottom: 40px;
    line-height: 1.6;
}