/* ═══════════════════════════════════════════════════════════════
   Lammah Party — home page
   Self-contained: the legal pages keep using styles.css.
   Brand tokens mirror the app (src/shared/theme/tokens.ts):
   deep purple night + gold. Logical properties throughout so the
   Arabic (RTL) and English (LTR) layouts mirror automatically.
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0F0617;
  --bg-2: #150A24;
  --bg-deep: #0A0412;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-gold: rgba(245, 200, 75, 0.32);

  --gold-200: #F8DD82;
  --gold-300: #F6D366;
  --gold-400: #F5C84B;
  --gold-600: #D9A92E;
  --purple-400: #A56EFF;
  --purple-600: #6B2FC9;
  --red-400: #FF5C7A;
  --blue-400: #6FA8FF;
  --wa: #25D366;

  --text: #FFFFFF;
  --text-2: #C9C2D6;
  --text-3: #9A91AB;
  --on-gold: #170C21;

  --grad-gold: linear-gradient(135deg, #F6D366 0%, #E9B838 55%, #D9A92E 100%);
  --glow-gold: 0 0 28px rgba(245, 200, 75, 0.35);

  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --gutter: 16px;
  --max: 1180px;
  --hdr-h: 68px;

  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  --font-en: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--font-en); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--gold-400); color: var(--on-gold); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }

.gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--pill);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--glow-gold); }
.btn-wa { background: var(--wa); color: #06260F; }
.btn-ghost { border: 1px solid var(--border-gold); color: var(--gold-300); background: rgba(245, 200, 75, 0.06); }

/* ── Header ──────────────────────────────────────────────── */
.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--hdr-h);
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.hdr.stuck {
  background: rgba(15, 6, 23, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.hdr-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand img { height: 44px; width: auto; }
.nav { display: none; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--gold-300); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .hdr-actions { margin-inline-start: 8px; }
}
.lang {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--text-2);
  font-family: var(--font-ar);
}
.lang:hover { border-color: var(--border-gold); color: var(--gold-300); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--hdr-h) + 28px); padding-bottom: 40px;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(107, 47, 201, 0.45), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(245, 200, 75, 0.12), transparent 70%),
    linear-gradient(180deg, #120724 0%, var(--bg) 100%);
}
/* A starry night sky and a moon — the evening this site is about. */
.sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 26%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 64% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2px 2px at 88% 30%, rgba(246,211,102,.7), transparent 60%),
    radial-gradient(1px 1px at 72% 44%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 52%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 38% 58%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 94% 66%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 56% 78%, rgba(255,255,255,.35), transparent 60%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
.moon {
  /* A crescent: a transparent disc whose inset shadow is the lit edge. */
  position: absolute; top: calc(var(--hdr-h) + 10px); inset-inline-end: 7%;
  width: 64px; height: 64px; border-radius: 50%;
  box-shadow: inset 14px -6px 0 0 #F6D366;
  filter: drop-shadow(0 0 18px rgba(246, 211, 102, 0.55));
  transform: rotate(-12deg);
}
@keyframes twinkle { from { opacity: .65; } to { opacity: 1; } }
@media (max-width: 559px) {
  .moon { width: 44px; height: 44px; top: calc(var(--hdr-h) - 12px); inset-inline-end: 5%; box-shadow: inset 10px -4px 0 0 #F6D366; }
}

.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding-top: calc(var(--hdr-h) + 56px); padding-bottom: 56px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; min-height: 540px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 6px 14px 6px 6px; border-radius: var(--pill);
  background: rgba(245, 200, 75, 0.08); border: 1px solid var(--border-gold);
  color: var(--gold-200); font-size: 14px; font-weight: 500;
}
[dir="rtl"] .eyebrow { padding: 6px 6px 6px 14px; }
.eyebrow-word {
  font-family: var(--font-ar); font-weight: 700; color: var(--on-gold);
  background: var(--grad-gold); border-radius: var(--pill); padding: 2px 12px;
}
.hero-title {
  margin-top: 18px;
  font-size: clamp(38px, 8.5vw, 68px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em;
}
html[lang="en"] .hero-title { letter-spacing: -0.025em; font-weight: 800; }
.hero-title span { display: block; }
.hero-sub { margin-top: 18px; max-width: 34em; color: var(--text-2); font-size: clamp(16px, 2.2vw, 18px); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stores.center { justify-content: center; }
.store img { height: 50px; width: auto; transition: transform .15s ease; }
.store:hover img { transform: translateY(-2px); }
.hero-note { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; }
.hero-note .dot { color: var(--gold-600); }
.link { color: var(--gold-300); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* The fanned hand of game cards. */
.fan { position: relative; height: 230px; width: 100%; max-width: 560px; margin-inline: auto; }
@media (min-width: 560px) { .fan { height: 380px; } }
.fan-card {
  --w: 92px;
  position: absolute; left: 50%; bottom: 10%;
  width: var(--w); padding: 10px 10px 12px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.15);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform-origin: 50% 100%;
  /* Physical `left` + translate on purpose: the fan is symmetric, so it
     looks the same in both directions. */
  transform: translateX(calc(-50% + var(--x) * var(--spread))) translateY(calc(var(--y) + var(--lift, 0px))) rotate(var(--rot));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  animation: floaty 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.fan { --spread: 54px; }
@media (min-width: 560px) { .fan { --spread: 96px; } .fan-card { --w: 146px; } }
.fan-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: rgba(15, 6, 23, .55); }
.fan-card span { display: block; margin-top: 8px; text-align: center; font-weight: 700; font-size: 12px; line-height: 1.25; }
@media (min-width: 560px) { .fan-card span { font-size: 14px; } }
.fan-card.c1 { --x: -2; --y: 34px; --rot: -16deg; --delay: 0s; z-index: 1; }
.fan-card.c2 { --x: -1; --y: 10px; --rot: -8deg;  --delay: .6s; z-index: 2; }
.fan-card.c3 { --x: 0;  --y: -8px; --rot: 0deg;   --delay: 1.2s; z-index: 3; }
.fan-card.c4 { --x: 1;  --y: 10px; --rot: 8deg;   --delay: 1.8s; z-index: 2; }
.fan-card.c5 { --x: 2;  --y: 34px; --rot: 16deg;  --delay: 2.4s; z-index: 1; }
.fan-card:hover { --lift: -14px; z-index: 4; }
.fan-card.c3 { border-color: var(--border-gold); box-shadow: 0 18px 40px rgba(0,0,0,.45), var(--glow-gold); }
@keyframes floaty {
  0%, 100% { margin-bottom: 0; }
  50% { margin-bottom: 10px; }
}

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 820px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.facts li {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--border);
}
.facts b { font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--gold-300); font-family: var(--font-en); }
html[lang="ar"] .facts li:last-child b { font-family: var(--font-ar); font-weight: 700; }
.facts span { color: var(--text-2); font-size: 14px; }

/* ── Section scaffolding ─────────────────────────────────── */
section { position: relative; }
.modes, .more, .invite, .faq, .final { padding-block: 72px; }
@media (min-width: 980px) { .modes, .more, .faq, .final { padding-block: 104px; } }
.sec-head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 40px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 10px;
}
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 15px; }
.h2 { font-size: clamp(28px, 5.4vw, 44px); line-height: 1.2; font-weight: 700; }
html[lang="en"] .h2 { letter-spacing: -0.02em; font-weight: 800; }
.sub { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.lead { margin-top: 16px; color: var(--text-2); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.8; }


/* ═══════════════════════════════════════════════════════════════
   SCROLL SCENES
   Without motion (no JS, reduced-motion, short screens) every scene
   is an ordinary section. With `html.motion`, a scene gets extra
   height and its .stage sticks to the top while the scroll engine in
   index.html scrubs `--p` (0→1) and a few inline transforms.
═══════════════════════════════════════════════════════════════ */
.scene { position: relative; }
.stage { position: relative; }

/* ── Scene 1: hero ── */
.scroll-cue { display: none; }
@media (min-width: 980px) and (min-height: 640px) {
  .motion .hero-scene { height: 185vh; }
  .motion .hero-scene .stage {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: var(--hdr-h); padding-bottom: 0;
  }
  .motion .hero-copy {
    opacity: calc(1 - var(--p, 0) * 1.7);
    transform: translateY(calc(var(--p, 0) * -110px)) scale(calc(1 - var(--p, 0) * .06));
    transform-origin: 50% 0;
  }
  /* the fan drifts to the centre of the screen as the copy fades out */
  .motion .hero-scene { --to-center: -26vw; }
  [dir="rtl"] .motion .hero-scene { --to-center: 26vw; }
  .motion .fan {
    transform: translateX(calc(var(--p, 0) * var(--to-center))) translateY(calc(var(--p, 0) * -20px)) scale(calc(1 + var(--p, 0) * .22));
  }
  .motion .fan-card {
    /* the hand straightens into a row and spreads as you scroll */
    transform:
      translateX(calc(-50% + var(--x) * var(--spread) * (1 + var(--p, 0) * .55)))
      translateY(calc(var(--y) * (1 - var(--p, 0)) + var(--lift, 0px)))
      rotate(calc(var(--rot) * (1 - var(--p, 0))));
  }
  .motion .moon { transform: rotate(-12deg) translateY(calc(var(--p, 0) * 60px)); }
  .motion .scroll-cue {
    display: block; position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.35);
    opacity: calc(1 - var(--p, 0) * 4);
  }
  .motion .scroll-cue span {
    position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
    background: var(--gold-300); animation: cue 1.6s ease-in-out infinite;
  }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.facts-band { padding-block: 28px 8px; background: var(--bg); }
@media (min-width: 980px) { .facts-band { padding-block: 40px 16px; } }

/* ── Scene 2: the story, lit word by word ── */
.story-scene {
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(107, 47, 201, .22), transparent 70%),
    var(--bg);
}
.story-stage { padding-block: 72px; }
.story-in { max-width: 980px; }
.statement {
  margin-top: 18px; font-weight: 700; line-height: 1.5;
  font-size: clamp(23px, 4.2vw, 44px);
}
html[lang="en"] .statement { letter-spacing: -0.015em; line-height: 1.35; }
.statement .w { transition: opacity .25s linear; }
@media (min-height: 700px) {
  .motion .story-scene { height: 240vh; }
  .motion .story-stage {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; align-items: center; padding-block: var(--hdr-h) 0;
  }
}

