/* Amber Premium — Club 21 homepage concept, round three.
   The Amber direction in a higher register: a true black ground with neutral
   dark surfaces, gold treated as a material rather than a fill, hairline
   keylines instead of soft glows, and a display serif against a neutral UI
   face. Same brand family as Amber, grown up. */

:root {
  /* Ground — true black, neutral surfaces */
  --bg: #0A0A0B;
  --s1: #121214;
  --s2: #17171A;
  --s3: #1D1D21;

  /* Keylines: 1px and meant to be seen */
  --line: #232327;
  --line-soft: #1B1B1F;
  --line-gold: rgba(201, 162, 39, .32);
  --line-gold-strong: rgba(201, 162, 39, .62);

  /* Warm lift — used only where gold sits nearby, and barely */
  --warm-veil: rgba(201, 162, 39, .045);

  /* Gold as material */
  --gold-light: #E8C87A;
  --gold: #C9A227;
  --gold-deep: #9E7B18;
  --gold-text: #D9B85C;
  --gold-metal: linear-gradient(180deg, #E8C87A 0%, #C9A227 52%, #9E7B18 100%);
  --gold-metal-hi: linear-gradient(180deg, #F1D694 0%, #D6AF2F 52%, #AD881C 100%);
  --on-gold: #0A0A0B;

  --text: #F4F2EE;
  --muted: #9EA0A8;
  --muted-2: #85858E;
  --up: #7FBE97;

  /* Geometry — tighter and more precise */
  --r-card: 8px;
  --r-tile: 6px;
  --r-btn: 4px;

  --gap: 18px;
  --wrap: 1280px;
  --topbar-h: 72px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .55);

  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --tile-w: calc((100% - 5 * var(--gap)) / 6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 0.95rem/1.6 var(--ui);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0; font-family: var(--display); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.01em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; border-radius: 2px; }
.tile a:focus-visible { outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
main.wrap { display: flex; flex-direction: column; gap: 68px; padding-block: 40px 96px; }

.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-link {
  position: absolute; left: 24px; top: -60px; z-index: 100;
  background: var(--gold-metal); color: var(--on-gold); font-weight: 600;
  padding: 10px 16px; border-radius: var(--r-btn);
}
.skip-link:focus { top: 12px; }

/* ---------- Shared detail ---------- */
/* Small caps detail: the quiet typographic accent that replaces Amber's pills */
.eyebrow {
  color: var(--gold-text);
  font-family: var(--ui); font-weight: 500; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px; border-radius: var(--r-btn);
  font-family: var(--ui); font-weight: 600; font-size: .875rem; line-height: 1;
  letter-spacing: .01em; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--gold-metal); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-metal-hi); }
.btn-quiet { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-quiet:hover { border-color: var(--line-gold-strong); color: var(--gold-text); }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: .95rem; }

.see-all {
  color: var(--muted); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
}
.see-all:hover { color: var(--gold-text); }

.arrow {
  width: 32px; height: 32px; border-radius: var(--r-btn);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: border-color .15s ease, color .15s ease;
}
.arrow:hover { border-color: var(--line-gold-strong); color: var(--gold-text); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: var(--topbar-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.logo-mark { flex-shrink: 0; }
.logo-word {
  position: relative; display: inline-block; padding-bottom: 7px;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: .04em; white-space: nowrap;
}
.logo-num { color: var(--gold-text); margin-left: .28em; }
/* The wordmark rule — one of only two places the metallic gradient appears */
.logo-rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-metal);
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; min-width: 0; }
.nav a {
  position: relative; padding: 10px 14px;
  font-size: .85rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--gold);
}
.nav-mobile-only { display: none; }

.search {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 auto; max-width: 280px; min-width: 0; margin-left: auto;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 0 12px; height: 40px; color: var(--muted-2);
}
.search:focus-within { border-color: var(--line-gold-strong); }
.search input {
  flex: 1; min-width: 0; background: none; border: 0; color: var(--text);
  font: inherit; font-size: .85rem; outline: none;
}
.search input::placeholder { color: var(--muted-2); }
.search input::-webkit-search-cancel-button { display: none; }

