/* ========================================
       1. CSS Variables & Reset
    ======================================== */
    :root {
      /* Fonts */
      --font-display: 'Bebas Neue', sans-serif;
      --font-text: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      
      /* Type Scale */
      --text-xs: 0.75rem;
      --text-sm: 0.875rem;
      --text-base: 1rem;
      --text-lg: 1.125rem;
      --text-xl: 1.25rem;
      --text-2xl: 1.5rem;
      --text-3xl: 2rem;
      --text-4xl: 2.5rem;
      --text-5xl: 3.5rem;
      --text-6xl: clamp(2.5rem, 8vw, 4.5rem);
      
      /* Background - Light Theme */
      --bg-primary: #FAFAFA;
      --bg-secondary: #F5F5F5;
      --bg-tertiary: #EBEBEB;
      
      /* Text - Light Theme */
      --text-primary: #0D0D0D;
      --text-secondary: #525252;
      --text-muted: #737373;
      
      /* Accent */
      --accent-primary: #C78D1E;
      --accent-hover: #A67516;
      --accent-muted: #D4A84B;
      
      /* Semantic */
      --success: #16A34A;
      --success-bg: rgba(22, 163, 74, 0.1);
      --warning: #D97706;
      --danger: #DC2626;
      --danger-bg: rgba(220, 38, 38, 0.1);
      
      /* Borders */
      --border-subtle: #E5E5E5;
      --border-medium: #D4D4D4;
      
      /* Layout */
      --content-width: 770px;
      --section-gap: clamp(3rem, 6vw, 5rem);
    
    /* --- AUTO-FORCED DARK THEME --- */
    /* Background - Dark Theme */
        --bg-primary: #0D0D0D;
        --bg-secondary: #1A1A1A;
        --bg-tertiary: #262626;
        
        /* Text - Dark Theme */
        --text-primary: #FFFFFF;
        --text-secondary: #A3A3A3;
        --text-muted: #737373;
        
        /* Accent */
        --accent-primary: #F5A623;
        --accent-hover: #FFD700;
        --accent-muted: #C78D1E;
        
        /* Semantic - adjusted for dark */
        --success: #22C55E;
        --success-bg: rgba(34, 197, 94, 0.1);
        --warning: #F59E0B;
        --danger: #EF4444;
        --danger-bg: rgba(239, 68, 68, 0.1);
        
        /* Borders */
        --border-subtle: #333333;
        --border-medium: #404040;
}
    
    
    
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: var(--font-text);
      font-size: var(--text-base);
      line-height: 1.7;
      color: var(--text-primary);
      background-color: var(--bg-primary);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    a {
      color: var(--accent-primary);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    
    a:hover {
      color: var(--accent-hover);
    }
    
    a:focus-visible {
      outline: 2px solid var(--accent-primary);
      outline-offset: 2px;
    }
    
    /* ========================================
       2. General Typography
    ======================================== */
    h1, h2, h3, h4, h5, h6 {
      text-align: left;
      color: var(--text-primary);
    }
    
    h1 {
      font-family: var(--font-display);
      font-size: var(--text-6xl);
      text-transform: uppercase;
      letter-spacing: 0.02em;
      line-height: 1.0;
    }
    
    h2 {
      font-family: var(--font-display);
      font-size: var(--text-4xl);
      text-transform: uppercase;
      letter-spacing: 0.01em;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      scroll-margin-top: 2rem;
    }
    
    h3 {
      font-family: var(--font-text);
      font-size: var(--text-xl);
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 1rem;
      scroll-margin-top: 2rem;
    }
    
    p {
      text-align: left;
      margin-bottom: 1.25rem;
      color: var(--text-secondary);
    }
    
    p:last-child {
      margin-bottom: 0;
    }
    
    ul, ol {
      text-align: left;
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
      color: var(--text-secondary);
    }
    
    li {
      margin-bottom: 0.5rem;
    }
    
    strong {
      font-weight: 600;
      color: var(--text-primary);
    }
    
    em {
      font-style: italic;
    }
    
    blockquote {
      text-align: left;
      border-left: 3px solid var(--accent-primary);
      padding-left: 1.5rem;
      margin: 2rem 0;
      font-style: italic;
      color: var(--text-secondary);
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 2rem 0;
      font-size: var(--text-sm);
    }
    
    th, td {
      text-align: left;
      padding: 0.875rem 1rem;
      border-bottom: 1px solid var(--border-subtle);
    }
    
    th {
      font-weight: 600;
      color: var(--text-primary);
      background-color: var(--bg-secondary);
    }
    
    td {
      color: var(--text-secondary);
    }
    
    tbody tr:hover {
      background-color: var(--bg-secondary);
    }
    
    /* ========================================
       3. Layout - Sections
    ======================================== */
    header {
      position: relative;
    }
    
    main {
      width: 100%;
    }
    
    [data-content] {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
      padding: 0 1.5rem;
      margin-bottom: var(--section-gap);
    }
    
    [data-content] figure {
      margin: 2rem auto;
      max-width: 100%;
    }
    
    [data-content] figcaption {
      text-align: center;
      font-size: var(--text-sm);
      color: var(--text-muted);
      margin-top: 0.75rem;
    }
    
    /* ========================================
       4. Components
    ======================================== */
    
    /* Info Box */
    .info-box {
      background: var(--bg-secondary);
      border-left: 3px solid var(--accent-primary);
      padding: 1.5rem;
      margin: 2rem 0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .info-box p {
      color: var(--text-secondary);
      font-size: var(--text-base);
      text-align: left;
      margin-bottom: 0.75rem;
    }
    
    .info-box p:last-child {
      margin-bottom: 0;
    }
    
    .info-box strong {
      color: var(--accent-primary);
      font-size: var(--text-lg);
      display: block;
      margin-bottom: 0.5rem;
    }
    
    .info-box ul {
      margin: 0;
      padding-left: 1.25rem;
    }
    
    .info-box li {
      color: var(--text-secondary);
      font-size: var(--text-sm);
      margin-bottom: 0.375rem;
    }
    
    /* Calc Example */
    .calc-example {
      background: var(--bg-secondary);
      border: 1px solid var(--border-medium);
      border-radius: 4px;
      padding: 1.5rem;
      margin: 2rem 0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .calc-example p {
      text-align: left;
      color: var(--text-secondary);
      font-size: var(--text-base);
    }
    
    .calc-example p:first-child {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }
    
    .calc-example code {
      font-family: var(--font-mono);
      font-size: var(--text-lg);
      color: var(--text-primary);
      background: var(--bg-tertiary);
      padding: 1rem;
      border-radius: 2px;
      display: block;
      margin: 0.75rem 0;
    }
    
    .calc-example strong {
      font-family: var(--font-mono);
      font-size: var(--text-xl);
      color: var(--accent-primary);
    }
    
    /* Callout */
    .callout {
      background: transparent;
      border: 1px solid var(--accent-muted);
      border-radius: 4px;
      padding: 1.25rem 1.5rem;
      margin: 2rem 0;
      position: relative;
    }
    
    .callout p {
      text-align: left;
      font-size: var(--text-base);
      color: var(--text-secondary);
    }
    
    .callout p:first-child {
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
    }
    
    .callout--warning {
      border-color: var(--warning);
    }
    
    .callout--warning::before {
      content: "";
      position: absolute;
      left: -1px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: var(--warning);
      border-radius: 4px 0 0 4px;
    }
    
    /* Card Grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .card-grid > div {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      padding: 1.5rem;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    
    .card-grid > div:hover {
      border-color: var(--accent-muted);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .card-grid p {
      text-align: left;
      color: var(--text-secondary);
      font-size: var(--text-sm);
      margin-bottom: 0;
    }
    
    .card-grid strong {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-lg);
      color: var(--text-primary);
      display: block;
      margin-bottom: 0.75rem;
    }
    
    /* Glossary Term */
    .glossary-term {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin: 1.5rem 0;
    }
    
    .glossary-term p {
      margin-bottom: 0;
    }
    
    .glossary-term strong {
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      color: var(--accent-primary);
      text-decoration: underline;
      text-decoration-color: var(--accent-muted);
      text-underline-offset: 2px;
      flex-shrink: 0;
    }
    
    .glossary-term p:last-child {
      color: var(--text-secondary);
      font-size: var(--text-sm);
    }
    
    @media (max-width: 600px) {
      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }
    }
    
    /* At a Glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 0;
      border: 1px solid var(--border-medium);
      margin: 2rem 0;
    }
    
    .at-a-glance > div {
      padding: 1rem 1.25rem;
      border-right: 1px solid var(--border-subtle);
    }
    
    .at-a-glance > div:last-child {
      border-right: none;
    }
    
    .at-a-glance p {
      text-align: left;
      margin-bottom: 0;
    }
    
    .at-a-glance p:first-child {
      font-size: var(--text-xs);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 0.25rem;
    }
    
    .at-a-glance p:last-child {
      font-family: var(--font-mono);
      font-size: var(--text-lg);
      color: var(--text-primary);
    }
    
    @media (max-width: 600px) {
      .at-a-glance {
        grid-template-columns: 1fr;
      }
      
      .at-a-glance > div {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
      }
      
      .at-a-glance > div:last-child {
        border-bottom: none;
      }
    }
    
    /* Key Takeaway */
    .key-takeaway {
      border-top: 2px solid var(--accent-primary);
      padding-top: 1.5rem;
      margin: 2.5rem 0;
    }
    
    .key-takeaway p {
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 3vw, 1.5rem);
      font-weight: 400;
      line-height: 1.3;
      color: var(--text-primary);
      text-align: left;
    }
    
    /* Fun Fact */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }
    
    .fun-fact::before {
      content: "\2014";
      position: absolute;
      left: 0;
      color: var(--accent-primary);
    }
    
    .fun-fact p {
      font-style: italic;
      color: var(--text-secondary);
      text-align: left;
      margin-bottom: 0;
    }
    
    /* Dos and Donts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .dos-donts > div {
      padding: 1.5rem;
    }
    
    .dos-donts > div:first-child {
      background: var(--success-bg);
      border-left: 3px solid var(--success);
    }
    
    .dos-donts > div:last-child {
      background: var(--danger-bg);
      border-left: 3px solid var(--danger);
    }
    
    .dos-donts p {
      text-align: left;
      margin-bottom: 1rem;
    }
    
    .dos-donts > div:first-child p strong {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--success);
    }
    
    .dos-donts > div:last-child p strong {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--danger);
    }
    
    .dos-donts ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .dos-donts li {
      padding: 0.5rem 0;
      padding-left: 1.5rem;
      position: relative;
      font-size: var(--text-sm);
      color: var(--text-secondary);
    }
    
    .dos-donts > div:first-child li::before {
      content: "\2713";
      position: absolute;
      left: 0;
      color: var(--success);
    }
    
    .dos-donts > div:last-child li::before {
      content: "\2717";
      position: absolute;
      left: 0;
      color: var(--danger);
    }
    
    @media (max-width: 700px) {
      .dos-donts {
        grid-template-columns: 1fr;
      }
    }
    
    /* Pre-Game Checklist */
    .pre-game-checklist {
      margin: 2rem 0;
    }
    
    .pre-game-checklist p {
      text-align: left;
    }
    
    .pre-game-checklist p:first-child {
      font-family: var(--font-display);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--accent-primary);
      font-size: var(--text-lg);
      margin-bottom: 1rem;
    }
    
    .pre-game-checklist ul {
      list-style: none;
      padding: 0;
      padding-left: 1.5rem;
      border-left: 2px solid var(--border-medium);
      margin: 0;
    }
    
    .pre-game-checklist li {
      position: relative;
      padding: 0.625rem 0;
      padding-left: 1.5rem;
      font-size: var(--text-sm);
      color: var(--text-secondary);
    }
    
    .pre-game-checklist li::before {
      content: "\2610";
      position: absolute;
      left: -0.875rem;
      color: var(--accent-primary);
      background: var(--bg-primary);
      padding: 0 2px;
    }
    
    /* Worked Example */
    .worked-example {
      background: var(--bg-secondary);
      padding: 1.75rem;
      margin: 2rem 0;
      border-radius: 4px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .worked-example p {
      text-align: left;
      color: var(--text-secondary);
    }
    
    .worked-example > p:first-child {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }
    
    .worked-example__step {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 0.75rem 0;
      border-bottom: 1px dashed var(--border-subtle);
    }
    
    .worked-example__step:last-of-type {
      border-bottom: none;
    }
    
    .worked-example__step span:first-child {
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      color: var(--accent-primary);
      min-width: 1.5rem;
      flex-shrink: 0;
    }
    
    .worked-example__step span:last-child {
      font-family: var(--font-mono);
      font-size: var(--text-base);
      color: var(--text-primary);
    }
    
    .worked-example__result {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border-medium);
    }
    
    .worked-example__result p {
      font-family: var(--font-mono);
      font-size: var(--text-xl);
      color: var(--accent-primary);
      font-weight: 500;
    }
    
    /* Section Bridge */
    .section-bridge {
      text-align: center;
      padding: 2rem 0;
      margin: 2rem 0;
      position: relative;
    }
    
    .section-bridge::before,
    .section-bridge::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 30%;
      height: 1px;
      background: var(--border-subtle);
    }
    
    .section-bridge::before {
      left: 0;
    }
    
    .section-bridge::after {
      right: 0;
    }
    
    .section-bridge p {
      font-family: var(--font-text);
      font-size: var(--text-sm);
      color: var(--text-muted);
      font-style: italic;
      display: inline-block;
      background: var(--bg-primary);
      padding: 0 1rem;
      text-align: center;
      margin: 0;
    }
    
    /* Comparison */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .comparison > div {
      background: var(--bg-secondary);
      padding: 1.5rem;
      border: 1px solid var(--border-subtle);
    }
    
    .comparison p {
      text-align: left;
      color: var(--text-secondary);
      font-size: var(--text-sm);
    }
    
    .comparison p:first-child {
      font-weight: 600;
      color: var(--text-primary);
      font-size: var(--text-base);
      margin-bottom: 0.75rem;
    }
    
    @media (max-width: 600px) {
      .comparison {
        grid-template-columns: 1fr;
      }
    }
    
    /* ========================================
       5. Hero Section
    ======================================== */
    [data-content="hero"] {
      max-width: none;
      padding: 0;
      margin-bottom: var(--section-gap);
      background: var(--bg-primary);
      width: 100%;
    }
    
    .hero-inner {
      max-width: var(--content-width);
      margin: 0 auto;
      padding: clamp(3rem, 10vw, 6rem) 1.5rem clamp(2rem, 5vw, 3rem);
      text-align: center;
    }
    
    .hero-label {
      font-family: var(--font-text);
      font-size: var(--text-xs);
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--accent-primary);
      margin-bottom: 1.5rem;
      text-align: center;
    }
    
    [data-content="hero"] h1 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
    }
    
    .hero-subtitle {
      font-family: var(--font-text);
      font-size: var(--text-lg);
      color: var(--text-secondary);
      margin-bottom: 2rem;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-divider {
      width: 60px;
      height: 2px;
      background: var(--accent-primary);
      margin: 0 auto 1.5rem;
    }
    
    .hero-meta {
      font-size: var(--text-sm);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
    }
    
    .hero-meta time {
      color: var(--text-muted);
    }
    
    .hero-badge {
      font-size: var(--text-xs);
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      padding: 0.25rem 0.75rem;
      border-radius: 2px;
    }
    
    [data-content="hero"] figure {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    
    [data-content="hero"] img {
      width: 100%;
      height: auto;
      border-radius: 4px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    [data-content="hero"] figcaption {
      text-align: center;
      font-size: var(--text-sm);
      color: var(--text-muted);
      margin-top: 1rem;
    }
    
    .hero-cta {
      margin-top: 2rem;
    }
    
    .hero-cta a {
      display: inline-block;
      font-family: var(--font-text);
      font-size: var(--text-sm);
      font-weight: 500;
      color: var(--text-primary);
      background: transparent;
      border: 1px solid var(--accent-primary);
      padding: 0.75rem 1.5rem;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .hero-cta a:hover {
      background: var(--accent-primary);
      color: var(--bg-primary);
    }
    
    /* ========================================
       6. Table of Contents (Grid Style)
    ======================================== */
    [data-content="toc"] {
      max-width: var(--content-width);
      margin-bottom: var(--section-gap);
    }
    
    [data-content="toc"] h2 {
      font-size: var(--text-2xl);
      margin-bottom: 1.5rem;
    }
    
    .toc-grid {
      column-count: 2;
      column-gap: 2rem;
    }
    
    .toc-item {
      break-inside: avoid;
      margin-bottom: 1.25rem;
    }
    
    .toc-item > a {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-base);
      color: var(--text-primary);
      display: block;
      margin-bottom: 0.5rem;
      transition: color 0.2s ease;
    }
    
    .toc-item > a:hover {
      color: var(--accent-primary);
    }
    
    .toc-sub {
      list-style: none;
      padding-left: 1rem;
      margin: 0;
    }
    
    .toc-sub li {
      margin-bottom: 0.375rem;
    }
    
    .toc-sub a {
      font-size: var(--text-sm);
      color: var(--text-secondary);
      transition: color 0.2s ease;
    }
    
    .toc-sub a:hover {
      color: var(--accent-primary);
    }
    
    @media (max-width: 600px) {
      .toc-grid {
        column-count: 1;
      }
    }
    
    /* ========================================
       7. FAQ Section (Accordion)
    ======================================== */
    [data-content="faq"] details {
      border-bottom: 1px solid var(--border-subtle);
    }
    
    [data-content="faq"] summary {
      font-family: var(--font-text);
      font-weight: 600;
      font-size: var(--text-lg);
      color: var(--text-primary);
      cursor: pointer;
      padding: 1.25rem 2rem 1.25rem 0;
      position: relative;
      list-style: none;
      transition: color 0.2s ease;
    }
    
    [data-content="faq"] summary::-webkit-details-marker {
      display: none;
    }
    
    [data-content="faq"] summary::marker {
      display: none;
      content: "";
    }
    
    [data-content="faq"] summary::after {
      content: "+";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-family: var(--font-mono);
      font-size: var(--text-xl);
      color: var(--accent-primary);
      transition: transform 0.3s ease;
    }
    
    [data-content="faq"] details[open] summary::after {
      transform: translateY(-50%) rotate(45deg);
    }
    
    [data-content="faq"] summary:hover {
      color: var(--accent-primary);
    }
    
    [data-content="faq"] summary:focus-visible {
      outline: 2px solid var(--accent-primary);
      outline-offset: 2px;
    }
    
    [data-content="faq"] details > div {
      padding-bottom: 1.25rem;
      overflow: hidden;
    }
    
    [data-content="faq"] details > div p {
      color: var(--text-secondary);
    }
    
    /* Animation for opening */
    @keyframes faq-slide-down {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    [data-content="faq"] details[open] > div {
      animation: faq-slide-down 0.3s ease forwards;
    }
    
    /* ========================================
       8. Article Images
    ======================================== */
    .hero-image {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    .article-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    
    /* ========================================
       9. Back to Top
    ======================================== */
    .back-to-top {
      display: block;
      text-align: center;
      margin: var(--section-gap) auto;
      padding: 0 1.5rem;
    }
    
    .back-to-top a {
      font-family: var(--font-text);
      font-size: var(--text-sm);
      color: var(--text-muted);
      transition: color 0.2s ease;
    }
    
    .back-to-top a:hover {
      color: var(--accent-primary);
    }

    
    /* ========================================
       11. Media Queries
    ======================================== */
    @media (max-width: 768px) {
      :root {
        --section-gap: 3rem;
      }
      
      h1 {
        font-size: clamp(2rem, 10vw, 3rem);
      }
      
      h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
      }
      
      [data-content] {
        padding: 0 1rem;
      }
      
      table {
        font-size: var(--text-xs);
      }
      
      th, td {
        padding: 0.625rem 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: relative;
    top: 0;
    z-index: 100;
}

.top-navigation-bar {
    max-width: 950px; /* Optimized width to keep menu centered but separated */
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes logo left and burger/menu right */
}

/* --- LOGO FIXES --- */
.site-logo img {
    max-height: 55px; /* 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 */
}

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

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

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #e8e6e1 !important;
    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: #141413 !important;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

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

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

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

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

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

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

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

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


/* =========================================
   FOOTER STYLES (Slots Site - Dark & Orange)
   ========================================= */
.site-footer {
    background-color: #0d0d0c; /* Deepest dark for contrast */
    color: #a3a09a; 
    padding: 0 20px 30px;
    font-family: inherit;
    border-top: 1px solid #1f1d1a;
    margin-top: 60px;
}

/* Back to Top Section */
.footer-top-action {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.back-to-top-btn {
    background: transparent;
    border: none;
    color: #737373;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-family: inherit;
}

.back-to-top-btn:hover {
    color: #f59e0b; /* Amber/Orange accent on hover */
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

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

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

.footer-title {
    color: #e8e6e1; 
    font-size: 1.05rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.footer-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Orange/Amber Links */
.footer-list a {
    color: #d97706; /* Nice amber base */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #fbbf24; /* Brighter gold/orange on hover */
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #1f1d1a;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #737373;
}

.footer-bottom p {
    margin: 0;
    text-align: center
}