/* ==========================================================================
       1. CSS VARIABLES & RESET
       ========================================================================== */
    :root {
      /* Primary */
      --color-primary: #F7931A;
      --color-primary-dark: #C47512;
      
      /* Accent */
      --color-accent: #00D4AA;
      --color-accent-alt: #627EEA;
      
      /* Neutral - Dark Theme Default */
      --color-bg: #0D1117;
      --color-surface: #161B22;
      --color-border: #30363D;
      --color-text: #E6EDF3;
      --color-text-muted: #8B949E;
      
      /* Semantic */
      --color-success: #238636;
      --color-warning: #D29922;
      --color-danger: #F85149;
      
      /* Typography */
      --font-heading: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
      --font-body: 'Inter', 'SF Pro Text', -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
      
      --text-h1: clamp(2.25rem, 4vw, 3.5rem);
      --text-h2: clamp(1.75rem, 3vw, 2.5rem);
      --text-h3: clamp(1.25rem, 2vw, 1.75rem);
      --text-body: clamp(1rem, 1.5vw, 1.125rem);
      --text-small: clamp(0.875rem, 1vw, 1rem);
      
      --weight-regular: 400;
      --weight-medium: 500;
      --weight-semibold: 600;
      --weight-bold: 700;
      --weight-extrabold: 800;
      
      /* Layout */
      --content-width: 860px;
      --section-gap: clamp(3rem, 8vw, 5rem);
      --content-padding: clamp(1rem, 5vw, 2rem);
      
      /* Transitions */
      --transition-fast: 150ms ease;
      --transition-base: 250ms ease;
    }
    

    
    *, *::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: var(--text-body);
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    /* ==========================================================================
       2. GENERAL TYPOGRAPHY
       ========================================================================== */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-heading);
      font-weight: var(--weight-bold);
      line-height: 1.2;
      color: var(--color-text);
      text-align: left;
    }
    
    h1 {
      font-size: var(--text-h1);
      font-weight: var(--weight-extrabold);
    }
    
    h2 {
      font-size: var(--text-h2);
      margin-bottom: 1.5rem;
      scroll-margin-top: 2rem;
    }
    
    h3 {
      font-size: var(--text-h3);
      margin-top: 2rem;
      margin-bottom: 1rem;
      scroll-margin-top: 2rem;
    }
    
    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-primary-dark);
    }
    
    a:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
    
    strong {
      font-weight: var(--weight-semibold);
      color: var(--color-text);
    }
    
    em {
      font-style: italic;
    }
    
    ul, ol {
      text-align: left;
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
    }
    
    li {
      margin-bottom: 0.5rem;
    }
    
    blockquote {
      border-left: 3px solid var(--color-primary);
      padding-left: 1.5rem;
      margin: 1.5rem 0;
      color: var(--color-text-muted);
      font-style: italic;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: var(--text-small);
    }
    
    th, td {
      text-align: left;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--color-border);
    }
    
    th {
      font-weight: var(--weight-semibold);
      background-color: var(--color-surface);
    }
    
    tr:hover {
      background-color: var(--color-surface);
    }
    
    figure {
      margin: 2rem auto;
      max-width: 100%;
    }
    
    figcaption {
      text-align: center;
      font-size: var(--text-small);
      color: var(--color-text-muted);
      margin-top: 0.75rem;
    }
    
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    .hero-image {
      width: 100%;
      max-width: 1200px;
      height: auto;
      margin: 0 auto;
      border-radius: 8px;
    }
    
    .article-image {
      max-width: 100%;
      height: auto;
      border-radius: 4px;
    }
    
    /* ==========================================================================
       3. LAYOUT - SECTIONS
       ========================================================================== */
    header {
      position: relative;
    }
    
    main {
      width: 100%;
    }
    
    [data-content] {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: var(--content-padding);
      padding-right: var(--content-padding);
      margin-bottom: var(--section-gap);
    }
    
    [data-content="hero"] {
      max-width: none;
      padding: 0;
      margin-bottom: 0;
    }
    
    [data-content="toc"] {
      max-width: 900px;
    }
    
    /* ==========================================================================
       4. COMPONENTS
       ========================================================================== */
    
    /* --- TL;DR --- */
    .tldr {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-primary);
      padding: 1.5rem 2rem;
      border-radius: 0 8px 8px 0;
      margin: 2rem 0;
    }
    
    .tldr h2 {
      font-size: clamp(1.125rem, 2vw, 1.25rem);
      font-weight: var(--weight-semibold);
      margin-bottom: 1rem;
      color: var(--color-text);
    }
    
    .tldr ul {
      margin-bottom: 0;
    }
    
    .tldr li {
      margin-bottom: 0.75rem;
      color: var(--color-text-muted);
    }
    
    .tldr li:last-child {
      margin-bottom: 0;
    }
    
    /* --- Info Box --- */
    .info-box {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-accent);
      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.1);
    }
    
    .info-box p {
      margin-bottom: 0;
      color: var(--color-text);
    }
    
    /* --- Callout --- */
    .callout {
      background-color: var(--color-surface);
      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.1);
    }
    
    .callout p {
      margin-bottom: 0;
      color: var(--color-text);
    }
    
    .callout-success {
      border-left-color: var(--color-success);
    }
    
    .callout-warning {
      border-left-color: var(--color-warning);
    }
    
    .callout-danger {
      border-left-color: var(--color-danger);
    }
    
    /* --- Key Takeaway --- */
    .key-takeaway {
      border-top: 2px solid var(--color-primary);
      padding-top: 1.25rem;
      margin: 2rem 0;
    }
    
    .key-takeaway p {
      font-size: clamp(1.125rem, 2vw, 1.375rem);
      font-weight: var(--weight-semibold);
      line-height: 1.5;
      margin-bottom: 0;
      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-primary);
      font-weight: var(--weight-bold);
    }
    
    .fun-fact p {
      font-style: italic;
      color: var(--color-text-muted);
      margin-bottom: 0;
    }
    
    /* --- Glossary Term --- */
    .glossary-term {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin: 1.25rem 0;
    }
    
    .glossary-term strong {
      font-family: var(--font-mono);
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
      flex-shrink: 0;
    }
    
    .glossary-term p {
      color: var(--color-text-muted);
      margin-bottom: 0;
    }
    
    @media (max-width: 600px) {
      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }
    }
    
    /* --- Pre-Bet Checklist --- */
    .pre-bet-checklist {
      margin: 2rem 0;
    }
    
    .pre-bet-checklist p:first-child {
      font-family: var(--font-heading);
      font-size: var(--text-small);
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-primary);
      margin-bottom: 1rem;
    }
    
    .pre-bet-checklist ul {
      border-left: 2px solid var(--color-border);
      padding-left: 1.5rem;
      list-style: none;
    }
    
    .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;
      top: 0;
      color: var(--color-primary);
      background-color: var(--color-bg);
      padding: 0 4px;
    }
    
    /* --- Dos and Don'ts --- */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .dos-donts > div:first-child {
      border-left: 3px solid var(--color-success);
      padding-left: 1rem;
    }
    
    .dos-donts > div:last-child {
      border-left: 3px solid var(--color-danger);
      padding-left: 1rem;
    }
    
    .dos-donts h4 {
      font-size: var(--text-small);
      font-weight: var(--weight-semibold);
      margin-bottom: 0.75rem;
    }
    
    .dos-donts > div:first-child h4 {
      color: var(--color-success);
    }
    
    .dos-donts > div:last-child h4 {
      color: var(--color-danger);
    }
    
    .dos-donts ul {
      margin-bottom: 0;
    }
    
    @media (max-width: 600px) {
      .dos-donts {
        grid-template-columns: 1fr;
      }
    }
    
    /* --- At a Glance --- */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1px;
      background-color: var(--color-border);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      overflow: hidden;
      margin: 2rem 0;
    }
    
    .at-a-glance > div {
      background-color: var(--color-surface);
      padding: 1.25rem;
      text-align: center;
    }
    
    .at-a-glance strong {
      display: block;
      font-size: clamp(1.25rem, 2.5vw, 1.5rem);
      font-weight: var(--weight-bold);
      color: var(--color-primary);
      margin-bottom: 0.5rem;
    }
    
    .at-a-glance p {
      font-size: var(--text-small);
      color: var(--color-text-muted);
      margin-bottom: 0;
      text-align: center;
    }
    
    /* --- Worked Example --- */
    .worked-example {
      background-color: var(--color-surface);
      padding: 1.5rem 2rem;
      border-radius: 8px;
      margin: 2rem 0;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }
    
    .worked-example h4 {
      font-size: var(--text-small);
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-text-muted);
      margin-bottom: 1rem;
    }
    
    .worked-example p {
      font-family: var(--font-mono);
      font-size: var(--text-small);
      margin-bottom: 0.75rem;
      color: var(--color-text);
    }
    
    .worked-example .result {
      font-weight: var(--weight-bold);
      color: var(--color-accent);
      font-size: var(--text-body);
    }
    
    .worked-example hr {
      border: none;
      border-top: 1px dashed var(--color-border);
      margin: 1rem 0;
    }
    
    /* --- Section Bridge --- */
    .section-bridge {
      text-align: center;
      font-style: italic;
      color: var(--color-primary);
      margin: 2rem 0;
      position: relative;
    }
    
    .section-bridge::before,
    .section-bridge::after {
      content: '—';
      margin: 0 0.5rem;
      color: var(--color-border);
    }
    
    /* --- Comparison --- */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .comparison > div {
      background-color: var(--color-surface);
      padding: 1.25rem;
      border-radius: 8px;
      border: 1px solid var(--color-border);
    }
    
    .comparison h4 {
      font-size: var(--text-body);
      font-weight: var(--weight-semibold);
      margin-bottom: 0.75rem;
      color: var(--color-text);
    }
    
    .comparison p {
      font-size: var(--text-small);
      color: var(--color-text-muted);
      margin-bottom: 0;
    }
    
    @media (max-width: 600px) {
      .comparison {
        grid-template-columns: 1fr;
      }
    }
    
    /* --- Card Grid --- */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .card-grid > div {
      background-color: var(--color-surface);
      padding: 1.5rem;
      border-radius: 8px;
      border: 1px solid var(--color-border);
      transition: transform var(--transition-base), box-shadow var(--transition-base);
    }
    
    .card-grid > div:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    
    .card-grid h4 {
      font-size: var(--text-body);
      font-weight: var(--weight-semibold);
      margin-bottom: 0.5rem;
      color: var(--color-text);
    }
    
    .card-grid p {
      font-size: var(--text-small);
      color: var(--color-text-muted);
      margin-bottom: 0;
    }
    
    /* --- Odds Example --- */
    .odds-example {
      background-color: var(--color-text);
      color: var(--color-bg);
      padding: 1.5rem 2rem;
      border-radius: 8px;
      text-align: center;
      margin: 2rem 0;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    
    .odds-example p {
      color: var(--color-bg);
      margin-bottom: 0.5rem;
      text-align: center;
    }
    
    .odds-example p:last-child {
      margin-bottom: 0;
    }
    
    .odds-example strong {
      color: var(--color-primary);
    }
    
    
    /* ==========================================================================
       5. HERO SECTION
       ========================================================================== */
    [data-content="hero"] {
      background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #1a1f26 100%);
      position: relative;
      overflow: hidden;
    }
    
    [data-content="hero"]::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at 30% 50%, rgba(247,147,26,0.15) 0%, transparent 50%);
      pointer-events: none;
    }
    
    .hero-inner {
      max-width: var(--content-width);
      margin: 0 auto;
      padding: clamp(4rem, 10vw, 8rem) var(--content-padding);
      position: relative;
      z-index: 1;
    }
    
    .hero-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }
    
    .date-badge {
      display: inline-flex;
      align-items: center;
      font-size: 0.75rem;
      font-weight: var(--weight-medium);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-muted);
      background-color: var(--color-surface);
      padding: 0.375rem 0.75rem;
      border-radius: 4px;
    }
    
    .trust-marker {
      font-size: 0.75rem;
      font-weight: var(--weight-medium);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-accent);
    }
    
    .hero-title {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: var(--weight-extrabold);
      color: #E6EDF3;
      line-height: 1.1;
      margin-bottom: 1rem;
      text-align: left;
    }
    
    .hero-subtitle {
      font-size: clamp(1.125rem, 2vw, 1.5rem);
      color: #8B949E;
      margin-top: 1rem;
      text-align: left;
    }
    
    .hero-cta {
      margin-top: 2rem;
    }
    
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--color-primary);
      color: #0D1117;
      font-family: var(--font-heading);
      font-size: var(--text-small);
      font-weight: var(--weight-semibold);
      text-decoration: none;
      padding: 0.875rem 1.5rem;
      border-radius: 6px;
      transition: background-color var(--transition-fast), transform var(--transition-fast);
    }
    
    .btn-primary:hover {
      background-color: var(--color-primary-dark);
      color: #0D1117;
      transform: translateY(-1px);
    }
    
    .btn-primary:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }

    
    /* ==========================================================================
       6. TABLE OF CONTENTS - Horizontal Strip
       ========================================================================== */
    [data-content="toc"] {
      background-color: var(--color-surface);
      border-radius: 8px;
      padding: 1.5rem 2rem;
      margin-bottom: var(--section-gap);
    }
    
    .toc-title {
      font-size: var(--text-small);
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-muted);
      margin-bottom: 1rem;
    }
    
    .toc-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
    }
    
    .toc-nav a {
      display: inline-block;
      font-size: var(--text-small);
      font-weight: var(--weight-medium);
      color: var(--color-text);
      text-decoration: none;
      padding: 0.375rem 0.75rem;
      border-radius: 4px;
      background-color: var(--color-bg);
      border: 1px solid var(--color-border);
      transition: all var(--transition-fast);
    }
    
    .toc-nav a:hover {
      background-color: var(--color-primary);
      border-color: var(--color-primary);
      color: #0D1117;
    }
    
    .toc-nav a:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
    
    /* ==========================================================================
       7. FAQ ACCORDION
       ========================================================================== */
    details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }
    
    details:first-of-type {
      border-top: 1px solid var(--color-border);
    }
    
    summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 0;
      font-weight: var(--weight-semibold);
      cursor: pointer;
      list-style: none;
      transition: color var(--transition-fast);
    }
    
    summary::-webkit-details-marker {
      display: none;
    }
    
    summary::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: var(--weight-regular);
      color: var(--color-text-muted);
      transition: transform var(--transition-base);
    }
    
    details[open] summary::after {
      content: '-';
    }
    
    summary:hover {
      color: var(--color-primary);
    }
    
    summary:focus {
      outline: none;
    }
    
    summary:focus-visible {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
    
    details::details-content {
      opacity: 0;
      block-size: 0;
      overflow: hidden;
      transition: opacity var(--transition-base), block-size var(--transition-base) allow-discrete, content-visibility var(--transition-base) allow-discrete;
    }
    
    details[open]::details-content {
      opacity: 1;
      block-size: auto;
    }
    
    details > div {
      padding-bottom: 1.25rem;
    }
    
    details > div p {
      color: var(--color-text-muted);
      margin-bottom: 0;
    }
    
    @supports not selector(::details-content) {
      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);
        }
      }
    }
    
    /* ==========================================================================
       8. BACK TO TOP
       ========================================================================== */
    .back-to-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      background-color: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 50%;
      color: var(--color-text);
      text-decoration: none;
      font-size: 1.25rem;
      transition: all var(--transition-fast);
      z-index: 100;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .back-to-top:hover {
      background-color: var(--color-primary);
      border-color: var(--color-primary);
      color: #0D1117;
      transform: translateY(-2px);
    }
    
    .back-to-top:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
    
    @media (max-width: 768px) {
      .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
      }
    }
    
    
    /* ==========================================================================
       10. MEDIA QUERIES
       ========================================================================== */
    @media (max-width: 768px) {
      :root {
        --section-gap: clamp(2rem, 6vw, 3rem);
      }
      
      .hero-inner {
        padding: clamp(3rem, 8vw, 5rem) var(--content-padding);
      }
      
      [data-content="toc"] {
        padding: 1.25rem 1.5rem;
      }
      
      .toc-nav {
        gap: 0.5rem;
      }
      
      .toc-nav a {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
      }
      
      table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
      }
    }
    
    @media (max-width: 480px) {
      .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.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 (Site Apostas Bitcoin)
   ========================================= */
.site-footer-4col {
    background-color: #0f172a; /* Deep slate background */
    color: #94a3b8;
    padding: 60px 20px 30px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
    border-top: 3px solid var(--color-accent, #f59e0b); /* Orange/Amber 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, #f59e0b);
    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;
    }
}

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

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

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

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

.tldr, [data-content="tldr"] {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--content-max-width, 850px) !important; 
}

/* Hide the sports predictions widget title */
.tc-brands-heading, 
.sp-widget-title {
    display: none !important;
}