﻿/* =============================================================
   ReelXBet — core stylesheet
   "Neon Arena" theme: magenta / cyan / electric-lime on midnight.
   High-energy sportsbook + crypto feel. Angular, brutalist accents.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Deep midnight base, colder than the previous stack */
  --bg:          #06070C;
  --bg-2:        #0c0e18;
  --surface:     #12162a;
  --surface-2:   #1a1f38;
  --surface-3:   #232946;
  --line:        rgba(155, 240, 255, 0.09);
  --line-strong: rgba(155, 240, 255, 0.22);

  --text:        #F0F4FF;
  --muted:       #9AA6C9;
  --muted-2:     #6C7599;

  /*
   * Neon arena palette. Old var names are preserved for zero-risk theming:
   * --red now resolves to hot magenta, --violet to electric cyan, etc.
   */
  --red:         #FF2E86;      /* hot magenta — primary CTA */
  --red-600:     #E01D6E;
  --violet:      #22F2FF;      /* electric cyan — accent */
  --violet-600:  #00D4E8;
  --electric:    #7EF9FF;      /* softer cyan for gradient midpoint */
  --cyan:        #B3FF3D;      /* neon lime — informational chips, meta */
  --gold:        #FFC833;      /* warmer amber for VIP / gold accents */
  --gold-2:      #FFE58A;
  --green:       #34D399;

  /* Primary CTA gradient: magenta → cyan neon sweep. */
  --accent-grad:  linear-gradient(120deg, var(--red) 0%, var(--violet) 100%);
  --primary-grad: linear-gradient(120deg, var(--red) 0%, var(--violet) 100%);
  --red-grad:     linear-gradient(120deg, var(--red) 0%, var(--red-600) 100%);
  --blue-grad:    linear-gradient(120deg, var(--violet) 0%, var(--electric) 100%);
  --gold-grad:    linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%);
  /* Rainbow accent — magenta → cyan → lime for hero text and highlights. */
  --flag-grad:    linear-gradient(120deg, var(--red) 0%, var(--violet) 55%, var(--cyan) 100%);

  /* Sharper corners — brutalist / arcade feel, still readable */
  --radius:      12px;
  --radius-lg:   18px;
  --radius-sm:   8px;

  --shadow:      0 12px 44px -14px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 0 1px rgba(255, 46, 134, .45), 0 14px 48px -10px rgba(255, 46, 134, .55);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --nav-h: 68px;
}

/* Text selection uses the neon accent so the identity carries into micro-UI */
::selection { background: rgba(255, 46, 134, .35); color: #fff; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Ambient background: magenta + cyan blooms over a faint tech-grid.
   The grid is a paired diagonal repeating gradient — reads as "arena"
   without shouting like a full CSS grid overlay. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46vw 40vh at 12% -6%, rgba(255, 46, 134, 0.22), transparent 62%),
    radial-gradient(52vw 44vh at 96% 4%, rgba(34, 242, 255, 0.16), transparent 58%),
    radial-gradient(70vw 60vh at 50% 110%, rgba(179, 255, 61, 0.06), transparent 70%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(155,240,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,240,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80vw 70vh at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80vw 70vh at 50% 30%, #000 30%, transparent 85%);
  opacity: 0.75;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(255,46,134,.6), rgba(34,242,255,.6)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(255,46,134,.85), rgba(34,242,255,.85)); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red); opacity: .7; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head .sub { color: var(--muted); max-width: 46ch; margin: 6px 0 0; }
.text-grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .96rem; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .7; cursor: wait; }
/* Inline button spinner — used by CR.ui.buttonBusy while an action is pending */
.btn-spinner {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: btn-spin .7s linear infinite; vertical-align: -2px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Cashier modal — small gold badge in the header */
.cashier-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .14em; padding: 3px 8px; border-radius: 6px;
  color: var(--gold); background: rgba(255,200,51,.12);
  border: 1px solid rgba(255,200,51,.32); font-weight: 700;
}
.btn-primary { background: var(--accent-grad); color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,.25); box-shadow: 0 10px 30px -8px rgba(91, 124, 255, .7); }
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: #241a00; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--violet); }
.btn-sm { padding: 8px 15px; font-size: .84rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 8, 15, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.brand .logo { width: 40px; height: 40px; }
.brand b { color: var(--text); }
.brand span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; color: var(--muted); font-size: .92rem; font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--accent-grad); border-radius: 2px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-user { display: none; align-items: center; gap: 10px; }

/* Auth visibility driven by <html data-auth="..."> — set synchronously in
   the head so we never render the wrong pill on refresh. */
html[data-auth-state="user"]  [data-auth-user]  { display: flex; }
html[data-auth-state="user"]  [data-auth-guest] { display: none; }
html[data-auth-state="guest"] [data-auth-guest] { display: flex; }
html[data-auth-state="guest"] [data-auth-user]  { display: none; }
/* No cached hint yet — hide both so nothing flashes until JS decides */
html[data-auth-state="pending"] .nav-user { display: none; }
/* Skeleton pill while /me is in flight and we had no cache to go on */
html[data-auth-state="pending"] .nav-actions::after {
  content: ""; display: inline-block; width: 132px; height: 34px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.03) 75%);
  background-size: 200% 100%;
  animation: auth-skel 1.4s ease-in-out infinite;
}
@keyframes auth-skel { to { background-position: -200% 0; } }

/* Combined Log in / Sign up split pill — one visual, two actions */
.auth-pair { padding: 0; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); gap: 0 !important; }
.auth-half { display: inline-flex; align-items: center; padding: 9px 16px; border: 0; font-family: var(--font-display); font-weight: 700; font-size: .86rem; line-height: 1; letter-spacing: .01em; cursor: pointer; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.auth-half:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.auth-login { background: transparent; color: var(--text); border-right: 1px solid var(--line-strong); }
.auth-login:hover { background: rgba(255,255,255,.05); }
.auth-signup { background: var(--accent-grad); color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.auth-signup:hover { filter: brightness(1.08); }

.nav-user .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-strong); font-size: .85rem; font-weight: 600;
  overflow: hidden;
}
.nav-user .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex-shrink: 0; }
.nav-user .chip-name { color: var(--text); white-space: nowrap; }
/* Balance renders as a pill-inside-a-pill: gold accent so it reads at a glance */
.nav-user .chip-balance {
  display: none; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,200,51,.18), rgba(255,200,51,.08));
  color: var(--gold); font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap; margin-left: 2px;
  border: 1px solid rgba(255,200,51,.28);
}
.nav-user .chip-balance:not(:empty) { display: inline-block; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 48px; padding: 10px 0; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.ticker-item b { color: var(--text); }
.ticker-item .up { color: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Crypto ticker (accepts) ---------- */
.crypto-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(168,85,247,.04), rgba(0,224,255,.03)); }
.crypto-strip .container { display: flex; align-items: center; gap: 24px; }
.crypto-strip .accepts-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; color: var(--muted-2); text-transform: uppercase; white-space: nowrap; padding-right: 20px; border-right: 1px solid var(--line); flex-shrink: 0; }
.crypto-strip .accepts-label b { color: var(--cyan); font-weight: 600; }
.crypto-ticker { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crypto-ticker-track { display: flex; width: max-content; gap: 44px; animation: cryptoTicker 26s linear infinite; }
.crypto-ticker:hover .crypto-ticker-track { animation-play-state: paused; }
.crypto-coin { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .85rem; color: var(--muted); white-space: nowrap; transition: color .2s ease, transform .2s ease; }
.crypto-coin:hover { color: var(--text); }
/* Only interactive when a session is active — guests just see the decorative row. */
html[data-auth-state="user"] .crypto-coin { cursor: pointer; }
html[data-auth-state="user"] .crypto-coin:hover { transform: translateY(-1px); }
.crypto-coin svg { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(0,224,255,.15)); }
.crypto-coin b { color: var(--text); letter-spacing: .06em; }
@keyframes cryptoTicker { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .crypto-strip .container { flex-direction: column; align-items: stretch; gap: 14px; }
  .crypto-strip .accepts-label { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; }
/* American-standard hero chips: US players + live counter */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.us-chip, .live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
}
.us-chip { color: var(--text); border-color: rgba(255, 46, 134, .35); background: rgba(255, 46, 134, .06); }
.us-chip .star { color: var(--red); font-size: 1rem; line-height: 1; margin-top: -1px; }
.live-chip { color: var(--muted); }
.live-chip .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: hero-pulse 1.6s ease-in-out infinite;
}
@keyframes hero-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin-top: 20px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.hero-stats .stat span { color: var(--muted-2); font-size: .82rem; font-family: var(--font-mono); letter-spacing: .04em; }

/* Hero visual: crypto vault orb */
.vault { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; margin: 0 auto; display: grid; place-items: center; }
/* soft backing glow so the area never reads as an empty black box */
.vault::before {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 46, 134, .42), rgba(34, 242, 255, .18) 55%, transparent 72%);
  filter: blur(40px);
}
.vault .orb {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 46, 134, .95), rgba(34, 242, 255, .35) 58%, transparent 74%);
  filter: blur(14px); animation: float 7s ease-in-out infinite;
}
.vault .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 46, 134, .35); box-shadow: inset 0 0 60px rgba(255, 46, 134, .18); }
.vault .ring.r2 { inset: 4%; border: 2px dashed rgba(255, 46, 134, .5); box-shadow: none; animation: spin 24s linear infinite; }
.vault .ring.r3 { inset: 9%; border: 2px solid rgba(34, 242, 255, .5); box-shadow: inset 0 0 40px rgba(34, 242, 255, .18); animation: spin 16s linear infinite reverse; }
.vault .coin {
  position: relative; z-index: 2; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, #FF2E86, #22F2FF, #FF6EB2, #FF2E86);
  display: grid; place-items: center; color: #06070C; font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 24vw, 15rem); line-height: 1;
  box-shadow: 0 40px 120px -20px rgba(255, 46, 134, .85), inset 0 6px 22px rgba(255, 255, 255, .55), inset 0 -12px 32px rgba(10, 10, 20, .35);
  animation: float 6s ease-in-out infinite;
  border: 4px solid rgba(255, 255, 255, .18);
}
.vault .coin span { text-shadow: 0 3px 16px rgba(255, 255, 255, .35); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feature .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 46, 134, .12); color: var(--cyan); margin-bottom: 14px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Game grid & cards ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.chip-filter {
  padding: 8px 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--muted); font-size: .86rem; font-weight: 600; transition: all .15s;
}
.chip-filter:hover { color: var(--text); border-color: var(--line-strong); }
.chip-filter.active { background: var(--accent-grad); color: #06070C; border-color: transparent; }
.search {
  margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; min-width: 200px;
}
.search input { background: none; border: 0; color: var(--text); font-family: inherit; font-size: .9rem; width: 100%; outline: none; }
.search svg { color: var(--muted-2); flex-shrink: 0; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px; }
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: var(--shadow-glow); }
.game-card .thumb { position: absolute; inset: 0; display: grid; place-items: center; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-card .thumb.gen {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-align: center; padding: 14px; color: #fff;
}
.game-card .badge {
  position: absolute; top: 10px; left: 10px; z-index: 3; font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
  background: rgba(8, 8, 15, .75); backdrop-filter: blur(6px); border: 1px solid var(--line-strong);
}
.game-card .badge.new { color: var(--cyan); }
.game-card .badge.hot { color: var(--gold); }
.game-card .overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; gap: 10px; opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 15, .92) 100%);
}
.game-card:hover .overlay { opacity: 1; }
.game-card .overlay .g-title { font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.game-card .overlay .g-prov { font-size: .72rem; color: var(--muted); font-family: var(--font-mono); }
.game-card .overlay .btn { padding: 8px 12px; font-size: .82rem; }
.game-card { cursor: pointer; }
.game-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* Play-badge on the cover — always visible on mobile, animated on desktop hover */
.game-card .play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.86);
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #06070C;
  display: grid; place-items: center; z-index: 3; pointer-events: none;
  box-shadow: 0 12px 28px -8px rgba(255,46,134,.6), inset 0 1px 0 rgba(255,255,255,.4);
  opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
