/* Slate Bold — Club 21 homepage concept, round three.

   A sibling to Slate, not a replacement. The shell is the same product:
   fixed left sidebar, dense 8px grid, Inter at 14px, blue-slate surfaces,
   and a lower page (live bets, promotions, VIP, payments, providers,
   footer) that stays deliberately quiet.

   The difference lives in the first screen:
   - a full-bleed hero that fills the viewport, built from real artwork in
     two depth layers (a rotated back wall, three large lead titles in
     front) with scrim and light doing the work instead of decoration;
   - a display-scale offer line, so the brand has a face;
   - a brighter, more saturated blue carried with conviction, plus one
     electric cyan reserved for live / now signals;
   - section headings with a marker and a rule, so the page has rhythm
     rather than a flat stack of rows. */

:root {
  --bg: #0E1F2B;              /* page ground */
  --bar: #182A36;             /* bars, console, quiet slabs */
  --tile: #213743;            /* cards */
  --hover: #2F4553;           /* hover / raised fill */
  --raise: #24404F;           /* top of raised gradients */
  --sunk: #0A1822;            /* below the page ground: table heads, tracks */
  --text: #FFFFFF;
  --muted: #B1BAD3;

  /* accent: a vivid blue that still clears 4.5:1 under white text */
  --accent: #0D6EFD;
  --accent-hover: #2D82FF;
  --accent-soft: rgba(13, 110, 253, .18);
  --accent-glow: rgba(13, 110, 253, .55);
  --link: #63AEFF;
  --link-hi: #9BCCFA;

  /* the one secondary hue: live and now, nothing else */
  --live: #22D3EE;
  --live-soft: rgba(34, 211, 238, .18);

  --win: #00E701;

  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);

  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --content: 1240px;
  --gutter: 24px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  --topbar: 64px;

  /* sidebar state: wide by default, rail when collapsed or narrow */
  --sb-w: 240px;
  --label-d: inline;
  --side-jc: flex-start;
  --side-px: 16px;
}

body.compact { --topbar: 52px; }

body.rail {
  --sb-w: 64px;
  --label-d: none;
  --side-jc: center;
  --side-px: 0;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 16px; height: 16px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.tiles:focus-visible { outline-offset: 0; }

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  padding: 8px 12px; background: var(--accent); color: var(--text); border-radius: var(--radius); font-weight: 600;
}
.skip:focus { top: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow .ic { width: 14px; height: 14px; }
.eyebrow-accent { color: var(--link-hi); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap;
  cursor: pointer; background: transparent; color: var(--text);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-primary {
  background: var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -10px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 12px 26px -10px var(--accent-glow); }
.btn-ghost:hover { background: var(--hover); }
.btn-tile { background: var(--hover); }
.btn-tile:hover { background: #3A536A; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }
.btn-xl {
  height: 56px; padding: 0 36px; font-size: 17px; letter-spacing: -.01em;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 14px 34px -12px var(--accent-glow), 0 0 0 1px rgba(13, 110, 253, .5);
}
.btn-xl:hover { transform: translateY(-1px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: var(--hover); }

.round {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--tile); color: var(--text); cursor: pointer;
  transition: background-color .15s ease;
}
.round:hover { background: var(--hover); }
.round .ic { width: 18px; height: 18px; }

.text-link { color: var(--link); font-weight: 600; }
.text-link:hover { color: var(--text); text-decoration: underline; }

/* ---------- sidebar (unchanged from the calm sibling) ---------- */

.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 30;
  width: var(--sb-w);
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px 10px 16px;
  background: var(--bar);
  box-shadow: 1px 0 0 rgba(0, 0, 0, .45);
  transition: width .2s ease;
}
.side-head { height: 44px; display: flex; align-items: center; justify-content: var(--side-jc); padding: 0 2px; }

.side-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 0; border-top: 1px solid var(--line);
}
.side-nav a {
  display: flex; align-items: center; justify-content: var(--side-jc); gap: 12px;
  height: 44px; padding: 0 var(--side-px);
  border-radius: var(--radius);
  color: var(--text); font-weight: 600;
  transition: background-color .15s ease;
}
.side-nav a:hover { background: var(--hover); }
.side-nav a[aria-current] { background: var(--tile); box-shadow: inset 3px 0 0 var(--accent); }
.side-nav a[aria-current] .ic { color: var(--link); }
.side-label { display: var(--label-d); white-space: nowrap; }

.side-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: var(--side-jc); gap: 8px;
  padding: 8px var(--side-px);
  color: var(--muted); font-size: 12px; font-weight: 500;
}
.side-foot .ic { width: 16px; height: 16px; }

