/* Lime — Club 21 homepage concept
   Charcoal-purple base, lime primary, violet secondary. Maximal, gamified. */

:root {
  --page: #1B1D2B;
  --side: #161826;
  --s1: #23253A;
  --s2: #2B2E46;
  --s3: #343854;
  --line: #353857;
  --text: #FFFFFF;
  --muted: #9AA0C3;
  --lime: #24EE89;
  --lime-deep: #17C86F;
  --lime-soft: rgba(36, 238, 137, 0.14);
  --on-lime: #0E1A14;
  --violet: #7B61FF;
  --violet-fill: #6B50F5;
  --violet-soft: rgba(123, 97, 255, 0.16);
  --loss: #FF6B7A;
  --btc: #F7931A; --eth: #8A92B2; --usdt: #26A17B; --usdc: #2775CA; --ltc: #B8C4E0; --sol: #9945FF; --trx: #EF4444;
  --r-sm: 6px; --r: 8px; --r-md: 12px; --r-lg: 16px;
  --side-w: 240px;
  --top-h: 64px;
  --gutter: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 500 14px/1.45 var(--font);
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: inline-block; vertical-align: middle; flex: none; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 8px 12px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.col { min-width: 0; display: flex; flex-direction: column; }
.main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter) 48px; display: flex; flex-direction: column; gap: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r);
  font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn--primary { background: var(--lime); color: var(--on-lime); font-weight: 800; box-shadow: 0 6px 18px -8px rgba(36, 238, 137, .7); }
.btn--primary:hover { background: #4DF5A0; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); background: var(--lime-deep); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--s1); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--muted); background: var(--s1); }
.btn--lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--s1); color: var(--text); cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.iconbtn:hover:not(:disabled) { background: var(--s2); border-color: var(--muted); }
.iconbtn:disabled { opacity: .35; cursor: default; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime) 0%, #12B76A 100%);
  color: var(--on-lime); font-size: 13px; font-weight: 800; letter-spacing: -.04em;
  box-shadow: 0 0 0 1px rgba(36,238,137,.25), 0 6px 16px -6px rgba(36,238,137,.7);
}
.logo__word b { color: var(--lime); font-weight: 800; }