.game-card .play-badge svg { transform: translateX(1px); }
.game-card:hover .play-badge, .game-card:focus-visible .play-badge {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
@media (hover: none) {
  /* On touch devices the play badge is always visible (no hover) */
  .game-card .play-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* Simpler overlay now — no buttons, just title/provider strip along bottom */
.game-card .overlay {
  padding: 12px 14px; gap: 2px;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 15, .92) 100%);
  opacity: 1; /* always visible so the title is readable */
}

/* -------- Game-launch modal (info + player, one shell) -------- */
.game-modal .gm-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(10,10,20,.7); color: var(--muted); cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.game-modal .gm-close:hover { color: var(--text); background: rgba(255,80,112,.15); border-color: rgba(255,80,112,.5); }

.gm-info { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 40px; min-height: 420px; align-items: center; }

/* Cover with HUD "lock-on" animation — corner brackets pulse,
   aurora blob breathes behind, scan line sweeps down the face. */
.gm-cover-wrap { position: relative; width: 100%; max-width: 280px; aspect-ratio: 3 / 4; justify-self: center; animation: gm-float 5s ease-in-out infinite; }

/* Aurora glow behind the cover — soft, breathes, hue-shifts subtly */
.gm-cover-ring {
  position: absolute; inset: -34px; border-radius: 32px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 25% 30%, rgba(255,46,134,.65), transparent 60%),
    radial-gradient(55% 55% at 78% 72%, rgba(34,242,255,.55), transparent 62%),
    radial-gradient(45% 45% at 50% 100%, rgba(179,255,61,.35), transparent 65%);
  filter: blur(28px);
  opacity: 0.9;
  animation: gm-aurora-breathe 4.2s ease-in-out infinite;
}
@keyframes gm-aurora-breathe {
  0%, 100% { transform: scale(0.94); opacity: 0.72; filter: blur(28px) hue-rotate(0deg);   }
  50%      { transform: scale(1.08); opacity: 1;    filter: blur(32px) hue-rotate(18deg);  }
}

/* HUD corner brackets — 4 L-shaped marks, one per corner, alternating magenta/cyan.
   Painted via 8 corner-anchored linear gradients on a single pseudo-element. */
.gm-cover-wrap::before {
  content: ""; position: absolute; inset: -12px; z-index: 1; pointer-events: none;
  background:
    /* TL — magenta */
    linear-gradient(#FF2E86, #FF2E86) top    left  / 26px 3px  no-repeat,
    linear-gradient(#FF2E86, #FF2E86) top    left  / 3px  26px no-repeat,
    /* TR — cyan */
    linear-gradient(#22F2FF, #22F2FF) top    right / 26px 3px  no-repeat,
    linear-gradient(#22F2FF, #22F2FF) top    right / 3px  26px no-repeat,
    /* BR — magenta */
    linear-gradient(#FF2E86, #FF2E86) bottom right / 26px 3px  no-repeat,
    linear-gradient(#FF2E86, #FF2E86) bottom right / 3px  26px no-repeat,
    /* BL — cyan */
    linear-gradient(#22F2FF, #22F2FF) bottom left  / 26px 3px  no-repeat,
    linear-gradient(#22F2FF, #22F2FF) bottom left  / 3px  26px no-repeat;
  filter: drop-shadow(0 0 8px rgba(255,46,134,.7)) drop-shadow(0 0 8px rgba(34,242,255,.6));
  animation: gm-brackets-pulse 2.4s ease-in-out infinite;
}
@keyframes gm-brackets-pulse {
  0%, 100% { transform: scale(1);     opacity: 0.85; }
  50%      { transform: scale(1.045); opacity: 1;    }
}

/* Cover face — same as before but with the scan line added via ::after */
.gm-cover {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; z-index: 2;
  background: var(--surface-2);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.7);
}
.gm-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Vertical scan line sweeping top→bottom across the cover face.
   .gm-cover has overflow:hidden + border-radius, so it clips cleanly. */
.gm-cover::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  z-index: 3; pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,242,255,.35) 20%,
    rgba(255,255,255,.85) 50%,
    rgba(255,46,134,.55) 80%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(34,242,255,.55), 0 0 32px rgba(255,46,134,.35);
  mix-blend-mode: screen;
  animation: gm-scan 3.4s cubic-bezier(.55,.1,.4,.9) infinite;
}
@keyframes gm-scan {
  0%   { top: -8%;  opacity: 0;   }
  8%   {            opacity: 1;   }
  92%  {            opacity: 1;   }
  100% { top: 108%; opacity: 0;   }
}

@keyframes gm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.gm-play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; z-index: 4;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #06070C;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -10px rgba(255,46,134,.75), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .18s ease;
}
.gm-play-badge:hover { transform: translate(-50%, -50%) scale(1.08); }
.gm-play-badge svg { width: 30px; height: 30px; transform: translateX(2px); z-index: 2; }
/* Pulse rings emanating from the play badge */
.gm-play-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  pointer-events: none; opacity: 0;
  animation: gm-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}
.gm-play-ring-2 { animation-delay: 1.2s; }
@keyframes gm-ping {
  0%   { transform: scale(1);   opacity: .6; }
  75%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.gm-info-title { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }

/* Inline chip row — category, volatility, lines/reels */
.gm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gm-chip { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; border: 1px solid; }
.gm-chip-cat { color: var(--cyan); background: rgba(34,242,255,.1); border-color: rgba(34,242,255,.32); }
.gm-chip-vol { color: var(--gold); background: rgba(255,200,51,.1); border-color: rgba(255,200,51,.32); }
.gm-chip-meta { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--line-strong); }

.gm-info-actions { display: flex; flex-direction: column; gap: 10px; }
.gm-info-actions .btn-block { width: 100%; justify-content: center; padding: 14px 20px; font-size: .95rem; letter-spacing: .04em; }
.gm-play-fun { display: inline-flex; align-items: center; position: relative; overflow: hidden; }
/* Sweeping shine across the PLAY FOR FUN button */
.gm-play-fun::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: gm-shine 3.5s ease-in-out infinite;
}
@keyframes gm-shine {
  0%, 100% { left: -60%; }
  55%      { left: 130%; }
}

/* Aurora glow behind the modal shell (info mode only) */
.game-modal[data-mode="info"] .gm-shell {
  position: relative;
  overflow: visible;
  animation: gm-shell-pulse 5s ease-in-out infinite;
}
.game-modal[data-mode="info"] .gm-shell::after {
  content: ""; position: absolute; inset: -30px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,46,134,.35), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(34,242,255,.28), transparent 55%);
  filter: blur(30px);
  animation: gm-aurora 8s ease-in-out infinite;
}
@keyframes gm-shell-pulse {
  0%, 100% { box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,46,134,.15); }
  50%      { box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 60px -8px rgba(34,242,255,.35); }
}
@keyframes gm-aurora {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .8; }
  50%      { transform: scale(1.05) rotate(10deg); opacity: 1; }
}

/* Show info OR player based on data-mode; never both */
.game-modal .gm-player { display: none; height: 100%; flex-direction: column; }
.game-modal[data-mode="player"] .gm-info,
.game-modal[data-mode="player-mini"] .gm-info { display: none; }
.game-modal[data-mode="player"] .gm-player,
.game-modal[data-mode="player-mini"] .gm-player { display: flex; }
.game-modal[data-mode="player"] .gm-close { top: 12px; right: 12px; }
/* Header actions in player mode need to clear the absolute close button */
.game-modal[data-mode="player"] .gm-player-head { padding-right: 60px; }

/* Minimize/restore icon button in the player header */
.gm-icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.gm-icon-btn:hover { color: var(--text); background: rgba(255,255,255,.08); border-color: var(--line-strong); }
.gm-icon-btn .ico-max { display: none; }
.game-modal[data-mode="player-mini"] .gm-icon-btn .ico-min { display: none; }
.game-modal[data-mode="player-mini"] .gm-icon-btn .ico-max { display: block; }

/* -------- Picture-in-Picture (mini) mode -------- */
/* When mini, the modal wrapper stops eating clicks so the page underneath
   is interactive again, but the shell itself still receives input. */