/* ---------- main column & top bar ---------- */

.main { margin-left: var(--sb-w); min-height: 100vh; transition: margin-left .2s ease; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  height: var(--topbar);
  background: var(--bar);
  box-shadow: 0 1px 0 var(--line);
  transition: height .2s ease, box-shadow .2s ease, background-color .2s ease;
}
body.compact .topbar {
  background: rgba(24, 42, 54, .97);
  box-shadow: 0 1px 0 var(--line-strong), 0 10px 24px -12px rgba(0, 0, 0, .8);
}
.topbar-inner {
  max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--text);
  font-size: 12px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 6px 16px -8px var(--accent-glow);
}
.brand-word { font-size: 18px; font-weight: 800; letter-spacing: -.02em; transition: font-size .2s ease; }
.brand-word b { color: var(--link); font-weight: 800; }
body.compact .brand-word { font-size: 16px; }

/* search + suggestions */
.search-wrap { position: relative; flex: 1 1 auto; max-width: 420px; margin: 0 auto; min-width: 0; }
.search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px;
  background: var(--sunk); border: 1px solid var(--hover); border-radius: var(--radius);
  color: var(--muted);
  transition: border-color .15s ease, height .2s ease, box-shadow .15s ease;
}
body.compact .search { height: 36px; }
.search:hover { border-color: #3D5A72; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--text); }
.search input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent; color: var(--text);
  font: 500 14px var(--font);
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  max-height: 60vh; overflow-y: auto;
  padding: 8px;
  background: var(--tile); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.suggest-head {
  padding: 8px 8px 4px;
  color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.suggest-group + .suggest-group { margin-top: 4px; border-top: 1px solid var(--line); }
.sg {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: var(--radius);
  transition: background-color .12s ease;
}
.sg:hover { background: var(--hover); }
.sg img { width: 30px; height: 40px; object-fit: cover; border-radius: 4px; flex: none; }
.sg-mark {
  width: 30px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; background: var(--bar); border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 700; color: var(--muted);
}
.sg-text { display: flex; flex-direction: column; min-width: 0; }
.sg-text b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-text small { color: var(--muted); font-size: 12px; }
.suggest-empty { padding: 12px 8px; color: var(--muted); font-size: 13px; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.search-btn { display: none; }

/* language switcher (top bar and footer) */
.lang { position: relative; }
.lang-btn { padding: 0 12px; gap: 6px; }
.lang-code { font-weight: 600; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 200px; padding: 8px;
  background: var(--tile); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.lang.up .lang-menu { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  height: 36px; padding: 0 12px;
  border: 0; border-radius: 6px; background: transparent; color: var(--text);
  font-weight: 500; text-align: left; cursor: pointer;
}
.lang-menu button span { color: var(--muted); font-size: 12px; font-weight: 600; }
.lang-menu button:hover { background: var(--hover); }
.lang-menu button[aria-selected="true"] { background: var(--hover); }
.lang-menu button[aria-selected="true"] span { color: var(--text); }

/* ---------- page shell: hero and chips run full width, the rest is a column ---------- */

.page { display: flex; flex-direction: column; }

.content {
  width: 100%; max-width: var(--content); margin: 0 auto;
  padding: 40px var(--gutter) 72px;
  display: flex; flex-direction: column; gap: 44px;
}

/* ---------- 2. hero: the whole difference ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex;
  min-height: clamp(560px, calc(100vh - var(--topbar)), 780px);
  min-height: clamp(560px, calc(100svh - var(--topbar)), 780px);
  background: linear-gradient(180deg, #16303F 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--line-strong);
}

/* depth layer one: a rotated wall of artwork, dimmed and pushed back */
.hero-stage { position: absolute; inset: 0 0 0 28%; z-index: 0; }
.stage-back {
  position: absolute; top: -16%; right: -8%; bottom: -16%; left: -10%;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 16px;
  transform: rotate(-7deg);
  opacity: .5;
}
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.s1 { transform: translateY(-40px); }
.s2 { transform: translateY(34px); }
.s3 { transform: translateY(-18px); }
.s4 { transform: translateY(52px); }

/* depth layer two: three lead titles at scale, lit and shadowed */
.stage-front {
  position: absolute; top: 50%; left: 50%;
  display: flex; align-items: center; gap: 20px;
  transform: translate(-50%, -50%);
}
.lead img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 14px;
}
.lead {
  border-radius: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.lead-a { width: 172px; transform: translateY(42px) rotate(-5deg); }
.lead-b {
  width: 256px; transform: translateY(-16px) rotate(-1.5deg); z-index: 2;
  box-shadow: 0 40px 80px -28px #000, 0 0 0 1px rgba(255, 255, 255, .14), 0 0 64px -18px var(--accent-glow);
}
.lead-c { width: 172px; transform: translateY(48px) rotate(5deg); }

/* scrim and light: the copy side stays solid, the art side keeps its colour */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(93deg, var(--bg) 2%, rgba(14, 31, 43, .95) 24%, rgba(14, 31, 43, .6) 44%, rgba(14, 31, 43, .12) 64%, rgba(14, 31, 43, .55) 100%),
    linear-gradient(180deg, rgba(10, 24, 34, .7) 0%, rgba(10, 24, 34, 0) 24%, rgba(10, 24, 34, .18) 58%, rgba(10, 24, 34, .94) 100%),
    radial-gradient(58% 66% at 16% 40%, rgba(13, 110, 253, .32) 0%, rgba(13, 110, 253, 0) 70%);
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--content); margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 36px;
}

.hero-copy {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  max-width: 640px;
}
.hero h1 { display: flex; flex-direction: column; gap: 8px; }
.h1-main {
  font-size: clamp(38px, 6.2vw, 76px); line-height: .96;
  font-weight: 900; letter-spacing: -.045em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .55);
}
.h1-sub {
  display: flex; align-items: baseline; gap: 10px;
  font-size: clamp(17px, 2.1vw, 26px); line-height: 1.15;
  font-weight: 700; letter-spacing: -.02em; color: #E6EDF6;
}
.h1-sub i {
  font-style: normal; font-weight: 800; color: var(--link);
  font-size: 1.15em;
}
.hero-lead { color: #C8D3E4; font-size: clamp(14px, 1.2vw, 17px); max-width: 46ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.hero-points .ic { width: 16px; height: 16px; color: var(--win); stroke-width: 3; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.fine { color: var(--muted); font-size: 12px; }

/* the two entries keep their place in the anatomy, sitting under the offer */
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px;
}
.entry {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(36, 64, 79, .8) 0%, rgba(20, 37, 48, .88) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.entry:hover {
  border-color: rgba(99, 174, 255, .6); transform: translateY(-2px);
  box-shadow: 0 18px 32px -24px #000;
}
.entry-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--link-hi); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.entry-kicker .ic { width: 15px; height: 15px; }
.entry-title { font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.entry-sub { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.entry-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.entry-cta .ic { transition: transform .15s ease; }
.entry:hover .entry-cta .ic { transform: translateX(3px); }

/* the single cyan signal */
.hero-now {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 16px 20px; min-width: 168px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 211, 238, .3);
  background: linear-gradient(180deg, rgba(34, 211, 238, .1) 0%, rgba(10, 24, 34, .8) 100%);
  color: var(--live); font-size: 13px; font-weight: 600;
}
.now-line { white-space: nowrap; }
.hero-now b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.now-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 4px var(--live-soft), 0 0 14px var(--live);
  margin-bottom: 4px;
}
.now-sub { color: var(--muted); font-size: 12px; font-weight: 500; }

/* the one deliberate motion moment: the hero assembles once, on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage { animation: stage-in .8s cubic-bezier(.2, .7, .3, 1) both; }
  .hero-copy > * { animation: rise-in .6s cubic-bezier(.2, .7, .3, 1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .04s; }
  .hero-copy > *:nth-child(2) { animation-delay: .1s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .22s; }
  .hero-copy > *:nth-child(5) { animation-delay: .28s; }
  .hero-copy > *:nth-child(6) { animation-delay: .34s; }
  .hero-foot { animation: rise-in .6s .3s cubic-bezier(.2, .7, .3, 1) both; }
}
@keyframes stage-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- 3. category chips: a full-width band under the hero ---------- */

.chips {
  position: sticky; top: var(--topbar); z-index: 10;
  padding: 14px 0;
  background: rgba(14, 31, 43, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: top .2s ease;
}
.chips-track {
  max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.chips-track::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 38px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 19px;
  background: var(--tile); color: var(--text);
  font-weight: 700; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.chip .ic { width: 18px; height: 18px; color: var(--muted); }
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] {
  background: var(--accent); color: var(--text);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 8px 22px -12px var(--accent-glow);
}
.chip[aria-pressed="true"] .ic { color: var(--text); }

/* ---------- 4. game rows ---------- */

.row-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.row-head h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; letter-spacing: -.03em;
}
/* the structural device: an accent marker in front of every section heading */
.row-head h2::before {
  content: ""; flex: none;
  width: 4px; height: 22px; border-radius: 2px;
  background: linear-gradient(180deg, var(--link) 0%, var(--accent) 100%);
  box-shadow: 0 0 14px var(--accent-soft);
}
.row-head h2 .ic { color: var(--link); }
.row-tools { display: flex; align-items: center; gap: 8px; }
.see-all {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; margin-right: 4px;
  border-radius: 16px; background: var(--tile);
  font-size: 13px; font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}
.see-all:hover { background: var(--hover); color: var(--text); }

.tiles {
  --cols: 7;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * 8px) / var(--cols));
  gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: -8px 0; padding: 8px 0;
}
.tiles::-webkit-scrollbar { display: none; }