.lang { position: relative; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px; border-radius: var(--r-btn);
  border: 1px solid var(--line); color: var(--muted);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  transition: border-color .15s ease, color .15s ease;
}
.lang-btn:hover { border-color: var(--line-gold-strong); color: var(--text); }
.lang-globe, .lang-caret { flex-shrink: 0; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 180px; padding: 4px;
  background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.lang-menu-up { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.lang-menu button {
  width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--r-btn);
  font-size: .85rem; color: var(--muted);
}
.lang-menu button:hover { background: var(--s3); color: var(--text); }
.lang-menu button[aria-checked="true"] { color: var(--gold-text); }
.lang-menu button[aria-checked="true"]::after { content: "·"; float: right; }

.auth { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.auth .btn { min-height: 40px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-btn); flex-shrink: 0;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted);
}

/* ---------- Hero: one composed offer, no carousel ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center; gap: 64px;
  padding: 60px 56px;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background:
    radial-gradient(62% 84% at 88% 46%, var(--warm-veil), transparent 68%),
    linear-gradient(180deg, var(--s1) 0%, #0D0D0F 100%);
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 162, 39, .18) 34%, transparent 62%);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.5rem); font-weight: 600; letter-spacing: -0.02em;
}
.hero-and {
  display: block; margin-top: .12em;
  font-size: .52em; font-weight: 400; font-style: italic;
  letter-spacing: 0; color: var(--gold-text);
}
.hero-lead { color: var(--muted); font-size: 1rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-spec {
  display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 0;
  border-top: 1px solid var(--line); padding-top: 18px; width: 100%;
}
.hero-spec > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-spec > div:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-spec dt {
  color: var(--muted-2); font-size: .66rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
}
.hero-spec dd {
  margin: 5px 0 0; font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Artwork placed on a grid, not fanned */
.hero-art {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 16px; align-items: start;
}
.plate {
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid var(--line-gold); border-radius: var(--r-tile);
  background: var(--s2); aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.plate-lead { grid-row: span 2; aspect-ratio: 3 / 4; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 9, .92));
  font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
}
.plate figcaption span { display: block; color: var(--muted); letter-spacing: .14em; }

/* ---------- In focus this week ---------- */
.feature {
  display: grid; grid-template-columns: 208px minmax(0, 1fr);
  gap: 40px; align-items: center;
  padding: 32px 36px;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(90deg, var(--s1), #0C0C0E 70%);
}
.feature-art {
  margin: 0; overflow: hidden; aspect-ratio: 3 / 4;
  border: 1px solid var(--line-gold); border-radius: var(--r-tile);
}
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-prov {
  color: var(--muted); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; margin-top: -6px;
}
.feature-note { color: var(--muted); max-width: 54ch; }
.feature-spec { display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 2px; }
.feature-spec > div { padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); }
.feature-spec > div:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.feature-spec dt {
  color: var(--muted-2); font-size: .64rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
}
.feature-spec dd { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Chips ---------- */
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 38px; padding: 0 18px; border-radius: var(--r-btn);
  border: 1px solid var(--line); color: var(--muted);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-gold-strong); }
.chip.is-active {
  color: var(--gold-light); border-color: var(--gold);
  background: rgba(201, 162, 39, .08);
}

/* ---------- Latest wins: one quiet line ---------- */
.ticker {
  display: flex; align-items: center; gap: 24px;
  border-block: 1px solid var(--line); padding: 12px 0; margin-top: -28px;
}
.ticker-label {
  flex-shrink: 0; color: var(--muted-2);
  font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.ticker-mask {
  flex: 1; min-width: 0; overflow: hidden; display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
}
.ticker-track {
  display: flex; gap: 36px; flex-shrink: 0; padding-right: 36px;
  animation: ticker 95s linear infinite;
}
.ticker-mask:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
.ticker-track li { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.win-game { color: var(--muted); font-size: .8rem; }
.win-amount {
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  color: var(--gold-text); font-variant-numeric: tabular-nums;
}

/* ---------- Game rows ---------- */
#games { display: flex; flex-direction: column; gap: 52px; }
.row-head, .section-head, .bets-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.row-head h2, .section-head h2, .bets-head h2, .pay-coins h2 {
  font-size: 1.45rem; min-width: 0;
}
.row-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.row-tools .see-all { margin-right: 4px; }

.tiles {
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; margin-bottom: -4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: 0 0 var(--tile-w); scroll-snap-align: start; min-width: 0; }
.tile a { display: flex; flex-direction: column; gap: 10px; }
.tile-art {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-tile); background: var(--s2);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile a:hover .tile-art, .tile a:focus-visible .tile-art {
  transform: translateY(-2px); border-color: var(--line-gold-strong);
}
.tile a:hover .tile-name, .tile a:focus-visible .tile-name { color: var(--gold-text); }
.tile-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 8, 9, .62); color: var(--gold-light);
  font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; transition: opacity .2s ease;
}
.tile a:hover .tile-play, .tile a:focus-visible .tile-play { opacity: 1; }
.tile-name {
  font-size: .85rem; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s ease;
}
.tile-prov {
  color: var(--muted-2); font-size: .66rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; margin-top: -8px;
}