.game-modal[data-mode="player-mini"] { pointer-events: none; padding: 0; background: transparent; }
.game-modal[data-mode="player-mini"] .demo-backdrop { display: none; }
.game-modal[data-mode="player-mini"] .gm-shell {
  pointer-events: auto;
  position: fixed;
  right: 20px; bottom: 20px; left: auto; top: auto; transform: none;
  width: min(360px, 90vw);
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: 260px;
  border-radius: 14px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.75), 0 0 0 1px var(--line-strong);
  animation: gm-mini-in .22s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes gm-mini-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.game-modal[data-mode="player-mini"] .gm-player-head {
  padding: 6px 10px; padding-right: 44px; cursor: grab; user-select: none;
}
.game-modal[data-mode="player-mini"] .gm-player-head.gm-dragging,
.game-modal[data-mode="player-mini"] .gm-shell.gm-dragging .gm-player-head { cursor: grabbing; }
.game-modal[data-mode="player-mini"] .gm-shell.gm-dragging { transition: none; box-shadow: 0 28px 70px -10px rgba(0,0,0,.85), 0 0 0 1px var(--violet); }
.game-modal[data-mode="player-mini"] .demo-title-wrap { gap: 8px; }
.game-modal[data-mode="player-mini"] .gm-mode { font-size: .58rem; padding: 2px 6px; }
.game-modal[data-mode="player-mini"] .gm-title { font-size: .78rem; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.game-modal[data-mode="player-mini"] .gm-open-tab { display: none; }
.game-modal[data-mode="player-mini"] .gm-close { top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 6px; background: rgba(10,10,20,.85); }
.game-modal[data-mode="player-mini"] .gm-close svg { width: 14px; height: 14px; }
.game-modal[data-mode="player-mini"] .demo-foot { display: none; }
.game-modal[data-mode="player-mini"] .gm-loader { font-size: .68rem; }
.game-modal[data-mode="player-mini"] .gm-loader .demo-spinner { width: 28px; height: 28px; border-width: 2px; }
.game-modal[data-mode="player-mini"] .gm-icon-btn { width: 26px; height: 26px; }
.game-modal[data-mode="player-mini"] .gm-icon-btn svg { width: 12px; height: 12px; }
/* Info mode: dialog-style (auto height, centered), not full-viewport */
.game-modal[data-mode="info"] .gm-shell { height: auto; max-height: calc(100vh - 48px); max-width: 900px; }
@media (max-width: 720px) {
  .game-modal[data-mode="info"] .gm-shell { max-width: 100%; height: auto; }
}

/* Game-launch mode badge shown in the player header */
.gm-mode { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.gm-mode.fun { color: var(--cyan); background: rgba(34,242,255,.12); border: 1px solid rgba(34,242,255,.32); }
.gm-mode.real { color: var(--gold); background: rgba(255,200,51,.12); border: 1px solid rgba(255,200,51,.32); }

@media (max-width: 720px) {
  .gm-info { grid-template-columns: 1fr; padding: 20px; gap: 18px; min-height: 0; }
  .gm-cover-wrap { max-width: 220px; }
  .gm-info-body { text-align: center; }
  .gm-info-title { font-size: 1.4rem; }
  .gm-info-actions .btn-block { padding: 12px 16px; }
  .gm-stats { justify-items: stretch; }
}

/* skeleton loading */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- Promo cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.promo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 26px;
  background: linear-gradient(150deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.promo-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.promo-card::before { content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(255, 46, 134, .22), transparent 70%); pointer-events: none; }
.promo-card .tag { align-self: flex-start; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: rgba(34, 242, 255, .12); color: var(--cyan); margin-bottom: 16px; }
.promo-card .tag.gold { background: rgba(255, 200, 51, .14); color: var(--gold); }
.promo-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.promo-card .amount { font-family: var(--font-display); font-size: 2rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 4px 0 10px; }
.promo-card p { color: var(--muted); font-size: .9rem; }
.promo-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- News / articles ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.news-card {
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card .cover { aspect-ratio: 16 / 9; background: var(--accent-grad); position: relative; display: grid; place-items: center; color: #06070C; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-align: center; padding: 20px; overflow: hidden; }
.news-card .cover.img { background: #06070C; padding: 0; }
.news-card .cover.img > img, .news-card .cover.img > svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .cover .date-badge { position: absolute; top: 12px; left: 12px; background: rgba(10, 10, 20, .78); backdrop-filter: blur(6px); color: var(--text); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; z-index: 2; text-transform: uppercase; }
.news-card .cover .date-badge::before { content: ""; width: 10px; height: 10px; background: var(--cyan); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm-2 6h14v12H5V8z'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm-2 6h14v12H5V8z'/></svg>") center/contain no-repeat; }
.news-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); letter-spacing: .05em; margin-bottom: 10px; display: flex; gap: 10px; }
.news-card .meta .cat { color: var(--cyan); }
.news-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.news-card .read { color: var(--cyan); font-weight: 600; font-size: .86rem; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Article (single SEO page) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.article .kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.article h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin: 12px 0 16px; }
.article .byline { color: var(--muted-2); font-family: var(--font-mono); font-size: .8rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.article p, .article li { color: #cfcfe0; font-size: 1.04rem; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1rem; }
.article li { margin-bottom: 8px; }
.article a { color: var(--cyan); border-bottom: 1px solid rgba(34, 242, 255, .4); }
.article blockquote { margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--violet); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); font-style: italic; }
.article .cta-box { margin: 40px 0; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line-strong); text-align: center; }
.article .cta-box h3 { margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px; text-align: center; background: linear-gradient(150deg, #14122a 0%, #0b1620 100%); border: 1px solid var(--line-strong); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% -10%, rgba(255, 46, 134, .3), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 12px auto 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; }
.footer .brand { margin-bottom: 14px; }
.footer .about { color: var(--muted); font-size: .9rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--muted); font-size: .9rem; }
.footer ul a:hover { color: var(--text); }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: all .15s; }
.footer .socials a:hover { color: var(--cyan); border-color: var(--violet); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { margin: 0; color: var(--muted-2); font-size: .8rem; }
.footer .pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer .pay span { font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; }
.rg-note { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted-2); }
.rg-note .plus { font-family: var(--font-display); font-weight: 800; color: var(--red); border: 1.5px solid var(--red); border-radius: 5px; padding: 0 4px; }

/* ---------- Modal (auth) ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4, 4, 9, .74); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal {
  width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 30px; position: relative; box-shadow: var(--shadow);
  animation: pop .25s cubic-bezier(.2, .8, .2, 1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal .close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 8px; }
.modal .close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.modal h2 { font-size: 1.5rem; margin-bottom: 6px; }
.modal .modal-sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: .95rem; transition: border-color .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); }
/* DOB picker — three inline dropdowns, US casino style */
.dob-hint { color: var(--muted-2); font-weight: 400; font-size: .75rem; margin-left: 4px; }
.dob-row { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 8px; }
.dob-row select { width: 100%; padding: 12px 10px; }
.modal-alt { text-align: center; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.modal-alt button { background: none; border: 0; color: var(--cyan); font-weight: 600; padding: 0; }
.modal-alt a { color: var(--cyan); }
.form-msg { font-size: .86rem; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; display: none; }
.form-msg.err { display: block; background: rgba(255, 46, 134, .12); color: #ff8ea0; border: 1px solid rgba(255, 46, 134, .3); }
.form-msg.ok { display: block; background: rgba(52, 211, 153, .12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .3); }

/* Force the `hidden` attribute to always win — the UA style is `display: none`
   without !important, and author class rules on things like `.btn { display:
   inline-flex }` beat it. Without this, [data-coupon-block hidden] buttons
   still render in the empty state. */
[hidden] { display: none !important; }

/* ---------- Terms modal ---------- */
/* Slightly wider than auth modal — key/value pairs and lists breathe better at ~500px. */
.modal.terms-modal { max-width: 520px; }
.modal.terms-modal code {
  background: rgba(255, 46, 134, .12); color: #cbb8ff; padding: 2px 8px;
  border-radius: 6px; font-family: 'IBM Plex Mono', monospace; font-size: .82rem;
}
.terms-grid {
  display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px;
  margin: 18px 0 6px; padding: 14px 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.terms-row { display: contents; }
.terms-label { color: var(--muted); font-size: .82rem; font-weight: 500; align-self: center; }
.terms-value { color: var(--text); font-size: .92rem; font-weight: 600; }
.terms-list, .terms-examples {
  list-style: none; padding: 0; margin: 16px 0 6px;
  display: flex; flex-direction: column; gap: 8px;
}
.terms-list li, .terms-examples li {
  padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .9rem; color: var(--text);
}
.terms-list li b, .terms-examples li b { color: var(--cyan); font-weight: 600; }
.gem-list {
  list-style: none; padding: 0; margin: 18px 0 6px;
  display: flex; flex-direction: column; gap: 10px;
}
.gem-option {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.gem-ico { flex: 0 0 auto; width: 32px; height: 32px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.gem-body { display: flex; flex-direction: column; gap: 2px; }
.gem-body b { color: var(--text); font-size: .98rem; font-weight: 700; }
.gem-body span { color: var(--muted); font-size: .84rem; }
.terms-actions { margin-top: 20px; }
/* Small text-link used on promo card / CTA band to trigger the terms modal */
.terms-link {
  background: none; border: 0; padding: 0;
  color: var(--muted); font: inherit; font-size: .82rem;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; margin-top: 8px;
}
.terms-link:hover { color: var(--text); }
.terms-link-wrap { margin-top: 10px; }
.terms-btn { margin-left: 4px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--cyan); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .88rem; box-shadow: var(--shadow); animation: slideIn .25s ease; max-width: 320px; }
.toast.err { border-left-color: var(--red); }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: var(--muted); max-width: 56ch; margin-top: 14px; }

/* ---------- FAQ (Q&A accordion) ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-cat { margin-bottom: 28px; }
.faq-cat > h3 {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 4px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary .plus-ico {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-strong);
  display: grid; place-items: center; position: relative; transition: transform .2s, border-color .2s, background .2s;
}
.faq-item summary .plus-ico::before, .faq-item summary .plus-ico::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-item summary .plus-ico::before { width: 10px; height: 2px; }
.faq-item summary .plus-ico::after { width: 2px; height: 10px; transition: transform .2s; }
.faq-item[open] summary { color: var(--cyan); }
.faq-item[open] summary .plus-ico { border-color: var(--cyan); background: rgba(34, 242, 255, .1); }
.faq-item[open] summary .plus-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-a { padding: 0 4px 18px; color: var(--muted); font-size: .95rem; max-width: 72ch; }
.faq-item .faq-a a { color: var(--cyan); }

/* ---------- Full footer additions ---------- */
.footer-seo { padding: 44px 0 8px; border-bottom: 1px solid var(--line); }
.footer-seo h2 { font-size: 1.3rem; margin-bottom: 12px; }
.footer-seo .accent { color: var(--cyan); }
.footer-seo details { color: var(--muted); font-size: .92rem; }
.footer-seo details p { margin: 0 0 12px; }
.footer-seo details[open] summary .more { display: none; }
.footer-seo details summary .less { display: none; }
.footer-seo details[open] summary .less { display: inline; }
.footer-seo summary { list-style: none; cursor: pointer; color: var(--cyan); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.footer-seo summary::-webkit-details-marker { display: none; }
.footer-seo .clamp { max-height: 5.4em; overflow: hidden; position: relative; transition: max-height .3s; }
.footer-seo details[open] .clamp { max-height: none; }
.footer-seo .clamp::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2em; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.footer-seo details[open] .clamp::after { display: none; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted);
}
.footer-badge svg { color: var(--cyan); flex-shrink: 0; }
.footer-badge.age { color: var(--red); border-color: rgba(255,46,134,.35); }
.footer-badge.age svg { color: var(--red); }

/* ---------- Hero slot machine (spinning reels) ---------- */
.slot-machine { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.slot-machine::before {
  content: ""; position: absolute; inset: -14%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255,46,134,.4), rgba(34,242,255,.16) 55%, transparent 72%);
  filter: blur(46px);
}
/* Borderless "infinity" reels — no visible frame, symbols fade to
   nothing at top & bottom via mask so they read as an endless spin. */
.slot-frame {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  padding: 0; background: transparent; border: 0; box-shadow: none;
  cursor: pointer;
}
/* Subtle payline glow across the horizontal midline — the only "frame" hint */
.slot-frame::before {
  content: ""; position: absolute; left: -10px; right: -10px; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,46,134,.55), rgba(34,242,255,.55), transparent);
  box-shadow: 0 0 24px rgba(255,46,134,.25), 0 0 40px rgba(34,242,255,.18);
  pointer-events: none; z-index: 3;
}
.reel {
  position: relative; height: 264px; overflow: hidden;
  background: transparent; border: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.reel-strip {
  display: flex; flex-direction: column; will-change: transform;
  animation: reel-spin 6.5s linear infinite;
}
.reel:nth-child(2) .reel-strip { animation-duration: 8.2s; }
.reel:nth-child(3) .reel-strip { animation-duration: 5.4s; }
/* speed up on hover (matches the interactive design) */
.slot-frame:hover .reel-strip { animation-duration: 2.2s; }
.slot-frame:hover .reel:nth-child(2) .reel-strip { animation-duration: 2.8s; }
.slot-frame:hover .reel:nth-child(3) .reel-strip { animation-duration: 1.8s; }
@keyframes reel-spin { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Symbol slot — no tile background/border, symbols float in a pure column */
.symbol {
  box-sizing: border-box; height: 88px; flex: 0 0 88px;
  border: 0; border-radius: 0; background: transparent;
  display: grid; place-items: center;
}
.sym { display: block; }
.sym-circle   { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #FF2E86, #22F2FF); box-shadow: inset 0 0 0 6px rgba(8,8,15,.5); }
.sym-diamond  { width: 40px; height: 40px; transform: rotate(45deg); border-radius: 6px; background: linear-gradient(135deg, #FF6EB2, #FF2E86); }
.sym-hex      { width: 52px; height: 46px; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: linear-gradient(135deg, #22F2FF, #22F2FF); }
.sym-seven    { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.1rem; line-height: 1; color: #7EF9FF; }
.sym-ring     { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--violet); }
.sym-triangle { width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--cyan); }
.sym-cross    { position: relative; width: 40px; height: 40px; }
.sym-cross::before, .sym-cross::after { content: ""; position: absolute; border-radius: 4px; background: linear-gradient(135deg, #FF6EB2, #FF2E86); }
.sym-cross::before { top: 0; left: 14px; width: 12px; height: 40px; }
.sym-cross::after  { top: 14px; left: 0; width: 40px; height: 12px; }
.sym-bars     { position: relative; width: 44px; height: 8px; border-radius: 4px; background: linear-gradient(135deg, #22F2FF, #22F2FF); }
.sym-bars::before, .sym-bars::after { content: ""; position: absolute; left: 0; height: 8px; border-radius: 4px; background: linear-gradient(135deg, #22F2FF, #22F2FF); }
.sym-bars::before { top: -13px; width: 70%; }
.sym-bars::after  { top: 13px; width: 42%; }

/* pull tab / handle accent under the machine */
.slot-caption { position: relative; z-index: 1; text-align: center; margin-top: 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.slot-caption b { color: var(--gold); }

/* ---------- Legal / Terms page ---------- */
.legal-head { max-width: 1100px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) 24px 4px; }
.legal-head .kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 0 0 8px; }
.legal-head h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 8px; }
.legal-head .sub { color: var(--muted); margin: 0; }
.legal-grid { max-width: 1100px; margin: 0 auto; padding: 28px 24px 90px; display: grid; grid-template-columns: 244px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 16px); }
.legal-toc p { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 10px; padding-left: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .82rem; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.legal-toc a:hover { color: var(--text); background: var(--surface-2); border-left-color: var(--violet); }
.legal-body > p { color: #cfcfe0; line-height: 1.75; margin: 0 0 14px; }
.legal-body .lead { color: var(--text); font-size: 1.1rem; font-weight: 500; }
.legal-body section { padding-top: 10px; }
.legal-body h2 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; color: var(--text); border-left: 3px solid var(--violet); padding-left: 14px; margin: 44px 0 16px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-body h3 { font-family: var(--font-display); font-size: 1rem; color: var(--text); margin: 24px 0 10px; }
.legal-note { color: var(--muted-2); font-size: .86rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .legal-toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--surface); }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .vault { max-width: min(92vw, 500px); order: -1; }
  .slot-machine { max-width: min(86vw, 420px); order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav .container { gap: 10px; }
  /* Dropdown menu now holds ONLY the page links — auth stays in the top bar */
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 8px; font-size: 1rem; color: var(--text); }
  .nav-links a.active { background: rgba(255,255,255,.05); }
  .nav-links a.active::after { display: none; }

  /* Auth stays visible on the top bar — auth.js toggles which .nav-user is
     displayed; we only style them compactly. No !important overrides. */
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-actions .btn { padding: 8px 14px; font-size: .82rem; border-radius: 10px; white-space: nowrap; }
  .nav-actions .chip { padding: 6px 10px; font-size: .78rem; }
  /* Split pill: smaller padding + font on mobile so [Log in | Sign up] fits */
  .auth-half { padding: 7px 12px; font-size: .78rem; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }

  .section { padding: 48px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
}

@media (max-width: 480px) {
  /* Very narrow: keep both auth buttons but drop the "Sign in" text label
     for a bit more room; Sign up stays as the money-move CTA. */
  .brand span { display: none; } /* logo only, save space */
  .nav-actions .btn.btn-ghost { padding: 8px 10px; }
  .nav-actions .chip [data-user-name] { max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
  .modal { padding: 24px; }
  .brand { font-size: 1.1rem; }
  .brand .logo { width: 34px; height: 34px; }
  .reel { height: 216px; }
  .symbol { height: 72px; flex-basis: 72px; }
}
/* ---------- Game-launch modal (info + player, shared shell) ---------- */
.demo-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 12px; }
.demo-modal.open { display: flex; }
.demo-backdrop { position: absolute; inset: 0; background: rgba(3,3,10,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .2s ease; }
.demo-shell { position: relative; width: 100%; max-width: 1240px; height: calc(100vh - 24px); max-height: calc(100vh - 24px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,46,134,.15); animation: modalIn .28s cubic-bezier(.2,.9,.3,1.1); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

.demo-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,46,134,.06), transparent); }
.demo-title-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; color: var(--green); letter-spacing: .14em; text-transform: uppercase; flex-shrink: 0; }
.demo-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.demo-head h3 { margin: 0; font-size: .95rem; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.demo-close { background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.demo-close:hover { color: var(--text); background: rgba(255,80,112,.12); border-color: rgba(255,80,112,.5); }

.demo-frame-wrap { position: relative; flex: 1 1 auto; min-height: 0; background: #05050a; }
.demo-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #05050a; }
.demo-loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; pointer-events: none; }
.demo-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--cyan); border-right-color: var(--violet); animation: demoSpin 1s linear infinite; }
@keyframes demoSpin { to { transform: rotate(360deg); } }

.demo-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); color: var(--muted-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; }
.demo-foot .btn-sm { padding: 6px 12px; font-size: .78rem; }

/* Short viewports (laptop with bookmarks bar etc.): shrink the modal
   chrome so the embedded iframe gets as many vertical pixels as
   possible. The cashier vendor renders their KYC popup inside the
   iframe — if the popup is taller than the iframe viewport, its
   bottom (Submit button) gets clipped and we can't scroll it from
   outside because of cross-origin isolation. Every pixel we hand
   back to the iframe reduces the chance of that clipping. */
@media (max-height: 900px) {
  .demo-modal { padding: 4px; }
  .demo-shell { height: calc(100vh - 8px); max-height: calc(100vh - 8px); border-radius: 10px; }
  .demo-head { padding: 4px 12px; min-height: 34px; }
  .demo-head h3 { display: none; }
  .cashier-modal .demo-head .cashier-badge { font-size: .62rem; padding: 3px 8px; }
  .demo-close { width: 28px; height: 28px; }
  .demo-foot { padding: 6px 12px; }
  .demo-foot > span { display: none; }
  .demo-foot { justify-content: flex-end; }
}

/* Even tighter on very short viewports — go full-bleed and drop the
   header to a bare 28px so the cashier's own popup fits without cuts. */
@media (max-height: 720px) {
  .demo-modal { padding: 0; }
  .demo-shell { height: 100vh; max-height: 100vh; max-width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .demo-head { padding: 3px 10px; min-height: 30px; }
}

@media (max-width: 720px) {
  .demo-modal { padding: 0; }
  .demo-shell { height: 100vh; max-height: 100vh; max-width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .demo-head { padding: 8px 12px; }
  .demo-head h3 { display: none; }
  .demo-title-wrap { gap: 0; }
  .demo-foot { padding: 6px 12px; gap: 8px; }
  .demo-foot > span { display: none; }
  .demo-foot { justify-content: flex-end; }
  .demo-actions .btn:not(.btn-sm) { display: none; }
}

/* ---------- Banking page ---------- */
.bank-shell { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.bank-tabs { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; position: sticky; top: 88px; }
.bank-tab { display: flex; align-items: center; gap: 12px; background: transparent; border: 1px solid transparent; color: var(--muted); padding: 12px 14px; border-radius: 10px; cursor: pointer; text-align: left; transition: background .18s ease, color .18s ease, border-color .18s ease; font-family: var(--font-body); }
.bank-tab .ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--muted); flex-shrink: 0; }
.bank-tab .txt { display: flex; flex-direction: column; line-height: 1.2; }
.bank-tab .txt b { color: var(--text); font-size: .95rem; font-weight: 600; }
.bank-tab .txt em { color: var(--muted-2); font-style: normal; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; margin-top: 3px; }
.bank-tab:hover { background: rgba(255,255,255,.03); color: var(--text); }
.bank-tab.active { background: linear-gradient(120deg, rgba(255,46,134,.12), rgba(34,242,255,.08)); border-color: rgba(255,46,134,.35); color: var(--text); }
.bank-tab.active .ico { background: var(--accent-grad); border-color: transparent; color: #06070C; }
.bank-tab.active .txt em { color: var(--cyan); }

.bank-panels { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 400px; }
.bank-panel { animation: fadeUp .3s ease; }
.bank-panel[hidden] { display: none; }
.bank-panel .panel-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bank-panel .panel-head .eyebrow { color: var(--cyan); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.bank-panel .panel-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 10px; }
.bank-panel .panel-head p { color: var(--muted); margin: 0; max-width: 62ch; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 20px; }
.method { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px; padding: 14px; transition: border-color .18s ease, transform .18s ease; }
.method:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.method .badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: #06070C; flex-shrink: 0; box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.method .badge.btc { background: linear-gradient(140deg, #ffd166, #f7931a); }
.method .badge.eth { background: linear-gradient(140deg, #c7cef7, #627eea); color: #fff; }
.method .badge.ltc { background: linear-gradient(140deg, #7ea6d9, #345d9d); color: #fff; }
.method .badge.usdt { background: linear-gradient(140deg, #7ee5c1, #26a17b); color: #fff; }
.method .badge.doge { background: linear-gradient(140deg, #ffe08a, #c2a633); }
.method .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.method .body h3 { font-size: 1rem; margin: 0; }
.method .body .tag { font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); letter-spacing: .04em; }
.method .body .pill { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); background: rgba(34,242,255,.08); border: 1px solid rgba(34,242,255,.22); padding: 4px 8px; border-radius: 20px; width: fit-content; }
.method .body .pill b { color: var(--cyan); font-weight: 600; }

.callout { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-top: 14px; }
.callout.ok { background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.22); color: var(--text); }
.callout.tip { background: rgba(34,242,255,.06); border: 1px solid rgba(34,242,255,.22); color: var(--text); }
.callout .check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .85rem; }
.callout.ok .check { background: var(--green); color: #06070C; }
.callout.tip .check { background: var(--cyan); color: #06070C; }
.callout b { color: var(--text); }
.callout > div { color: var(--muted); font-size: .95rem; line-height: 1.5; }

.limits-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.limits { width: 100%; border-collapse: collapse; font-size: .92rem; }
.limits thead th { text-align: left; padding: 14px 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); }
.limits tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.limits tbody tr:last-child td { border-bottom: 0; }
.limits tbody tr:hover td { background: rgba(255,255,255,.02); }
.row-tag { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; margin-right: 10px; letter-spacing: .04em; color: #06070C; }
.row-tag.btc { background: #f7931a; }
.row-tag.eth { background: #627eea; color: #fff; }
.row-tag.ltc { background: #345d9d; color: #fff; }
.row-tag.usdt { background: #26a17b; color: #fff; }
.row-tag.doge { background: #c2a633; }
.fine { color: var(--muted-2); font-family: var(--font-mono); font-size: .74rem; margin: 12px 0 0; }

.guide-steps { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 12px; }
.guide-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); line-height: 1.55; }
.guide-steps li b { color: var(--text); }
.guide-steps .num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-grad); color: #06070C; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }

.bank-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.stat-card .num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .lbl { display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

.bank-links { margin-top: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bank-links h3 { margin: 0 0 14px; font-size: 1.1rem; }
.bank-links .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.bank-links .links a { color: var(--cyan); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border-bottom: 1px dashed rgba(34,242,255,.3); padding-bottom: 2px; }
.bank-links .links a:hover { color: var(--text); border-color: var(--text); }

@media (max-width: 900px) {
  .bank-shell { grid-template-columns: 1fr; }
  .bank-tabs { flex-direction: row; overflow-x: auto; position: static; padding: 8px; gap: 6px; }
  .bank-tab { flex-shrink: 0; padding: 10px 12px; }
  .bank-tab .txt em { display: none; }
  .bank-panels { padding: 20px; }
  .bank-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Privacy Policy ---------- */
.policy-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(34,242,255,.08); border: 1px solid rgba(34,242,255,.28); color: var(--cyan); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.policy-chip svg { flex-shrink: 0; }

.policy-shell { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.policy-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; position: sticky; top: 88px; }
.policy-toc .toc-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); padding: 4px 12px 10px; margin: 0; border-bottom: 1px solid var(--line); }
.toc-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 4px; border-radius: 10px; color: var(--muted); font-family: var(--font-body); font-size: .92rem; text-decoration: none; transition: background .18s ease, color .18s ease; }
.toc-link .idx { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); background: rgba(255,255,255,.03); border: 1px solid var(--line); padding: 4px 7px; border-radius: 6px; letter-spacing: .04em; flex-shrink: 0; }
.toc-link:hover { background: rgba(255,255,255,.03); color: var(--text); }
.toc-link.active { background: linear-gradient(120deg, rgba(255,46,134,.14), rgba(34,242,255,.08)); color: var(--text); }
.toc-link.active .idx { background: var(--accent-grad); color: #06070C; border-color: transparent; }

.policy-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.policy-callout { background: rgba(255,46,134,.06); border: 1px solid rgba(255,46,134,.22); border-radius: 12px; padding: 18px 20px; color: var(--muted); font-style: italic; line-height: 1.7; margin-bottom: 32px; }
.policy-callout b { color: var(--text); font-style: normal; }

.policy-section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.policy-section:last-of-type { border-bottom: 0; }
.policy-section > header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.policy-section .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-grad); color: #06070C; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; flex-shrink: 0; box-shadow: 0 8px 22px -10px rgba(255,46,134,.6); }
.policy-section h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.policy-section p { color: #cfcfe0; line-height: 1.7; margin: 0 0 12px; }
.policy-section p b { color: var(--cyan); font-weight: 600; }
.policy-section ul { padding-left: 20px; margin: 8px 0 12px; color: #cfcfe0; }
.policy-section ul li { margin-bottom: 8px; line-height: 1.6; }
.policy-section ul li b { color: var(--text); }
.policy-section a { color: var(--cyan); border-bottom: 1px solid rgba(34,242,255,.4); }

.policy-footnote { margin-top: 24px; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid var(--line); color: var(--muted-2); font-family: var(--font-mono); font-size: .78rem; display: flex; align-items: center; gap: 10px; }
.policy-footnote .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

@media (max-width: 900px) {
  .policy-shell { grid-template-columns: 1fr; }
  .policy-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .policy-toc .toc-label { width: 100%; border-bottom: 0; padding: 0 4px 8px; }
  .toc-link { flex: 1 1 45%; padding: 8px 10px; font-size: .85rem; }
  .policy-body { padding: 22px; }
}

/* =============================================================
   Coupons (promotions.html) — American-voucher style cards
   Bold code, gold + cyan accents, click-to-expand terms panel.
   ============================================================= */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.coupon-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 200, 51, .10), transparent 60%),
    linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
  cursor: pointer;
}
.coupon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 51, .35);
  box-shadow: 0 22px 48px -24px rgba(255, 200, 51, .30);
}
/* Perforated left/right edges — the "coupon" visual language */
.coupon-card::before,
.coupon-card::after {
  content: "";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 2;
}
.coupon-card::before { left: -12px; }
.coupon-card::after  { right: -12px; }

.coupon-ribbon {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 200, 51, .14);
  color: var(--gold);
  border: 1px solid rgba(255, 200, 51, .25);
  margin-bottom: 4px;
}
.coupon-ribbon.cyan {
  background: rgba(34, 242, 255, .12);
  color: var(--cyan);
  border-color: rgba(34, 242, 255, .25);
}
.coupon-ribbon.gold { /* explicit override for clarity */
  background: rgba(255, 200, 51, .16);
  color: var(--gold);
  border-color: rgba(255, 200, 51, .35);
}
.coupon-avail-chip {
  position: absolute; top: 26px; right: 26px;
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2);
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}
.coupon-badge {
  position: absolute; top: 26px; right: 26px;
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: #0b0b0f; font-weight: 800;
  padding: 5px 10px; border-radius: 999px;
  background: var(--gold-grad);
  box-shadow: 0 6px 16px -6px rgba(255, 200, 51, .55);
}

/* Coupon code block — the star of each card */
.coupon-code-block {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.015) 0 10px,
      transparent 10px 20px
    ),
    rgba(0,0,0,.30);
  border: 1px dashed rgba(255, 200, 51, .35);
}
.coupon-code-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.coupon-code-row {
  display: flex; align-items: center; gap: 10px;
  justify-content: space-between;
}
.coupon-code {
  font-family: var(--font-mono);
  font-size: 1.35rem; font-weight: 700; letter-spacing: .14em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 200, 51, .35);
  user-select: all;
}
.coupon-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.coupon-copy:hover { background: rgba(34, 242, 255, .12); border-color: rgba(34, 242, 255, .35); color: var(--cyan); }
.coupon-copy.copied { background: rgba(52, 211, 153, .16); border-color: rgba(52, 211, 153, .4); color: var(--green); }

/* Headline & sub */
.coupon-headline {
  font-family: var(--font-display);
  font-size: 1.6rem; line-height: 1.15;
  margin: 4px 0 10px;
  color: var(--text);
}
.coupon-headline .hl-num {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
}
.coupon-sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 16px;
  line-height: 1.55;
}
.coupon-sub b { color: var(--text); font-weight: 600; }

/* Highlight bullets (used by GEM200) */
.coupon-highlights {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.coupon-highlights li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem;
  color: var(--muted);
}
.coupon-highlights li svg { color: var(--green); flex-shrink: 0; }
.coupon-highlights li b { color: var(--text); font-weight: 700; }

/* Expandable terms */
.coupon-details {
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.coupon-details > summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  padding: 4px 0;
  user-select: none;
}
.coupon-details > summary::-webkit-details-marker { display: none; }
.coupon-details > summary .hide { display: none; }
.coupon-details[open] > summary .see { display: none; }
.coupon-details[open] > summary .hide { display: inline; }
.coupon-details > summary .chev {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.coupon-details[open] > summary .chev { transform: rotate(-135deg); }

.coupon-terms {
  list-style: none; padding: 14px 0 4px; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
.coupon-terms li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-size: .85rem;
}
.coupon-terms li span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.coupon-terms li b {
  color: var(--text); font-weight: 700;
  text-align: right;
}

.coupon-cta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
}

/* Featured (GEM200) — a little brighter, gold-lifted */
.coupon-card.coupon-featured {
  border-color: rgba(255, 200, 51, .35);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 200, 51, .18), transparent 65%),
    radial-gradient(120% 70% at 0% 100%, rgba(255, 46, 134, .10), transparent 65%),
    linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: 0 24px 48px -28px rgba(255, 200, 51, .40);
}
.coupon-card.coupon-featured .coupon-code {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 200, 51, .55);
}

@media (max-width: 640px) {
  .coupon-card { padding: 24px 20px 20px; }
  .coupon-avail-chip, .coupon-badge { top: 20px; right: 20px; font-size: .58rem; }
  .coupon-code { font-size: 1.2rem; }
  .coupon-headline { font-size: 1.4rem; }
}

/* =============================================================
   About Us page
   ============================================================= */
.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.about-story h2.about-h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 22px;
}
.about-story p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-story p b { color: var(--text); font-weight: 600; }
.about-quote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 200, 51, .08), transparent 80%);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  font-weight: 600;
}
.about-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: sticky;
  top: 90px;
}
.about-metric {
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  text-align: center;
}
.about-metric .metric-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.about-metric .metric-lbl {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.35;
}

.about-promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.promise-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.promise-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 242, 255, .35);
  box-shadow: 0 20px 40px -24px rgba(34, 242, 255, .3);
}
.promise-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 242, 255, .10);
  color: var(--cyan);
  border: 1px solid rgba(34, 242, 255, .22);
  margin-bottom: 16px;
}
.promise-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.promise-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .about-shell { grid-template-columns: 1fr; gap: 32px; }
  .about-side { position: static; }
}

