/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  --bg:        #0d0e16;
  --bg-2:      #12131e;
  --bg-3:      #181a28;
  --surface:   rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.08);
  --surface-3: rgba(255,255,255,.13);
  --ink:       #eeede8;
  --muted:     #7a8199;
  --muted-2:   #525870;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  --gold:      #f0c14b;
  --gold-2:    #f7d068;
  --gold-dark: #c49a2e;
  --gold-soft: rgba(240,193,75,.14);
  --gold-glow: rgba(240,193,75,.30);

  --red:       #e74c3c;
  --red-soft:  rgba(231,76,60,.15);
  --green:     #27ae60;
  --green-soft:rgba(39,174,96,.15);
  --crash-c:   #3498db;
  --crash-soft:rgba(52,152,219,.15);
  --danger:    #ff5252;
  --ok:        #2ecc71;

  --header-h:  62px;
  --alert-h:   30px;
  --catnav-h:  52px;
  --radius:    10px;
  --radius-lg: 16px;
  --ease:      cubic-bezier(.22,1,.36,1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
button, input, select, textarea, a { font: inherit; color: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

/* ─── BODY ───────────────────────────────────────────────────────────────── */
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

/* ─── TOP ALERT ──────────────────────────────────────────────────────────── */
.top-alert {
  height: var(--alert-h);
  background: #191a24;
  border-bottom: 1px solid rgba(240,193,75,.12);
  font-size: .72rem; letter-spacing: .04em; color: #9399a8; font-weight: 600;
}
.top-alert-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.75rem,2vw,1.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.top-alert-inner .alert-side:first-child { justify-self: start; }
.top-alert-inner .alert-link { justify-self: center; text-align: center; }
.top-alert-inner .alert-side:last-child { justify-self: end; text-align: right; }
.alert-link {
  color: var(--gold); font-weight: 700;
  border-bottom: 1px solid rgba(240,193,75,.3);
  white-space: nowrap;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.top-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.top-header-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.75rem,2vw,1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: Syne, sans-serif; font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.05em; color: var(--gold);
  display: flex; align-items: center;
  flex-shrink: 0;
}
.brand em { font-style: normal; color: #fff; }

.header-actions, .auth-btns, .nav-user {
  display: flex; gap: .45rem; align-items: center; justify-content: flex-end;
  flex-shrink: 0;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  appearance: none; border: 0; border-radius: 8px;
  padding: .58rem 1.1rem; font-weight: 700; font-size: .85rem;
  cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-login {
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-login:hover { background: var(--surface-3); }

.btn-register {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1a1000; box-shadow: 0 3px 14px var(--gold-glow);
}
.btn-register:hover { filter: brightness(1.08); box-shadow: 0 5px 22px var(--gold-glow); }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(240,193,75,.5);
}
.btn-outline-gold:hover { background: var(--gold-soft); border-color: var(--gold); }

/* ─── BALANCE / USER CHIP ────────────────────────────────────────────────── */
.balance-chip {
  font-family: "IBM Plex Mono", monospace; font-size: .78rem;
  padding: .48rem .85rem; border-radius: 8px;
  background: var(--gold-soft); border: 1px solid rgba(240,193,75,.25);
  color: var(--gold);
}
.user-chip {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .65rem .3rem .3rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .18s, background .18s;
}
.user-chip:hover { border-color: rgba(240,193,75,.3); background: var(--surface-2); }
.user-avatar {
  width: 1.65rem; height: 1.65rem; border-radius: 6px;
  display: grid; place-items: center;
  font-family: Syne, sans-serif; font-weight: 800; font-size: .7rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1000; flex-shrink: 0;
}
.user-name {
  font-weight: 700; font-size: .82rem;
  max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─── CATEGORY NAV ───────────────────────────────────────────────────────── */
.category-nav {
  position: sticky; top: var(--header-h); z-index: 55;
  height: var(--catnav-h);
  background: #0f1019;
  border-bottom: 1px solid rgba(240,193,75,.2);
  overflow-x: auto; scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.5rem,1.5vw,1rem);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .15rem;
  min-width: min-content;
}
.cat-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px;
  padding: 0 .85rem; min-width: 76px;
  font-size: .66rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
  cursor: pointer; white-space: nowrap;
  position: relative;
  flex: 0 0 auto;
}
.cat-nav-item:hover { color: var(--ink); background: var(--surface); }
.cat-nav-item.active {
  color: var(--gold); border-bottom-color: var(--gold);
  background: rgba(240,193,75,.06);
}
.cat-nav-ico {
  font-size: 1.05rem; line-height: 1;
  position: relative;
  display: inline-block;
}
.cat-nav-live .cat-nav-ico::after {
  content: ""; display: block; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  position: absolute; top: -2px; right: -4px;
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.6); }
}

/* ─── MAIN LAYOUT ────────────────────────────────────────────────────────── */
main { width: 100%; min-width: 0; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 clamp(.75rem,2vw,1.5rem); }

/* ─── VIEWS ──────────────────────────────────────────────────────────────── */
.view { display: none; animation: fadeUp .38s var(--ease) both; }
.view.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO SLIDER ────────────────────────────────────────────────────────── */
.hero-slider {
  position: relative; overflow: hidden;
  height: clamp(340px, 46vw, 500px);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0%, 5%   { opacity: 0; }
  10%, 28% { opacity: 1; }
  33%, 100%{ opacity: 0; }
}

.slide-casino {
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(240,193,75,.4) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(240,193,75,.12) 0%, transparent 50%),
    linear-gradient(135deg, #1a1408 0%, #0d0e16 55%, #150e04 100%);
}
.slide-sports {
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(39,174,96,.4) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(39,174,96,.12) 0%, transparent 50%),
    linear-gradient(135deg, #0a1a0e 0%, #0d0e16 55%, #061208 100%);
}
.slide-live {
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(231,76,60,.4) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(231,76,60,.12) 0%, transparent 50%),
    linear-gradient(135deg, #1a0808 0%, #0d0e16 55%, #120608 100%);
}
.slide-casino::after, .slide-sports::after, .slide-live::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(13,14,22,.85) 100%);
}

