/* Ivory — Club 21 homepage concept
   Light, white and navy with gold, premium and calm. */

:root {
  --page: #F7F8FA;
  --card: #FFFFFF;
  --border: #E4E7EE;
  --ink: #0B1B33;
  --muted: #5B6478;
  --gold: #C8A15A;
  --gold-deep: #A7813F;
  --win: #158F5A;
  --win-text: #117A4D;       /* one step darker than --win so 15px text passes AA on white */
  --live: #D9483F;
  --on-ink: #FFFFFF;
  --on-ink-muted: #AEB7C8;
  --ink-line: rgba(255, 255, 255, .12);

  --shadow: 0 2px 12px rgba(11, 27, 51, .08);
  --shadow-lg: 0 10px 30px rgba(11, 27, 51, .08);
  --shadow-art: 0 14px 34px rgba(11, 27, 51, .28);

  --r-card: 12px;
  --r-tile: 10px;
  --r-btn: 8px;
  --max: 1240px;
  --gutter: 20px;
  --gap: 16px;
  --tile-w: calc((100% - 6 * var(--gap)) / 7);

  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: 22px; }
h3 { font-size: 17px; font-weight: 600; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img { display: block; max-width: 100%; }

ul, ol { margin: 0; padding: 0; list-style: none; }

svg { display: block; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 14px;
  border-radius: var(--r-btn);
  font-weight: 500;
}
.skip:focus { top: 12px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-btn);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-deep); }

.btn-ghost {
  color: var(--ink);
  padding: 0 12px;
}
.btn-ghost:hover { color: var(--gold-deep); }

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.arrow:disabled { opacity: .4; cursor: default; }
.arrow:disabled:hover { border-color: var(--border); color: var(--ink); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.logo-mark { width: 30px; height: 30px; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.logo-light .logo-word { color: var(--on-ink); }

.mainnav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mainnav a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.mainnav a:hover { color: var(--gold-deep); }
.mainnav a[aria-current="page"] { border-bottom-color: var(--gold); }

.search {
  flex: 1 1 200px;
  max-width: 320px;
  margin-left: auto;
  position: relative;
  color: var(--muted);
}
.search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--page);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
.search input::placeholder { color: var(--muted); }
.search input:hover { border-color: #CDD3DE; }
.search input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--card);
}
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; }

/* Language switcher */

.lang { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.lang-btn:hover { border-color: var(--border); background: var(--page); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.lang-menu-up {
  top: auto;
  bottom: calc(100% + 6px);
  left: 0;
  right: auto;
}
.lang-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.lang-menu li::after {
  content: attr(data-code);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.lang-menu li:hover,
.lang-menu li:focus-visible { background: var(--page); outline: none; }
.lang-menu li[aria-selected="true"] { font-weight: 500; }
.lang-menu li[aria-selected="true"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Mobile drawer */

.drawer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding-block: 12px 20px;
  box-shadow: var(--shadow-lg);
}
.search-drawer { max-width: none; margin: 0 0 12px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.drawer-nav a[aria-current="page"] { color: var(--gold-deep); }
.drawer-lang { padding-top: 14px; }
.drawer-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.lang-grid button {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--card);
}
.lang-grid button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

/* ---------- Hero carousel ---------- */

.hero { padding-top: 24px; }

.carousel { position: relative; }

.carousel-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--r-card);
}
.carousel-track::-webkit-scrollbar { display: none; }

.promo {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 340px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-panel {
  background: var(--ink);
  color: var(--on-ink);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.promo-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-title {
  font-size: 34px;
  line-height: 1.12;
  color: var(--on-ink);
  letter-spacing: -.01em;
}
.promo-plus { color: var(--gold); }
.promo-text {
  color: var(--on-ink-muted);
  font-size: 15px;
  max-width: 34ch;
}
.promo-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.promo-terms {
  color: var(--on-ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--ink-line);
  text-underline-offset: 3px;
}
.promo-terms:hover { text-decoration-color: var(--gold); }
.promo-panel :focus-visible { outline-color: var(--gold); }

.promo-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 27, 51, .16) 0%, rgba(11, 27, 51, 0) 42%),
    var(--card);
}
.promo-art .art {
  position: absolute;
  top: 50%;
  height: 76%;
  width: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-art);
  border: 1px solid rgba(255, 255, 255, .5);
}
.promo-art .art-1 {
  left: 12%;
  transform: translateY(-46%) rotate(-9deg);
  z-index: 1;
}
.promo-art .art-2 {
  left: 50%;
  height: 84%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.promo-art .art-3 {
  right: 10%;
  transform: translateY(-46%) rotate(9deg);
  z-index: 2;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 14px;
}
.dots { display: flex; align-items: center; gap: 8px; }
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #C9CFDA;
  transition: width .2s ease, background-color .2s ease;
}
.dots button:hover { background: var(--muted); }
.dots button.is-active { width: 24px; background: var(--gold); }