/* =============================================================
   FAQ page — extra CTA card at the bottom
   ============================================================= */
.faq-cta {
  margin: 40px auto 0;
  max-width: 860px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.faq-cta h3 { font-size: 1.15rem; margin-bottom: 4px; }
.faq-cta p { color: var(--muted); font-size: .92rem; }
.faq-cta a { color: var(--cyan); }
.faq-cta-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============================================================
   ReelXBet identity flourishes — neon wordmark, angular CTAs,
   scanning line accents on hero, "X"-mark hover ticks.
   Layered at the end so cascade wins over earlier rules.
   ============================================================= */

/* --- Neon wordmark: white "Reel" + neon-gradient "XBet" --- */
.brand { position: relative; }
.brand span {
  background: linear-gradient(120deg, #FF2E86 0%, #22F2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 46, 134, .45));
  padding-right: 1px;
}
.brand span b {
  background: none;
  -webkit-text-fill-color: #F0F4FF;
  color: #F0F4FF;
  filter: none;
  margin-right: 1px;
}
.brand:hover span { filter: drop-shadow(0 0 16px rgba(34, 242, 255, .55)); }
.brand .logo {
  border-radius: 12px;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.brand:hover .logo { transform: rotate(-4deg) scale(1.04); }

/* --- Primary CTAs: subtle sheen + neon corner ticks --- */
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #FF2E86, #22F2FF, #B3FF3D, #FF2E86);
  background-size: 300% 100%;
  animation: rxb-sheen 8s linear infinite;
  opacity: .95;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -55%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-18deg);
  animation: rxb-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rxb-sheen { to { background-position: 300% 0; } }
@keyframes rxb-shine {
  0%, 40% { left: -55%; }
  70%     { left: 130%; }
  100%    { left: 130%; }
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* --- Hero heading: subtle scanning line & neon glow --- */
.hero h1 {
  text-shadow: 0 0 24px rgba(255, 46, 134, .12);
}
.hero .text-grad {
  background: var(--flag-grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rxb-grad-shift 9s ease-in-out infinite;
}
@keyframes rxb-grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* --- Section headings: "arena" bracket marker --- */
.section-head h2 { position: relative; padding-left: 18px; }
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #FF2E86, #22F2FF);
  box-shadow: 0 0 16px rgba(255, 46, 134, .55);
}

/* --- Game cards: sharper hover halo, corner tick marks --- */
.game-card { transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease; }
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .2s ease;
}
.game-card:hover::after { border-color: rgba(34, 242, 255, .5); }
.game-card:hover { box-shadow: 0 18px 46px -18px rgba(255, 46, 134, .45), 0 0 0 1px rgba(255, 46, 134, .35); }

/* --- Auth split pill: neon Sign up half --- */
.auth-signup { position: relative; overflow: hidden; }
.auth-signup::after {
  content: "";
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  animation: rxb-shine 5s ease-in-out infinite;
  pointer-events: none;
}

/* --- Ticker items: mono chip look --- */
.ticker-item b { color: #22F2FF; }
.ticker-item { border-right: 1px solid rgba(155, 240, 255, 0.06); padding-right: 24px; }

/* --- Footer badges: hairline gradient underline on hover --- */
.footer-badge { position: relative; overflow: hidden; }
.footer-badge::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 242, 255, .6), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.footer-badge:hover::after { transform: scaleX(1); }

/* --- Promotion / news cards: sharper accent border on hover --- */
.promo-card:hover, .news-card:hover {
  border-color: rgba(34, 242, 255, .35);
  box-shadow: 0 14px 40px -18px rgba(34, 242, 255, .35);
}

/* --- Modal shell: neon corner glow --- */
.modal { border-color: rgba(255, 46, 134, .18); }
.modal::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 46, 134, .55), transparent 40%, transparent 60%, rgba(34, 242, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* --- Filter chips: gradient active state --- */
.chip-filter.active {
  background: linear-gradient(120deg, #FF2E86, #22F2FF);
  color: #06070C;
  box-shadow: 0 8px 22px -10px rgba(255, 46, 134, .6);
}

/* --- Reduced motion: kill decorative sweeps --- */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before, .btn-primary::after,
  .auth-signup::after, .hero .text-grad { animation: none; }
}

/* =============================================================
   HERO v2 — Neon Arena stacked / cinematic layout
   Completely replaces the two-column hero-grid + slot-machine.
   Overrides live at end of stylesheet so cascade wins cleanly.
   ============================================================= */
.hero-v2 {
  position: relative;
  padding: 84px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
/* Kill the old two-column grid inside hero-v2 in case it appears elsewhere. */
.hero-v2 .hero-grid { display: block; }
.hero-v2 .slot-machine { display: none; }

/* Container becomes a stacked, centered column */
.hero-stack {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 22px;
}

/* Ambient giant X in the background — sits behind everything, low opacity,
   slow subtle scale-in on load. Positioned absolute inside .hero-v2. */
.hero-bgx {
  position: absolute;
  top: 50%; left: 50%;
  width: min(1100px, 92vw);
  height: min(1100px, 92vw);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.35;
  filter: blur(2px);
  animation: hero-bgx-in 1.4s cubic-bezier(.2,.9,.3,1.1) both,
             hero-bgx-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-bgx-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }
@keyframes hero-bgx-drift {
  from { transform: translate(-50%, -50%) rotate(-2deg) scale(1); }
  to   { transform: translate(-50%, -50%) rotate(2deg)  scale(1.04); }
}

/* Two ambient orbs sitting behind the text on the flanks */
.hero-orb {
  position: absolute; z-index: 1;
  width: 340px; height: 340px; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
  animation: hero-orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb-a { top: 12%;   left: -60px;  background: radial-gradient(circle, rgba(255,46,134,.65), transparent 65%); }
.hero-orb-b { bottom: 4%; right: -60px; background: radial-gradient(circle, rgba(34,242,255,.55), transparent 65%);
              animation-delay: -6s; }
@keyframes hero-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, -28px) scale(1.08); }
}

/* A single scanning line sweeping down the hero, very slow, low opacity —
   subtle "arcade CRT" hint without being kitschy */
.hero-scan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 100%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(34,242,255,.10) 50%, transparent 55%);
  animation: hero-scan-move 7s linear infinite;
}
@keyframes hero-scan-move { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* --- Chip row across the top (US + live + version tag) --- */
.hero-chip-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 6px;
}
.mono-tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  color: #B3FF3D; background: rgba(179, 255, 61, 0.06);
  border: 1px solid rgba(179, 255, 61, 0.28);
}