.hero-slide-content {
  position: relative; z-index: 2;
  width: 100%; padding: clamp(1.5rem,4vw,3rem) clamp(.75rem,2vw,1.5rem);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(240,193,75,.25);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.hero-slide h1 {
  font-family: Syne, sans-serif; font-weight: 800;
  font-size: clamp(2rem,6vw,4rem);
  line-height: .92; letter-spacing: -.04em;
  margin-bottom: .85rem; max-width: 14ch;
}
.hero-slide h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  color: rgba(255,255,255,.65); font-size: clamp(.88rem,1.4vw,1.05rem);
  max-width: 38ch; margin-bottom: 1.5rem; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions .btn { padding: .7rem 1.4rem; font-size: .9rem; }

.hero-deco {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  z-index: 1; pointer-events: none;
  font-size: clamp(5rem,15vw,12rem); opacity: .12;
  filter: blur(2px);
}

.hero-dots {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .45rem; z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.3);
  transition: all .3s ease;
  animation: dotFade 18s infinite;
}
.hero-dot:nth-child(1) { animation-delay: 0s; }
.hero-dot:nth-child(2) { animation-delay: 6s; }
.hero-dot:nth-child(3) { animation-delay: 12s; }
@keyframes dotFade {
  0%, 5%   { background: rgba(255,255,255,.3); width: 8px; }
  10%, 28% { background: var(--gold); width: 22px; }
  33%, 100%{ background: rgba(255,255,255,.3); width: 8px; }
}