/* Marks replace Amber's filled pills: hairline, small caps, used sparingly */
.mark {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(8, 8, 9, .82); border: 1px solid var(--line-gold-strong);
  color: var(--gold-light);
  font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.mark-live { border-color: var(--line); color: var(--text); }

/* ---------- Recent bets ---------- */
.bets-head { flex-wrap: wrap; align-items: center; }
.tabs { display: inline-flex; gap: 6px; }
.tab {
  height: 34px; padding: 0 14px; border-radius: var(--r-btn);
  border: 1px solid transparent; color: var(--muted);
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--gold-light); border-color: var(--gold); background: rgba(201, 162, 39, .08); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bets-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .85rem; }
.bets-table th {
  text-align: left; padding: 0 14px 12px;
  color: var(--muted-2); font-weight: 500; font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase;
}
.bets-table td {
  padding: 14px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.bets-table td:first-child { color: var(--text); font-weight: 500; }
.bets-table td:nth-child(3), .bets-table td:nth-child(4), .bets-table td:nth-child(5),
.bets-table th:nth-child(3), .bets-table th:nth-child(4), .bets-table th:nth-child(5) { text-align: right; }
.bets-table .mult.up { color: var(--text); }
.bets-table .pay.up { color: var(--up); }
.bets-table tbody tr:hover td { background: var(--s1); }

/* ---------- Promotions ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.promo {
  position: relative; overflow: hidden; min-height: 232px;
  display: flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--s1), #0C0C0E);
  transition: border-color .2s ease;
}
.promo:hover { border-color: var(--line-gold-strong); }
.promo-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px; max-width: 74%;
}
.promo h3 { font-size: 1.18rem; }
.promo-note { color: var(--muted); font-size: .85rem; }
.promo .btn { margin-top: auto; }
.promo-art {
  position: absolute; right: -30px; top: 26px;
  width: 122px; height: 163px; object-fit: cover;
  border-radius: var(--r-tile); border: 1px solid var(--line-gold);
  opacity: .8;
}

/* ---------- VIP ---------- */
.vip {
  display: flex; flex-direction: column; gap: 30px;
  padding: 34px 36px;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: radial-gradient(52% 74% at 98% 0%, var(--warm-veil), transparent 70%), var(--s1);
}
.vip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.vip-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 58ch; }
.vip-head h2 { font-size: 1.6rem; }
.vip-lead { color: var(--muted); }
.vip-head .btn { flex-shrink: 0; }

.vip-progress { display: flex; flex-direction: column; gap: 10px; }
.vip-bar { height: 3px; background: var(--s3); overflow: hidden; }
.vip-bar span { display: block; height: 100%; min-width: 3px; background: var(--gold); }
.vip-progress-meta {
  display: flex; justify-content: space-between; color: var(--muted-2);
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}