/* the first row reads as a feature: fewer, larger tiles, strongest art first */
.row-feature .tiles { --cols: 5.4; gap: 12px; grid-auto-columns: calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); }
.row-feature .tile-art { border-radius: 10px; }
.row-feature .tile-name { font-size: 14px; margin-top: 10px; }
.row-feature .tile-prov { font-size: 12.5px; }

.tile { display: block; scroll-snap-align: start; min-width: 0; border-radius: 10px; }
.tile:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.tile-art {
  display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius); background: var(--tile);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 24, 34, .52);
  opacity: 0; transition: opacity .18s ease;
}
.tile-play .ic {
  width: 46px; height: 46px; padding: 12px 10px 12px 14px;
  border-radius: 50%; background: var(--accent); color: var(--text);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55), 0 0 26px -6px var(--accent-glow);
}
.tile:hover .tile-art, .tile:focus-visible .tile-art {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--link), 0 14px 24px rgba(0, 0, 0, .5);
}
.tile:hover .tile-play, .tile:focus-visible .tile-play { opacity: 1; }

.tile-name, .tile-prov, .tile-live { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-name { margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.tile-prov { color: var(--muted); font-size: 12px; line-height: 1.3; }
.tile-live { margin-top: 4px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.tile-live i {
  display: inline-block; width: 6px; height: 6px; margin-right: 6px; vertical-align: 1px;
  border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px var(--live-soft);
}
.tile-live-plain { color: var(--muted); }

.tile-more .tile-art { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--hover); background: var(--bar); box-shadow: none; }
.more-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.more-inner .ic { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--tile); color: var(--text); }
.tile-more:hover .more-inner { color: var(--text); }

/* ---------- 5. live bets: the sunken data console, kept quiet ---------- */

.bets {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bar);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 40px -36px #000;
}
.bets-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px;
  background: linear-gradient(180deg, #1E3543 0%, var(--bar) 100%);
  border-bottom: 1px solid var(--line);
}
.bets-head h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft), 0 0 12px var(--live); }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 22px; background: var(--sunk); }
.tab {
  height: 32px; padding: 0 14px; border: 0; border-radius: 16px;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--hover); color: var(--text); }