/* ─── JACKPOT BAR ────────────────────────────────────────────────────────── */
.jackpot-bar {
  background: linear-gradient(135deg, #1a1408 0%, #14100a 100%);
  border-top: 1px solid rgba(240,193,75,.15);
  border-bottom: 1px solid rgba(240,193,75,.1);
  padding: 0;
}
.jackpot-inner {
  display: flex; align-items: stretch; min-height: 72px;
}
.jackpot-brand {
  display: flex; align-items: center; gap: .55rem;
  padding: 0 1.25rem; border-right: 1px solid rgba(240,193,75,.12);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); flex-shrink: 0; white-space: nowrap;
}
.jackpot-brand-ico { font-size: 1.1rem; }
.jackpot-amounts {
  flex: 1; display: flex; align-items: stretch;
}
.jackpot-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .15rem;
  padding: .75rem .5rem;
  border-right: 1px solid rgba(240,193,75,.07);
  transition: background .18s ease;
}
.jackpot-item:hover { background: rgba(240,193,75,.04); }
.jackpot-item:last-child { border-right: 0; }
.jackpot-tier {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.jackpot-mega .jackpot-tier { color: #f7c83a; }
.jackpot-major .jackpot-tier { color: #c0c0c0; }
.jackpot-minor .jackpot-tier { color: #cd7f32; }
.jackpot-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.9rem,1.8vw,1.25rem);
  font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.jackpot-mega .jackpot-value { color: var(--gold); font-size: clamp(1rem,2.2vw,1.5rem); }

/* ─── LIVE TICKER ────────────────────────────────────────────────────────── */
.live-ticker {
  display: flex; align-items: center;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  height: 40px; overflow: hidden;
}
.live-ticker-label {
  display: flex; align-items: center; gap: .45rem;
  padding: 0 1rem; flex-shrink: 0;
  border-right: 1px solid var(--line);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); height: 100%;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: live-pulse 1.4s ease-in-out infinite;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner {
  display: flex; animation: ticker 35s linear infinite; white-space: nowrap;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: .4rem;
  padding: 0 1.35rem; font-size: .8rem; font-weight: 600;
  border-right: 1px solid var(--line); height: 40px;
  color: var(--muted); flex-shrink: 0;
}
.ticker-item span:first-child { color: var(--ink); }
.ticker-amt { color: var(--ok); font-family: "IBM Plex Mono", monospace; font-size: .76rem; }

/* ─── FEATURED EVENTS ────────────────────────────────────────────────────── */
.events-section { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.section-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0 .6rem;
}
.section-bar-title {
  font-family: Syne, sans-serif; font-size: .8rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .5rem;
}
.section-bar-title::before {
  content: ""; width: 3px; height: 14px; background: var(--gold);
  border-radius: 2px; display: inline-block;
}
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; padding-bottom: 1rem;
}
.event-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem; overflow: hidden;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.event-card:hover { border-color: rgba(240,193,75,.25); transform: translateY(-2px); }
.event-league {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem;
}
.event-match {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: .5rem; align-items: center; margin-bottom: .7rem;
}
.event-team { font-size: .84rem; font-weight: 700; }
.event-team:last-child { text-align: right; }
.event-center { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.event-time { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.3; }
.event-vs {
  font-family: Syne, sans-serif; font-size: .68rem; font-weight: 800;
  color: var(--gold); letter-spacing: .08em;
}
.event-odds { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; }
.odds-btn {
  appearance: none; border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 8px; padding: .45rem .3rem; cursor: pointer; text-align: center;
  font-size: .72rem; color: var(--muted); line-height: 1.4;
  transition: all .18s ease;
}
.odds-btn strong { display: block; color: var(--ink); font-size: .86rem; }
.odds-btn:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.odds-btn:hover strong { color: var(--gold); }

/* ─── GAME SECTIONS (HOME) ───────────────────────────────────────────────── */
.games-section { padding: 1.25rem 0 1.75rem; }
.section-tabs-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.section-tabs {
  display: flex; gap: 0; overflow-x: auto;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 3px; scrollbar-width: none; flex-shrink: 0;
}
.section-tabs::-webkit-scrollbar { display: none; }
.sec-tab {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font-weight: 700; font-size: .75rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: color .18s, background .18s;
}
.sec-tab:hover { color: var(--ink); background: var(--surface-2); }
.sec-tab.active { background: var(--gold); color: #1a1000; }

.text-link {
  color: var(--gold); font-weight: 700; font-size: .84rem;
  display: flex; align-items: center; gap: .25rem;
  transition: gap .18s ease; flex-shrink: 0;
}
.text-link:hover { gap: .45rem; }

/* ─── GAME GRID ──────────────────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px,1fr));
  gap: .75rem;
}
.game-tile {
  position: relative; aspect-ratio: 3/4;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--bg-3);
  cursor: pointer; padding: 0; color: var(--ink); text-align: left;
  transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease;
}
.game-tile:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(240,193,75,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.game-tile .thumb {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(145deg, #1c2035, var(--bg-3));
  font-family: Syne, sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--gold);
}
.game-tile .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .42s var(--ease);
}
.game-tile:hover .thumb img { transform: scale(1.08); }
.game-tile .meta {
  position: absolute; inset: auto 0 0;
  padding: 2.5rem .7rem .75rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.94));
}
.game-tile .name {
  font-weight: 700; font-size: .82rem; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.game-tile .sub {
  margin-top: .18rem; font-size: .64rem; color: var(--gold);
  letter-spacing: .04em; text-transform: uppercase;
}
.game-tile-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s ease;
}
.game-tile:hover .game-tile-play { opacity: 1; }
.game-tile-play-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid; place-items: center;
  box-shadow: 0 4px 18px var(--gold-glow);
  color: #1a1000; font-size: 1rem;
  transform: scale(.8); transition: transform .2s var(--ease);
}
.game-tile:hover .game-tile-play-btn { transform: scale(1); }

.empty {
  grid-column: 1/-1; padding: 2.5rem 1rem; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); font-size: .88rem;
}
.status-line { color: var(--muted); font-size: .86rem; }
.status-line.err { color: var(--danger); }
.status-line.ok { color: var(--ok); }

/* ─── LOBBY ──────────────────────────────────────────────────────────────── */
.lobby-view-wrap { padding: 1.25rem clamp(.75rem,2vw,1.5rem) 3rem; }
.category-banner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.3rem; margin-bottom: 1.25rem; min-height: 130px;
}
.category-banner h2 {
  margin: .4rem 0 .3rem; font-family: Syne, sans-serif;
  font-size: clamp(1.4rem,2.8vw,2rem); letter-spacing: -.03em;
}
.category-banner p { margin: 0; color: var(--muted); font-size: .86rem; }
.category-banner.theme-slots {
  background: linear-gradient(145deg,rgba(240,193,75,.14),transparent 50%),var(--bg-3);
  border-color: rgba(240,193,75,.15);
}
.category-banner.theme-slots .cat-tag { color: var(--gold); }
.category-banner.theme-live {
  background: linear-gradient(145deg,rgba(231,76,60,.14),transparent 50%),var(--bg-3);
  border-color: rgba(231,76,60,.15);
}
.category-banner.theme-live .cat-tag { color: var(--red); }
.category-banner.theme-crash {
  background: linear-gradient(145deg,rgba(52,152,219,.14),transparent 50%),var(--bg-3);
  border-color: rgba(52,152,219,.15);
}
.category-banner.theme-crash .cat-tag { color: var(--crash-c); }
.category-banner.theme-sports {
  background: linear-gradient(145deg,rgba(39,174,96,.14),transparent 50%),var(--bg-3);
  border-color: rgba(39,174,96,.15);
}
.category-banner.theme-sports .cat-tag { color: var(--green); }

.category-banner.theme-account {
  background: linear-gradient(145deg, rgba(240,193,75,.1), transparent 55%), var(--bg-3);
  border-color: rgba(240,193,75,.12);
}
.category-banner.theme-account .cat-tag { color: var(--gold); }

.cat-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 6px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1);
}

.lobby-toolbar { margin-bottom: 1rem; }
.providers-wrap { margin-bottom: .85rem; }
.providers {
  display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .35rem;
  scrollbar-width: none;
}
.providers::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: 6px; padding: .42rem .85rem;
  font-weight: 600; font-size: .78rem; cursor: pointer; white-space: nowrap;
  transition: all .18s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--line-2); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #1a1000; }