/* ---------- Category chips ---------- */

.chipbar {
  margin-top: 20px;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 12px;
  -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.chip.is-active:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink); }

/* ---------- Game rows ---------- */

.row { padding-top: 32px; }

.row-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.row-tools { display: flex; align-items: center; gap: 8px; }

.see-all {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  margin-right: 6px;
  transition: color .15s ease;
}
.see-all:hover { color: var(--gold-deep); }

.tiles {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 6px;
  margin: -4px -4px 0;
}
.tiles::-webkit-scrollbar { display: none; }

.tile {
  flex: 0 0 var(--tile-w);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-tile);
}
.tile-img {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-tile);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.tile:hover .tile-img { border-color: var(--gold-deep); box-shadow: var(--shadow); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-name {
  margin-top: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-provider {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-badge,
.new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.live-badge {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.new-badge {
  background: var(--gold);
  color: var(--ink);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(217, 72, 63, .18);
  display: inline-block;
}
.live-dot-ink { margin-right: 10px; vertical-align: middle; position: relative; top: -1px; }

/* Live casino entry card, two tiles wide */
.tile-cta { flex-basis: calc(var(--tile-w) * 2 + var(--gap)); }
.tile-cta-body {
  aspect-ratio: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.tile-cta:hover .tile-cta-body { border-color: var(--gold-deep); }
.tile-cta-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.tile-cta-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.tile-cta-text { font-size: 14px; color: var(--on-ink-muted); }
.tile-cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Live bets ---------- */

.bets { padding-top: 40px; }

.bets-card { overflow: hidden; }

.bets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.table-wrap { overflow-x: auto; }

.bets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.bets-table th,
.bets-table td {
  padding: 12px 20px;
  text-align: left;
  white-space: nowrap;
}
.bets-table thead th {
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .03em;
}
.bets-table tbody tr:nth-child(even) { background: var(--page); }
.bets-table tbody td { color: var(--muted); }
.bets-table td.game { color: var(--ink); font-weight: 500; }
.bets-table .num { text-align: right; }
.bets-table td.win { color: var(--win-text); font-weight: 500; }
.bets-table td.loss { color: var(--muted); }

/* ---------- Promotions ---------- */

.promos { padding-top: 40px; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.promo-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s ease;
}
.promo-card:hover { border-color: var(--gold-deep); }
.promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.promo-icon svg { width: 24px; height: 24px; }
.promo-card p { color: var(--muted); }
.promo-link {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.promo-link::after { content: " →"; color: var(--gold-deep); }
.promo-link:hover { color: var(--gold-deep); }

/* ---------- VIP ---------- */

.vip { padding-top: 40px; }

.vip-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  overflow: hidden;
}
.vip-intro {
  background: var(--ink);
  color: var(--on-ink);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.vip-intro .kicker { color: var(--gold); }
.vip-intro h2 { color: var(--on-ink); font-size: 26px; }
.vip-intro p { color: var(--on-ink-muted); max-width: 36ch; }
.vip-intro .btn { align-self: flex-start; margin-top: 8px; }
.vip-intro :focus-visible { outline-color: var(--gold); }

.vip-ladder { padding: 32px 36px 36px; }

.vip-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
}
.vip-progress-meta span:last-child { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.progress {
  height: 10px;
  border-radius: 999px;
  background: var(--page);
  border: 1px solid var(--border);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
  position: relative;
}
.tiers::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 7px;
  height: 2px;
  background: var(--border);
}
.tier { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 24px; }
.tier-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
}
.tier.is-current .tier-dot { border-color: var(--gold); background: var(--gold); }
.tier-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.tier-line { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Payments ---------- */

.payments { padding-top: 40px; }

.payments-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 32px;
  align-items: center;
}
.payments-coins h2 { font-size: 20px; margin-bottom: 16px; }

.coins { display: flex; flex-wrap: wrap; gap: 10px; }
.coin {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--card);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ink);
}
.coin-card {
  width: auto;
  padding: 0 14px;
  border-radius: 12px;
  line-height: 1.1;
}
.coin-card small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  text-transform: none;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.fact-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.fact-check svg { width: 14px; height: 14px; }

/* ---------- Providers ---------- */

.providers { padding-block: 36px 48px; }

.provider-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 36px;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.provider-list li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding-block: 48px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink-line);
}

