:root {
      /* Color Palette - from design spec */
      --color-primary: #1B5E3B;
      --color-primary-dark: #0F3D26;
      --color-accent: #D4A843;
      --color-bg: #F7F5F0;
      --color-text: #2D2D2D;
      --color-text-secondary: #8A8578;
      --color-info-bg: #E8F0E4;
      --color-warning: #C45B4A;
      --color-warning-bg: #FDF2F0;
      --color-border: #D9D5CC;
      --color-surface: #FFFFFF;
      --color-success: #2E7D4A;
      --color-danger: #C45B4A;

      /* Typography */
      --font-display: 'DM Sans', sans-serif;
      --font-body: 'Source Sans 3', 'DM Sans', sans-serif;

      /* Spacing */
      --section-gap: clamp(3rem, 6vw, 5rem);
      --content-max-width: 800px;
      --content-padding: clamp(1rem, 4vw, 2rem);

      /* Transitions */
      --transition-fast: 0.15s ease;
      --transition-medium: 0.25s ease;
    
    /* --- AUTO-FORCED DARK THEME --- */
    --color-bg: #1A1A18;
        --color-text: #E8E6E1;
        --color-text-secondary: #9A9890;
        --color-border: #3D3B36;
        --color-surface: #252422;
        --color-info-bg: #1E2E24;
        --color-warning-bg: #2E2220;
}

    

    /* Reset and base */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      font-family: var(--font-body);
      font-size: clamp(1rem, 1.5vw, 1.125rem);
      font-weight: 400;
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
    }

    /* Typography - General */
    h2, h3, h4 {
      font-family: var(--font-display);
      color: var(--color-text);
      text-align: left;
      scroll-margin-top: 2rem;
    }

    h2 {
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 1.25rem;
    }

    h3 {
      font-size: clamp(1.2rem, 2.5vw, 1.5rem);
      font-weight: 600;
      line-height: 1.3;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }

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

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

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

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

    strong {
      font-weight: 600;
    }

    em {
      font-style: italic;
    }

    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-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;
      font-size: 0.875rem;
      text-align: left;
    }

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

    th {
      background-color: var(--color-primary);
      color: #FFFFFF;
      font-weight: 600;
      font-family: var(--font-display);
    }

    @media (prefers-color-scheme: dark) {
      th {
        background-color: var(--color-primary);
        color: #FFFFFF;
      }
    }

    tbody tr:nth-child(even) {
      background-color: var(--color-surface);
    }

    figure {
      margin: 1.5rem auto;
      max-width: 100%;
    }

    figcaption {
      font-size: clamp(0.75rem, 1.2vw, 0.875rem);
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 0.5rem;
    }

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

    /* Layout - Main */
    header {
      position: relative;
    }

    main {
      width: 100%;
    }

    /* Section layout */
    [data-content] {
      max-width: var(--content-max-width);
      margin-left: auto;
      margin-right: auto;
      padding: var(--section-gap) var(--content-padding);
    }

    /* Hero Section */
    [data-content="hero"] {
      max-width: none;
      padding: 0;
      margin: 0;
      position: relative;
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
      overflow: hidden;
    }

    [data-content="hero"]::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        repeating-linear-gradient(
          45deg,
          transparent,
          transparent 20px,
          rgba(255,255,255,0.03) 20px,
          rgba(255,255,255,0.03) 22px
        ),
        repeating-linear-gradient(
          -45deg,
          transparent,
          transparent 20px,
          rgba(255,255,255,0.03) 20px,
          rgba(255,255,255,0.03) 22px
        );
      pointer-events: none;
    }

    .hero-inner {
      max-width: var(--content-max-width);
      margin: 0 auto;
      padding: clamp(3rem, 8vw, 6rem) var(--content-padding);
      position: relative;
      z-index: 1;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: rgba(255,255,255,0.1);
      padding: 0.375rem 0.75rem;
      border-radius: 4px;
      font-size: clamp(0.75rem, 1.2vw, 0.875rem);
      font-family: var(--font-display);
      font-weight: 600;
      color: rgba(255,255,255,0.9);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .hero-trust {
      font-size: clamp(0.7rem, 1vw, 0.8rem);
      font-family: var(--font-display);
      font-weight: 400;
      color: rgba(255,255,255,0.7);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    [data-content="hero"] h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 3.25rem);
      font-weight: 800;
      line-height: 1.1;
      color: #FFFFFF;
      text-align: left;
      margin-bottom: 1rem;
    }

    .hero-read-time {
      font-size: clamp(0.875rem, 1.3vw, 1rem);
      color: rgba(255,255,255,0.8);
      font-family: var(--font-body);
    }

    .hero-image-container {
      margin-top: 2rem;
    }

    [data-content="hero"] figure {
      margin: 0;
    }

    [data-content="hero"] .hero-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }

    [data-content="hero"] figcaption {
      color: rgba(255,255,255,0.7);
      margin-top: 0.75rem;
    }

    .hero-cta {
      margin-top: 2rem;
    }

    .btn-start {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--color-accent);
      color: var(--color-primary-dark);
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1rem;
      padding: 0.875rem 1.5rem;
      border: none;
      border-radius: 4px;
      text-decoration: none;
      cursor: pointer;
      transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    }

    .btn-start:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      color: var(--color-primary-dark);
    }

    .btn-start::after {
      content: '\2193';
      font-size: 1.1em;
    }

    /* Intro section */
    [data-content="intro"] {
      padding-top: var(--section-gap);
    }

    /* TL;DR Section */
    .tldr {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-accent);
      padding: 1.5rem;
      border-radius: 0 8px 8px 0;
    }

    .tldr h2 {
      font-size: clamp(1.125rem, 2vw, 1.25rem);
      font-weight: 700;
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    .tldr ul {
      margin-bottom: 0;
    }

    .tldr li {
      margin-bottom: 0.75rem;
    }

    .tldr li:last-child {
      margin-bottom: 0;
    }

    /* Table of Contents - Horizontal */
    [data-content="toc"] {
      padding-top: 2rem;
      padding-bottom: 2rem;
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }

    .toc-label {
      font-family: var(--font-display);
      font-size: clamp(0.7rem, 1vw, 0.8rem);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-secondary);
      margin-bottom: 1rem;
    }

    .toc-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
    }

    .toc-nav a {
      font-family: var(--font-display);
      font-size: clamp(0.8rem, 1.2vw, 0.9rem);
      font-weight: 600;
      color: var(--color-primary);
      text-decoration: none;
      padding: 0.375rem 0.75rem;
      border-radius: 4px;
      background-color: var(--color-surface);
      border: 1px solid var(--color-border);
      transition: all var(--transition-fast);
      white-space: nowrap;
    }

    .toc-nav a:hover {
      background-color: var(--color-primary);
      color: #FFFFFF;
      border-color: var(--color-primary);
    }

    @media (max-width: 600px) {
      .toc-nav {
        flex-direction: column;
      }
      .toc-nav a {
        text-align: center;
      }
    }

    /* Component Styles */

    /* Info Box */
    .info-box {
      background-color: var(--color-info-bg);
      border-left: 4px solid var(--color-primary);
      padding: 1.25rem 1.5rem;
      border-radius: 0 6px 6px 0;
      margin: 1.5rem 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .info-box p {
      margin-bottom: 0;
      color: var(--color-text);
    }

    .info-box p strong {
      color: var(--color-primary);
    }

    /* Callout Warning */
    .callout {
      background-color: var(--color-warning-bg);
      border-left: 4px solid var(--color-warning);
      padding: 1.25rem 1.5rem;
      border-radius: 0 6px 6px 0;
      margin: 1.5rem 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .callout p {
      margin-bottom: 0;
      color: var(--color-text);
    }

    .callout p strong {
      color: var(--color-warning);
    }

    /* Key Takeaway */
    .key-takeaway {
      border-top: 2px solid var(--color-accent);
      padding-top: 1rem;
      margin: 2rem 0;
    }

    .key-takeaway p {
      font-family: var(--font-display);
      font-size: clamp(1.125rem, 2vw, 1.25rem);
      font-weight: 600;
      line-height: 1.5;
      color: var(--color-text);
      margin-bottom: 0;
    }

    /* Fun Fact */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }

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

    .fun-fact p {
      font-style: italic;
      color: var(--color-text-secondary);
      margin-bottom: 0;
    }

    /* Glossary Term */
    .glossary-term {
      display: flex;
      align-items: baseline;
      gap: 0.75rem;
      margin: 0.75rem 0;
    }

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

    .glossary-term strong {
      font-family: var(--font-display);
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: var(--color-accent);
      white-space: nowrap;
    }

    @media (max-width: 600px) {
      .glossary-term {
        flex-direction: column;
        gap: 0.25rem;
      }
    }

    /* Worked Example */
    .worked-example {
      background-color: var(--color-surface);
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      border: 1px solid var(--color-border);
    }

    .worked-example p {
      margin-bottom: 0.75rem;
      font-family: var(--font-body);
    }

    .worked-example p:first-child {
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    .worked-example p:last-child {
      margin-bottom: 0;
      padding-top: 0.75rem;
      border-top: 1px dashed var(--color-border);
      font-weight: 600;
      color: var(--color-primary);
    }

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

    .section-bridge::before,
    .section-bridge::after {
      content: '\2022 \2022 \2022';
      color: var(--color-accent);
      font-size: 0.75rem;
      letter-spacing: 0.5em;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }

    .section-bridge::before {
      left: 0;
    }

    .section-bridge::after {
      right: 0;
    }

    @media (max-width: 600px) {
      .section-bridge {
        padding: 0 2.5rem;
      }
      .section-bridge::before,
      .section-bridge::after {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
      }
    }

    .section-bridge p {
      display: inline;
      font-family: var(--font-display);
      font-style: italic;
      color: var(--color-accent);
      margin: 0;
      padding: 0 3rem;
    }

    @media (max-width: 600px) {
      .section-bridge::before,
      .section-bridge::after {
        display: none;
      }
      .section-bridge p {
        padding: 0;
      }
    }

    /* Comparison Table */
    .comparison {
      margin: 1.5rem 0;
      overflow-x: auto;
    }

    .comparison table {
      min-width: 500px;
    }

    /* Dos and Don'ts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 1.5rem 0;
    }

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

    .dos-donts .do-column {
      background-color: rgba(46, 125, 74, 0.1);
      border: 1px solid var(--color-success);
    }

    .dos-donts .dont-column {
      background-color: rgba(196, 91, 74, 0.1);
      border: 1px solid var(--color-danger);
    }

    .dos-donts h4 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .do-column h4 {
      color: var(--color-success);
    }

    .dont-column h4 {
      color: var(--color-danger);
    }

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

    .dos-donts li {
      font-size: 0.9rem;
    }

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

    /* Pre-Bet Checklist */
    .pre-bet-checklist {
      margin: 1.5rem 0;
    }

    .pre-bet-checklist > p:first-child {
      font-family: var(--font-display);
      font-size: clamp(0.75rem, 1.1vw, 0.85rem);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    .pre-bet-checklist ul {
      list-style: none;
      padding-left: 0;
      border-left: 2px solid var(--color-border);
      padding-left: 1.25rem;
      margin: 0;
    }

    .pre-bet-checklist li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.75rem;
    }

    .pre-bet-checklist li::before {
      content: '\2610';
      position: absolute;
      left: -0.75rem;
      color: var(--color-accent);
      font-size: 1.1em;
      background-color: var(--color-bg);
      padding: 0 0.25rem;
    }

    /* At a Glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 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;
    }

    .at-a-glance h4 {
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 2.5vw, 1.5rem);
      font-weight: 700;
      color: var(--color-primary);
      margin-bottom: 0.5rem;
      text-align: center;
    }

    .at-a-glance p {
      font-size: 0.85rem;
      color: var(--color-text-secondary);
      margin: 0;
      text-align: center;
    }

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

    /* Card Grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      margin: 1.5rem 0;
    }

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

    .card-grid h4 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-primary);
      margin-bottom: 0.5rem;
    }

    .card-grid p {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      margin: 0;
    }

    /* Odds Example */
    .odds-example {
      background-color: var(--color-primary);
      color: #FFFFFF;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      text-align: center;
      box-shadow: 0 4px 16px rgba(27, 94, 59, 0.3);
    }

    @media (prefers-color-scheme: dark) {
      .odds-example {
        background-color: var(--color-primary);
        color: #FFFFFF;
      }
    }

    .odds-example p {
      margin-bottom: 0.75rem;
      color: #FFFFFF;
      text-align: center;
    }

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

    .odds-example strong {
      color: var(--color-accent);
    }

    /* FAQ Accordion */
    [data-content="faq"] details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }

    [data-content="faq"] details:first-of-type {
      border-top: 1px solid var(--color-border);
    }

    [data-content="faq"] summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 0;
      cursor: pointer;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1rem, 1.5vw, 1.125rem);
      color: var(--color-text);
      list-style: none;
    }

    [data-content="faq"] summary::-webkit-details-marker {
      display: none;
    }

    [data-content="faq"] summary::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--color-accent);
      transition: transform var(--transition-medium);
    }

    [data-content="faq"] details[open] summary::after {
      transform: rotate(45deg);
    }

    [data-content="faq"] details::details-content {
      opacity: 0;
      block-size: 0;
      overflow: hidden;
      transition: 
        opacity var(--transition-medium),
        block-size var(--transition-medium) allow-discrete,
        content-visibility var(--transition-medium) allow-discrete;
    }

    [data-content="faq"] details[open]::details-content {
      opacity: 1;
      block-size: auto;
    }

    [data-content="faq"] details > div {
      padding-bottom: 1.25rem;
    }

    [data-content="faq"] details > div p {
      color: var(--color-text-secondary);
    }

    @supports not selector(::details-content) {
      [data-content="faq"] details[open] > *:not(summary) {
        animation: fade-in 0.3s ease forwards;
      }
      @keyframes fade-in {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
      }
    }

    /* Utility */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }

    /* Media Queries */
    @media (max-width: 768px) {
      [data-content] {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .hero-inner {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      table {
        font-size: 0.8rem;
      }

      th, td {
        padding: 0.5rem 0.75rem;
      }
    }

    @media (max-width: 480px) {
      h2 {
        font-size: 1.375rem;
      }

      h3 {
        font-size: 1.125rem;
      }
    }

/* =========================================
   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 (Non Runner No Bet Theme)
   ========================================= */
.site-footer-4col {
    background-color: #0f1115; /* Dark background matching the site */
    color: #a1a1aa;
    padding: 60px 20px 30px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
    border-top: 3px solid var(--color-accent, #10b981); /* Vibrant green border */
}

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

/* Legal Disclaimers Block */
.footer-disclaimers {
    font-size: 0.85rem;
    color: #71717a;
    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 strong {
    color: #a1a1aa;
}

.footer-disclaimers a {
    color: var(--color-accent, #10b981);
    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;
    }
}

/* Green Titles */
.widget-title {
    color: var(--color-accent, #10b981); 
    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: #a1a1aa;
    line-height: 1.5;
}

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

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

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

.bullet-list li::before {
    content: '•';
    color: var(--color-accent, #10b981); 
    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: #d0d0d8;
    text-align: center;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-accent, #10b981);
    color: #000;
    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: #fff;
    transform: translateY(-5px);
}

body {
  overflow-x: clip;
}