.lobby-theme-live .chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.lobby-theme-crash .chip.active { background: var(--crash-c); border-color: var(--crash-c); color: #fff; }
.lobby-theme-sports .chip.active { background: var(--green); border-color: var(--green); color: #fff; }

.toolbar-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.toolbar-row input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.03); color: var(--ink);
  padding: .72rem 1rem; outline: none; transition: border-color .18s, background .18s;
}
.toolbar-row input:focus { border-color: rgba(240,193,75,.4); background: rgba(255,255,255,.05); }
.toolbar-row input::placeholder { color: var(--muted-2); }

/* ─── PLAY VIEW ──────────────────────────────────────────────────────────── */
.view[data-view="play"] { padding: 0; }
.view[data-view="play"].active { display: flex; flex-direction: column; min-height: 80vh; }
.play-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .72rem 1rem;
  background: rgba(5,6,10,.96); border-bottom: 1px solid var(--line);
}
.play-title {
  font-family: Syne, sans-serif; font-size: .92rem; font-weight: 700; color: var(--gold);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.play-frame { flex: 1; width: 100%; min-height: 70vh; border: 0; background: #000; }

/* ─── ACCOUNT ────────────────────────────────────────────────────────────── */
.view[data-view="account"] { padding: 1.25rem clamp(.75rem,2vw,1.5rem) 3rem; }
.account-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem; margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(240,193,75,.08), transparent 55%), var(--bg-3);
}
.account-hero-main h2 { margin: 0; font-family: Syne,sans-serif; font-size:1.6rem; letter-spacing:-.04em; }
.account-hero-row { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.account-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: Syne, sans-serif; font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1000;
  box-shadow: 0 4px 18px var(--gold-glow);
}
.account-hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.account-stat { display: flex; flex-direction: column; gap: .15rem; }
.account-stat-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 700;
}
.account-stat-value { font-family: "IBM Plex Mono",monospace; font-size: 1.25rem; color: var(--gold); }
.account-stat-value.bonus { color: var(--ok); }