.footer-cols { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-blurb { max-width: 34ch; font-size: 14px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 {
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--on-ink-muted); transition: color .15s ease; }
.footer-col a:hover { color: var(--gold); }

.lang-footer .lang-btn {
  color: var(--on-ink);
  border-color: var(--ink-line);
}
.lang-footer .lang-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }

.footer :focus-visible { outline-color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
}
.licence { color: var(--on-ink-muted); }
.footer-meta { display: flex; align-items: center; gap: 10px; }
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--on-ink);
  color: var(--on-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
}
.sep { opacity: .5; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  :root { --tile-w: calc((100% - 5 * var(--gap)) / 6); }
  .promo-title { font-size: 30px; }
  .promo-panel { padding: 32px; }
}

@media (max-width: 960px) {
  :root { --tile-w: calc((100% - 4 * var(--gap)) / 5); }
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-actions .lang { display: none; }
  .search { max-width: 260px; }

  .vip-card { grid-template-columns: 1fr; }
  .vip-intro { padding: 28px; }
  .vip-ladder { padding: 24px 28px 28px; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cols { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --tile-w: 140px; }
  .topbar-inner { gap: 12px; height: 60px; }
  .topbar .search:not(.search-drawer) { display: none; }
  .mainnav a { height: 60px; }

  .hero { padding-top: 16px; }
  .promo {
    grid-template-columns: 1fr;
    grid-template-rows: auto 200px;
    min-height: 0;
  }
  .promo-panel { order: 2; padding: 22px 20px 24px; gap: 10px; }
  .promo-art { order: 1; background: linear-gradient(180deg, rgba(11, 27, 51, 0) 55%, rgba(11, 27, 51, .14) 100%), var(--card); }
  .promo-art .art { height: 70%; }
  .promo-art .art-2 { height: 80%; }
  .promo-art .art-1 { left: 10%; }
  .promo-art .art-3 { right: 8%; }
  .promo-title { font-size: 24px; }
  .promo-text { font-size: 14px; }
  .carousel-controls .arrow { display: none; }

  .chipbar { margin-top: 16px; }
  .row { padding-top: 24px; }
  h2 { font-size: 19px; }

  .bets, .promos, .vip, .payments { padding-top: 28px; }
  .bets-head { padding: 14px 16px; }
  .bets-table th, .bets-table td { padding: 11px 14px; }
  .col-time { display: none; }
  .tabs { width: 100%; justify-content: space-between; }
  .tab { flex: 1; padding: 0 8px; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { padding: 20px; }

  .tiers { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .tiers::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .tier { padding-top: 0; padding-left: 30px; }
  .tier-dot { top: 2px; }

  .payments-card { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .facts { grid-template-columns: 1fr; }
  .provider-list { justify-content: flex-start; gap: 10px 22px; padding: 16px 0; }
  .provider-list li { font-size: 14px; }

  .footer { padding-block: 36px 24px; }
  .footer-top { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  :root { --tile-w: 128px; }
  .logo-word { font-size: 18px; }
  .btn-ghost { padding: 0 8px; }
  .btn-primary { padding: 0 14px; }
  .bets-table { font-size: 13px; }
  .bets-table th, .bets-table td { padding: 10px 12px; }
  .tile-cta-title { font-size: 17px; }
  .tile-cta-body { padding: 16px; }
}

/* ---------- Motion ---------- */

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