/* ==========================================================================
   Wicked Live — design system
   Dark, sleek, tech-forward. Angular monogram brand: orange→red gradient
   on layered blacks, gold secondary accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #060607;
  --bg-1: #0b0b0d;
  --bg-2: #121216;
  --bg-3: #17171d;

  --line: rgba(245, 243, 239, 0.08);
  --line-strong: rgba(245, 243, 239, 0.16);

  --text: #f5f3ef;
  --muted: #a6a2ab;
  --faint: #75717b;

  --accent-hi: #ff7a2e;
  --accent-lo: #e8401f;
  --accent: #f2571f;
  --gold: #e8b44a;
  --gold-hi: #f0c463;

  --grad-accent: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent-lo) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 100%);

  --glow-accent: radial-gradient(closest-side, rgba(242, 87, 31, 0.16), transparent 70%);
  --glow-gold: radial-gradient(closest-side, rgba(232, 180, 74, 0.10), transparent 70%);

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));

  --shadow-card: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  --shadow-pop: 0 24px 70px -20px rgba(0, 0, 0, 0.95);

  --header-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

::selection { background: rgba(242, 87, 31, 0.55); color: #fff; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #26262d; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #33333c; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- Layout utilities ---------- */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: clamp(68px, 9vw, 116px) 0; position: relative; }
.section--alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

.lede { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.section-head--center .lede { margin-inline: auto; max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-gold);
}
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--grad-gold); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  clip-path: var(--chamfer);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: #fff;
  background: var(--grad-accent);
  box-shadow: 0 10px 34px -12px rgba(242, 87, 31, 0.65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(242, 87, 31, 0.8); }

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(245, 243, 239, 0.03);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hi); background: rgba(242, 87, 31, 0.08); }

.btn--gold {
  color: #151004;
  background: var(--grad-gold);
  box-shadow: 0 10px 30px -12px rgba(232, 180, 74, 0.5);
}
.btn--gold:hover { transform: translateY(-2px); }

.btn--sm { padding: 11px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-hi);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--gold-hi); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(6, 6, 7, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; padding: 4px; border-radius: var(--r-sm); }
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__name em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: color 0.2s;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-accent);
}
.nav__link .chev { transition: transform 0.25s var(--ease); }

.nav__item--dd { position: relative; }
.nav__item--dd:hover .chev, .nav__item--dd:focus-within .chev { transform: rotate(180deg); }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd { opacity: 1; visibility: visible; transform: translateY(0); }

.dd {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dd::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.dd__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background-color 0.2s;
}
.dd__link:hover, .dd__link:focus-visible { background: rgba(242, 87, 31, 0.1); }
.dd__link svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-hi); }
.dd__link-title { display: block; font-weight: 600; font-size: 0.92rem; color: var(--text); }
.dd__link-sub { display: block; font-size: 0.8rem; color: var(--faint); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lang__btn:hover, .lang__btn:focus-visible { color: var(--text); border-color: var(--line-strong); }
.lang__btn .chev { transition: transform 0.25s var(--ease); }
.lang.open .lang__btn .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 130px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
}
.lang__opt:hover { background: rgba(242, 87, 31, 0.1); color: var(--text); }
.lang__opt[aria-checked="true"] { color: var(--accent-hi); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger__bar { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 8vw, 110px);
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(242, 87, 31, 0.14), transparent 65%),
    radial-gradient(700px 500px at -10% 110%, rgba(232, 180, 74, 0.07), transparent 60%),
    var(--bg-0);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 243, 239, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 239, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 560px at 70% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 180, 74, 0.3);
  border-radius: 999px;
  background: rgba(232, 180, 74, 0.06);
}
.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(242, 87, 31, 0.8);
  animation: pulse 2s infinite;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { max-width: 560px; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.7);
}
.chip b { color: var(--text); font-weight: 600; }
.chip--live b { color: var(--accent-hi); }
a.chip { transition: border-color 0.2s, color 0.2s; }
a.chip:hover { border-color: rgba(232, 180, 74, 0.5); color: var(--gold-hi); }