.account-tabs {
  display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .4rem;
  margin-bottom: 1rem; scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: 8px; padding: .5rem 1rem;
  font-weight: 700; font-size: .82rem; cursor: pointer; transition: all .18s var(--ease);
}
.account-tab:hover { color: var(--ink); border-color: var(--line-2); }
.account-tab.active { background: var(--gold); border-color: var(--gold); color: #1a1000; }
.account-panel { display: none; }
.account-panel.active { display: block; animation: fadeUp .3s var(--ease) both; }
.account-global-status { margin-bottom: .75rem; }
.account-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: .9rem; }

.panel {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.panel-wide { grid-column: 1/-1; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: .85rem;
}
.panel-head h3 { margin: 0; }
.panel h3 { margin: 0 0 .55rem; font-family: Syne,sans-serif; font-size: 1rem; letter-spacing: -.02em; }
.panel label {
  display: block; margin: .75rem 0 .3rem;
  font-size: .67rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.panel label:first-of-type { margin-top: 0; }
.panel input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink);
  padding: .72rem .9rem; margin-bottom: .7rem; outline: none;
  transition: border-color .18s ease;
}
.panel input:focus { border-color: rgba(240,193,75,.4); }
.panel .btn { margin-top: .2rem; }
.info-list { margin: 0; display: grid; gap: .55rem; }
.info-list > div {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { margin: 0; font-size: .83rem; color: var(--muted); font-weight: 600; }
.info-list dd { margin: 0; font-weight: 700; font-size: .87rem; }
.quick-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.quick-stat {
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0,0,0,.2); padding: 1rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.quick-stat span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.quick-stat strong { font-family: Syne,sans-serif; font-size: 1.3rem; color: var(--gold); }
.deposit-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.deposit-row input {
  flex: 1; min-width: 130px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink); padding: .72rem .9rem;
  margin-bottom: 0; outline: none; transition: border-color .18s ease;
}
.deposit-row input:focus { border-color: rgba(240,193,75,.4); }

