/* ============================================================
   [CASINO NAME] — Main Stylesheet
   Dark RainBet theme. Edit the colours in :root.
   After editing this file, bump ?v= in index.html
   (<link rel="stylesheet" href="style.css?v=...">).
============================================================ */

/* ════════════════════════════════════════════════
       FONTS — self-hosted (no request to Google Fonts)
       Files: /fonts/*.woff2 · Licence: SIL OFL 1.1 (see /fonts)
    ════════════════════════════════════════════════ */
    @font-face {
      font-family: 'Sora';
      font-style: normal;
      font-display: swap;
      font-weight: 100 800;
      src: url('fonts/sora-latin-ext-wght-normal.woff2') format('woff2');
      unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    }
    @font-face {
      font-family: 'Sora';
      font-style: normal;
      font-display: swap;
      font-weight: 100 800;
      src: url('fonts/sora-latin-wght-normal.woff2') format('woff2');
      unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-display: swap;
      font-weight: 100 1000;
      src: url('fonts/dm-sans-latin-ext-opsz-normal.woff2') format('woff2');
      unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-display: swap;
      font-weight: 100 1000;
      src: url('fonts/dm-sans-latin-opsz-normal.woff2') format('woff2');
      unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    }

/* ════════════════════════════════════════════════
       THEME — RainBet colours (edit here)
    ════════════════════════════════════════════════ */
    :root {
      color-scheme: dark;
      /* RainBet palette — deep navy surfaces, blue brand accent, green CTA */
      --page:          #181b35;   /* page background */
      --accent:        #1d7cf2;   /* RainBet blue (buttons, fills) */
      --accent-h:      #1466d2;   /* blue hover */
      --accent-t:      #62a8ff;   /* blue text on dark */
      --accent-l:      rgba(29,124,242,.14);
      --accent-m:      #a9cdff;   /* light blue text on tinted bg */
      --green:         #2bbd59;   /* "Register" green */
      --green-h:       #24a24c;
      --text:          #ffffff;
      --text-2:        #cfd3ea;
      --text-3:        #a3a9cb;
      --text-4:        #7f86ad;
      --bg:            #222647;   /* cards */
      --bg-2:          #1e2241;   /* subtle panels */
      --bg-3:          #2b3058;   /* raised */
      --border:        #323860;
      --border-2:      #434a7a;
      --r-sm:          8px;
      --r:             14px;
      --r-lg:          20px;
      --sh-sm:         0 1px 4px rgba(0,0,0,.25);
      --sh:            0 6px 22px rgba(0,0,0,.35);
      --sh-lg:         0 12px 40px rgba(0,0,0,.45);
      --fh:            'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      --fb:            'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      --mw:            1180px;
      --sidebar:       272px;
      --header-h:      64px;
    }

    /* ════════════════════════════════════════════════
       RESET
    ════════════════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      font-family: var(--fb);
      background: var(--page);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: var(--accent-t); text-decoration: none; }
    a:hover { text-decoration: underline; }
    img { max-width: 100%; height: auto; display: block; }
    ul, ol { list-style: none; }
    button { font-family: var(--fb); }

    /* ════════════════════════════════════════════════
       TYPOGRAPHY
    ════════════════════════════════════════════════ */
    h1, h2, h3, h4 {
      font-family: var(--fh);
      line-height: 1.2;
      letter-spacing: -.02em;
    }
    h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); font-weight: 800; }
    h2 {
      font-size: clamp(1.25rem, 3.5vw, 1.75rem);
      font-weight: 700;
      margin: 3rem 0 1rem;
      padding-bottom: .75rem;
      border-bottom: 2px solid var(--border);
    }
    h3 {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      font-weight: 600;
      margin: 2rem 0 .6rem;
    }
    p { color: var(--text-2); margin-bottom: 1rem; font-size: .97rem; }
    p:last-child { margin-bottom: 0; }

    /* ════════════════════════════════════════════════
       LAYOUT
    ════════════════════════════════════════════════ */
    .wrap {
      max-width: var(--mw);
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 32px);
    }

    /* SYMMETRIC GRIDS — all use auto-fill so they collapse cleanly */
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .grid-auto-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
    .grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
    .grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 12px; }
    .grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 100px), 1fr)); gap: 10px; }

    @media (max-width: 600px) {
      .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-2 { grid-template-columns: 1fr; }
    }
    @media (max-width: 380px) {
      .grid-3, .grid-4 { grid-template-columns: 1fr; }
    }

    /* Content + Sidebar */
    .two-col {
      display: grid;
      grid-template-columns: 1fr var(--sidebar);
      gap: 40px;
      align-items: start;
    }
    @media (max-width: 960px) {
      .two-col { grid-template-columns: 1fr; }
      .sidebar { display: none; }
    }

    /* ════════════════════════════════════════════════
       HEADER
    ════════════════════════════════════════════════ */
    .header {
      position: sticky; top: 0; z-index: 200;
      height: var(--header-h);
      background: rgba(24,27,53,.94);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
    }
    /* Fix: wrap must fill header height so flex centering works */
    .header .wrap { height: 100%; }
    .header-in {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      gap: 16px;
    }
    /* ── LOGO — replace src with your logo file ──────────────────
       Recommended: SVG or PNG, transparent background
       Max height is set here; width scales automatically.
       On Retina screens use @2x image or SVG for sharpness.
    ─────────────────────────────────────────────────────────── */
    .logo {
      display: flex;
      align-items: center;
      text-decoration: none !important;
      flex-shrink: 0;
    }
    .logo-img {
      height: 30px;          /* ← change this to resize the logo */
      width: auto;
      display: block;
      object-fit: contain;
    }
    /* Mobile: slightly smaller logo */
    @media (max-width: 480px) {
      .logo-img { height: 24px; }
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: nowrap;
    }
    .nav a {
      font-size: .875rem;
      font-weight: 500;
      color: var(--text-3);
      padding: 6px 10px;
      border-radius: var(--r-sm);
      transition: color .15s, background .15s;
      white-space: nowrap;
    }
    .nav a:hover { color: var(--accent-t); background: var(--accent-l); text-decoration: none; }
    .nav-cta {
      background: var(--accent) !important;
      color: #fff !important;
      padding: 8px 20px !important;
      border-radius: 99px !important;
      font-weight: 700 !important;
      transition: background .15s, transform .1s !important;
    }
    .nav-cta:hover { background: var(--accent-h) !important; transform: translateY(-1px); }

    /* Hamburger for mobile */
    .burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
      background: none;
      border: none;
    }
    .burger span {
      display: block;
      width: 22px; height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all .2s;
    }
    .mobile-nav {
      display: none;
      position: fixed;
      top: var(--header-h); left: 0; right: 0;
      background: var(--bg-2);
      border-bottom: 1px solid var(--border);
      padding: 16px clamp(16px,4vw,32px) 20px;
      z-index: 199;
      box-shadow: var(--sh);
    }
    .mobile-nav.open { display: block; }
    .mobile-nav a {
      display: block;
      padding: 10px 0;
      font-weight: 500;
      color: var(--text-2);
      border-bottom: 1px solid var(--border);
      font-size: .95rem;
    }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-nav .mob-cta {
      display: block;
      margin-top: 12px;
      background: var(--accent);
      color: #fff;
      text-align: center;
      padding: 12px;
      border-radius: var(--r);
      font-weight: 700;
    }
    @media (max-width: 1080px) {
      .burger { display: flex; }
      .nav { display: none; }
    }

    /* ════════════════════════════════════════════════
       BUTTONS
    ════════════════════════════════════════════════ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 13px 28px;
      border-radius: 99px;
      font-family: var(--fh);
      font-weight: 700;
      font-size: .95rem;
      cursor: pointer;
      border: none;
      text-decoration: none !important;
      white-space: nowrap;
      transition: all .18s;
    }
    .btn-primary {
      background: var(--green);
      color: #fff;
      box-shadow: 0 4px 16px rgba(43,189,89,.28);
    }
    .btn-primary:hover { background: var(--green-h); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(43,189,89,.36); }
    .btn-blue { background: var(--accent); color: #fff; }
    .btn-blue:hover { background: var(--accent-h); }
    .btn-outline { background: transparent; color: var(--accent-t); border: 2px solid var(--accent); }
    .btn-outline:hover { background: var(--accent-l); }
    .btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
    .btn-ghost:hover { background: rgba(255,255,255,.25); }

    /* When hero has a background image, the outline button switches to
       a white-background style so it stays readable on the dark overlay */
    .hero:has(.hero-bg-img) .btn-outline,
    .hero[style*="--hero-bg"] .btn-outline {
      background: rgba(255, 255, 255, .1);
      color: #fff;
      border-color: rgba(255,255,255,.35);
    }
    .hero:has(.hero-bg-img) .btn-outline:hover,
    .hero[style*="--hero-bg"] .btn-outline:hover {
      background: rgba(255,255,255,.18);
      color: #fff;
    }
    .btn-sm { padding: 9px 20px; font-size: .85rem; }
    .btn-block { width: 100%; }

    /* ════════════════════════════════════════════════
       HERO
    ════════════════════════════════════════════════ */
    /* ── HERO BACKGROUND IMAGE ────────────────────────────────────
       HOW TO USE — pick one option:

       OPTION A (CSS variable, simplest):
         Add  style="--hero-bg: url('images/hero.jpg')"  to <section class="hero">

       OPTION B (<img> tag, better for Core Web Vitals / LCP):
         Uncomment the <img class="hero-bg-img"> block inside the <section>.

       OVERLAY TUNING:
         The overlay uses a dark-to-transparent gradient from left to right.
         Left side stays darker so the text copy is always readable.
         Right side lets the image breathe.
         Tweak the rgba alpha values below to taste.
         Recommended range: 0.55–0.75 for left, 0.15–0.35 for right.
    ─────────────────────────────────────────────────────────── */
    .hero {
      position: relative;
      border-bottom: 1px solid var(--border);
      padding: clamp(40px, 8vw, 80px) 0 clamp(40px, 6vw, 60px);
      /* Fallback (no image set): clean gradient */
      background: radial-gradient(120% 90% at 0% 0%, #23306a 0%, var(--page) 60%);
    }

    /* ── Shared image layer ── */
    .hero-bg-img {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0;
    }

    /* Everything inside hero sits above the image */
    .hero-bg-img ~ * { position: relative; z-index: 2; }
    .hero[style*="--hero-bg"] > * { position: relative; z-index: 2; }

    /* Dark overlay — displayed whenever an image is active.
       Direction: dark on left (text side) → lighter on right (image side). */
    .hero:has(.hero-bg-img)::before,
    .hero[style*="--hero-bg"]::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        to right,
        rgba(18, 20, 42, .94) 0%,   /* ← left: darker, keeps text readable  */
        rgba(18, 20, 42, .72) 50%,  /* ← mid                                 */
        rgba(18, 20, 42, .45) 100%  /* ← right: lighter, lets image show     */
      );
    }

    /* When image is active, switch hero text to white for contrast */
    .hero:has(.hero-bg-img) h1,
    .hero:has(.hero-bg-img) .hero-sub,
    .hero:has(.hero-bg-img) .hero-stat span,
    .hero[style*="--hero-bg"] h1,
    .hero[style*="--hero-bg"] .hero-sub,
    .hero[style*="--hero-bg"] .hero-stat span {
      color: #ffffff;
    }
    .hero:has(.hero-bg-img) h1 .text-accent,
    .hero[style*="--hero-bg"] h1 .text-accent {
      color: var(--accent-m);   /* keep accent readable on dark bg */
    }
    .hero:has(.hero-bg-img) .hero-stat strong,
    .hero[style*="--hero-bg"] .hero-stat strong {
      color: var(--accent-m);
    }

    /* CSS-variable background image */
    .hero[style*="--hero-bg"] {
      background-image: var(--hero-bg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .hero-inner {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 48px;
      align-items: center;
    }
    @media (max-width: 860px) {
      .hero-inner { grid-template-columns: 1fr; text-align: center; }
      .hero-card { max-width: 360px; margin: 0 auto; }
      .hero-badges { justify-content: center; }
      .hero-actions { justify-content: center; }
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-l);
      color: var(--accent-m);
      border: 1px solid rgba(29,124,242,.35);
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding: 4px 12px;
      border-radius: 99px;
      margin-bottom: 14px;
    }
    .hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
    .hero h1 { margin-bottom: 16px; }
    .hero-sub {
      font-size: clamp(.95rem, 2vw, 1.1rem);
      color: var(--text-3);
      max-width: 520px;
      margin-bottom: 28px;
    }
    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .hero-stats {
      display: flex;
      gap: clamp(16px, 4vw, 36px);
      margin-top: 32px;
      flex-wrap: wrap;
    }
    @media (max-width: 860px) { .hero-stats { justify-content: center; } }
    .hero-stat strong {
      display: block;
      font-family: var(--fh);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--accent-t);
    }
    .hero-stat span { font-size: .8rem; color: var(--text-3); }

    /* Hero card — bonus highlight */
    .hero-card {
      background: rgba(34,38,71,.92);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: clamp(20px, 4vw, 32px);
      box-shadow: var(--sh-lg);
      text-align: center;
    }
    .hero-card-badge {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      padding: 4px 14px;
      border-radius: 99px;
      margin-bottom: 14px;
    }
    .bonus-big {
      font-family: var(--fh);
      font-size: clamp(2rem, 5vw, 2.8rem);
      font-weight: 800;
      color: var(--accent-t);
      line-height: 1.1;
      margin-bottom: 4px;
    }
    .bonus-sub { font-size: .9rem; color: var(--text-3); margin-bottom: 20px; }
    .hero-card-terms { font-size: .72rem; color: var(--text-4); margin-top: 10px; }

    /* ════════════════════════════════════════════════
       QUICK INFO STRIP (below hero)
    ════════════════════════════════════════════════ */
    .info-strip {
      background: var(--bg-2);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .info-strip::-webkit-scrollbar { display: none; }
    .info-strip-inner {
      display: flex;
      gap: clamp(20px, 3vw, 40px);
      align-items: center;
      justify-content: center;     /* centered on desktop */
      min-width: max-content;      /* allows horizontal scroll on mobile */
      padding: 0 clamp(16px,4vw,32px);
    }
    .info-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .82rem;
      white-space: nowrap;
    }
    .info-chip-icon { font-size: 1.1rem; line-height: 1; }
    .info-chip-label { color: var(--text-4); font-size: .7rem; display: block; line-height: 1.2; }
    .info-chip-val { font-weight: 600; color: var(--text); font-size: .82rem; line-height: 1.3; }

    /* ════════════════════════════════════════════════
       MAIN + SIDEBAR
    ════════════════════════════════════════════════ */
    .page-body { padding: clamp(24px, 5vw, 48px) 0 80px; }
    .main-col { min-width: 0; }

    /* ════════════════════════════════════════════════
       SIDEBAR
    ════════════════════════════════════════════════ */
    .sidebar {
      position: sticky;
      top: calc(var(--header-h) + 16px);
      max-height: calc(100vh - var(--header-h) - 32px);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .toc {
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 16px 20px;
      /* Scrollable TOC so CTA stays visible */
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
      flex: 1;
      min-height: 0;
    }
    .toc::-webkit-scrollbar { width: 4px; }
    .toc::-webkit-scrollbar-track { background: transparent; }
    .toc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
    .toc-label {
      font-family: var(--fh);
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--text-4);
      margin-bottom: 12px;
    }
    .toc a {
      display: block;
      font-size: .83rem;
      color: var(--text-3);
      padding: 5px 8px;
      border-radius: var(--r-sm);
      transition: all .13s;
    }
    .toc a:hover, .toc a.active { background: var(--accent-l); color: var(--accent-t); text-decoration: none; }
    .toc a.sub { padding-left: 20px; font-size: .78rem; color: var(--text-4); }
    .toc a.sub:hover { color: var(--accent-t); }
    .sb-cta {
      background: linear-gradient(140deg, var(--accent) 0%, var(--accent-h) 100%);
      border-radius: var(--r);
      padding: 22px 18px;
      text-align: center;
      color: #fff;
      flex-shrink: 0;
    }
    .sb-cta strong {
      display: block;
      font-family: var(--fh);
      font-size: 1rem;
      margin-bottom: 4px;
    }
    .sb-cta p { color: rgba(255,255,255,.8); font-size: .82rem; margin-bottom: 14px; }
    .sb-cta .btn {
      background: #fff;
      color: var(--accent-t);
      font-size: .85rem;
      width: 100%;
    }
    .sb-cta .btn:hover { background: var(--accent-l); }

    /* ════════════════════════════════════════════════
       CARD BASE
    ════════════════════════════════════════════════ */
    .card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: clamp(16px, 3vw, 24px);
      box-shadow: var(--sh-sm);
    }
    .card-accent { border-left: 3px solid var(--accent); }
    .card-highlight {
      background: var(--accent-l);
      border-color: rgba(29,124,242,.35);
    }

    /* ════════════════════════════════════════════════
       QUICK FACTS TABLE
    ════════════════════════════════════════════════ */
    .facts-table { width: 100%; border-collapse: collapse; }
    .facts-table th,
    .facts-table td {
      padding: 9px 14px;
      font-size: .875rem;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
      text-align: left;
    }
    .facts-table tr:last-child th,
    .facts-table tr:last-child td { border-bottom: none; }
    .facts-table th,
    .facts-table td:first-child {
      font-weight: 600;
      color: var(--text);
      width: 42%;
      background: var(--bg-2);
    }
    .facts-table th + td { width: auto; background: none; font-weight: 400; }
    .facts-table td:last-child { color: var(--text-2); }
    .tag-yes {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: var(--accent-l);
      color: var(--accent-m);
      font-size: .72rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 4px;
    }

    /* ════════════════════════════════════════════════
       PROS & CONS
    ════════════════════════════════════════════════ */
    .pros-cons-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    @media (max-width: 520px) { .pros-cons-grid { grid-template-columns: 1fr; } }
    .pc-block { border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
    .pc-head {
      padding: 10px 16px;
      font-family: var(--fh);
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .pc-head.p { background: var(--accent-l); color: var(--accent-m); }
    .pc-head.c { background: rgba(239,68,68,.14); color: #fca5a5; }
    .pc-block ul { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
    .pc-block li {
      font-size: .875rem;
      color: var(--text-2);
      padding-left: 20px;
      position: relative;
    }
    .pc-block li::before { position: absolute; left: 0; font-weight: 700; }
    .pc-block.pros li::before { content: '✓'; color: var(--accent-t); }
    .pc-block.cons li::before { content: '✗'; color: #f87171; }

    /* ════════════════════════════════════════════════
       STEPS
    ════════════════════════════════════════════════ */
    .steps { display: flex; flex-direction: column; gap: 0; }
    .step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
      position: relative;
    }
    .step:last-child { border-bottom: none; }
    .step-n {
      flex-shrink: 0;
      width: 38px; height: 38px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--fh);
      font-weight: 800;
      font-size: .9rem;
    }
    .step-body strong { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 3px; }
    .step-body p { font-size: .875rem; margin: 0; }

    /* ════════════════════════════════════════════════
       BONUS CARDS
    ════════════════════════════════════════════════ */
    .bonus-card {
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: clamp(16px, 3vw, 22px);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .bonus-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--accent);
    }
    .bonus-type {
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: var(--accent-t);
      margin-bottom: 6px;
    }
    .bonus-amount {
      font-family: var(--fh);
      font-weight: 800;
      font-size: clamp(1.3rem, 3vw, 1.6rem);
      color: var(--text);
      margin-bottom: 4px;
      line-height: 1.2;
    }
    .bonus-desc { font-size: .82rem; color: var(--text-3); margin-bottom: 14px; flex: 1; }
    .code-row {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-2);
      border: 1px dashed var(--border-2);
      border-radius: var(--r-sm);
      padding: 7px 10px;
      margin-bottom: 12px;
    }
    .code-row code {
      flex: 1;
      font-size: .82rem;
      font-weight: 700;
      color: var(--accent-t);
      letter-spacing: .07em;
    }
    .copy-btn {
      font-size: .72rem; font-weight: 600;
      color: var(--text-4);
      background: none; border: none;
      cursor: pointer; padding: 2px 6px;
      border-radius: 4px;
      transition: color .1s, background .1s;
    }
    .copy-btn:hover { color: var(--accent-t); background: var(--accent-l); }

    /* ════════════════════════════════════════════════
       GAME CARDS — 5 cols desktop / 3 tablet / 2 mobile, covers 256×342
    ════════════════════════════════════════════════ */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 760px) {
      .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    }
    @media (max-width: 460px) {
      .games-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .game-card {
      border: 1px solid var(--border);
      border-radius: var(--r);
      overflow: hidden;
      transition: transform .18s, box-shadow .18s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      background: var(--bg);
    }
    .game-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
    /* ── game-img: portrait cover 256×342 from img/games/ ──
       The emoji (.game-emoji) sits underneath as a placeholder:
       the picture covers it once loaded; if the file is missing,
       main.js adds .is-missing and only the emoji is shown.
    ── */
    .game-img {
      position: relative;
      aspect-ratio: 256 / 342;
      background: linear-gradient(135deg, var(--bg-3) 0%, var(--accent-l) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.4rem;
      overflow: hidden;
    }
    .game-img img {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s;
    }
    .game-card:hover .game-img img { transform: scale(1.04); }
    .game-img.is-missing img { display: none; }
    .game-emoji { line-height: 1; }
    .game-name {
      padding: 8px 8px 0;
      font-size: .8rem;
      font-weight: 600;
      text-align: center;
      color: var(--text);
      background: var(--bg);
      line-height: 1.3;
    }

    /* ════════════════════════════════════════════════
       FEATURE / HIGHLIGHT ITEMS
    ════════════════════════════════════════════════ */
    .feature-item {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: clamp(14px, 2.5vw, 20px);
      border: 1px solid var(--border);
      border-radius: var(--r);
      background: var(--bg);
    }
    .feature-icon {
      flex-shrink: 0;
      width: 42px; height: 42px;
      background: var(--accent-l);
      border-radius: var(--r-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }
    .feature-body strong { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 3px; }
    .feature-body p { font-size: .82rem; color: var(--text-3); margin: 0; }

    /* ════════════════════════════════════════════════
       VIP TIERS
    ════════════════════════════════════════════════ */
    .vip-card {
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: clamp(16px, 3vw, 22px);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .vip-icon { font-size: 2rem; }
    .vip-name { font-family: var(--fh); font-weight: 700; font-size: 1rem; }
    .vip-desc { font-size: .82rem; color: var(--text-3); }
    .vip-perks { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; margin-top: 6px; }
    .vip-perk {
      font-size: .78rem;
      color: var(--text-2);
      padding-left: 14px;
      position: relative;
    }
    .vip-perk::before { content: '✓'; position: absolute; left: 0; color: var(--accent-t); font-weight: 700; }

    /* ════════════════════════════════════════════════
       SPORTS CARDS
    ════════════════════════════════════════════════ */
    .sports-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 640px) { .sports-grid { grid-template-columns: repeat(2, 1fr); } }
    .sport-card {
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 20px 14px;
      text-align: center;
      background: var(--bg);
      transition: border-color .15s, box-shadow .15s, transform .15s;
      cursor: default;
    }
    .sport-card:hover {
      border-color: var(--accent);
      box-shadow: 0 4px 16px rgba(29,124,242,.2);
      transform: translateY(-2px);
    }
    .sport-emoji {
      font-size: 2.4rem;
      display: block;
      margin-bottom: 10px;
      line-height: 1;
    }
    .sport-name {
      font-family: var(--fh);
      font-size: .88rem;
      font-weight: 700;
      color: var(--text);
      display: block;
      margin-bottom: 4px;
    }
    .sport-meta { display: block; font-size: .75rem; line-height: 1.45; color: var(--text-3); }
    .sport-badge {
      display: inline-block;
      background: var(--accent-l);
      color: var(--accent-m);
      font-size: .65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
      padding: 2px 7px;
      border-radius: 99px;
      margin-top: 7px;
    }

    /* ════════════════════════════════════════════════
       APP SECTION — redesigned
    ════════════════════════════════════════════════ */
    .app-block {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 20px;
    }
    @media (max-width: 560px) { .app-block { grid-template-columns: 1fr; } }
    .app-platform {
      position: relative;
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 28px 22px 22px;
      background: var(--bg);
      overflow: hidden;
      transition: border-color .18s, box-shadow .18s;
    }
    .app-platform:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(29,124,242,.2); }
    .app-platform::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent-h));
    }
    .app-os-icon {
      font-size: 2.4rem;
      display: block;
      margin-bottom: 12px;
      line-height: 1;
    }
    .app-os-name {
      font-family: var(--fh);
      font-weight: 800;
      font-size: 1.15rem;
      color: var(--text);
      display: block;
      margin-bottom: 6px;
    }
    .app-os-req { font-size: .8rem; color: var(--text-3); margin-bottom: 16px; }
    .app-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
    .app-feat {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .82rem;
      color: var(--text-2);
    }
    .app-feat::before {
      content: '✓';
      color: var(--accent-t);
      font-weight: 700;
      flex-shrink: 0;
    }
    .app-dl-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 11px 16px;
      border-radius: 99px;
      background: var(--accent);
      color: #fff;
      font-family: var(--fh);
      font-weight: 700;
      font-size: .88rem;
      text-decoration: none !important;
      transition: background .15s, transform .15s;
    }
    .app-dl-btn:hover { background: var(--accent); transform: translateY(-1px); }
    .app-dl-btn.ios { background: #000; }
    .app-dl-btn.ios:hover { background: #1a1a2e; }
    .app-dl-btn.android { background: #3ddc84; color: #000; }
    .app-dl-btn.android:hover { background: #2cb870; }
    .app-stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 560px) { .app-stats-row { grid-template-columns: repeat(3, 1fr); } }
    .app-stat-box {
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 14px 10px;
      text-align: center;
    }
    .app-stat-num {
      font-family: var(--fh);
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--accent-t);
      display: block;
      margin-bottom: 2px;
    }
    .app-stat-label { font-size: .72rem; color: var(--text-3); }
    .rating-item {
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 14px;
    }
    .r-label { font-size: .78rem; color: var(--text-3); margin-bottom: 8px; font-weight: 500; }
    .r-track { background: var(--border); border-radius: 99px; height: 6px; margin-bottom: 7px; overflow: hidden; }
    .r-fill { height: 100%; background: var(--accent); border-radius: 99px; }
    .r-val { font-family: var(--fh); font-weight: 700; font-size: .9rem; }
    .r-val small { font-size: .72rem; color: var(--text-4); font-weight: 400; }

    /* ════════════════════════════════════════════════
       PAYMENT PILLS
    ════════════════════════════════════════════════ */
    .pay-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .pay-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      padding: 7px 12px;
      font-size: .82rem;
      font-weight: 500;
      color: var(--text-2);
      background: var(--bg-2);
    }

    /* ════════════════════════════════════════════════
       PROVIDERS — 6 cols desktop / 4 tablet / 3 mobile
    ════════════════════════════════════════════════ */
    .providers-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 10px;
      margin-top: 16px;
    }
    @media (max-width: 900px) { .providers-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (max-width: 520px) { .providers-grid { grid-template-columns: repeat(3, 1fr); } }
    .provider-box {
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      background: #eef1fb;
      aspect-ratio: 2 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .68rem;
      font-weight: 600;
      color: var(--text-3);
      text-align: center;
      padding: 4px;
      transition: border-color .15s, box-shadow .13s;
      /* Replace text with <img> per provider:
         <div class="provider-box"><img src="logo.svg" alt="Provider"></div> */
    }
    .provider-box:hover { border-color: var(--accent); box-shadow: var(--sh-sm); color: var(--text); }
    .provider-box img { max-width: 80%; max-height: 28px; object-fit: contain; }


    /* ════════════════════════════════════════════════
       CALLOUT
    ════════════════════════════════════════════════ */
    .callout {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      background: var(--accent-l);
      border-left: 3px solid var(--accent);
      border-radius: 0 var(--r-sm) var(--r-sm) 0;
      padding: 14px 16px;
      margin: 1.5rem 0;
    }
    .callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
    .callout p { font-size: .875rem; color: var(--accent-m); margin: 0; }

    /* ════════════════════════════════════════════════
       FAQ
    ════════════════════════════════════════════════ */
    .faq { display: flex; flex-direction: column; margin-top: 1rem; }
    .faq-q {
      width: 100%;
      background: none; border: none;
      text-align: left;
      padding: 16px 0;
      font-family: var(--fh);
      font-size: .95rem;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid var(--border);
    }
    .faq-item:first-child .faq-q { border-top: 1px solid var(--border); }
    .faq-q:hover { color: var(--accent-t); }
    .faq-arr {
      flex-shrink: 0;
      width: 24px; height: 24px;
      border-radius: 50%;
      background: var(--bg-2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .75rem;
      color: var(--text-3);
      transition: transform .2s, background .15s;
    }
    .faq-item.open .faq-arr { transform: rotate(180deg); background: var(--accent-l); color: var(--accent-t); }
    .faq-item.open .faq-q { border-bottom-color: transparent; }
    .faq-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
    .faq-body-in {
      padding-bottom: 16px;
      font-size: .875rem;
      color: var(--text-2);
      border-bottom: 1px solid var(--border);
    }

    /* ════════════════════════════════════════════════
       DISCLAIMER STRIP
    ════════════════════════════════════════════════ */
    .disclaimer {
      background: var(--bg-2);
      border-top: 1px solid var(--border);
      padding: 12px 0;
    }
    .disclaimer p { font-size: .72rem; color: var(--text-4); text-align: center; margin: 0; line-height: 1.6; }

    /* ════════════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════════════ */
    footer {
      background: #12152c;
      color: rgba(255,255,255,.65);
      padding: clamp(40px, 6vw, 64px) 0 28px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: clamp(24px, 4vw, 48px);
      margin-bottom: 40px;
    }
    @media (max-width: 720px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid > div:first-child { grid-column: 1 / -1; }
    }
    @media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
    /* Footer logo image */
    .foot-logo-img {
      height: 32px;
      width: auto;
      display: block;
      object-fit: contain;
      margin-bottom: 12px;
      /* If your logo is dark, use a white version for the dark footer.
         Or apply: filter: brightness(0) invert(1);  to force white */
      opacity: .9;
    }
    .foot-desc { font-size: .82rem; line-height: 1.65; max-width: 300px; }
    .foot-col h4 {
      font-family: var(--fh);
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: rgba(255,255,255,.35);
      margin-bottom: 14px;
    }
    .foot-col ul { display: flex; flex-direction: column; gap: 9px; }
    .foot-col a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .13s; }
    .foot-col a:hover { color: #fff; text-decoration: none; }
    .foot-bottom {
      border-top: 1px solid rgba(255,255,255,.08);
      padding-top: 22px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .foot-bottom p { font-size: .78rem; }
    .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
    .foot-links a { font-size: .78rem; color: rgba(255,255,255,.45); }
    .foot-links a:hover { color: rgba(255,255,255,.9); text-decoration: none; }
    .age-badge {
      width: 30px; height: 30px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.25);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: .7rem;
      font-weight: 800;
      color: rgba(255,255,255,.5);
    }

    /* ════════════════════════════════════════════════
       SCROLL TOP
    ════════════════════════════════════════════════ */
    #stb {
      position: fixed;
      bottom: 24px; right: 20px;
      width: 42px; height: 42px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      box-shadow: var(--sh);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
      transition: transform .15s;
    }
    #stb:hover { transform: translateY(-2px); }
    #stb.on { display: flex; }

    /* ════════════════════════════════════════════════
       UTILS
    ════════════════════════════════════════════════ */
    .mt-0 { margin-top: 0 !important; }
    .mt-1 { margin-top: .75rem; }
    .mt-2 { margin-top: 1.25rem; }
    .text-accent { color: var(--accent-t); }
    /* Scroll offset: heading lands below the sticky header with breathing room.
       Applied to both section and h2/h3 because TOC links point to heading IDs. */
    section,
    h2[id], h3[id] {
      scroll-margin-top: calc(var(--header-h) + 28px);
    }


    /* ════════════════════════════════════════════════
       ACCESSIBILITY
    ════════════════════════════════════════════════ */
    .sr-only {
      position: absolute !important;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .skip-link {
      position: absolute;
      left: 12px; top: -60px;
      z-index: 1000;
      background: var(--accent);
      color: #fff;
      padding: 10px 16px;
      border-radius: var(--r-sm);
      font-weight: 600;
      transition: top .15s;
    }
    .skip-link:focus { top: 12px; text-decoration: none; }
    :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    footer :focus-visible { outline-color: #fff; }
    .btn:focus-visible, .nav-cta:focus-visible, .app-dl-btn:focus-visible { outline-offset: 3px; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
    }

    /* ════════════════════════════════════════════════
       SPACING UTILITIES (replace former inline styles)
    ════════════════════════════════════════════════ */
    .mt-0  { margin-top: 0 !important; }
    .mt-xs { margin-top: .75rem; }
    .mt-sm { margin-top: 14px; }
    .mt-md { margin-top: 1.25rem; }
    .mb-md { margin-bottom: 20px; }
    .mb-lg { margin-bottom: 2rem; }
    .card-flush { padding: 0; overflow: hidden; }

    /* Last updated line */
    .page-updated {
      font-size: .8rem;
      color: var(--text-3);
      margin-bottom: 14px;
    }

    /* ════════════════════════════════════════════════
       STEPS — <ol> version + compact variant
    ════════════════════════════════════════════════ */
    ol.steps { list-style: none; padding: 0; margin: 0 0 1rem; }
    .steps-sm .step { padding: 12px 0; gap: 12px; }
    .steps-sm .step-n { width: 30px; height: 30px; font-size: .8rem; }
    .steps-sm .step-body strong { font-size: .9rem; }
    .install-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 14px;
    }
    @media (max-width: 640px) { .install-grid { grid-template-columns: 1fr; } }
    .install-grid h4 {
      font-family: var(--fh);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .install-grid .steps { margin-bottom: 0; }

    /* ════════════════════════════════════════════════
       BONUS CARDS WITH CODES
    ════════════════════════════════════════════════ */
    .bonus-card .code-row { margin-bottom: 12px; }
    .bonus-card .btn { align-self: flex-start; }
    .code-label {
      font-size: .7rem;
      font-weight: 600;
      color: var(--text-4);
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .copy-btn.is-copied { color: var(--accent-t); }

    /* ════════════════════════════════════════════════
       APP — specs, screenshots
    ════════════════════════════════════════════════ */
    .app-specs {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 4px 12px;
      font-size: .8rem;
      margin: 0 0 16px;
      padding: 10px 12px;
      background: var(--bg-2);
      border-radius: var(--r-sm);
    }
    .app-specs dt { color: var(--text-3); font-weight: 500; }
    .app-specs dd { color: var(--text); font-weight: 600; margin: 0; }
    .app-shots {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 640px) { .app-shots { grid-template-columns: repeat(2, 1fr); } }
    .app-shots figure { margin: 0; }
    .app-shots img {
      width: 100%;
      aspect-ratio: 9 / 19.5;
      object-fit: cover;
      border-radius: var(--r);
      border: 1px solid var(--border);
      background: var(--bg-3);
    }
    .app-shots figcaption {
      font-size: .72rem;
      color: var(--text-3);
      text-align: center;
      margin-top: 6px;
    }

    /* ════════════════════════════════════════════════
       FOOTER — group titles & community links
    ════════════════════════════════════════════════ */
    .foot-title {
      font-family: var(--fh);
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: rgba(255,255,255,.35);
      margin-bottom: 14px;
    }
    .foot-social {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      padding: 18px 0;
      margin-bottom: 4px;
      border-top: 1px solid rgba(255,255,255,.08);
    }
    .foot-social a { font-size: .8rem; color: rgba(255,255,255,.6); }
    .foot-social a:hover { color: #fff; text-decoration: none; }
    .disclaimer .rg-links a { white-space: nowrap; }

    /* Microdata wrapper inside cards — invisible to layout */
    .li-item { display: contents; }

    /* App cards: keep download buttons aligned at the bottom */
    .app-platform { display: flex; flex-direction: column; }
    .app-platform .app-dl-btn { margin-top: auto; }

    /* ════════════════════════════════════════════════
       BONUS POP-UP (popup.js)
       Not full-screen on mobile on purpose: a dismissible card
       that leaves the page visible around it.
    ════════════════════════════════════════════════ */
    .promo-modal {
      margin: auto;               /* the global reset sets margin:0 — re-center the dialog */
      width: min(440px, calc(100% - 32px));
      max-height: calc(100% - 32px);
      padding: 0;
      border: none;
      border-radius: var(--r-lg);
      background: var(--bg);
      color: var(--text);
      box-shadow: var(--sh-lg);
      overflow: auto;
    }
    .promo-modal::backdrop {
      background: rgba(8, 10, 26, .72);
      backdrop-filter: blur(2px);
    }
    .promo-modal[open] { animation: promoIn .28s ease-out; }
    @keyframes promoIn {
      from { opacity: 0; transform: translateY(16px) scale(.98); }
      to   { opacity: 1; transform: none; }
    }
    html.promo-open { overflow: hidden; }
    .promo-img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      background: linear-gradient(135deg, var(--accent), var(--accent-h));
    }
    .promo-modal.no-img .promo-img { display: none; }
    .promo-modal.no-img .promo-body { padding-top: 44px; }
    .promo-body { padding: 22px 24px 20px; text-align: center; }
    .promo-body .hero-card-badge { margin-bottom: 10px; }
    .promo-title {
      font-size: 1.2rem;
      margin: 0 0 8px;
      padding: 0;
      border: none;
    }
    .promo-amount {
      font-family: var(--fh);
      font-weight: 800;
      font-size: clamp(1.45rem, 5vw, 1.8rem);
      line-height: 1.15;
      color: var(--accent-t);
    }
    .promo-text { font-size: .9rem; margin: 10px 0 14px; }
    .promo-modal .code-row { text-align: left; margin-bottom: 14px; }
    .promo-later {
      display: inline-block;
      margin-top: 10px;
      padding: 4px 8px;
      background: none;
      border: none;
      color: var(--text-3);
      font-family: var(--fb);
      font-size: .82rem;
      cursor: pointer;
    }
    .promo-later:hover { color: var(--text); text-decoration: underline; }
    .promo-terms { font-size: .7rem; color: var(--text-4); margin: 8px 0 0; }
    .promo-close {
      position: absolute;
      top: 10px; right: 10px;
      z-index: 1;
      width: 34px; height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      border-radius: 50%;
      background: rgba(10, 12, 30, .6);
      color: #fff;
      font-size: 1.3rem;
      line-height: 1;
      cursor: pointer;
      box-shadow: var(--sh-sm);
    }
    .promo-close:hover { background: rgba(10,12,30,.85); }

    /* ════════════════════════════════════════════════
       DATA TABLES — payment methods, helplines
       Wide tables scroll sideways on small screens.
    ════════════════════════════════════════════════ */
    .table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-top: 14px;
      border: 1px solid var(--border);
      border-radius: var(--r);
      box-shadow: var(--sh-sm);
    }
    .data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
    .pay-table { min-width: 560px; }
    .data-table th,
    .data-table td {
      padding: 9px 14px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      vertical-align: middle;
    }
    .data-table thead th {
      background: var(--bg-2);
      color: var(--text-3);
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .07em;
      white-space: nowrap;
    }
    .data-table tbody th { font-weight: 600; color: var(--text); }
    .data-table td { color: var(--text-2); }
    .data-table tbody:last-child tr:last-child th,
    .data-table tbody:last-child tr:last-child td { border-bottom: none; }
    .data-table .group-row th {
      background: var(--accent-l);
      color: var(--accent-m);
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding-top: 7px;
      padding-bottom: 7px;
    }
    .data-table .yes { color: var(--accent-t); font-weight: 700; }
    .data-table .no  { color: var(--text-4); }
    .data-table a { white-space: nowrap; font-weight: 600; }
    a[href^="tel:"] { white-space: nowrap; }   /* phone numbers never break across lines */

    /* ════════════════════════════════════════════════
       RAINBET GUIDE — extra components
    ════════════════════════════════════════════════ */

    /* "Independent guide" tag next to the logo */
    .brand-tag {
      display: inline-flex;
      align-items: center;
      margin-left: 10px;
      padding: 3px 9px;
      border: 1px solid var(--border-2);
      border-radius: 99px;
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--text-3);
      white-space: nowrap;
    }
    @media (max-width: 420px) { .brand-tag { margin-left: 6px; padding: 2px 6px; font-size: .54rem; } }

    .nav a.is-current { color: #fff; background: var(--bg-3); }
    .mobile-nav a.is-current { color: #fff; }

    /* Eyebrow line above H1 */
    .eyebrow {
      display: inline-block;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--accent-t);
      margin-bottom: 10px;
    }

    /* Prize pools strip (replaces the old wins ticker) */
    .races-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-bottom: 8px;
    }
    @media (max-width: 640px) { .races-strip { grid-template-columns: repeat(2, 1fr); } }
    .race-tile {
      background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg) 100%);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 14px 14px 12px;
    }
    .race-tile strong {
      display: block;
      font-family: var(--fh);
      font-size: 1.35rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.1;
    }
    .race-tile span { display: block; font-size: .76rem; color: var(--text-3); margin-top: 4px; }
    .race-tile .race-label {
      font-size: .66rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--accent-t);
      margin: 0 0 6px;
    }
    .note { font-size: .78rem; color: var(--text-4); margin: 6px 0 18px; }

    /* Sub-page hero with a wide banner */
    .page-hero {
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
      padding: clamp(36px, 7vw, 72px) 0 clamp(32px, 5vw, 56px);
      background: var(--bg-2);
    }
    .page-hero-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(90deg, rgba(18,20,42,.95) 0%, rgba(18,20,42,.78) 55%, rgba(18,20,42,.45) 100%);
    }
    .page-hero .wrap { position: relative; z-index: 2; }
    .page-hero h1 { max-width: 760px; margin-bottom: 14px; }
    .page-hero .hero-sub { color: var(--text-2); max-width: 640px; }
    .page-hero .hero-actions { margin-top: 4px; }

    .breadcrumbs { font-size: .8rem; color: var(--text-3); margin-bottom: 14px; }
    .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
    .breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: var(--text-4); }
    .breadcrumbs a { color: var(--text-2); }
    .breadcrumbs [aria-current] { color: var(--text-3); }

    /* Wide image figure */
    .banner-figure { margin: 18px 0 8px; }
    .banner-figure img {
      width: 100%;
      aspect-ratio: 3 / 1;
      object-fit: cover;
      border-radius: var(--r);
      border: 1px solid var(--border);
      background: var(--bg-3);
    }
    .banner-figure figcaption { font-size: .76rem; color: var(--text-4); margin-top: 6px; text-align: center; }

    /* Text + phone screenshot side by side */
    .media-split {
      display: grid;
      grid-template-columns: 1fr 200px;
      gap: 28px;
      align-items: center;   /* screenshot centred against the text */
      margin-top: 8px;
    }
    .media-split figure { margin: 0; }
    .media-split figure img {
      width: 100%;
      aspect-ratio: 9 / 19.5;
      object-fit: cover;
      border-radius: var(--r);
      border: 1px solid var(--border);
      background: var(--bg-3);
    }
    .media-split figcaption { font-size: .74rem; color: var(--text-4); text-align: center; margin-top: 6px; }
    @media (max-width: 640px) {
      .media-split { grid-template-columns: 1fr; }
      .media-split figure { max-width: 220px; margin: 0 auto; }
    }

    /* Links to the guide pages */
    .guide-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 640px) { .guide-links { grid-template-columns: 1fr; } }
    .guide-link {
      display: block;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 16px 18px;
      transition: border-color .15s, transform .15s;
    }
    .guide-link:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
    .guide-link strong { display: block; font-family: var(--fh); color: #fff; font-size: .95rem; margin-bottom: 4px; }
    .guide-link span { display: block; font-size: .82rem; color: var(--text-3); line-height: 1.5; }

    /* Editorial score */
    .score-head {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-bottom: 16px;
    }
    .score-big {
      font-family: var(--fh);
      font-size: 2.6rem;
      font-weight: 800;
      line-height: 1;
      color: #fff;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .score-big small { font-size: 1rem; color: var(--text-4); font-weight: 600; }
    .score-head p { margin: 0; font-size: .88rem; }

    /* VIP ladder: 7 ranks */
    .vip-ladder {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 14px;
    }
    @media (max-width: 640px) { .vip-ladder { grid-template-columns: repeat(2, 1fr); } }
    .vip-card { background: var(--bg); }
    .hero-badges .hero-badge { margin-bottom: 0; }
    @media (max-width: 480px) {
      .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    }

    /* Section intro under H2 for the bonus terms table etc. */
    .terms-table td:first-child { width: 38%; }

    /* Checklist */
    .checklist { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 16px; }
    .checklist li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--text-2); }
    .checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
    .checklist.warn li::before { content: '!'; color: #fbbf24; }

    /* Footer independence note */
    .foot-note { font-size: .74rem; color: rgba(255,255,255,.45); max-width: 760px; margin-top: 10px; line-height: 1.6; }

    /* Pop-up title is a <p> (keeps the page outline clean) */
    .promo-title { font-family: var(--fh); font-weight: 700; color: #fff; line-height: 1.3; }

    /* Provider line under the game name */
    .game-prov {
      padding: 2px 8px 9px;
      font-size: .68rem;
      color: var(--text-4);
      text-align: center;
      line-height: 1.3;
    }
    .game-card:not(:has(.game-prov)) .game-name { padding-bottom: 9px; }

    /* ════════════════════════════════════════════════
       ALL-BONUSES GRID (/bonus/)
    ════════════════════════════════════════════════ */
    .bonus-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 14px;
    }
    @media (max-width: 860px) { .bonus-list { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 520px) { .bonus-list { grid-template-columns: 1fr; } }
    .bonus-list .bonus-card { background: var(--bg); }
    .bonus-list .bonus-amount { font-size: 1.12rem; }
    .bonus-list .bonus-desc { margin-bottom: 10px; }
    .bonus-how {
      font-size: .72rem;
      font-weight: 600;
      color: var(--accent-m);
      background: var(--accent-l);
      border-radius: 6px;
      padding: 5px 8px;
      align-self: flex-start;
    }
    .bonus-list .bonus-how + .btn { margin-top: 12px; }