/* Center-align the coupon-aware eyebrow + lead when inside the stack */
.eyebrow-center { align-self: center; margin-inline: auto; }
.lead-center    { text-align: center; max-width: 62ch; margin-inline: auto; }

/* --- Massive multi-line hero title --- */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.6vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 6px 0 4px;
  max-width: 15ch;
}
.hero-title .hero-line {
  display: block;
  color: var(--text);
}
.hero-title .hero-line:nth-child(2) { transform: translateX(-0.4ch); }
.hero-title .hero-line:nth-child(3) { transform: translateX( 0.6ch); }
.hero-title .text-grad {
  background: var(--flag-grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rxb-grad-shift 9s ease-in-out infinite;
}

/* Neon underline block sitting under the title — magenta bar / center dot / cyan bar */
.hero-underline {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 4px auto 2px;
}
.hero-underline span {
  display: block; height: 3px; width: 96px; border-radius: 3px;
}
.hero-underline span:first-child { background: linear-gradient(90deg, transparent, #FF2E86); box-shadow: 0 0 12px rgba(255,46,134,.65); }
.hero-underline span:last-child  { background: linear-gradient(90deg, #22F2FF, transparent); box-shadow: 0 0 12px rgba(34,242,255,.6); }
.hero-underline i {
  width: 10px; height: 10px; border-radius: 50%; display: block;
  background: #B3FF3D;
  box-shadow: 0 0 14px rgba(179,255,61,.9), inset 0 0 0 2px rgba(6,7,12,.55);
  animation: hero-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes hero-dot-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.35); opacity: 1; } }

/* Centered CTA row */
.hero-cta-center { justify-content: center; margin-top: 12px; }
.hero-cta-center .btn { min-width: 160px; }

/* --- Arena strip: 4-5 live-metric cards, glass, neon border, hover-lift --- */
.arena-strip {
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.arena-card {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(12, 14, 24, 0.72);
  border: 1px solid rgba(155, 240, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.9,.3,1.1),
              border-color .22s ease, box-shadow .28s ease;
}
.arena-card::before {
  /* Diagonal neon accent stroke in top-right corner */
  content: "";
  position: absolute; top: -1px; right: -1px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, transparent 46%, rgba(255,46,134,.65) 50%, transparent 54%);
  pointer-events: none;
  opacity: 0.75;
}
.arena-card::after {
  /* Subtle inner grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,240,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,240,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 50% 100%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 100%, #000 20%, transparent 80%);
  pointer-events: none;
}
.arena-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 242, 255, .4);
  box-shadow: 0 22px 46px -22px rgba(34,242,255,.4), 0 0 0 1px rgba(255,46,134,.2);
}
.arena-card:nth-child(1)::before { background: linear-gradient(135deg, transparent 46%, rgba(179,255,61,.65) 50%, transparent 54%); }
.arena-card:nth-child(3)::before { background: linear-gradient(135deg, transparent 46%, rgba(255,200,51,.65) 50%, transparent 54%); }
.arena-card:nth-child(4)::before { background: linear-gradient(135deg, transparent 46%, rgba(34,242,255,.65)  50%, transparent 54%); }

.arena-label {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2);
}
.arena-value {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.arena-sub {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .04em;
  color: var(--muted);
}
.arena-sub-up { color: #B3FF3D; }
.arena-sub-up::before { content: "▲ "; }

.arena-spark {
  position: relative; z-index: 1;
  width: 100%; height: 20px;
  color: #22F2FF;
  filter: drop-shadow(0 0 6px rgba(34,242,255,.55));
}

.arena-tick {
  position: relative; z-index: 1;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: #34D399;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .32);
}
.arena-tick::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; box-shadow: 0 0 8px #34D399;
  animation: hero-dot-pulse 1.6s ease-in-out infinite;
}

/* Responsive: 2-col grid on tablet, 1-col on phone; smaller decorations */
@media (max-width: 900px) {
  .arena-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-orb { width: 240px; height: 240px; filter: blur(60px); }
}
@media (max-width: 560px) {
  .hero-v2 { padding: 64px 0 40px; }
  .arena-strip { grid-template-columns: 1fr; }
  .hero-title { max-width: 12ch; }
  .hero-title .hero-line:nth-child(2),
  .hero-title .hero-line:nth-child(3) { transform: none; }
  .hero-underline span { width: 60px; }
  .hero-chip-row .mono-tag { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bgx, .hero-orb, .hero-scan, .hero-underline i { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   LOBBY SHELL — casino-lobby layout: left sidebar + main area
   Home page uses this instead of hero-v2. All existing sections
   below the tabs flow full-width via their own .container.
   ============================================================= */

/* On the home page (has-lobby body class), the sidebar carries
   navigation, so we hide the redundant top nav-links row. Auth
   pill + brand stay in the top bar. Mobile still uses the nav-toggle
   because sidebar collapses on small screens. */
.has-lobby .nav-links { display: none; }
@media (max-width: 760px) {
  .has-lobby .nav-links { display: none !important; }
  .has-lobby .nav-links.open { display: flex !important; }
}

.lobby-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 20px 8px;
  align-items: start;
}

/* ---------- Sidebar ---------- */
.lobby-side {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 22, 42, 0.9), rgba(12, 14, 24, 0.9));
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-height: calc(100vh - var(--nav-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lobby-side::-webkit-scrollbar { width: 6px; }
.lobby-side::-webkit-scrollbar-thumb { background: rgba(155, 240, 255, 0.15); border-radius: 6px; }

/* Casino / Sport toggle at the top of the sidebar */
.lobby-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: rgba(6, 7, 12, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.lobby-toggle-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700; font-size: .9rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.lobby-toggle-btn .lt-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: currentColor;
}
.lobby-toggle-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.lobby-toggle-btn.is-active {
  color: #fff;
  background: linear-gradient(120deg, #FF2E86 0%, #E01D6E 100%);
  box-shadow: 0 8px 22px -10px rgba(255, 46, 134, .7);
}
.lobby-toggle-btn.is-active:hover { transform: translateY(-1px); }

/* Sidebar groups (Promotions, Play more, Categories, Support) */
.lobby-side-group { display: flex; flex-direction: column; gap: 4px; }
.lobby-side-head {
  margin: 6px 4px 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.lobby-side-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.lobby-side-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.lobby-side-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(155, 240, 255, 0.14);
  transform: translateX(2px);
}
.lobby-side-list a.is-hot { color: var(--text); }
.lobby-side-list .ls-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  font-size: .82rem;
  color: #22F2FF;
  background: rgba(34, 242, 255, 0.08);
  border: 1px solid rgba(34, 242, 255, 0.2);
  flex-shrink: 0;
}
.lobby-side-list a:hover .ls-ico {
  color: #FF2E86;
  background: rgba(255, 46, 134, 0.1);
  border-color: rgba(255, 46, 134, 0.32);
}
.lobby-side-list .ls-ico-dot {
  background: #B3FF3D;
  border-color: #B3FF3D;
  box-shadow: 0 0 10px rgba(179, 255, 61, .8);
  color: transparent;
}
.lobby-side-list a:hover .ls-ico-dot { background: #B3FF3D; border-color: #B3FF3D; }
.lobby-side-list .ls-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .12em;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(120deg, #FF2E86, #FF6EB2);
  color: #06070C;
  font-weight: 800;
}

/* Support card at the bottom */
.lobby-side-cta { margin-top: 4px; }
.lobby-side-help {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(255, 46, 134, 0.14), rgba(34, 242, 255, 0.1));
  border: 1px solid rgba(155, 240, 255, 0.18);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.lobby-side-help:hover { transform: translateY(-1px); border-color: rgba(34, 242, 255, 0.5); }
.lobby-side-help .lsh-ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(120deg, #FF2E86, #22F2FF);
  color: #06070C;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
}
.lobby-side-help b { display: block; color: var(--text); font-family: var(--font-display); font-size: .9rem; }
.lobby-side-help em { display: block; color: var(--muted); font-size: .74rem; font-style: normal; letter-spacing: .04em; }

/* ---------- Main lobby area ---------- */
.lobby-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Promo hero: 3-column card row (like NetBet's welcome banners) */
.promo-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.promo-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(255, 46, 134, 0.24), rgba(6, 7, 12, 0.92) 60%);
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .28s ease;
}
.promo-hero-card::before {
  /* Subtle diagonal noise stripe */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    120deg,
    transparent 0 22px,
    rgba(255, 255, 255, 0.02) 22px 23px
  );
  pointer-events: none;
}
.promo-hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 134, .5);
  box-shadow: 0 22px 46px -22px rgba(255, 46, 134, .5);
}
.promo-hero-2 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(255, 46, 134, 0.32), rgba(6, 7, 12, 0.92) 65%);
}
.promo-hero-3 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(34, 242, 255, 0.24), rgba(6, 7, 12, 0.92) 60%);
}
.promo-hero-1 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(179, 255, 61, 0.20), rgba(6, 7, 12, 0.92) 62%);
}

