/* ========================================
           1. CSS VARIABLES & RESET
        ======================================== */
        :root {
            /* Colors - Light Theme */
            --color-primary: #6B21A8;
            --color-accent: #06B6D4;
            --color-text: #1E293B;
            --color-text-secondary: #64748B;
            --color-bg: #FFFFFF;
            --color-bg-surface: #F1F5F9;
            --color-border: #E2E8F0;
            --color-success: #10B981;
            --color-warning: #F59E0B;
            --color-error: #F43F5E;
            
            /* Typography */
            --font-heading: 'Inter', system-ui, sans-serif;
            --font-body: 'Inter', system-ui, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            
            /* Spacing */
            --section-gap: clamp(3rem, 6vw, 5rem);
            --content-max-width: 830px;
            --sidebar-width: 240px;
            
            /* Transitions */
            --transition-fast: 150ms ease;
            --transition-base: 250ms ease;
        
    /* --- AUTO-FORCED DARK THEME --- */
    --color-primary: #A855F7;
                --color-accent: #22D3EE;
                --color-text: #F1F5F9;
                --color-text-secondary: #94A3B8;
                --color-bg: #0F172A;
                --color-bg-surface: #1E293B;
                --color-border: #334155;
                --color-success: #34D399;
                --color-warning: #FBBF24;
                --color-error: #FB7185;
}
        
        
        
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
        
        body {
            font-family: var(--font-body);
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }
        
        @media (max-width: 768px) {
            body {
                font-size: 1rem;
            }
        }
        
        /* ========================================
           2. GENERAL TYPOGRAPHY
        ======================================== */
        h1, h2, h3, h4 {
            font-family: var(--font-heading);
            line-height: 1.2;
            text-align: left;
        }
        
        h2 {
            font-size: clamp(1.75rem, 3vw, 2.5rem);
            font-weight: 700;
            margin-bottom: 1.25rem;
            scroll-margin-top: 2rem;
        }
        
        h3 {
            font-size: clamp(1.25rem, 2vw, 1.5rem);
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            scroll-margin-top: 2rem;
        }
        
        p {
            text-align: left;
            margin-bottom: 1.25rem;
        }
        
        a {
            color: var(--color-accent);
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color var(--transition-fast);
        }
        
        a:hover {
            color: var(--color-primary);
        }
        
        a:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }
        
        strong {
            font-weight: 600;
        }
        
        ul, ol {
            text-align: left;
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
        }
        
        li {
            margin-bottom: 0.5rem;
        }
        
        blockquote {
            text-align: left;
            border-left: 3px solid var(--color-primary);
            padding-left: 1.5rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--color-text-secondary);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        @media (min-width: 769px) {
            table {
                display: table;
                overflow-x: visible;
            }
        }
        
        th, td {
            text-align: left;
            padding: 0.875rem 1rem;
            border-bottom: 1px solid var(--color-border);
        }
        
        th {
            font-weight: 600;
            background-color: var(--color-bg-surface);
        }
        
        figure {
            margin: 2rem auto;
            max-width: 100%;
        }
        
        figcaption {
            text-align: center;
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            margin-top: 0.75rem;
        }
        
        /* ========================================
           3. LAYOUT - MAIN & SECTIONS
        ======================================== */
        header {
            position: relative;
        }
        
        main {
            width: 100%;
            max-width: 100%;
            display: grid;
            grid-template-columns: var(--sidebar-width) 1fr;
            gap: 3rem;
            max-width: calc(var(--sidebar-width) + var(--content-max-width) + 6rem);
            margin: 0 auto;
            padding: 0 1.5rem;
            box-sizing: border-box;
        }
        
        @media (max-width: 900px) {
            main {
                display: block;
                max-width: var(--content-max-width);
                padding: 0 1rem;
            }
        }
        
        [data-content] {
            max-width: var(--content-max-width);
            margin-left: auto;
            margin-right: auto;
            padding-top: var(--section-gap);
            grid-column: 2;
        }
        
        [data-content="hero"] {
            grid-column: 1 / -1;
            max-width: none;
            padding-top: 0;
        }
        
        [data-content="toc"] {
            grid-column: 1;
            grid-row: 2 / 20;
            max-width: var(--sidebar-width);
            padding-top: var(--section-gap);
        }
        
        @media (max-width: 900px) {
            [data-content] {
                grid-column: 1;
                padding-top: calc(var(--section-gap) * 0.75);
            }
            
            [data-content="toc"] {
                grid-row: auto;
                max-width: 100%;
                position: static;
            }
        }
        
        /* ========================================
           4. COMPONENTS
        ======================================== */
        
        /* --- Info Box --- */
        .info-box {
            background-color: var(--color-bg-surface);
            border: 1px solid var(--color-border);
            border-left: 4px solid var(--color-accent);
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .info-box p {
            margin-bottom: 0.75rem;
            text-align: left;
            color: var(--color-text);
        }
        
        .info-box p:last-child {
            margin-bottom: 0;
        }
        
        /* --- Odds Example --- */
        .odds-example {
            background-color: var(--color-text);
            color: var(--color-bg);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            text-align: center;
        }
        
        @media (prefers-color-scheme: dark) {
            .odds-example {
                background-color: #334155;
                color: var(--color-text);
            }
        }
        
        .odds-example p {
            text-align: center;
            color: inherit;
            margin-bottom: 0.5rem;
        }
        
        .odds-example p:last-child {
            margin-bottom: 0;
        }
        
        .odds-example strong {
            color: var(--color-accent);
        }
        
        /* --- Callout --- */
        .callout {
            position: relative;
            padding: 1.25rem 1.25rem 1.25rem 3rem;
            margin: 1.5rem 0;
            background-color: transparent;
            border-left: 3px solid var(--color-warning);
        }
        
        .callout::before {
            content: "!";
            position: absolute;
            left: 0.75rem;
            top: 1.25rem;
            width: 1.25rem;
            height: 1.25rem;
            background-color: var(--color-warning);
            color: var(--color-bg);
            border-radius: 50%;
            font-size: 0.875rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .callout p {
            text-align: left;
            color: var(--color-text);
            margin-bottom: 0;
        }
        
        /* --- Card Grid --- */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .card-grid .card {
            background-color: var(--color-bg-surface);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 1.25rem;
            transition: box-shadow var(--transition-base), transform var(--transition-base);
        }
        
        .card-grid .card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }
        
        .card-grid .card p {
            text-align: left;
            color: var(--color-text);
            margin-bottom: 0;
        }
        
        .card-grid .card strong {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--color-primary);
        }
        
        /* --- Comparison --- */
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        @media (max-width: 600px) {
            .comparison {
                grid-template-columns: 1fr;
            }
        }
        
        .comparison > div {
            background-color: var(--color-bg-surface);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 1.25rem;
        }
        
        .comparison > div p {
            text-align: left;
            color: var(--color-text);
            margin-bottom: 0.5rem;
        }
        
        .comparison > div p:last-child {
            margin-bottom: 0;
        }
        
        .comparison > div strong {
            display: block;
            margin-bottom: 0.75rem;
            font-size: 1rem;
            color: var(--color-text);
        }
        
        /* --- TL;DR --- */
        .tldr {
            background-color: var(--color-bg-surface);
            border-left: 4px solid var(--color-primary);
            border-radius: 0 8px 8px 0;
            padding: 1.5rem 2rem;
            margin: 1.5rem 0;
        }
        
        .tldr h2 {
            font-size: clamp(1.125rem, 2vw, 1.25rem);
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--color-primary);
        }
        
        .tldr ul {
            margin-bottom: 0;
        }
        
        .tldr li {
            text-align: left;
            color: var(--color-text);
        }
        
        /* --- Key Takeaway --- */
        .key-takeaway {
            border-top: 2px solid var(--color-accent);
            padding-top: 1.25rem;
            margin: 2rem 0;
        }
        
        .key-takeaway p {
            font-family: var(--font-heading);
            font-size: clamp(1.125rem, 2vw, 1.375rem);
            font-weight: 600;
            text-align: left;
            color: var(--color-text);
            margin-bottom: 0;
            line-height: 1.5;
        }
        
        /* --- Fun Fact --- */
        .fun-fact {
            position: relative;
            padding-left: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .fun-fact::before {
            content: "—";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--color-accent);
            font-weight: 700;
        }
        
        .fun-fact p {
            font-style: italic;
            color: var(--color-text-secondary);
            text-align: left;
            margin-bottom: 0;
        }
        
        /* --- Glossary Term --- */
        .glossary-term {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        
        @media (max-width: 500px) {
            .glossary-term {
                flex-direction: column;
                gap: 0.25rem;
            }
        }
        
        .glossary-term strong {
            font-family: var(--font-mono);
            color: var(--color-accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            white-space: nowrap;
        }
        
        .glossary-term span {
            color: var(--color-text-secondary);
        }
        
        /* --- Dos & Donts --- */
        .dos-donts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        @media (max-width: 600px) {
            .dos-donts {
                grid-template-columns: 1fr;
            }
        }
        
        .dos-donts > div {
            padding: 1.25rem;
            border-radius: 8px;
        }
        
        .dos-donts .do {
            background-color: rgba(16, 185, 129, 0.08);
            border: 1px solid var(--color-success);
        }
        
        .dos-donts .dont {
            background-color: rgba(244, 63, 94, 0.08);
            border: 1px solid var(--color-error);
        }
        
        .dos-donts strong {
            display: block;
            margin-bottom: 0.75rem;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .dos-donts .do strong {
            color: var(--color-success);
        }
        
        .dos-donts .dont strong {
            color: var(--color-error);
        }
        
        .dos-donts ul {
            margin-bottom: 0;
            padding-left: 1.25rem;
        }
        
        .dos-donts li {
            text-align: left;
            color: var(--color-text);
        }
        
        /* --- Pre-Bet Checklist --- */
        .pre-bet-checklist {
            margin: 1.5rem 0;
        }
        
        .pre-bet-checklist strong {
            display: block;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-accent);
            margin-bottom: 0.75rem;
        }
        
        .pre-bet-checklist ul {
            border-left: 2px solid var(--color-border);
            padding-left: 1.5rem;
            margin-bottom: 0;
            list-style: none;
        }
        
        .pre-bet-checklist li {
            position: relative;
            padding-left: 1.5rem;
            text-align: left;
            color: var(--color-text);
        }
        
        .pre-bet-checklist li::before {
            content: "☐";
            position: absolute;
            left: -0.75rem;
            color: var(--color-accent);
            background-color: var(--color-bg);
            padding: 0 2px;
        }
        
        /* --- At a Glance --- */
        .at-a-glance {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0;
            margin: 1.5rem 0;
            border: 1px solid var(--color-border);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .at-a-glance > div {
            padding: 1.25rem;
            text-align: center;
            border-right: 1px solid var(--color-border);
        }
        
        .at-a-glance > div:last-child {
            border-right: none;
        }
        
        @media (max-width: 600px) {
            .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;
            }
        }
        
        .at-a-glance strong {
            display: block;
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 0.25rem;
        }
        
        .at-a-glance span {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
        }
        
        /* --- Worked Example --- */
        .worked-example {
            background-color: var(--color-bg-surface);
            border-radius: 8px;
            padding: 1.75rem;
            margin: 1.5rem 0;
        }
        
        .worked-example strong {
            display: block;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-text-secondary);
            margin-bottom: 1rem;
        }
        
        .worked-example p {
            font-family: var(--font-mono);
            font-size: 0.95rem;
            text-align: left;
            color: var(--color-text);
            margin-bottom: 0.75rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px dashed var(--color-border);
        }
        
        .worked-example p:last-of-type {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
            font-weight: 600;
            color: var(--color-accent);
        }
        
        /* --- Section Bridge --- */
        .section-bridge {
            text-align: center;
            font-style: italic;
            font-family: var(--font-heading);
            color: var(--color-accent);
            margin: 2.5rem 0;
            position: relative;
        }
        
        .section-bridge::before,
        .section-bridge::after {
            content: "—";
            margin: 0 0.75rem;
            color: var(--color-border);
        }
        
        /* ========================================
           5. HERO SECTION
        ======================================== */
        [data-content="hero"] {
            position: relative;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
            padding: 4rem 1.5rem 5rem;
            overflow: hidden;
        }
        
        /* Grid pattern */
        [data-content="hero"]::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(107, 33, 168, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(107, 33, 168, 0.04) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
        }
        
        /* Fade overlay */
        [data-content="hero"]::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, transparent 0%, #0F172A 70%);
            pointer-events: none;
        }
        
        .hero-inner {
            position: relative;
            z-index: 1;
            max-width: calc(var(--sidebar-width) + var(--content-max-width) + 3rem);
            margin: 0 auto;
            text-align: center;
        }
        
        .hero-badges {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .hero-date {
            display: inline-flex;
            align-items: center;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #94A3B8;
            background-color: rgba(255, 255, 255, 0.05);
            padding: 0.5rem 1rem;
            border-radius: 100px;
        }
        
        .hero-trust {
            font-size: 0.75rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #64748B;
        }
        
        [data-content="hero"] h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            color: #F1F5F9;
            margin-bottom: 1.5rem;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }
        
        .hero-image {
            margin: 2.5rem auto 0;
            max-width: 800px;
        }
        
        .hero-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }
        
        .hero-image figcaption {
            color: #64748B;
            margin-top: 1rem;
        }
        
        /* ========================================
           6. MEDIA QUERIES
        ======================================== */
        
        /* --- Table of Contents (Sidebar) --- */
        [data-content="toc"] {
            position: sticky;
            top: 2rem;
            max-height: calc(100vh - 4rem);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--color-border) transparent;
        }
        
        [data-content="toc"]::-webkit-scrollbar {
            width: 4px;
        }
        
        [data-content="toc"]::-webkit-scrollbar-track {
            background: transparent;
        }
        
        [data-content="toc"]::-webkit-scrollbar-thumb {
            background: var(--color-border);
            border-radius: 2px;
        }
        
        @media (max-width: 900px) {
            [data-content="toc"] {
                position: static;
                max-height: none;
                overflow-y: visible;
            }
        }
        
        .toc-title {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-text-secondary);
            margin-bottom: 1rem;
        }
        
        .toc-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .toc-nav li {
            margin-bottom: 0;
        }
        
        .toc-nav > li > a {
            display: block;
            padding: 0.375rem 0;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--color-text);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        
        .toc-nav > li > a:hover {
            color: var(--color-accent);
        }
        
        .toc-nav ul {
            list-style: none;
            padding-left: 1rem;
            margin: 0.25rem 0 0.5rem;
        }
        
        .toc-nav ul a {
            display: block;
            padding: 0.25rem 0;
            font-size: 0.8125rem;
            font-weight: 400;
            color: var(--color-text-secondary);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        
        .toc-nav ul a:hover {
            color: var(--color-accent);
        }
        
        /* --- FAQ Accordion --- */
        details {
            border-bottom: 1px solid var(--color-border);
            interpolate-size: allow-keywords;
        }
        
        summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 0;
            cursor: pointer;
            font-weight: 600;
            list-style: none;
            transition: color var(--transition-fast);
        }
        
        summary::-webkit-details-marker {
            display: none;
        }
        
        summary::after {
            content: "+";
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--color-text-secondary);
            transition: transform var(--transition-base);
        }
        
        details[open] summary::after {
            content: "−";
        }
        
        summary:hover {
            color: var(--color-accent);
        }
        
        summary:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }
        
        ::details-content {
            opacity: 0;
            block-size: 0;
            overflow: hidden;
            transition: opacity var(--transition-base), block-size var(--transition-base);
            transition-behavior: allow-discrete;
        }
        
        details[open]::details-content {
            opacity: 1;
            block-size: auto;
        }
        
        details > div {
            padding-bottom: 1.25rem;
        }
        
        details > div p {
            text-align: left;
            color: var(--color-text);
        }
        
        @supports not selector(::details-content) {
            details[open] > *:not(summary) {
                animation: fadeIn 250ms ease forwards;
            }
            
            @keyframes fadeIn {
                from {
                    opacity: 0;
                }
                to {
                    opacity: 1;
                }
            }
        }
        
        /* --- Images --- */
        .hero-image img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        
        .article-image {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }
        
        img[loading="lazy"] {
            max-width: 100%;
            height: auto;
        }
        
     
        
        /* --- Legal Disclaimer Section --- */
        [data-content="legal-disclaimer"] {
            padding-bottom: 2rem;
        }
        
        [data-content="legal-disclaimer"] h2 {
            font-size: 1.25rem;
            color: var(--color-text-secondary);
        }
        
        [data-content="legal-disclaimer"] p {
            font-size: 0.9375rem;
            color: var(--color-text-secondary);
        }

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

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