.bets-wrap { overflow-x: auto; }
.bets-table {
  width: 100%; min-width: 560px; border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.bets-table th {
  height: 34px; padding: 0 20px;
  background: var(--sunk);
  color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-align: left; white-space: nowrap;
}
.bets-table td {
  height: 46px; padding: 0 20px; white-space: nowrap; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
}
.bets-table tbody tr:last-child td { border-bottom: 0; }
.bets-table .num { text-align: right; }
.bets-table tbody tr { transition: background-color .12s ease; }
.bets-table tbody tr:hover { background: var(--tile); box-shadow: inset 3px 0 0 var(--accent); }
.bets-table .g { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.bets-table .g img { width: 24px; height: 32px; object-fit: cover; border-radius: 4px; }
.hidden-user { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.hidden-user .ic { width: 16px; height: 16px; }
.tick { color: var(--muted); font-size: 12px; font-weight: 600; }
.win { color: var(--win); }
.win .tick { color: var(--win); opacity: .8; }
.bets-foot {
  padding: 10px 20px; background: var(--sunk); border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px;
}

/* ---------- 6. promotions ---------- */

.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo {
  position: relative; display: flex; overflow: hidden; min-height: 208px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--tile);
  transition: background-color .15s ease, border-color .15s ease;
}
.promo:hover { background: #26404E; }
.promo-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  flex: 1; padding: 24px; padding-right: 118px;
}
.promo h3 { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.promo p { color: var(--muted); font-size: 13px; }
.promo .btn { margin-top: auto; height: 36px; padding: 0 14px; font-size: 13px; }

.promo-race {
  border-color: rgba(13, 110, 253, .45);
  background: linear-gradient(135deg, #15385F 0%, var(--tile) 62%);
}
.promo-race:hover { background: linear-gradient(135deg, #1B4574 0%, #26404E 62%); }

.promo-art {
  position: absolute; right: -10px; top: 0; bottom: 0; width: 150px; z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 26%, #000 70%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 26%, #000 70%);
}
.promo-art img {
  position: absolute; top: 50%; left: 8px; width: 138px; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 8px;
  transform: translateY(-50%) rotate(7deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .5);
  transition: transform .2s ease;
}
.promo-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 90% at 70% 50%, rgba(14, 31, 43, 0) 26%, rgba(14, 31, 43, .78) 100%);
}
.promo:hover .promo-art img { transform: translateY(-54%) rotate(5deg); }

/* ---------- 7. VIP: a lit band ---------- */

.vip {
  display: grid; grid-template-columns: minmax(260px, 1fr) 1.65fr; gap: 32px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 110, 253, .32);
  background:
    radial-gradient(80% 130% at 88% 0%, rgba(13, 110, 253, .26) 0%, rgba(13, 110, 253, 0) 58%),
    linear-gradient(180deg, #1E3745 0%, #13252E 100%);
  box-shadow: 0 24px 48px -36px #000;
}
.vip-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vip-intro h2 { font-size: 26px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.vip-intro p { color: var(--muted); }
.vip-intro .btn { margin-top: 8px; }

.progress { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.progress-meta.muted { font-weight: 500; }
.progress-bar { height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.progress-bar span { display: block; height: 100%; min-width: 6px; border-radius: 4px; background: var(--accent); }

.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.ladder::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 32px; height: 2px;
  background: var(--hover);
}
.tier {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 20px 10px 16px;
  border-radius: var(--radius);
  background: rgba(33, 55, 67, .92);
  border: 1px solid var(--line);
}
.tier-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--hover); box-shadow: 0 0 0 4px rgba(14, 31, 43, .9);
}
.t-bronze .tier-dot { background: #B1BAD3; }
.t-silver .tier-dot { background: #D5DBEA; }
.t-gold .tier-dot { background: #F5F7FB; }
.t-platinum .tier-dot { background: var(--link); }
.t-diamond .tier-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tier-name { font-weight: 700; font-size: 14px; }
.tier-line { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ---------- 8. payments ---------- */

.pay {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bar);
  border: 1px solid var(--line);
}
.pay h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.coins { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.coins li { display: inline-flex; align-items: center; gap: 8px; }
.coin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--tile); border: 2px solid var(--hover);
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
}
.coin-fiat { font-size: 18px; background: var(--sunk); }
.coin-label { color: var(--muted); font-size: 12px; font-weight: 600; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ic { margin-top: 2px; color: var(--link); }
.facts b { display: block; font-weight: 700; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ---------- 9. providers ---------- */

.providers { padding: 0; }
.providers ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.providers li {
  color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; opacity: .8;
}

/* ---------- 10. footer ---------- */

.footer { background: var(--bar); border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 48px var(--gutter) 40px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { max-width: 32ch; font-size: 13px; }
.footer h3 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.footer nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer nav a { color: var(--muted); font-size: 13px; font-weight: 500; }
.footer nav a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 13px;
}
.licence { color: var(--muted); }
.footer-meta { display: flex; align-items: center; gap: 12px; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  border: 2px solid var(--muted); font-size: 12px; font-weight: 700; color: var(--text);
}

/* ---------- phone tab bar ---------- */

.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bar); box-shadow: 0 -1px 0 var(--line), 0 -8px 20px rgba(0, 0, 0, .35);
}
.tabbar a {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted); font-size: 10px; font-weight: 600;
}
.tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar a[aria-current], .tabbar a:hover { color: var(--text); }
.tabbar a[aria-current] .ic { color: var(--link); }

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .lead-b { width: 224px; }
  .lead-a, .lead-c { width: 152px; }
  .row-feature .tiles { --cols: 4.6; }
}

@media (max-width: 1100px) {
  body {
    --sb-w: 64px;
    --label-d: none;
    --side-jc: center;
    --side-px: 0;
  }
  .tiles { --cols: 5; }
  .row-feature .tiles { --cols: 4; }
  .hero-stage { inset: 0 0 0 22%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero { min-height: clamp(540px, 86svh, 720px); }
  .hero-stage { inset: 0; }
  .stage-back { opacity: .34; }
  .stage-front { left: auto; right: -40px; top: 34%; gap: 14px; }
  .stage-front { transform: translateY(-50%); }
  .lead-b { width: 186px; }
  .lead-a, .lead-c { width: 124px; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(10, 24, 34, .55) 0%, rgba(10, 24, 34, .2) 26%, rgba(14, 31, 43, .82) 58%, var(--bg) 96%),
      radial-gradient(70% 50% at 20% 78%, rgba(13, 110, 253, .3) 0%, rgba(13, 110, 253, 0) 72%);
  }
  .hero-inner { padding-top: 40px; gap: 28px; }
  .hero-foot { grid-template-columns: 1fr 1fr; }
  .hero-now { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px; }
  .hero-now .now-dot { margin-bottom: 0; }
  .hero-now .now-sub { margin-left: auto; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo { min-height: 0; }
  .vip { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .ladder { grid-template-columns: 1fr; gap: 8px; }
  .ladder::before { left: 25px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .tier { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; padding: 14px 16px; }
  .tier-dot { flex: none; margin-top: 1px; }
  .tier-name { min-width: 72px; flex: none; }
  .pay { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { --sb-w: 0px; }
  .sidebar { display: none; }
  .tabbar { display: flex; }
  .content { padding-top: 28px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); gap: 32px; }
  .search-wrap { display: none; }
  .search-btn { display: inline-flex; }
  .top-actions { gap: 4px; }
  .lang-btn { padding: 0 8px; }
  .lang-btn .lang-code { display: none; }
  .lang-btn .ic-sm { display: none; }
  .btn { padding: 0 12px; }
  .brand-word { font-size: 16px; }
  .tiles { --cols: 3.2; }
  .row-feature .tiles { --cols: 2.3; gap: 10px; grid-auto-columns: calc((100% - (var(--cols) - 1) * 10px) / var(--cols)); }
  .row-head h2 { font-size: 19px; }
  .row-head h2::before { height: 19px; }
  .see-all { display: none; }
  .bets-head { padding: 14px 16px; }
  .bets-head h2 { width: 100%; }
  .col-time, .col-mult { display: none; }
  .bets-table { min-width: 0; }
  .bets-table th, .bets-table td { padding: 0 14px; }
  .bets-foot { padding: 10px 14px; }
  .facts { grid-template-columns: 1fr; }
  .footer-cols { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .hero { min-height: clamp(520px, 88svh, 680px); }
  .hero-inner { padding-top: 32px; gap: 24px; }
  .hero-foot { grid-template-columns: 1fr; }
  .entry-sub { display: none; }
  .entry { padding: 14px 16px; }
  .stage-front { right: -56px; top: 30%; }
  .lead-b { width: 156px; }
  .lead-a, .lead-c { width: 104px; }
}

@media (max-width: 520px) {
  .hero-points { gap: 6px 14px; }
  .hero-points li { font-size: 12.5px; }
  .hero-actions { width: 100%; gap: 16px; }
  .btn-xl { flex: 1; height: 52px; padding: 0 20px; font-size: 16px; }
  .hero-lead { font-size: 14px; }
  .stage-back { opacity: .26; }
  .stage-front { right: -64px; top: 26%; }
  .lead-b { width: 126px; }
  .lead-a, .lead-c { width: 86px; }
  .promo-body { padding: 20px; padding-right: 96px; }
  .promo-art { width: 112px; }
  .promo-art img { width: 104px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 8px; font-size: 12px; }
  .brand-word { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }
}

/* nothing in the bar may overflow on the narrowest phones */
@media (max-width: 380px) {
  :root { --gutter: 12px; }
  .topbar-inner { gap: 8px; }
  .top-actions { gap: 2px; }
  .icon-btn { width: 34px; height: 34px; }
  .lang-btn { width: 34px; padding: 0; }
  .btn { height: 36px; padding: 0 10px; font-size: 13px; }
  .btn-xl { height: 48px; font-size: 15px; }
  .h1-main { letter-spacing: -.035em; }
  .tabbar a { font-size: 9px; gap: 2px; }
  .tabbar .ic { width: 18px; height: 18px; }
}

@media (max-width: 320px) {
  :root { --gutter: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .icon-btn { width: 30px; height: 30px; }
  .lang-btn { width: 30px; }
  .btn { height: 34px; padding: 0 8px; font-size: 12px; }
  .hero { min-height: 520px; }
  .hero-inner { padding-top: 24px; }
  .hero-points li:nth-child(3) { display: none; }
  .stage-front { right: -72px; }
  .lead-b { width: 110px; }
  .lead-a, .lead-c { width: 74px; }
  .tiles { --cols: 2.4; }
  .row-feature .tiles { --cols: 1.9; }
  .coin { width: 42px; height: 42px; font-size: 10px; }
  .hero-now { padding: 12px; min-width: 0; }
  .hero-now .now-sub { display: none; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  #rail-toggle { display: none; }
}

/* ---------- motion ---------- */

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