/* ─── DATA TABLES ────────────────────────────────────────────────────────── */
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.data-table th, .data-table td {
  padding: .68rem .85rem; text-align: left; border-bottom: 1px solid var(--line);
}
.data-table th {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted-2); font-weight: 700; background: rgba(0,0,0,.15);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .14s ease; }
.data-table tbody tr:hover { background: var(--surface); }
.data-table .amount-pos { color: var(--ok); font-family: "IBM Plex Mono",monospace; }
.data-table .amount-neg { color: var(--danger); font-family: "IBM Plex Mono",monospace; }

.badge {
  display: inline-flex; align-items: center;
  padding: .18rem .5rem; border-radius: 6px;
  font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-ok { background: rgba(46,204,113,.12); color: var(--ok); border: 1px solid rgba(46,204,113,.25); }
.badge-warn { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(240,193,75,.25); }
.badge-err { background: rgba(255,82,82,.12); color: var(--danger); border: 1px solid rgba(255,82,82,.25); }
.badge-muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.pager { display: flex; gap: .35rem; align-items: center; }
.pager-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 7px; padding: .3rem .6rem; font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.pager-btn:hover:not(:disabled) { color: var(--ink); border-color: var(--line-2); }
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-info { font-size: .78rem; color: var(--muted); }
.security-tips { padding-left: 1.1rem; color: var(--muted); font-size: .88rem; line-height: 1.8; }

/* ─── PROMOTIONS PAGE ────────────────────────────────────────────────────── */
.view[data-view="promotions"] { padding-bottom: 3rem; }

.promo-page-hero {
  position: relative; overflow: hidden;
  min-height: 200px; display: flex; align-items: flex-end;
  padding: clamp(1.5rem,4vw,2.5rem) clamp(.75rem,2vw,1.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 90% 30%, rgba(240,193,75,.35) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(231,76,60,.18) 0%, transparent 50%),
    linear-gradient(145deg, #1a1408, #0d0e16 60%, #12100e);
  border-bottom: 1px solid rgba(240,193,75,.15);
}
.promo-page-hero h1 {
  font-family: Syne, sans-serif; font-weight: 800;
  font-size: clamp(2rem,5vw,3.2rem); letter-spacing: -.04em;
  line-height: .92; position: relative; z-index: 1;
}
.promo-page-hero h1 span { color: var(--gold); }
.promo-page-hero p {
  color: rgba(255,255,255,.55); font-size: .95rem; margin-top: .65rem;
  max-width: 40ch; position: relative; z-index: 1;
}
.promo-page-hero-deco {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: clamp(4rem,12vw,9rem); opacity: .1; pointer-events: none;
}

.promo-filter-bar {
  display: flex; gap: .5rem; overflow-x: auto; padding: 1rem clamp(.75rem,2vw,1.5rem);
  border-bottom: 1px solid var(--line); background: var(--bg-2);
  scrollbar-width: none;
}
.promo-filter-bar::-webkit-scrollbar { display: none; }
.promo-filter {
  appearance: none; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--muted); border-radius: 8px; padding: .5rem 1.1rem;
  font-weight: 700; font-size: .8rem; cursor: pointer; white-space: nowrap;
  transition: all .18s ease;
}
.promo-filter:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }
.promo-filter.active { background: var(--gold); border-color: var(--gold); color: #1a1000; }

.promo-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 1rem; padding: 1.25rem clamp(.75rem,2vw,1.5rem);
}
.promo-bonus-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
}
.promo-bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  border-color: var(--line-2);
}
.promo-bonus-card[data-cat].hidden { display: none; }