/* Sub-headline styled as lede (semantic h2 per brief) */
h2.lede, .lede--h2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.footer-col h4:not(:first-child) { margin-top: 26px; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Stream player mock */
.stream {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.stream__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(420px 260px at 50% 108%, rgba(232, 180, 74, 0.16), transparent 65%),
    radial-gradient(520px 320px at 50% -20%, rgba(242, 87, 31, 0.2), transparent 60%),
    linear-gradient(180deg, #141017 0%, #0a0709 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stream__stage svg { width: min(56%, 300px); height: auto; opacity: 0.9; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); animation: wheel-spin 24s linear infinite; transform-origin: 50% 50%; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.stream__topbar, .stream__bottombar {
  position: absolute;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.stream__topbar { top: 14px; }
.stream__bottombar { bottom: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag--live { color: #ffd9cd; border-color: rgba(242, 87, 31, 0.45); }
.tag--live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.tag--cam { color: var(--gold); }
.stream__label {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.4);
  pointer-events: none;
}
.stream__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; background: rgba(0, 0, 0, 0.35); border-top: 1px solid var(--line); }
.stream__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(245, 243, 239, 0.55);
  background:
    linear-gradient(135deg, rgba(242, 87, 31, 0.14), rgba(232, 180, 74, 0.05)),
    var(--bg-2);
}
.stream__thumb--active { border-color: var(--accent); color: var(--accent-hi); box-shadow: inset 0 0 0 1px var(--accent); }
.stream__note {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-align: center;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(44px, 5vw, 64px);
  background:
    radial-gradient(760px 340px at 18% -20%, rgba(242, 87, 31, 0.12), transparent 65%),
    var(--bg-0);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { max-width: 640px; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(242, 87, 31, 0.4); box-shadow: 0 24px 60px -24px rgba(242, 87, 31, 0.25); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card h3 { margin-bottom: 0; }
.card__link { margin-top: auto; padding-top: 8px; }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  color: var(--accent-hi);
  background: rgba(242, 87, 31, 0.1);
  border: 1px solid rgba(242, 87, 31, 0.25);
}
.card__icon--gold { color: var(--gold-hi); background: rgba(232, 180, 74, 0.08); border-color: rgba(232, 180, 74, 0.25); }

/* Advantage / value cards */
.mini-card { padding: 26px 24px; gap: 12px; }
.mini-card h3 { font-size: 1.08rem; }
.mini-card p { font-size: 0.9rem; }

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.game-card:hover { transform: translateY(-5px); border-color: rgba(232, 180, 74, 0.45); box-shadow: 0 24px 60px -26px rgba(232, 180, 74, 0.28); }

.game-card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.game-card__art svg { width: 58%; height: auto; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55)); }
.game-card__art--storm { background: radial-gradient(300px 180px at 50% 110%, rgba(90, 160, 255, 0.22), transparent 65%), linear-gradient(180deg, #10131c 0%, #0a0b10 100%); }
.game-card__art--roulette { background: radial-gradient(300px 180px at 50% 115%, rgba(242, 87, 31, 0.28), transparent 62%), linear-gradient(180deg, #17100e 0%, #0d0908 100%); }
.game-card__art--dragon { background: radial-gradient(300px 180px at 50% 115%, rgba(232, 180, 74, 0.26), transparent 62%), linear-gradient(180deg, #171208 0%, #0d0a05 100%); }
.game-card__art--baccarat { background: radial-gradient(300px 180px at 50% 115%, rgba(214, 92, 128, 0.22), transparent 62%), linear-gradient(180deg, #170d12 0%, #0d070a 100%); }

.game-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  border: 1px solid rgba(232, 180, 74, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.game-card__name {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.game-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.gstat {
  padding: 12px 10px 10px;
  background: var(--bg-2);
  text-align: center;
}
.gstat dt {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 3px;
}
.gstat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}
.gstat dd .tbd { color: var(--faint); }
.game-card:hover .gstat { background: var(--bg-3); }

/* ---------- Bullets ---------- */
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
}
.bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8b44a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat,
    rgba(232, 180, 74, 0.08);
  border: 1px solid rgba(232, 180, 74, 0.3);
}

/* Split feature (solutions page) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature--flip .feature__media { order: 2; }
.feature__media {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: var(--shadow-card);
}
.feature__media .panel {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
}
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); }

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-band__cell {
  padding: 26px 22px;
  background: var(--bg-2);
  text-align: center;
}
.stat-band__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-band__label {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center;
  border: 1px solid rgba(242, 87, 31, 0.35);
  border-radius: var(--r-xl);
  background:
    radial-gradient(640px 320px at 50% -30%, rgba(242, 87, 31, 0.22), transparent 65%),
    radial-gradient(520px 300px at 50% 130%, rgba(232, 180, 74, 0.1), transparent 60%),
    var(--bg-1);
}
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 520px; margin: 0 auto 32px; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.form__label .req { color: var(--accent-hi); }
.form__hint { font-size: 0.78rem; color: var(--faint); }
.form__control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form__control::placeholder { color: var(--faint); }
.form__control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 87, 31, 0.18);
}
textarea.form__control { resize: vertical; min-height: 140px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
select.form__control { padding-right: 40px; cursor: pointer; }
select.form__control:invalid { color: var(--faint); }

.form__control[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14); }
.form__error {
  display: none;
  font-size: 0.78rem;
  color: #ff8589;
}
.form__error.is-visible { display: block; }
.form__footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 0.78rem; color: var(--faint); max-width: 340px; }
.form__alert {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}
.form__alert.is-visible { display: block; }
.form__alert--ok { background: rgba(64, 164, 92, 0.12); border: 1px solid rgba(64, 164, 92, 0.4); color: #8fd6a3; }
.form__alert--err { background: rgba(229, 72, 77, 0.1); border: 1px solid rgba(229, 72, 77, 0.4); color: #ff9d9f; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card { padding: 26px 24px; gap: 6px; }
.contact-card dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-card dd { margin: 0 0 14px; font-size: 0.98rem; }
.contact-card dd a { color: var(--accent-hi); }
.contact-card dd a:hover { color: var(--gold-hi); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 56px);
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 340px; margin: 16px 0 0; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-hi); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.footer-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--faint); }
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .site-header__inner { justify-content: space-between; }

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 190;
    background: rgba(6, 6, 7, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-strong);
    padding: 18px 24px 30px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav__group { list-style: none; margin: 0 0 8px; padding: 0; }
  .mobile-nav__link {
    display: block;
    padding: 13px 4px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav__sublink {
    display: block;
    padding: 10px 4px 10px 18px;
    color: var(--muted);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav__sublink::before { content: "↳ "; color: var(--accent); }
  .mobile-nav__actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

  .hero__grid { grid-template-columns: 1fr; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .grid--3 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .stream__thumbs { gap: 6px; }
}