.beats-band { padding-block: 24px 72px; background: var(--bg); }
.beats { display: grid; gap: 12px; }
@media (min-width: 900px) { .beats { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.beat {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px;
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border);
}
.beat-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: rgba(245, 200, 75, 0.10); border: 1px solid var(--border-gold);
}
.beat h3 { font-size: 18px; font-weight: 700; }
.beat p { color: var(--text-2); font-size: 15px; }

/* ── Scene 3: one night, five games ── */
.night-scene { background: #120724; }
.night-stage { overflow: hidden; padding-block: 72px; }
.night-sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(165, 110, 255, .30), transparent 70%),
    linear-gradient(180deg, #2A1150 0%, #1A0A33 55%, #120724 100%);
}
.night-sky::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 20%, #fff, transparent 60%),
    radial-gradient(1px 1px at 22% 36%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 12%, #fff, transparent 60%),
    radial-gradient(1px 1px at 58% 30%, #fff, transparent 60%),
    radial-gradient(2px 2px at 76% 16%, #F6D366, transparent 60%),
    radial-gradient(1px 1px at 90% 40%, #fff, transparent 60%),
    radial-gradient(1px 1px at 14% 70%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 64%, #fff, transparent 60%),
    radial-gradient(1px 1px at 86% 82%, #fff, transparent 60%);
  opacity: .55;
}
.night-sky-late {
  position: absolute; inset: 0; opacity: 0;
  background:
    radial-gradient(50% 35% at 50% 0%, rgba(245, 200, 75, .10), transparent 70%),
    linear-gradient(180deg, #06020D 0%, #0A0416 55%, #120724 100%);
}
.night-moon {
  /* travels through the empty band between the hour rail and the game */
  display: none; position: absolute; top: calc(var(--hdr-h) + 138px); inset-inline-start: 6%;
  font-size: 34px; filter: drop-shadow(0 0 16px rgba(246, 211, 102, .8));
}
.night-in { position: relative; }
.night-head { text-align: center; margin-bottom: 28px; }
.hours { display: none; }
.chapters { display: grid; gap: 24px; max-width: 900px; margin-inline: auto; }
.time { display: flex; align-items: baseline; gap: 8px; color: var(--text-3); font-size: 14px; margin-bottom: 10px; }
.time b { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--gold-300); }

@media (min-height: 620px) {
  .motion .night-scene { height: 620vh; }
  .motion .night-stage {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    padding-block: calc(var(--hdr-h) + 8px) 20px;
  }
  .motion .night-in { display: flex; flex-direction: column; height: 100%; }
  .motion .night-head { margin-bottom: 14px; }
  .motion .night-head .h2 { font-size: clamp(24px, 4.2vw, 40px); }
  .motion .night-moon { display: block; }
  .motion .hours { display: block; position: relative; max-width: 620px; width: 100%; margin-inline: auto; }
  .motion .hours ol { display: flex; justify-content: space-between; position: relative; }
  .motion .hours li {
    font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--text-3);
    padding: 4px 8px; border-radius: var(--pill); transition: color .3s, background-color .3s, transform .3s;
  }
  .motion .hours li.past { color: var(--gold-600); }
  .motion .hours li.on { color: var(--on-gold); background: var(--grad-gold); transform: scale(1.12); box-shadow: var(--glow-gold); }
  .motion .hours-track {
    position: absolute; top: 50%; inset-inline: 22px; height: 2px; margin-top: -1px;
    background: rgba(255, 255, 255, .12); border-radius: 2px;
  }
  .motion .hours-fill {
    position: absolute; inset: 0; background: var(--grad-gold); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,1,.3,1);
  }
  [dir="rtl"].motion .hours-fill { transform-origin: right; }
  .motion .chapters { position: relative; flex: 1; width: 100%; margin-top: 12px; }
  .motion .chapter {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
    will-change: transform, opacity;
  }
  .motion .chapter:not(:first-child) { opacity: 0; }
  .motion .chapter .time { justify-content: center; }
  .motion .game { background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .motion .game:hover { transform: none; }
}
@media (min-height: 620px) and (min-width: 900px) {
  .motion .game { grid-template-columns: 260px 1fr; gap: 36px; padding: 32px; align-items: center; }
  .motion .game-art { width: 260px; height: 260px; border-radius: 40px; padding: 24px; }
  .motion .game-name { font-size: 40px; }
  .motion .game-tag { font-size: 19px; }
  .motion .chapter .time b { font-size: 28px; }
}
@media (min-height: 620px) and (max-width: 559px) {
  /* phones: a tighter card so an hour always fits the screen */
  .motion .game { padding: 16px; gap: 12px; }
  .motion .game-art { width: 92px; height: 92px; border-radius: 20px; }
  .motion .game-name { font-size: 22px; }
  .motion .game-tag { font-size: 15px; }
  .motion .chips { margin-top: 10px; }
  .motion .chips li { font-size: 12px; padding: 3px 10px; }
  .motion .steps { margin-top: 12px; gap: 6px; }
  .motion .steps li { font-size: 14px; }
  .motion .chapter .time { margin-bottom: 6px; }
}

/* ── Game card (inside the night scene) ─────────────────── */
.game {
  display: grid; gap: 18px; padding: 18px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease;
}
.game:hover { border-color: var(--border-gold); transform: translateY(-2px); }
@media (min-width: 560px) { .game { grid-template-columns: 132px 1fr; padding: 22px; } }
.game-art {
  position: relative; width: 112px; height: 112px; border-radius: 24px; padding: 10px;
  display: grid; place-items: center;
}
@media (min-width: 560px) { .game-art { width: 132px; height: 132px; } }
.game-art img { width: 100%; height: 100%; object-fit: contain; }
.art-gold { background: radial-gradient(circle at 50% 40%, rgba(245,200,75,.28), rgba(245,200,75,.06) 70%); }
.art-red { background: radial-gradient(circle at 50% 40%, rgba(255,92,122,.28), rgba(255,92,122,.06) 70%); }
.art-purple { background: radial-gradient(circle at 50% 40%, rgba(165,110,255,.34), rgba(165,110,255,.08) 70%); }
.art-blue { background: radial-gradient(circle at 50% 40%, rgba(111,168,255,.30), rgba(111,168,255,.06) 70%); }
.new {
  position: absolute; top: -8px; inset-inline-end: -8px;
  padding: 2px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 800;
  background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--glow-gold);
}
.game-name { font-size: 26px; font-weight: 700; line-height: 1.2; }
.game-tag { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li {
  padding: 4px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text-2);
}
.steps { margin-top: 16px; display: grid; gap: 8px; counter-reset: step; }
.steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.steps li::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; font-family: var(--font-en);
  background: rgba(245, 200, 75, .14); color: var(--gold-300); border: 1px solid var(--border-gold);
}
.game-more {
  display: inline-block; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--gold-300);
}
.game-more:hover { text-decoration: underline; }
/* ── Ways to play ────────────────────────────────────────── */
.mode-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .mode-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.mode {
  padding: 26px; border-radius: var(--r-lg); text-align: center;
  background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.mode img, .mode .tv { width: 108px; height: 108px; margin-bottom: 6px; }
.tv {
  display: grid; place-items: center; font-size: 56px; border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(165,110,255,.34), rgba(165,110,255,.08) 70%);
}
.mode h3 { font-size: 21px; font-weight: 700; }
.mode p { color: var(--text-2); font-size: 15px; }
.mode .mode-games {
  margin-top: auto; padding-top: 10px; color: var(--gold-300); font-weight: 700; font-size: 14px;
}

/* ── More than games ─────────────────────────────────────── */
.more { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.more-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .more-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feat {
  padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border);
  display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start;
}
.feat > span { font-size: 28px; line-height: 1.2; grid-row: span 2; }
@media (min-width: 640px) {
  .feat { display: block; padding: 22px; }
  .feat > span { display: block; margin-bottom: 8px; }
}
.feat h3 { font-size: 18px; font-weight: 700; }
.feat p { margin-top: 4px; color: var(--text-2); font-size: 15px; }

/* ── Invite ──────────────────────────────────────────────── */
.invite { padding-block: 24px 72px; background: var(--bg-2); }
.invite-card {
  display: grid; gap: 22px; align-items: center;
  padding: 28px var(--gutter); border-radius: var(--r-xl);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(245,200,75,.22), transparent 60%),
    linear-gradient(135deg, rgba(107,47,201,.45), rgba(23,12,33,.9));
  border: 1px solid var(--border-gold);
}
@media (min-width: 900px) {
  .invite-card { grid-template-columns: 1.4fr auto; padding: 44px 48px; }
}
.invite-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: var(--r); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.qa[open] { border-color: var(--border-gold); }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--gold-300);
  background: rgba(245,200,75,.10); transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 20px 18px; color: var(--text-2); font-size: 15.5px; }

/* ── Final CTA ───────────────────────────────────────────── */
.final {
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(245,200,75,.16), transparent 70%),
    var(--bg);
}
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-logo { width: 170px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(245,200,75,.25)); }

/* ── Footer ──────────────────────────────────────────────── */
.foot { background: var(--bg-deep); border-top: 1px solid var(--border); padding-top: 48px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand img { height: 56px; width: auto; }
.foot-brand p { margin-top: 10px; color: var(--text-3); max-width: 28em; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.foot-col a { color: var(--text-3); font-size: 15px; }
.foot-col a:hover { color: var(--gold-300); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding-block: 22px; margin-top: 36px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-2);
}
.social a:hover { color: var(--gold-300); border-color: var(--border-gold); }

/* ── Reveal on scroll: rise, sharpen, settle ─────────────── */
.js .rv {
  opacity: 0; transform: translateY(42px) scale(.97); filter: blur(8px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1);
}
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.d1 { transition-delay: .08s; }
.js .rv.d2 { transition-delay: .16s; }
.js .rv.d3 { transition-delay: .24s; }
.js .rv.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
}