/* Mobile defaults for navigation bar */
.top-navigation-bar {
    width: 100%;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- LOGO FIXES --- */
.site-logo img {
    max-height: 75px; /* Optimal height for most logos */
    width: auto !important; /* Prevents squishing */
    display: block;
    transition: transform 0.2s ease;
}

.site-logo img:hover {
    transform: scale(1.02);
}

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

/* Desktop Grid Layout: Logo left, Menu center */
@media (min-width: 1024px) {
    .top-navigation-bar {
        max-width: 100%;
        padding: 15px 40px; /* Safe padding from screen edges */
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .site-logo {
        grid-column: 1;
        justify-self: start; /* Locks logo to the left edge */
        margin: 0;
    }

    .site-nav--desktop {
        display: block;
        grid-column: 2;
        justify-self: center; /* Locks menu perfectly in the center */
    }

    .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;
}


/* =========================================
   4-COLUMN FOOTER (Apostas Bitcoin Bet)
   ========================================= */
.site-footer-4col {
    background-color: #0b1120; /* Very dark blue background */
    color: #94a3b8;
    padding: 60px 20px 30px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
    border-top: 3px solid var(--color-accent, #0ea5e9); /* Cyan/Sky Blue border */
}

.footer-4col-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Legal Disclaimers Block */
.footer-disclaimers {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimers p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: left;
}

.footer-disclaimers a {
    color: var(--color-accent, #0ea5e9);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-disclaimers a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Grid Layout */
.footer-4col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-4col-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Cyan/Sky Blue Titles (Now using div instead of headings for W3C) */
.widget-title {
    color: var(--color-accent, #0ea5e9); 
    font-family: var(--font-display, sans-serif); 
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    margin-top: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

.widget-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget-list a:hover {
    color: var(--color-accent, #0ea5e9);
}

/* Bullets */
.bullet-list li {
    position: relative;
    padding-left: 16px;
}

.bullet-list li::before {
    content: '•';
    color: var(--color-accent, #0ea5e9); 
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
    line-height: 1;
}

.clean-list li {
    padding-left: 0;
    padding-bottom: 0.8rem;
}

.clean-list li::before {
    display: none;
}

.footer-4col-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
}

.footer-4col-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #b5bfcf;
    text-align: center;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-accent, #0ea5e9);
    color: #0b1120;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: #0284c7;
    transform: translateY(-5px);
}