/* ---------- Sidebar ---------- */
.sidebar {
  background: var(--side); border-right: 1px solid var(--line);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.sidebar__top { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.sidebar__close { display: none; }
.sidenav { display: flex; flex-direction: column; flex: 1; padding: 16px 12px; gap: 16px; }

.sidenav__perks { display: flex; flex-direction: column; gap: 6px; padding: 6px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-md); }
.perk { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r); position: relative; transition: background-color .15s var(--ease); }
.perk:hover { background: var(--s2); }
.perk__icon { width: 32px; height: 32px; border-radius: var(--r); display: grid; place-items: center; }
.perk__icon--lime { background: var(--lime-soft); color: var(--lime); }
.perk__icon--violet { background: var(--violet-soft); color: #A896FF; }
.perk__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.perk__title { font-weight: 700; font-size: 13px; }
.perk__sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.perk__dot { position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }

.sidenav__list { display: flex; flex-direction: column; gap: 2px; }
.sidenav__item {
  display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px;
  border-radius: var(--r); color: var(--muted); font-weight: 700; font-size: 14px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.sidenav__item:hover { background: var(--s1); color: var(--text); }
.sidenav__item.is-active { background: var(--s2); color: var(--text); box-shadow: inset 3px 0 0 var(--lime); }
.sidenav__item.is-active svg { color: var(--lime); }
.sidenav__tag { margin-left: auto; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--violet-fill); color: #fff; }

.sidenav__foot { margin-top: auto; padding: 12px 4px 4px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.sidenav__lang { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 8px; }
.sidenav__age { font-size: 11px; color: var(--muted); padding: 0 8px; font-weight: 600; }

.backdrop { position: fixed; inset: 0; background: rgba(10, 11, 20, .7); z-index: 40; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter);
  background: rgba(27, 29, 43, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar__menu { display: none; }
.logo--top { display: none; }
.search {
  flex: 1; max-width: 460px; height: 40px; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--muted); transition: border-color .15s var(--ease);
}
.search:focus-within { border-color: var(--lime); color: var(--text); }
.search__input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-weight: 600; outline: none; }
.search__input::placeholder { color: var(--muted); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Language menu */
.lang { position: relative; }
.lang__btn { padding: 0 10px; font-weight: 700; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; z-index: 50;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); display: grid; gap: 2px;
}
.lang__menu--up { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
.lang__menu button { width: 100%; text-align: left; background: transparent; border: 0; padding: 9px 12px; border-radius: var(--r); font-weight: 600; cursor: pointer; }
.lang__menu button:hover { background: var(--s2); }
.lang__menu [aria-selected="true"] button { color: var(--lime); background: var(--lime-soft); }

/* ---------- Common bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow--lime { color: var(--lime); }
.eyebrow--violet { color: #A896FF; }
.card__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin-top: 6px; }
.card__sub { color: var(--muted); font-weight: 600; margin-top: 6px; }

.badge { position: absolute; z-index: 2; top: 8px; left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; line-height: 1.3; }
.badge--new { background: var(--violet-fill); color: #fff; box-shadow: 0 4px 12px -4px rgba(123,97,255,.8); }
.badge--live { background: rgba(27,29,43,.85); color: var(--text); padding-left: 18px; }
.badge--live::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--loss); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.hero__card { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }

.hero__welcome {
  min-height: 320px; justify-content: center;
  background: linear-gradient(120deg, #22263D 0%, #1E2A33 55%, #1B2F2B 100%);
  border-color: rgba(36, 238, 137, .28);
  box-shadow: 0 0 0 1px rgba(36,238,137,.08), 0 24px 60px -30px rgba(36,238,137,.45);
}
.hero__glow { position: absolute; inset: auto -10% -40% auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(36,238,137,.28), transparent 70%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; max-width: 56%; display: flex; flex-direction: column; gap: 12px; }
.hero__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hero__sub { color: var(--muted); font-weight: 600; font-size: 15px; max-width: 34ch; }
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.hero__terms { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.hero__terms:hover { color: var(--text); }
.hero__bullets { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.hero__bullets li { display: inline-flex; align-items: center; gap: 6px; }
.hero__bullets svg { color: var(--lime); }

.fan { position: absolute; right: 24px; top: 50%; width: 44%; height: 86%; transform: translateY(-50%); pointer-events: none; }
.fan__img {
  position: absolute; width: 42%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); transform-origin: 50% 100%;
}
.fan__img--1 { left: 0; bottom: 6%; transform: rotate(-16deg); z-index: 1; opacity: .9; }
.fan__img--2 { left: 20%; bottom: 10%; transform: rotate(-6deg); z-index: 2; }
.fan__img--3 { left: 40%; bottom: 12%; transform: rotate(5deg); z-index: 3; box-shadow: 0 0 0 1px rgba(36,238,137,.5), 0 0 40px -6px rgba(36,238,137,.7), 0 18px 40px -12px rgba(0,0,0,.7); }
.fan__img--4 { left: 58%; bottom: 4%; transform: rotate(15deg); z-index: 2; opacity: .9; }

/* Daily spin card */
.hero__daily { gap: 14px; }
.daily__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.wheel { flex: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.tasks { display: flex; flex-direction: column; gap: 6px; }
.task { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--s2); border-radius: var(--r); font-weight: 600; font-size: 13px; }
.task__check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); color: transparent; flex: none; }
.task.is-done .task__check { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.task__label { flex: 1; min-width: 0; }
.task.is-done .task__label { color: var(--muted); }
.task__xp { font-size: 12px; font-weight: 800; color: #A896FF; font-variant-numeric: tabular-nums; }
.daily__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.daily__progress { color: var(--muted); font-weight: 600; font-size: 13px; }

/* Rakeback card */
.hero__rake { gap: 4px; background: linear-gradient(160deg, #23253A 0%, #262244 100%); }
.rake__big { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.rake__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.rake__tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; background: var(--violet-fill); color: #fff; }
.hero__rake .card__title { margin-top: 10px; }
.rake__meter { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.rake__coin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--s3); color: var(--text); border: 1px solid var(--line); }
.rake__coin--lime { background: var(--lime); color: var(--on-lime); border-color: transparent; }
.rake__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--s3); overflow: hidden; position: relative; }
.rake__bar span { position: absolute; inset: 0; width: 45%; background: linear-gradient(90deg, var(--violet), var(--lime)); border-radius: 999px; animation: rakeflow 2.4s var(--ease) infinite; }
@keyframes rakeflow { 0% { transform: translateX(-100%); } 100% { transform: translateX(240%); } }
.hero__rake .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -12px; }
.stat { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; flex-wrap: wrap; }
.stat__label { color: var(--muted); font-weight: 600; font-size: 13px; }
.stat__value { margin-left: auto; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.stat__value small { font-size: 12px; color: var(--muted); font-weight: 700; }
.stat__value--lime { color: var(--lime); }
.stat__meta { flex-basis: 100%; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: -4px; }
.stat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); animation: pulse 1.8s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--lime-soft); } 50% { box-shadow: 0 0 0 6px rgba(36,238,137,.06); } }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--s1); color: var(--muted); font-weight: 700; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.chip:hover { color: var(--text); background: var(--s2); }
.chip.is-active { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 800; }