.promo-card-banner {
  height: 140px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 1rem 1.25rem;
}
.promo-card-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%);
}
.promo-card-deco {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 4.5rem; opacity: .2; pointer-events: none; z-index: 1;
}
.promo-card-amount {
  font-family: Syne, sans-serif; font-weight: 800;
  font-size: clamp(1.6rem,3.5vw,2.4rem); letter-spacing: -.04em;
  line-height: 1; position: relative; z-index: 2;
}
.promo-card-body { padding: 1.1rem 1.25rem 1.25rem; background: var(--bg-3); }
.promo-card-type {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .4rem; display: flex; align-items: center; gap: .4rem;
}
.promo-card-type-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.promo-card-title {
  font-family: Syne, sans-serif; font-size: 1.08rem;
  font-weight: 700; letter-spacing: -.02em; margin-bottom: .45rem;
}
.promo-card-desc {
  font-size: .84rem; color: var(--muted); line-height: 1.5; margin-bottom: .9rem;
}
.promo-card-terms {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem;
}
.promo-term {
  display: flex; align-items: center; gap: .3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: .28rem .6rem;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.promo-term-label { color: var(--muted-2); font-weight: 600; margin-right: .1rem; }
.promo-card-actions { display: flex; gap: .5rem; }

/* Banner color themes */
.promo-banner-gold {
  background: linear-gradient(135deg, #2a1e04 0%, #1a1408 40%, #0d0a04 100%);
}
.promo-banner-gold .promo-card-amount { color: var(--gold); }
.promo-banner-red {
  background: linear-gradient(135deg, #2a0808 0%, #1a0808 40%, #0d0606 100%);
}
.promo-banner-red .promo-card-amount { color: #ff6b6b; }
.promo-banner-green {
  background: linear-gradient(135deg, #082a10 0%, #081a0a 40%, #040d06 100%);
}
.promo-banner-green .promo-card-amount { color: #6eff9a; }
.promo-banner-blue {
  background: linear-gradient(135deg, #080d2a 0%, #08101a 40%, #04060d 100%);
}
.promo-banner-blue .promo-card-amount { color: #6ba8ff; }
.promo-banner-purple {
  background: linear-gradient(135deg, #15082a 0%, #10081a 40%, #08040d 100%);
}
.promo-banner-purple .promo-card-amount { color: #c46bff; }
.promo-banner-orange {
  background: linear-gradient(135deg, #2a1408 0%, #1a0e04 40%, #0d0704 100%);
}
.promo-banner-orange .promo-card-amount { color: #ffa56b; }

/* ─── AUTH / MODAL ───────────────────────────────────────────────────────── */
.auth-switch { margin: 1rem 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.link-btn {
  appearance: none; border: 0; background: none; color: var(--gold);
  font-weight: 700; cursor: pointer; padding: 0; font: inherit;
}
.link-btn:hover { text-decoration: underline; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .73rem; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.75); backdrop-filter: blur(12px);
  display: grid; place-items: center; padding: 1rem;
}
.modal {
  width: min(440px,100%);
  background: #14151f; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 1.5rem;
  animation: fadeUp .28s var(--ease) both;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}
.modal-auth { width: min(540px,100%); max-height: min(92vh,900px); overflow-y: auto; }
.auth-top-row { display: flex; justify-content: flex-end; margin-bottom: .45rem; }
.auth-switch-inline { font-size: .79rem; color: var(--muted); }
.auth-switch-inline strong { color: var(--gold); font-weight: 700; }
.auth-title-ico { margin-right: .35rem; color: var(--gold); }
.field-hint { margin: -.3rem 0 .9rem !important; font-size: .76rem !important; line-height: 1.5 !important; color: #8892a8 !important; }
.password-wrap { position: relative; margin-bottom: .85rem; }
.password-wrap input { margin-bottom: 0 !important; padding-right: 2.6rem; }
.pw-toggle {
  position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: .9rem; line-height: 1; padding: .2rem;
}
.dob-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: .5rem; margin-bottom: .35rem; }
.modal h3 { margin: 0 0 .45rem; font-family: Syne,sans-serif; font-size: 1.3rem; letter-spacing: -.03em; }
.modal p { margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.modal label {
  display: block; margin-bottom: .3rem;
  font-size: .68rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.modal input, .modal select, .modal textarea {
  width: 100%; margin-bottom: .85rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.35); color: var(--ink); padding: .72rem .9rem;
  outline: none; transition: border-color .18s ease;
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  border-color: rgba(240,193,75,.4);
}
.modal input::placeholder { color: var(--muted-2); }
.modal select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8199' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}
.modal textarea { resize: vertical; min-height: 72px; }
.modal-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: #090a12; border-top: 1px solid var(--line); }
.footer-top {
  display: grid; grid-template-columns: 2fr repeat(4,1fr);
  gap: 2rem; padding: 2.5rem clamp(.75rem,2vw,1.5rem) 1.75rem;
}
.footer-brand a.brand { display: block; margin-bottom: .8rem; font-size: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: .82rem; line-height: 1.65; max-width: 28ch; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social-btn {
  display: flex; align-items: center; gap: .4rem;
  padding: .42rem .85rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--muted);
  transition: all .18s ease;
}
.footer-social-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface-2); }
.footer-col-title {
  font-family: Syne, sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 1rem; padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}
.footer-col a {
  display: block; font-size: .81rem; color: var(--muted);
  padding: .32rem 0; transition: color .18s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-col a::before { content: "›"; margin-right: .4rem; color: var(--muted-2); }

.footer-payments {
  border-top: 1px solid var(--line);
  padding: 1.1rem clamp(.75rem,2vw,1.5rem);
}
.footer-payments-title {
  font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: .75rem;
}
.footer-payment-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.payment-badge {
  display: flex; align-items: center; gap: .35rem;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 8px; padding: .38rem .75rem;
  font-size: .72rem; font-weight: 700; color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: .85rem clamp(.75rem,2vw,1.5rem);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: .75rem;
  font-size: .75rem; color: var(--muted-2);
}
.footer-bottom strong { color: var(--gold); font-family: Syne,sans-serif; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-legal a { color: var(--muted-2); font-size: .74rem; }
.footer-legal a:hover { color: var(--muted); }

/* ─── MOBILE NAV ─────────────────────────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 65;
  background: rgba(10,11,18,.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5,1fr); gap: .15rem;
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  padding: .42rem .2rem; border-radius: 10px;
  color: var(--muted); font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; transition: color .18s ease, background .18s ease;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: var(--gold-soft); }
.mnav-ico { font-size: 1rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .events-grid .event-card:last-child { display: none; }
}

@media (max-width: 900px) {
  .top-alert-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }
  .top-alert-inner .alert-side { display: none; }
  .user-name { display: none; }
  .mobile-nav { display: grid; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .account-grid, .quick-stats { grid-template-columns: 1fr; }
  .toolbar-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1/-1; }
  .promo-cards-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .events-grid .event-card:last-child { display: block; }
  .cat-nav-inner { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(128px,1fr)); gap: .55rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col:not(.footer-brand):not(:nth-child(2)) { display: none; }
  .hero-deco { display: none; }
  .jackpot-brand { display: none; }
  .account-hero-stats { width: 100%; margin-top: .65rem; }
}

@media (max-width: 480px) {
  .cat-nav-item { min-width: 68px; padding: 0 .65rem; font-size: .62rem; }
}

/* ─── LEGAL / KYC UI ─────────────────────────────────────────────────────── */
.legal-page {
  padding: 2.5rem clamp(.75rem,2vw,1.5rem) 4rem;
  max-width: 820px;
}
.legal-page h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .4rem;
}
.legal-meta { color: var(--muted); margin-bottom: 1.75rem; font-size: .9rem; }
.legal-page section { margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.05rem; margin-bottom: .45rem; color: var(--gold); }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.65; }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.payload-fields { display: grid; gap: .55rem; margin: .35rem 0 .75rem; }
.payload-fields:empty { display: none; }
