:root {
      --color-primary: #1E3A5F;
      --color-primary-dark: #0D1B2A;
      --color-accent: #FFD700;
      --color-secondary: #00C9A7;
      --color-neutral-dark: #2D3748;
      --color-neutral-light: #F7FAFC;
      --color-alert: #FF6B35;
      --color-text: #2D3748;
      --color-text-secondary: #4A5568;
      --color-bg: #FFFFFF;
      --color-surface: #F7FAFC;
      --color-border: #E2E8F0;
      --color-success: #00C9A7;
      --color-danger: #E53E3E;
      --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --max-width-content: 820px;
      --section-gap: clamp(3rem, 6vw, 5rem);
      --hero-h1: clamp(32px, 5vw, 48px);
      --h2-size: clamp(24px, 4vw, 36px);
      --h3-size: clamp(20px, 3vw, 28px);
      --body-size: clamp(16px, 2vw, 18px);
    
    /* --- AUTO-FORCED DARK THEME --- */
    --color-text: #E2E8F0;
        --color-text-secondary: #A0AEC0;
        --color-bg: #0D1B2A;
        --color-surface: #1A2332;
        --color-border: #2D3748;
        --color-neutral-light: #1A2332;
}

    

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

    html {
      scroll-behavior: smooth;
    }

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

    /* Typography */
    h1, h2, h3 {
      text-align: left;
      color: var(--color-text);
      font-weight: 700;
      line-height: 1.3;
    }

    h2 {
      font-size: var(--h2-size);
      margin-bottom: 1.25rem;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-size: var(--h3-size);
      margin-top: 2rem;
      margin-bottom: 1rem;
      scroll-margin-top: 2rem;
    }

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

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

    li {
      margin-bottom: 0.5rem;
    }

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

    @media (prefers-color-scheme: dark) {
      a {
        color: var(--color-accent);
      }
    }

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

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

    strong {
      font-weight: 600;
    }

    blockquote {
      border-left: 3px solid var(--color-accent);
      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;
    }

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

    th {
      background-color: var(--color-surface);
      font-weight: 600;
      white-space: nowrap;
    }

    tr:hover td {
      background-color: var(--color-surface);
    }

    @media (max-width: 640px) {
      table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
    }

    .date-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--color-text-secondary);
      background: var(--color-surface);
      padding: 0.35rem 0.75rem;
      border-radius: 4px;
    }

    .trust-marker {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-text-secondary);
    }

    main {
      width: 100%;
    }

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

    /* Hero Section */
    [data-content="hero"] {
      max-width: none;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      padding: clamp(4rem, 10vw, 7rem) 1.5rem clamp(3rem, 8vw, 5rem);
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
      position: relative;
      overflow: hidden;
    }

    [data-content="hero"]::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 40px,
          rgba(255,255,255,0.03) 40px,
          rgba(255,255,255,0.03) 41px
        ),
        repeating-linear-gradient(
          90deg,
          transparent,
          transparent 40px,
          rgba(255,255,255,0.03) 40px,
          rgba(255,255,255,0.03) 41px
        );
      pointer-events: none;
      mask-image: radial-gradient(ellipse 80% 60% at center, transparent 30%, black 100%);
      -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, transparent 30%, black 100%);
    }

    .hero-inner {
      max-width: var(--max-width-content);
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    [data-content="hero"] h1 {
      font-size: var(--hero-h1);
      font-weight: 800;
      line-height: 1.15;
      color: #FFFFFF;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    [data-content="hero"] p {
      font-size: clamp(16px, 2.5vw, 20px);
      line-height: 1.6;
      color: #A0AEC0;
      max-width: 600px;
      margin: 0 auto 2rem;
      text-align: center;
    }

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

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

    [data-content="hero"] figcaption {
      text-align: center;
      font-size: 14px;
      color: #718096;
      margin-top: 1rem;
    }

    .start-reading-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--color-accent);
      color: var(--color-primary-dark);
      font-size: 16px;
      font-weight: 600;
      padding: 0.875rem 2rem;
      border-radius: 6px;
      text-decoration: none;
      margin: 1.5rem auto 0;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .start-reading-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255,215,0,0.4);
      color: var(--color-primary-dark);
    }

    .hero-cta-wrap {
      text-align: center;
    }

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

    .tldr h2 {
      font-size: clamp(18px, 2.5vw, 20px);
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--color-text);
    }

    .tldr ul {
      margin-bottom: 0;
    }

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

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

    /* TOC - Vertical Style */
    [data-content="toc"] {
      background: var(--color-surface);
      border-radius: 8px;
      padding: 2rem;
    }

    [data-content="toc"] h2 {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--color-text-secondary);
      margin-bottom: 1.25rem;
    }

    .toc-list {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .toc-list > li {
      margin-bottom: 0.75rem;
    }

    .toc-list a {
      color: var(--color-text);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .toc-list a:hover {
      color: var(--color-primary);
    }

    @media (prefers-color-scheme: dark) {
      .toc-list a:hover {
        color: var(--color-accent);
      }
    }

    .toc-sublist {
      list-style: none;
      padding-left: 1.25rem;
      margin-top: 0.5rem;
      margin-bottom: 0;
    }

    .toc-sublist li {
      margin-bottom: 0.4rem;
    }

    .toc-sublist a {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--color-text-secondary);
    }

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

    @media (prefers-color-scheme: dark) {
      .info-box {
        background: rgba(30, 58, 95, 0.3);
        border-left-color: var(--color-accent);
      }
    }

    .info-box p {
      margin-bottom: 1rem;
      text-align: left;
      color: var(--color-text);
    }

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

    /* Callout */
    .callout {
      border-left: 4px solid var(--color-alert);
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
      background: rgba(255, 107, 53, 0.08);
      border-radius: 0 6px 6px 0;
    }

    @media (prefers-color-scheme: dark) {
      .callout {
        background: rgba(255, 107, 53, 0.15);
      }
    }

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

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

    .key-takeaway p {
      font-size: clamp(18px, 2.5vw, 20px);
      font-weight: 600;
      line-height: 1.5;
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }

    /* 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);
      margin-bottom: 0;
      text-align: left;
    }

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

    .glossary-term dt {
      font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
      font-size: 0.95rem;
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
      flex-shrink: 0;
    }

    @media (prefers-color-scheme: dark) {
      .glossary-term dt {
        color: var(--color-accent);
      }
    }

    .glossary-term dd {
      color: var(--color-text-secondary);
      margin: 0;
    }

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

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

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

    .dos-donts .do-column,
    .dos-donts .dont-column {
      padding: 1.5rem;
      border-radius: 8px;
    }

    .dos-donts .do-column {
      background: rgba(0, 201, 167, 0.1);
      border-top: 3px solid var(--color-success);
    }

    .dos-donts .dont-column {
      background: rgba(229, 62, 62, 0.1);
      border-top: 3px solid var(--color-danger);
    }

    .dos-donts h4 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1rem;
    }

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

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

    .dos-donts ul {
      padding-left: 0;
      list-style: none;
      margin-bottom: 0;
    }

    .dos-donts li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.5rem;
      color: var(--color-text);
    }

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

    .do-column li::before {
      content: '+';
      position: absolute;
      left: 0;
      color: var(--color-success);
      font-weight: 700;
    }

    .dont-column li::before {
      content: '-';
      position: absolute;
      left: 0;
      color: var(--color-danger);
      font-weight: 700;
    }

    /* Pre-Game Checklist */
    .pre-game-checklist {
      margin: 2rem 0;
    }

    .pre-game-checklist h4 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

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

    .pre-game-checklist li {
      position: relative;
      margin-bottom: 0.75rem;
      padding-left: 0.25rem;
      color: var(--color-text);
    }

    .pre-game-checklist li::before {
      content: '\2610';
      position: absolute;
      left: -1.75rem;
      color: var(--color-accent);
      background: var(--color-bg);
      padding: 0 4px;
    }

    .pre-game-checklist li:last-child {
      margin-bottom: 0;
    }

    /* At a Glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 0;
      margin: 2rem 0;
      border: 1px solid var(--color-border);
      border-radius: 8px;
      overflow: hidden;
    }

    .at-a-glance .glance-item {
      padding: 1.5rem;
      border-right: 1px solid var(--color-border);
      text-align: center;
    }

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

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

    .at-a-glance .glance-item h4 {
      font-size: clamp(20px, 3vw, 24px);
      font-weight: 700;
      color: var(--color-text);
      margin-bottom: 0.5rem;
    }

    .at-a-glance .glance-item p {
      font-size: 14px;
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: center;
    }

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

    .worked-example h4 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-text-secondary);
      margin-bottom: 1.25rem;
    }

    .worked-example .step {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px dashed var(--color-border);
    }

    .worked-example .step:last-of-type {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }

    .worked-example .step p {
      font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
      font-size: 0.95rem;
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }

    .worked-example .result {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 2px solid var(--color-accent);
    }

    .worked-example .result p {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--color-secondary);
      text-align: left;
    }

    /* Section Bridge */
    .section-bridge {
      text-align: center;
      margin: 2rem 0;
      font-style: italic;
      color: var(--color-accent);
      position: relative;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '—';
      margin: 0 0.75rem;
      opacity: 0.6;
    }

    /* Calc Example */
    .calc-example {
      background: var(--color-primary);
      color: #FFFFFF;
      padding: 2rem;
      border-radius: 8px;
      margin: 2rem 0;
      box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
    }

    @media (prefers-color-scheme: dark) {
      .calc-example {
        background: #2D4A6F;
      }
    }

    .calc-example h4 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-accent);
      margin-bottom: 1rem;
      text-align: center;
    }

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

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

    .calc-example .formula {
      font-family: 'SFMono-Regular', Consolas, monospace;
      font-size: 1.1rem;
      font-weight: 600;
      text-align: center;
      color: #FFFFFF;
    }

    /* Bonus Card */
    .bonus-card {
      background: var(--color-bg);
      border: 1px solid var(--color-border);
      border-left: 4px solid var(--color-accent);
      padding: 1.5rem;
      border-radius: 0 8px 8px 0;
      margin: 1.5rem 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .bonus-card p {
      margin-bottom: 0.5rem;
      text-align: left;
      color: var(--color-text);
    }

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

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

    .card-grid .card {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card-grid .card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .card-grid .card h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--color-text);
    }

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

    /* Comparison */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }

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

    .comparison .option {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      overflow: hidden;
    }

    .comparison .option-header {
      background: var(--color-primary);
      color: #FFFFFF;
      padding: 1rem 1.5rem;
      font-weight: 600;
      text-align: center;
    }

    @media (prefers-color-scheme: dark) {
      .comparison .option-header {
        background: #2D4A6F;
      }
    }

    .comparison .option-body {
      padding: 1.5rem;
    }

    .comparison .option-body p {
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }

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

    details:last-of-type {
      border-bottom: none;
    }

    summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 0;
      cursor: pointer;
      font-weight: 600;
      color: var(--color-text);
      list-style: none;
    }

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

    summary::after {
      content: '+';
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--color-text-secondary);
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: 1rem;
    }

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

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

    @media (prefers-color-scheme: dark) {
      summary:hover {
        color: var(--color-accent);
      }
    }

    summary:focus {
      outline: none;
    }

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

    ::details-content {
      display: block;
      opacity: 0;
      block-size: 0;
      overflow: hidden;
      transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s allow-discrete;
      content-visibility: hidden;
    }

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

    @supports not selector(::details-content) {
      details[open] > *:not(summary) {
        animation: fade-in 0.3s ease;
      }

      @keyframes fade-in {
        from {
          opacity: 0;
          transform: translateY(-8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

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

    details > div > p {
      color: var(--color-text-secondary);
      line-height: 1.7;
      text-align: left;
    }

    /* Images */
    figure {
      margin: 2rem auto;
      max-width: 100%;
    }

    figure img {
      display: block;
      max-width: 100%;
      height: auto;
      border-radius: 8px;
    }

    figcaption {
      text-align: center;
      font-size: 14px;
      color: var(--color-text-secondary);
      margin-top: 0.75rem;
    }

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


    /* Responsive adjustments */
    @media (max-width: 640px) {
      [data-content] {
        padding: var(--section-gap) 1rem;
      }

      [data-content="hero"] {
        padding: clamp(3rem, 8vw, 5rem) 1rem clamp(2rem, 6vw, 4rem);
      }

      header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
      }

      [data-content="toc"] {
        padding: 1.5rem;
      }
    }

/* =========================================
   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 (Sweeps Casino No Deposit)
   ========================================= */
.site-footer-4col {
    background-color: #0b1120; /* Deep navy/slate matching the UI */
    color: #94a3b8;
    padding: 60px 20px 30px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
    border-top: 3px solid var(--color-accent, #eab308); /* Yellow/Gold 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, #eab308);
    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;
    }
}

/* Yellow/Gold Titles (Using div for W3C) */
.widget-title {
    color: var(--color-accent, #eab308); 
    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, #eab308);
}

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

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

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

body {
  overflow-x: clip;
}