.promo-hero-card .ph-body { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; min-width: 0; }
.promo-hero-card .ph-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(179, 255, 61, 0.12);
  color: #B3FF3D;
  border: 1px solid rgba(179, 255, 61, 0.3);
  font-weight: 700;
  text-transform: uppercase;
}
.promo-hero-card .ph-tag-magenta {
  background: rgba(255, 46, 134, 0.12);
  color: #FF2E86;
  border-color: rgba(255, 46, 134, 0.36);
}
.promo-hero-card .ph-tag-cyan {
  background: rgba(34, 242, 255, 0.12);
  color: #22F2FF;
  border-color: rgba(34, 242, 255, 0.36);
}
.promo-hero-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.4vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.promo-hero-card p {
  color: var(--muted);
  font-size: .86rem;
  margin: 0;
  line-height: 1.4;
}
.promo-hero-card code {
  font-family: var(--font-mono);
  font-size: .82rem;
  padding: 1px 8px;
  border-radius: 6px;
  color: #B3FF3D;
  background: rgba(179, 255, 61, 0.1);
  border: 1px solid rgba(179, 255, 61, 0.3);
}
.promo-hero-card .ph-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.promo-hero-card .ph-cta .btn { padding: 9px 16px; font-size: .82rem; }
.promo-hero-card .ph-cta .btn-sm { padding: 6px 12px; font-size: .74rem; }

