/* ============================================================
   Mafia Casino — Main Stylesheet
   Edit --accent in :root to change the brand colour.
============================================================ */

/* ════════════════════════════════════════════════
       THEME — EDIT ACCENT COLOR PER CASINO BRAND
    ════════════════════════════════════════════════ */
:root {
    --accent:        #E8003D;
    --accent-h:      #C0002F; 
    --accent-l:      #fff0f3; 
    --accent-m:      #ffd6e0; 
    --text:          #111827;
    --text-2:        #374151;
    --text-3:        #6b7280;
    --text-4:        #9ca3af;
    --bg:            #ffffff;
    --bg-2:          #f9fafb;
    --bg-3:          #f3f4f6;
    --border:        #e5e7eb;
    --border-2:      #d1d5db;
    --r-sm:          8px;
    --r:             14px;
    --r-lg:          20px;
    --sh-sm:         0 1px 4px rgba(0,0,0,.07);
    --sh:            0 4px 18px rgba(0,0,0,.09);
    --sh-lg:         0 8px 36px rgba(0,0,0,.12);
    --fh:            'Sora', sans-serif;
    --fb:            'DM Sans', sans-serif;
    --mw:            1180px;
    --sidebar:       272px;
    --header-h:      60px;
}

    /* ════════════════════════════════════════════════
       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(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: var(--accent); 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(255,255,255,.96);
      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: 36px;          /* ← change this to resize the logo */
      width: auto;
      display: block;
      object-fit: contain;
      /* Placeholder look while no real logo is set */
      background: var(--bg-3);
      border-radius: 6px;
      padding: 4px 12px;
      min-width: 120px;
    }
    /* Mobile: slightly smaller logo */
    @media (max-width: 480px) {
      .logo-img { height: 30px; min-width: 100px; }
    }
    .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); 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: #fff;
      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: 768px) {
      .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(--accent);
      color: #fff;
      box-shadow: 0 4px 16px rgba(5,150,105,.3);
    }
    .btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(5,150,105,.38); }
    .btn-outline { background: transparent; color: var(--accent); 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, .92);
      color: var(--accent-h);
      border-color: transparent;
    }
    .hero:has(.hero-bg-img) .btn-outline:hover,
    .hero[style*="--hero-bg"] .btn-outline:hover {
      background: #ffffff;
      color: var(--accent-h);
    }
    .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: linear-gradient(150deg, var(--accent-l) 0%, #fff 55%);
    }

    /* ── 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(0, 0, 0, .76) 0%,    /* ← left: darker, keeps text readable  */
        rgba(0, 0, 0, .55) 50%,   /* ← mid                                 */
        rgba(0, 0, 0, .32) 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-m);
      color: var(--accent-h);
      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);
    }
    .hero-stat span { font-size: .8rem; color: var(--text-3); }

    /* Hero card — bonus highlight */
    .hero-card {
      background: #fff;
      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);
      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); text-decoration: none; }
    .toc a.sub { padding-left: 20px; font-size: .78rem; color: var(--text-4); }
    .toc a.sub:hover { color: var(--accent); }
    .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);
      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: var(--accent-m);
    }

    /* ════════════════════════════════════════════════
       QUICK FACTS TABLE
    ════════════════════════════════════════════════ */
    .facts-table { width: 100%; border-collapse: collapse; }
    .facts-table td {
      padding: 9px 14px;
      font-size: .875rem;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }
    .facts-table tr:last-child td { border-bottom: none; }
    .facts-table td:first-child {
      font-weight: 600;
      color: var(--text);
      width: 42%;
      background: var(--bg-2);
    }
    .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-h);
      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-h); }
    .pc-head.c { background: #fff1f2; color: #be123c; }
    .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); }
    .pc-block.cons li::before { content: '✗'; color: #be123c; }

    /* ════════════════════════════════════════════════
       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);
      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);
      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); background: var(--accent-l); }

    /* ════════════════════════════════════════════════
       GAME CARDS — Hot Games: 4 cols desktop / 2 cols mobile
    ════════════════════════════════════════════════ */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 16px;
    }
    @media (max-width: 640px) {
      .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    }
    .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: replace the placeholder div with <img> tag ──
       HOW TO USE:
       <div class="game-img"><img src="your-screenshot.jpg" alt="Game Name"></div>
       OR keep the placeholder emoji for now.
    ── */
    .game-img {
      aspect-ratio: 4 / 3;
      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 {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .game-name {
      padding: 8px 10px;
      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); 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(5,150,105,.12);
      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 { font-size: .75rem; color: var(--text-3); }
    .sport-badge {
      display: inline-block;
      background: var(--accent-l);
      color: var(--accent-h);
      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(5,150,105,.13); }
    .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);
      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(--text);
      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);
      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: var(--bg-2);
      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; }

    /* ════════════════════════════════════════════════
       TRUSTPILOT / REVIEW SUMMARY
    ════════════════════════════════════════════════ */
    .tp-block {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 24px;
      align-items: center;
    }
    @media (max-width: 480px) { .tp-block { grid-template-columns: 1fr; } }
    .tp-score-big {
      text-align: center;
      min-width: 100px;
    }
    .tp-num { font-family: var(--fh); font-size: 2.8rem; font-weight: 800; line-height: 1; }
    .tp-stars { color: #f59e0b; font-size: 1.3rem; display: block; margin: 4px 0; }
    .tp-count { font-size: .75rem; color: var(--text-4); }
    .tp-bars { display: flex; flex-direction: column; gap: 7px; }
    .tp-row { display: grid; grid-template-columns: 40px 1fr 34px; gap: 8px; align-items: center; }
    .tp-row-label { font-size: .78rem; color: var(--text-3); text-align: right; }
    .tp-track { background: var(--border); border-radius: 99px; height: 8px; overflow: hidden; }
    .tp-fill { height: 100%; background: #f59e0b; border-radius: 99px; }
    .tp-pct { font-size: .78rem; color: var(--text-3); }

    /* ════════════════════════════════════════════════
       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-h); 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); }
    .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); }
    .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: #0f172a;
      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); }
    /* 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);
    }

    /* ════════════════════════════════════════════════
       LIVE WINS TICKER
    ════════════════════════════════════════════════ */
    .wins-ticker-wrap {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      overflow: hidden;
      position: relative;
      margin-bottom: 16px;
      box-shadow: var(--sh-sm);
    }
    .wins-ticker-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 9px 16px;
      border-bottom: 1px solid var(--border);
      background: var(--bg-2);
    }
    .wins-ticker-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--fh);
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .07em;
      color: var(--text-3);
    }
    .live-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #22c55e;
      animation: pulse-dot 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: .5; transform: scale(.85); }
    }
    .online-count {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: .78rem;
      color: var(--text-3);
      font-weight: 500;
    }
    .online-num {
      font-family: var(--fh);
      font-weight: 700;
      color: #16a34a;
      font-size: .82rem;
    }
    .wins-ticker-viewport {
      height: 44px;
      overflow: hidden;
      position: relative;
    }
    .wins-ticker-track {
      display: flex;
      flex-direction: column;
    }
    .win-item {
      height: 44px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 16px;
      flex-shrink: 0;
      /* Animation handled via JS — opacity + subtle translateY */
      transition: opacity .28s ease, transform .28s ease;
    }
    .win-avatar {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 800;
      color: #fff;
      flex-shrink: 0;
    }
    .win-text { flex: 1; font-size: .82rem; color: var(--text-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .win-text strong { color: var(--text); font-weight: 600; }
    .win-amount {
      font-family: var(--fh);
      font-size: .9rem;
      font-weight: 800;
      color: #16a34a;
      white-space: nowrap;
    }

    /* ════════════════════════════════════════════════
       LIVE CHAT WIDGET
    ════════════════════════════════════════════════ */
    .chat-fab {
      position: fixed;
      bottom: 24px; left: 20px;
      z-index: 998;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      max-width: calc(100vw - 40px);
    }
    .chat-open-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 99px;
      padding: 10px 18px 10px 14px;
      font-family: var(--fh);
      font-size: .85rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(5,150,105,.4);
      transition: transform .15s, box-shadow .15s;
      position: relative;
    }
    .chat-open-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(5,150,105,.5); }
    .chat-open-btn .chat-icon { font-size: 1.15rem; }
    .chat-unread {
      position: absolute;
      top: -4px; right: -4px;
      width: 18px; height: 18px;
      background: #ef4444;
      border-radius: 50%;
      font-size: .65rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .chat-box {
      display: none;
      width: min(340px, calc(100vw - 40px));
      max-height: min(520px, calc(100vh - var(--header-h) - 80px));
      background: #fff;
      border: 1.5px solid var(--border-2);
      border-radius: var(--r-lg);
      box-shadow: 0 12px 48px rgba(0,0,0,.22);
      overflow: hidden;
      flex-direction: column;
    }
    .chat-box.open { display: flex; }
    .chat-header {
      background: var(--accent);
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }
    .chat-header-left { display: flex; align-items: center; gap: 10px; }
    .chat-header-avatar {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,.25);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
    }
    .chat-header-info strong {
      display: block;
      font-family: var(--fh);
      font-size: .9rem;
      font-weight: 700;
      color: #fff;
    }
    .chat-header-info span { font-size: .72rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 4px; }
    .chat-close {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: rgba(255,255,255,.18);
      border: 1.5px solid rgba(255,255,255,.35);
      color: #fff;
      font-size: .85rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background .15s;
    }
    .chat-close:hover { background: rgba(255,255,255,.32); }
    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 14px 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-height: 0;
      background: var(--bg-2);
      scroll-behavior: smooth;
    }
    .chat-msg {
      display: flex;
      gap: 8px;
      align-items: flex-end;
      animation: msg-in .3s ease;
    }
    @keyframes msg-in { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: none; } }
    .msg-av {
      width: 28px; height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 800;
      color: #fff;
      flex-shrink: 0;
    }
    .msg-body { max-width: 76%; }
    .msg-name { font-size: .65rem; font-weight: 600; color: var(--text-3); margin-bottom: 3px; padding-left: 2px; }
    .msg-bubble {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px 12px 12px 2px;
      padding: 8px 11px;
      font-size: .82rem;
      color: var(--text);
      line-height: 1.45;
      word-break: break-word;
    }
    .msg-bubble.win-bubble {
      background: var(--accent-l);
      border-color: var(--accent-m);
      color: var(--accent-h);
    }
    .msg-time { font-size: .6rem; color: var(--text-4); margin-top: 3px; padding-left: 2px; }
    .chat-input-row {
      display: flex;
      gap: 8px;
      padding: 10px 12px;
      border-top: 1px solid var(--border);
      background: #fff;
    }
    .chat-input {
      flex: 1;
      border: 1px solid var(--border);
      border-radius: 99px;
      padding: 8px 14px;
      font-size: .85rem;
      font-family: var(--fb);
      color: var(--text);
      outline: none;
      transition: border-color .15s;
      cursor: pointer;
    }
    .chat-input:focus { border-color: var(--accent); }
    .chat-send {
      width: 36px; height: 36px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
      flex-shrink: 0;
      transition: background .15s;
    }
    .chat-send:hover { background: var(--accent-h); }
    .chat-disclaimer {
      font-size: .65rem;
      color: var(--text-4);
      text-align: center;
      padding: 0 12px 8px;
      background: #fff;
    }