.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.tier {
  display: flex; flex-direction: column; gap: 7px;
  padding: 20px 18px; border-radius: var(--r-tile);
  border: 1px solid var(--line); background: var(--s2);
}
.tier-num {
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; color: var(--gold-text);
}
.tier strong { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.tier-note { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.tier.is-current { border-color: var(--line-gold-strong); }

/* ---------- Payments ---------- */
.payments {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px;
  padding-top: 8px;
}
.pay-coins { display: flex; flex-direction: column; gap: 24px; }
.pay-coins h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.coins { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.coins li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-btn);
  border: 1px solid var(--line);
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--muted);
}
.coin {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-gold-strong); color: var(--gold-text);
  font-size: .85rem; font-weight: 500;
}
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; align-content: start; }
.facts li { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts strong { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.facts li > span { color: var(--muted); font-size: .82rem; }

/* ---------- Providers ---------- */
.providers ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  padding: 26px 0; border-block: 1px solid var(--line);
}
.providers li {
  color: var(--muted-2); font-size: .76rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  transition: color .15s ease;
}
.providers li:hover { color: var(--gold-text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #08080A; padding: 60px 0 40px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.4fr); gap: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer-brand p { color: var(--muted); max-width: 32ch; font-size: .85rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-cols h3 {
  font-family: var(--ui); font-size: .66rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 16px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--muted); font-size: .85rem; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  color: var(--muted-2); font-size: .8rem;
}
.age { display: flex; align-items: center; gap: 12px; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--muted-2); color: var(--muted);
  font-size: .7rem; font-weight: 500; letter-spacing: .04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --tile-w: calc((100% - 4 * var(--gap)) / 5); }
  .hero { padding: 48px 40px; gap: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1000px) {
  :root { --tile-w: calc((100% - 3 * var(--gap)) / 4); }
  .icon-btn.menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px 24px 16px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a.is-active::after { left: 0; right: auto; width: 22px; bottom: 6px; }
  .nav-mobile-only { display: block; }
  .search { max-width: 200px; }

  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { grid-template-columns: 1fr 1fr; }
  .plate-lead { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }

  .feature { grid-template-columns: 168px minmax(0, 1fr); gap: 28px; padding: 26px 28px; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo:last-child { grid-column: 1 / -1; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .payments { grid-template-columns: 1fr; gap: 34px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --tile-w: 152px; --gap: 14px; }
  .wrap { padding-inline: 18px; }
  main.wrap { gap: 48px; padding-block: 28px 64px; }
  #games { gap: 40px; }
  .search { display: none; }
  .hero { padding: 34px 22px; gap: 30px; border-radius: var(--r-card); }
  .hero-copy { gap: 18px; }
  .hero-lead { font-size: .95rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-spec { gap: 16px 0; }
  .hero-spec > div { padding-right: 18px; margin-right: 18px; }
  .feature { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .feature-art { width: 140px; }
  .row-head h2, .section-head h2, .bets-head h2, .pay-coins h2 { font-size: 1.2rem; }
  .row-tools .arrow { display: none; }
  .ticker { margin-top: -20px; gap: 16px; }
  .bets-head { gap: 12px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 8px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo { min-height: 200px; }
  .vip { padding: 24px 20px; }
  .vip-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .vip-head h2 { font-size: 1.35rem; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .providers ul { gap: 12px 26px; padding: 20px 0; }
  .footer { padding: 44px 0 32px; }
  .footer-top { gap: 32px; }
}

@media (max-width: 480px) {
  .topbar-inner { gap: 10px; }
  .auth .btn-quiet { display: none; }
  .lang-code, .lang-caret { display: none; }
  .lang-btn { padding: 0 11px; }
  .feature-spec > div { padding-right: 16px; margin-right: 16px; }
  .feature-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  :root { --tile-w: 138px; }
  .wrap { padding-inline: 14px; }
  .topbar-inner { gap: 8px; }
  .logo { gap: 9px; }
  .logo-word { font-size: 1.05rem; }
  .icon-btn, .lang-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .auth .btn { min-height: 38px; padding: 0 14px; font-size: .82rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-spec > div { border-right: 0; padding-right: 0; margin-right: 0; flex: 1 0 100%; }
  .hero-spec > div + div { margin-top: 12px; }
}

@media (max-width: 320px) {
  :root { --tile-w: 124px; }
  .wrap { padding-inline: 12px; }
  .topbar-inner { gap: 6px; }
  .logo-word { display: none; }
  .auth .btn { padding: 0 11px; font-size: .78rem; }
  .hero { padding: 26px 16px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-art { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 16 / 9; }
  .tiers { grid-template-columns: 1fr; }
  .tier:last-child { grid-column: auto; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ticker-track { animation: none; }
  .ticker-mask { overflow-x: auto; scrollbar-width: none; mask-image: none; -webkit-mask-image: none; }
}