/* ---------- Game rows ---------- */
.row { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.row__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row__title { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.row__title svg { color: var(--lime); }
.row__tools { display: flex; align-items: center; gap: 6px; }
.row__all { color: var(--muted); font-weight: 700; margin-right: 6px; padding: 6px 8px; border-radius: var(--r-sm); }
.row__all:hover { color: var(--text); background: var(--s1); }
.row--static .row__prev, .row--static .row__next { display: none; }

.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0;
  padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }

.tile { display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; min-width: 0; border-radius: var(--r); }
.tile__img { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--s2); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__img { transform: translateY(-4px); border-color: rgba(36,238,137,.5); box-shadow: 0 14px 28px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(36,238,137,.2); }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,29,43,.35), transparent 40%); opacity: 0; transition: opacity .2s var(--ease); }
.tile:hover .tile__img::after { opacity: 1; }
.tile__name { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.tile__prov { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--s1); border: 1px solid var(--line); padding: 2px 7px; border-radius: 999px; margin: -2px 0 0 2px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tile__prov--orig { color: var(--lime); border-color: rgba(36,238,137,.3); background: var(--lime-soft); }

/* ---------- Live bets ---------- */
.bets { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.bets__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bets__head .row__title { gap: 10px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--page); border-radius: var(--r); border: 1px solid var(--line); }
.tab { height: 32px; padding: 0 14px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--s2); color: var(--text); }
.bets__scroll { overflow-x: auto; }
.bets__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.bets__table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px 20px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.bets__table td { padding: 12px 20px; border-top: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.bets__table tbody tr:nth-child(even) td { background: rgba(43, 46, 70, .35); }
.bets__table tbody tr:hover td { background: var(--s2); }
.bets__table .num { text-align: right; }
.bets__game { font-weight: 700; }
.bets__game:hover { color: var(--lime); }
.bets__player { color: var(--muted); }
.bets__player svg { margin-right: 6px; color: var(--muted); }
.col-time { color: var(--muted); }
.coin { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; background: var(--s2); border: 1px solid var(--line); color: var(--muted); }
.coin--btc { color: #FFB25C; }
.coin--eth { color: #C4CAE6; }
.coin--usdt { color: #4FD6A4; }
.mult { font-weight: 800; color: var(--text); }
.mult--hot { color: var(--lime); text-shadow: 0 0 14px rgba(36,238,137,.45); }
.mult--loss, .pay--loss { color: var(--muted); }
.pay { font-weight: 800; }
.pay--loss { font-weight: 600; }

/* ---------- Promotions ---------- */
.promos { display: flex; flex-direction: column; gap: 14px; }
.promos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promo { position: relative; display: flex; min-height: 200px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.promo__copy { position: relative; z-index: 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; width: 68%; }
.promo__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.promo__sub { color: var(--muted); font-weight: 600; font-size: 13px; flex: 1; }
.promo__copy .btn { align-self: flex-start; margin-top: 4px; }
.promo__art { position: absolute; right: -6%; top: -8%; width: 46%; height: 116%; object-fit: cover; transform: rotate(8deg); border-radius: 12px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--s1) 45%, rgba(35,37,58,.55) 70%, transparent 100%); z-index: 1; pointer-events: none; }
.promo--welcome { background: linear-gradient(120deg, #1E2C33, #23253A); border-color: rgba(36,238,137,.28); }
.promo--welcome::after { background: linear-gradient(90deg, #1E2C33 45%, rgba(30,44,51,.55) 70%, transparent 100%); }
.promo--rake { border-color: rgba(123,97,255,.35); }
.promo--race .eyebrow { color: #FFB25C; }

/* ---------- VIP ---------- */
.vip { background: linear-gradient(135deg, #23253A 0%, #26224A 100%); border: 1px solid rgba(123,97,255,.35); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.vip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.vip__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.vip__progress { display: flex; flex-direction: column; gap: 8px; }
.vip__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.vip__meta b { color: var(--text); }
.vip__bar { height: 10px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); overflow: hidden; }
.vip__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--violet-fill), #A896FF); box-shadow: 0 0 16px rgba(123,97,255,.6); }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tier { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tier.is-next { border-color: var(--violet); box-shadow: 0 0 0 1px rgba(123,97,255,.25), 0 12px 24px -12px rgba(123,97,255,.6); }
.tier__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--on-lime); }
.tier__icon--bronze { background: linear-gradient(135deg, #D08A5A, #9A5B32); }
.tier__icon--silver { background: linear-gradient(135deg, #DDE3F2, #9AA3BE); }
.tier__icon--gold { background: linear-gradient(135deg, #FFD76A, #D19A1E); }
.tier__icon--platinum { background: linear-gradient(135deg, #C9F2FF, #7FB6D6); }
.tier__icon--diamond { background: linear-gradient(135deg, #C8B6FF, var(--violet)); }
.tier__name { font-weight: 800; font-size: 15px; margin-top: 4px; }
.tier__line { color: var(--muted); font-weight: 600; font-size: 12px; line-height: 1.4; }

/* ---------- Payments ---------- */
.payments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.payments__title { font-size: 16px; font-weight: 800; }
.payments__coins { display: flex; flex-direction: column; gap: 14px; }
.coins { display: flex; flex-wrap: wrap; gap: 10px; }
.coinglyph { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); font-weight: 800; font-size: 12px; letter-spacing: .02em; }
.coinglyph::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c, var(--muted)); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.25), transparent 50%), var(--c, var(--muted)); box-shadow: inset 0 0 0 3px rgba(27,29,43,.35); }
.coinglyph--btc { --c: var(--btc); }
.coinglyph--eth { --c: var(--eth); }
.coinglyph--usdt { --c: var(--usdt); }
.coinglyph--usdc { --c: var(--usdc); }
.coinglyph--ltc { --c: var(--ltc); }
.coinglyph--sol { --c: var(--sol); }
.coinglyph--trx { --c: var(--trx); }
.coinglyph--eur::before { display: none; }
.coinglyph--eur { padding-left: 12px; color: var(--text); }
.coinglyph--eur svg { color: var(--lime); }
.payments__note { color: var(--muted); font-weight: 600; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); }
.facts li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts b { font-weight: 800; font-size: 13px; }
.facts small { color: var(--muted); font-weight: 600; font-size: 12px; }
.fact__icon { flex: none; width: 34px; height: 34px; border-radius: var(--r); background: var(--lime-soft); color: var(--lime); display: grid; place-items: center; }

/* ---------- Providers ---------- */
.providers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.providers li { color: var(--muted); font-weight: 800; font-size: 15px; letter-spacing: -.01em; text-transform: uppercase; opacity: .8; transition: color .15s var(--ease), opacity .15s var(--ease); }
.providers li:hover { color: var(--text); opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--side); border-top: 1px solid var(--line); margin-top: auto; }
.footer__grid { max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 24px; display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand p { color: var(--muted); font-weight: 600; max-width: 32ch; }
.footer__brand .lang__btn { border: 1px solid var(--line); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer__col a { color: var(--muted); font-weight: 600; width: fit-content; }
.footer__col a:hover { color: var(--text); }
.footer__legal { max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter) 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-weight: 600; font-size: 13px; }
.footer__legal .age { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; border: 2px solid var(--muted); font-size: 11px; font-weight: 800; color: var(--text); margin-right: 6px; }
.footer__copy { margin-top: 8px; font-size: 12px; }

/* ---------- Bottom nav (mobile) ---------- */
.bottomnav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .track { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__welcome { grid-column: 1 / -1; min-height: 300px; }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 50;
    transform: translateX(-100%); transition: transform .25s var(--ease); visibility: hidden;
  }
  .sidebar.is-open { transform: none; visibility: visible; }
  .sidebar__close { display: inline-flex; }
  .topbar__menu { display: inline-flex; }
  .logo--top { display: inline-flex; }
  .track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .payments { grid-template-columns: minmax(0, 1fr); }
  .bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: 60px;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(22, 24, 38, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottomnav a, .bottomnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: transparent; border: 0; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
  .bottomnav .is-active { color: var(--lime); }
  .main { padding-bottom: 96px; }
  .footer { padding-bottom: 60px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --top-h: 56px; }
  .topbar { gap: 8px; }
  .search { max-width: none; order: 10; flex-basis: 100%; height: 38px; }
  .topbar { flex-wrap: wrap; height: auto; padding-block: 8px 10px; }
  .topbar__actions .lang { display: none; }
  .btn--ghost:not(.lang__btn) { padding: 0 10px; }
  .main { gap: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__welcome { min-height: 0; padding: 20px; }
  .hero__copy { max-width: none; }
  .hero__title { font-size: 28px; }
  .fan { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 190px; margin-top: 18px; }
  .fan__img { width: 30%; bottom: 0; }
  .fan__img--1 { left: 4%; }
  .fan__img--2 { left: 24%; }
  .fan__img--3 { left: 44%; }
  .fan__img--4 { left: 64%; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: -8px; }
  .stat { padding: 10px 14px; }
  .track { grid-auto-columns: calc((100% - 2 * 10px) / 2.6); gap: 10px; }
  .row__title { font-size: 16px; }
  .bets__head { padding: 14px 16px; }
  .bets__table th, .bets__table td { padding-left: 14px; padding-right: 14px; }
  .col-time { display: none; }
  .bets__table { min-width: 520px; }
  .promos__grid { grid-template-columns: minmax(0, 1fr); }
  .promo { min-height: 170px; }
  .vip { padding: 18px; }
  .vip__title { font-size: 19px; }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier:last-child { grid-column: 1 / -1; }
  .payments { padding: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .providers ul { gap: 8px 20px; }
  .providers li { font-size: 13px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .track { grid-auto-columns: calc((100% - 10px) / 2.2); }
  .hero__cta .btn--lg { width: 100%; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stat__dot { box-shadow: 0 0 0 3px var(--lime-soft); }
}