.promo-hero-card .ph-art {
  width: 130px; height: 130px;
  justify-self: end;
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
  animation: ph-art-float 5.5s ease-in-out infinite;
}
.promo-hero-card .ph-art svg { width: 100%; height: 100%; }
@keyframes ph-art-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* ---------- Search bar ---------- */
.lobby-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(12, 14, 24, 0.85);
  border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lobby-search:focus-within {
  border-color: rgba(34, 242, 255, .55);
  box-shadow: 0 0 0 3px rgba(34, 242, 255, .12);
}
.lobby-search svg { color: var(--muted-2); flex-shrink: 0; }
.lobby-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
}
.lobby-search input::placeholder { color: var(--muted-2); }
.lobby-kbd {
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(155, 240, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

/* ---------- Lobby tabs (Lobby / Slots / Live / Jackpot ...) ---------- */
.lobby-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 999px;
  background: rgba(12, 14, 24, 0.75);
  border: 1px solid var(--line);
  align-self: flex-start;
  max-width: 100%;
  overflow-x: auto;
}
.lobby-tabs::-webkit-scrollbar { height: 0; display: none; }
.lobby-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.lobby-tab span {
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor;
  font-size: .95em;
}
.lobby-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.lobby-tab.is-active {
  color: #06070C;
  background: linear-gradient(120deg, #FF2E86 0%, #22F2FF 100%);
  box-shadow: 0 8px 22px -10px rgba(255, 46, 134, .55);
}

/* Featured games — sits inside .lobby-main */
.lobby-featured { padding-top: 6px; }
.lobby-featured .section-head { margin-bottom: 18px; }
.lobby-featured .game-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* Responsive collapse — sidebar becomes horizontal chip strip on tablet,
   hidden on phone (in favor of top nav-links dropdown). */
@media (max-width: 1080px) {
  .lobby-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lobby-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .lobby-side .lobby-side-group { display: none; }
  .lobby-side .lobby-side-cta { display: none; }
  .lobby-toggle { grid-template-columns: 1fr 1fr; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .promo-hero { grid-template-columns: 1fr; }
  .promo-hero-card { min-height: 180px; }
}
@media (max-width: 560px) {
  .lobby-shell { padding: 14px 14px 4px; }
  .lobby-tabs { padding: 4px; overflow-x: auto; flex-wrap: nowrap; }
  .lobby-tab { padding: 7px 12px; font-size: .78rem; }
  .promo-hero-card { grid-template-columns: 1fr; padding: 18px; min-height: 0; }
  .promo-hero-card .ph-art { width: 96px; height: 96px; justify-self: end; }
}

/* =============================================================
   FAQ · SEO · Trust · Footer — full visual re-cast
   Bigger visual identity: cards over lists, neon accents cycled
   across categories, footer becomes a stacked stage instead of a
   4-column table. Selectors override earlier .faq-*, .footer-*.
   ============================================================= */

/* ---------- FAQ: card mosaic ---------- */
#faq .section-head {
  gap: 6px;
  margin-bottom: 34px;
  position: relative;
  padding-bottom: 26px;
}
#faq .section-head::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: 110px; height: 3px;
  background: linear-gradient(90deg, #FF2E86, #22F2FF, #B3FF3D);
  border-radius: 2px;
  box-shadow: 0 0 22px rgba(255, 46, 134, .5);
}
#faq .section-head h2 { padding-left: 0; }
#faq .section-head h2::before { display: none; }

.faq-wrap {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
  align-items: start;
}

.faq-cat {
  position: relative;
  margin: 0;
  padding: 24px 24px 6px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)),
    rgba(12, 14, 24, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease, box-shadow .28s ease;
}
.faq-cat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 46, 134, .35);
  box-shadow: 0 22px 44px -22px rgba(255, 46, 134, .35);
}
.faq-cat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF2E86, transparent 80%);
}
.faq-cat::after {
  /* Faint category glyph in the corner */
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255, 46, 134, .18), transparent 60%);
  pointer-events: none;
  filter: blur(4px);
}
/* Cycle accent color per category card so the mosaic reads as intentional */
.faq-cat:nth-child(4n+2)::before { background: linear-gradient(90deg, #22F2FF, transparent 80%); }
.faq-cat:nth-child(4n+2)::after  { background: radial-gradient(circle, rgba(34, 242, 255, .18), transparent 60%); }
.faq-cat:nth-child(4n+2):hover   { border-color: rgba(34, 242, 255, .4); box-shadow: 0 22px 44px -22px rgba(34, 242, 255, .35); }

.faq-cat:nth-child(4n+3)::before { background: linear-gradient(90deg, #B3FF3D, transparent 80%); }
.faq-cat:nth-child(4n+3)::after  { background: radial-gradient(circle, rgba(179, 255, 61, .18), transparent 60%); }
.faq-cat:nth-child(4n+3):hover   { border-color: rgba(179, 255, 61, .4); box-shadow: 0 22px 44px -22px rgba(179, 255, 61, .3); }

.faq-cat:nth-child(4n+4)::before { background: linear-gradient(90deg, #FFC833, transparent 80%); }
.faq-cat:nth-child(4n+4)::after  { background: radial-gradient(circle, rgba(255, 200, 51, .18), transparent 60%); }
.faq-cat:nth-child(4n+4):hover   { border-color: rgba(255, 200, 51, .4); box-shadow: 0 22px 44px -22px rgba(255, 200, 51, .3); }

.faq-cat > h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FF2E86;
  background: rgba(255, 46, 134, 0.12);
  border: 1px solid rgba(255, 46, 134, 0.34);
  margin: 0 0 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 46, 134, 0.34);
  position: relative;
  z-index: 1;
}
.faq-cat > h3::before {
  content: "◈";
  font-size: .9rem;
  line-height: 1;
  color: currentColor;
}
.faq-cat:nth-child(4n+2) > h3 { color: #22F2FF; background: rgba(34, 242, 255, 0.12); border-color: rgba(34, 242, 255, 0.35); }
.faq-cat:nth-child(4n+3) > h3 { color: #B3FF3D; background: rgba(179, 255, 61, 0.12); border-color: rgba(179, 255, 61, 0.35); }
.faq-cat:nth-child(4n+4) > h3 { color: #FFC833; background: rgba(255, 200, 51, 0.12); border-color: rgba(255, 200, 51, 0.35); }
.faq-cat:nth-child(4n+2) > h3::before { content: "▲"; }
.faq-cat:nth-child(4n+3) > h3::before { content: "✦"; }
.faq-cat:nth-child(4n+4) > h3::before { content: "◆"; }

.faq-cat .faq-item {
  position: relative;
  border-bottom: 1px dashed rgba(155, 240, 255, 0.09);
  padding: 4px 0;
}
.faq-cat .faq-item:last-child { border-bottom: 0; }
.faq-cat .faq-item summary {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: color .18s ease;
}
.faq-cat .faq-item:hover summary { color: #22F2FF; }
.faq-cat .faq-item[open] summary { color: #FF2E86; }
.faq-cat .faq-item[open] { background: linear-gradient(180deg, rgba(255, 46, 134, .06), transparent); }

.faq-cat .plus-ico {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(155, 240, 255, 0.04);
  display: grid; place-items: center;
  transition: transform .22s cubic-bezier(.2, .9, .3, 1.2),
              background .18s ease, border-color .18s ease;
}
.faq-cat .plus-ico::before,
.faq-cat .plus-ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-cat .plus-ico::before { width: 12px; height: 2px; }
.faq-cat .plus-ico::after  { width: 2px;  height: 12px; transition: transform .22s ease, opacity .22s ease; }
.faq-cat .faq-item[open] .plus-ico {
  background: linear-gradient(120deg, #FF2E86, #22F2FF);
  border-color: transparent;
  transform: rotate(90deg);
  color: #06070C;
}
.faq-cat .faq-item[open] .plus-ico::after { transform: rotate(90deg); opacity: 0; }

.faq-cat .faq-a {
  padding: 4px 4px 18px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-cat .faq-a a { color: #22F2FF; border-bottom: 1px dashed rgba(34, 242, 255, .5); }

@media (max-width: 720px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-cat { padding: 20px 18px 4px; }
}

/* ---------- SEO copy block ("built for players who value control") ---------- */
/* Split into text lane + a stat-panel accent card on the right. */
.section > .container > .reveal[style*="max-width:820px"] {
  max-width: 100% !important;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
  position: relative;
}
.section > .container > .reveal[style*="max-width:820px"] > h2 {
  padding-left: 16px;
  border-left: 4px solid #FF2E86;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important;
  letter-spacing: -0.02em;
  grid-column: 1;
}
.section > .container > .reveal[style*="max-width:820px"] > p {
  grid-column: 1;
  max-width: 62ch;
}
/* Insert a synthetic side-panel via ::after — CSS-only, no HTML edits */
.section > .container > .reveal[style*="max-width:820px"]::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: start;
  min-height: 260px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    linear-gradient(150deg, rgba(255, 46, 134, .22), rgba(34, 242, 255, .18) 55%, rgba(179, 255, 61, .1));
  border: 1px solid var(--line-strong);
  position: relative;
  box-shadow: 0 24px 60px -22px rgba(255, 46, 134, .35);
  background-image:
    radial-gradient(140% 100% at 0% 0%, rgba(255, 46, 134, .28), transparent 55%),
    radial-gradient(140% 100% at 100% 100%, rgba(34, 242, 255, .28), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, .03) 12px 13px);
}
@media (max-width: 900px) {
  .section > .container > .reveal[style*="max-width:820px"] { grid-template-columns: 1fr; }
  .section > .container > .reveal[style*="max-width:820px"]::after { min-height: 140px; }
}

/* ---------- CTA band — redesigned as a diagonal split ---------- */
.cta-band {
  position: relative;
  padding: 48px 56px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(120deg, #16081f 0%, #050b16 100%) !important;
  border: 1px solid rgba(255, 46, 134, .28) !important;
  overflow: hidden;
  text-align: left !important;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 46, 134, .55), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(34, 242, 255, .45), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FF2E86, #22F2FF, #B3FF3D);
  box-shadow: 0 0 16px rgba(255, 46, 134, .6);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 0 20px !important; }
.cta-band .btn { padding: 14px 28px; font-size: 1rem; }

/* ---------- Footer: stacked stage ---------- */
.footer {
  border-top: 1px solid rgba(155, 240, 255, .18);
  background:
    linear-gradient(180deg, rgba(255, 46, 134, 0.04) 0%, transparent 40%),
    var(--bg-2);
  margin-top: 60px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FF2E86 30%, #22F2FF 50%, #B3FF3D 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(255, 46, 134, .5);
}

/* SEO intro block up top */
.footer-seo {
  padding: 60px 0 26px;
  border-bottom: 1px dashed rgba(155, 240, 255, .09);
}
.footer-seo h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  padding-left: 18px;
  border-left: 4px solid #FF2E86;
  line-height: 1.1;
}
.footer-seo h2 .accent {
  background: var(--flag-grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rxb-grad-shift 9s ease-in-out infinite;
}
.footer-seo summary { color: #22F2FF; }
.footer-seo details p { line-height: 1.7; }

/* Trust badges — big tile row */
.footer-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  padding: 30px 0 !important;
  border-top: 0 !important;
  border-bottom: 1px dashed rgba(155, 240, 255, .09) !important;
}
.footer-badge {
  padding: 18px 18px !important;
  gap: 6px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)) !important,
    rgba(12, 14, 24, 0.6) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  font-size: .85rem !important;
  color: var(--text) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.footer-badge::before {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(34, 242, 255, .3), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.footer-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 242, 255, .4) !important;
  box-shadow: 0 16px 34px -18px rgba(34, 242, 255, .5);
}
.footer-badge svg {
  width: 26px !important;
  height: 26px !important;
  color: #22F2FF;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 6px rgba(34, 242, 255, .5));
}
.footer-badge.age { color: #FF2E86 !important; border-color: rgba(255, 46, 134, .38) !important; }
.footer-badge.age::before { background: radial-gradient(circle, rgba(255, 46, 134, .35), transparent 65%); }
.footer-badge.age svg { color: #FF2E86 !important; filter: drop-shadow(0 0 6px rgba(255, 46, 134, .5)); }
.footer-badge:nth-child(3) svg { color: #B3FF3D; filter: drop-shadow(0 0 6px rgba(179, 255, 61, .5)); }
.footer-badge:nth-child(3)::before { background: radial-gradient(circle, rgba(179, 255, 61, .32), transparent 65%); }
.footer-badge:nth-child(4) svg { color: #FFC833; filter: drop-shadow(0 0 6px rgba(255, 200, 51, .5)); }
.footer-badge:nth-child(4)::before { background: radial-gradient(circle, rgba(255, 200, 51, .3), transparent 65%); }

/* Footer columns */
.footer-top {
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)) !important;
  gap: 44px !important;
  padding: 44px 0 !important;
  align-items: start;
}
.footer .brand { font-size: 1.35rem; }
.footer .about {
  font-size: .9rem;
  line-height: 1.6;
  max-width: 32ch;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.footer h4 {
  font-family: var(--font-mono) !important;
  font-size: .68rem !important;
  letter-spacing: .22em !important;
  color: #22F2FF !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(34, 242, 255, .18);
  margin-bottom: 14px !important;
}
.footer ul a {
  position: relative;
  padding-left: 14px;
  transition: color .18s ease, padding-left .18s ease;
}
.footer ul a::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #FF2E86;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.footer ul a:hover { color: var(--text); padding-left: 18px; }
.footer ul a:hover::before { opacity: 1; transform: translateX(2px); }

.footer .socials a {
  border-radius: 12px !important;
  transition: transform .22s cubic-bezier(.2,.9,.3,1.2), border-color .18s ease, color .18s ease, background .18s ease;
}
.footer .socials a:hover {
  color: #06070C !important;
  background: linear-gradient(120deg, #FF2E86, #22F2FF) !important;
  border-color: transparent !important;
  transform: translateY(-2px) rotate(-4deg);
}

/* Bottom bar — restructured */
.footer-bottom {
  border-top: 1px dashed rgba(155, 240, 255, .09) !important;
  padding: 22px 0 !important;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: .74rem !important;
  letter-spacing: .04em;
}
.footer .pay span {
  padding: 5px 10px !important;
  border-radius: 8px !important;
  background: rgba(155, 240, 255, .05);
  color: #22F2FF !important;
  border-color: rgba(34, 242, 255, .22) !important;
  font-weight: 600;
}
.rg-note {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 46, 134, .08);
  border: 1px solid rgba(255, 46, 134, .3);
}
.rg-note .plus {
  color: #FF2E86 !important;
  border-color: #FF2E86 !important;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr !important; }
  .cta-band { padding: 32px 24px !important; }
}

/* =============================================================
   Auth buttons — unpair the split pill, give each a distinct
   personality: Log in as cyan-outlined ghost, Sign up as a solid
   neon pill with arrow + soft breathing glow.
   ============================================================= */
.auth-pair {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  gap: 8px !important;
  overflow: visible !important;
  border-radius: 0 !important;
}
.auth-pair .auth-half {
  border-radius: 10px !important;
  padding: 9px 16px !important;
  font-size: .84rem !important;
  border: 1px solid transparent !important;
  transition: transform .18s ease, box-shadow .22s ease,
              background .18s ease, color .18s ease, border-color .18s ease;
}
/* Log in: outlined ghost with cyan hover */
.auth-pair .auth-login {
  background: rgba(155, 240, 255, 0.03) !important;
  border: 1px solid rgba(155, 240, 255, 0.22) !important;
  border-right-color: rgba(155, 240, 255, 0.22) !important;
  color: var(--text) !important;
  letter-spacing: 0.02em;
}
.auth-pair .auth-login:hover {
  color: #22F2FF !important;
  background: rgba(34, 242, 255, 0.08) !important;
  border-color: rgba(34, 242, 255, 0.55) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(34, 242, 255, 0.55);
}
/* Sign up: solid gradient pill with arrow + breathing glow */
.auth-pair .auth-signup {
  position: relative;
  padding-right: 34px !important;
  color: #06070C !important;
  text-shadow: none !important;
  background: linear-gradient(120deg, #FF2E86 0%, #22F2FF 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 8px 22px -10px rgba(255, 46, 134, .7),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: auth-signup-breathe 3.6s ease-in-out infinite;
}
.auth-pair .auth-signup::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid #06070C;
  border-right: 2px solid #06070C;
  transform: translateY(-50%) rotate(45deg);
  transition: right .2s ease;
}
.auth-pair .auth-signup:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 14px 28px -10px rgba(255, 46, 134, .85),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.auth-pair .auth-signup:hover::before { right: 10px; }
@keyframes auth-signup-breathe {
  0%, 100% { box-shadow: 0 8px 22px -10px rgba(255, 46, 134, .7),  inset 0 1px 0 rgba(255,255,255,.35); }
  50%      { box-shadow: 0 10px 28px -10px rgba(34, 242, 255, .7), inset 0 1px 0 rgba(255,255,255,.45); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-pair .auth-signup { animation: none !important; }
}

/* Tighter footprint on mobile */
@media (max-width: 480px) {
  .auth-pair .auth-half { padding: 7px 12px !important; font-size: .78rem !important; }
  .auth-pair .auth-signup { padding-right: 28px !important; }
  .auth-pair .auth-signup::before { right: 10px; width: 8px; height: 8px; }
}

/* =============================================================
   Quick Deposit — logged-in-only home-page card
   Inline (not modal). Auth toggle inherits the global
   [data-auth-state] switch; the display value is overridden
   below so the section renders as block, not flex.
   ============================================================= */
/* Quick Deposit sits in the promo-hero grid, replacing the third card
   when the user is logged in. Auth swap is done at the grid-cell level
   so exactly three cells render in both states. Both the QD widget
   and its guest fallback (CRASH & SLOTS card) get order:-1 so they
   render leftmost — matters most on mobile where the grid stacks and
   the first cell becomes the primary above-the-fold CTA. */
.qd-shell { display: none; min-width: 0; order: -1; }
html[data-auth-state="user"] .qd-shell[data-auth-user] { display: block; }
html[data-auth-state="user"] .promo-hero-3[data-auth-guest] { display: none; }
.promo-hero-3[data-auth-guest] { order: -1; }

.qd-card {
  height: 100%;
  min-height: 220px;
  padding: 18px 20px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px -22px rgba(34, 242, 255, .35), 0 0 0 1px rgba(34, 242, 255, .06) inset;
  position: relative;
  overflow: hidden;
}
.qd-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 46, 134, .35), rgba(34, 242, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.qd-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700; letter-spacing: .01em;
  color: var(--text); text-align: center;
}

.qd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.qd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qd-label { font-size: .72rem; color: var(--muted); letter-spacing: .04em; font-weight: 600; }

.qd-select-wrap { position: relative; }
.qd-select {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; height: 42px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.qd-select:hover, .qd-select[aria-expanded="true"] { border-color: var(--line-strong); background: var(--surface-3); }
.qd-cur-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.qd-cur-icon svg { width: 100%; height: 100%; display: block; }
.qd-cur-code { flex: 1; text-align: left; }
.qd-caret { color: var(--muted); flex-shrink: 0; transition: transform .15s ease; }
.qd-select[aria-expanded="true"] .qd-caret { transform: rotate(180deg); }

.qd-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  margin: 0; padding: 4px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 10px; box-shadow: var(--shadow);
  z-index: 20; max-height: 260px; overflow-y: auto;
}
.qd-dropdown li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font-size: .9rem; color: var(--text);
}
.qd-dropdown li:hover, .qd-dropdown li[aria-selected="true"] { background: var(--surface-3); }
.qd-dropdown li .qd-cur-icon { width: 20px; height: 20px; }
.qd-dropdown li .qd-cur-name { color: var(--muted); font-size: .78rem; margin-left: auto; font-family: var(--font-mono); }

.qd-amount {
  display: flex; align-items: center; height: 42px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 10px 0 12px; gap: 6px;
  transition: border-color .15s ease;
}
.qd-amount:focus-within { border-color: var(--violet); }
.qd-amount-prefix { color: var(--muted); font-size: .92rem; font-weight: 600; }
.qd-amount input {
  flex: 1; min-width: 0; height: 100%;
  background: transparent; border: 0; outline: none;
  color: var(--text); font-size: 1rem; font-weight: 600;
  font-family: inherit;
}
.qd-amount input::-webkit-outer-spin-button,
.qd-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qd-amount input[type="number"] { -moz-appearance: textfield; }

.qd-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.qd-chips button {
  height: 38px; padding: 0 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: all .15s ease;
}
.qd-chips button:hover { border-color: var(--line-strong); background: var(--surface-3); }
.qd-chips button.is-active {
  background: linear-gradient(120deg, rgba(34, 242, 255, .22) 0%, rgba(34, 242, 255, .08) 100%);
  border-color: var(--violet);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(34, 242, 255, .35) inset;
}

.qd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.qd-cta {
  height: 44px; padding: 0 14px; border: 0; border-radius: 10px;
  color: #fff; font-size: .86rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.qd-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.qd-cta:active { transform: translateY(0); }
.qd-cta-crypto { background: linear-gradient(120deg, #3358ff 0%, #2b7bff 100%); box-shadow: 0 10px 26px -12px rgba(51, 88, 255, .8); }
.qd-cta-card   { background: linear-gradient(120deg, #22a5ff 0%, #22e0ff 100%); box-shadow: 0 10px 26px -12px rgba(34, 224, 255, .8); color: #06070C; text-shadow: none; }
.qd-cta:disabled { opacity: .55; cursor: not-allowed; filter: none; transform: none; }

/* Deposit-response panel: QR + amount + address + wallet CTA */
.qd-error {
  padding: 10px 12px; margin-bottom: 12px;
  background: rgba(255, 46, 134, .12); border: 1px solid rgba(255, 46, 134, .35);
  border-radius: 8px;
  color: #ffb3d0; font-size: .82rem; line-height: 1.4;
}

.qd-qr {
  padding: 14px; margin-top: 8px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.qd-qr-code {
  width: 148px; height: 148px;
  background: #fff; padding: 6px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
}
.qd-qr-code img, .qd-qr-code svg { width: 100%; height: 100%; display: block; }
.qd-qr-fields { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.qd-qr-label {
  display: block; font-size: .7rem; font-weight: 600;
  color: var(--muted); letter-spacing: .04em; margin-bottom: 5px;
}
.qd-qr-row { display: flex; gap: 6px; align-items: center; }
.qd-qr-row input {
  flex: 1; min-width: 0; height: 34px;
  padding: 0 10px; border-radius: 8px;
  background: #0b0e1c; border: 1px solid var(--line);
  color: var(--text); font-size: .8rem; font-family: var(--font-mono);
  outline: none;
  text-overflow: ellipsis;
}
.qd-copy {
  flex-shrink: 0; height: 34px; padding: 0 12px;
  background: var(--surface-3); border: 1px solid var(--line-strong);
  border-radius: 8px; color: var(--text);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.qd-copy:hover { background: var(--surface); border-color: var(--violet); }
.qd-copy.is-copied { background: var(--cyan); color: #06070C; border-color: var(--cyan); }

.qd-wallet-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; margin-top: 4px;
  background: linear-gradient(120deg, #7c5cff 0%, #22F2FF 100%);
  color: #06070C; text-decoration: none;
  border: 0; border-radius: 10px;
  font-family: inherit;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(124, 92, 255, .8);
  transition: transform .12s ease, filter .18s ease;
}
.qd-wallet-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.qd-wallet-btn:active { transform: translateY(0); }

.qd-qr-meta {
  font-size: .7rem; color: var(--muted-2); font-family: var(--font-mono);
  line-height: 1.5; word-break: break-all;
}
.qd-qr-meta div + div { margin-top: 2px; }

.qd-cta.is-loading { pointer-events: none; opacity: .7; }
.qd-cta.is-loading::after {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: qd-spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes qd-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .qd-card { padding: 16px; }
  .qd-actions { grid-template-columns: 1fr; }
  .qd-cta { font-size: .82rem; }
  .qd-qr-code { width: 132px; height: 132px; }
}
