@import url("./tokens.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  font-family: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-deep); }

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

/* ============================================================
   STICKY NAV
   Dark, glassmorphic. Gold logo, soft border under to separate
   from hero. CTA pill is the visual anchor — biggest gold thing
   above the fold.
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(15, 19, 32, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 209, 102, 0.12);
}
.nav .logo {
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-size: 18px;
  font-feature-settings: "ss01";
}
.nav .links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
}
.nav .links a {
  color: var(--text-on-dark-muted);
  transition: color 180ms ease;
}
.nav .links a:hover { color: var(--gold); }
.nav .spacer { flex: 1; }
.nav .cta {
  background: var(--gold);
  color: #1a1311;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.nav .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 209, 102, 0.45);
  color: #1a1311;
}

/* ============================================================
   HERO
   Two-column on desktop, stacked on mobile. Big headline, one
   tight paragraph, two CTAs. Right column hosts the live
   spectator card (the social-proof "people are playing right
   now" hook). Background has a soft radial gold glow so the
   page doesn't read as a flat black slab.
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 32px 96px;
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%,
      rgba(255, 209, 102, 0.10),
      transparent 70%),
    radial-gradient(ellipse 60% 70% at 80% 90%,
      rgba(244, 160, 32, 0.08),
      transparent 70%),
    var(--bg-deep);
  overflow: hidden;
}
.hero .hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--text-on-dark);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.hero h1 .hl {
  color: var(--gold);
  white-space: nowrap;
}
.hero p {
  font-size: 18px;
  color: var(--text-on-dark-muted);
  max-width: 520px;
  line-height: 1.55;
  margin: 0 0 32px;
}
.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #1a1311;
  box-shadow: 0 6px 18px rgba(255, 209, 102, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--gold-deep);
  color: #1a1311;
  box-shadow: 0 10px 28px rgba(244, 160, 32, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(244, 246, 255, 0.28);
}
.btn-secondary:hover {
  background: rgba(244, 246, 255, 0.06);
  border-color: rgba(244, 246, 255, 0.45);
  color: var(--text-on-dark);
}

/* Hero meta strip — tiny social-proof beneath the CTAs */
.hero .trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-on-dark-muted);
}
.hero .trust .dot {
  width: 4px; height: 4px;
  background: var(--text-on-dark-muted);
  border-radius: 50%;
}

/* ============================================================
   SPECTATOR CARD (live preview, right column of hero)
   Looks like a card from inside the game. Dark base, gold
   hairline, the live red pulse, a faux mini-arena while the
   real one loads.
   ============================================================ */
.spectator-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.spectator-card .live-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(255, 77, 109, 0.55);
}
.spectator-card .live-pill::before {
  content: "● ";
  animation: blink 1.4s infinite;
}
.spectator-card .vs-row {
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.spectator-card .mini-arena {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  height: 220px;
  background:
    radial-gradient(ellipse at center, #0d2818 0%, #07150c 100%);
  border: 1px solid rgba(255, 209, 102, 0.14);
  border-radius: 12px;
  padding: 10px;
}

/* ---------------------------------------------------------------
   Bare mode — strip the card chrome so the bot-demo canvas
   reads as part of the page itself, not a widget on top of it.
   Same idea as an inline Instagram photo: no surrounding frame,
   no badge, no caption — just the visual content.

   We keep the `.spectator-card` class on the element so existing
   layout selectors (hero grid columns, max-width) still apply;
   `.spectator-card--bare` then neutralizes everything visual.
   --------------------------------------------------------------- */
.spectator-card.spectator-card--bare {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
.spectator-card--bare .live-pill,
.spectator-card--bare .vs-row,
.spectator-card--bare .viewer-count {
  display: none;
}

/* ============================================================
   BOT-VS-BOT DEMO ARENA (replaces the old grid-of-rects).
   Card art is real Whot PNGs — see /js/bot-demo.js.

   Two layouts, switched by orientation:

   * PORTRAIT (default) — three rows: top seat / centre
     (market + pile, kept close) / bottom seat. The seats sit
     above/below the centre, matching how a phone-in-portrait
     player sees the table.
   * LANDSCAPE — three columns: left seat / centre (market +
     pile, kept close) / right seat. Opponents face each other
     across the table, which reads more naturally on wide
     viewports (tablets, desktops, phones rotated sideways).

   A transparent .bot-demo-flight layer sits on top of everything
   so flying cards never get clipped by seat or centre containers.
   ============================================================ */
.spectator-card .mini-arena.bot-demo-arena {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  grid-template-columns: 1fr;
  gap: 4px;
  height: 300px;
  position: relative;
  overflow: hidden;
  /* Felt-table backdrop with gold flood near the centre so the
     pile pops without overwhelming the seats. */
  background:
    radial-gradient(ellipse at center, #2a1212 0%, #0d0606 78%);
  /* Game-screen "window" framing: a gold-rimmed bezel with an inner
     vignette + soft outer glow so the demo reads as a live arena
     screen rather than a flat panel. */
  border-radius: 16px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 46px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(255, 209, 102, 0.1),
    0 22px 55px rgba(0, 0, 0, 0.5);
  animation: arenaGlow 4.5s ease-in-out infinite;
}
@keyframes arenaGlow {
  0%, 100% { border-color: rgba(255, 209, 102, 0.18); }
  50%      { border-color: rgba(255, 209, 102, 0.42); }
}
.bot-demo-seat {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Portrait: pull both seats IN toward the table centre so the hands
   sit close to the market + pile (the old flex-start/flex-end pushed
   them to the arena edges, leaving a dead gap above/below centre). */
.bot-demo-seat-top    { align-items: flex-end;   padding-bottom: 6px; }
.bot-demo-seat-bottom { align-items: flex-start; padding-top: 6px; }
.bot-demo-back-stack {
  position: relative;
  width: 56px;
  height: 84px;
}
.bot-demo-back {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 84px;
  border-radius: 5px;
  /* Subtle gold rim mirrors the in-game card border. */
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.45);
}
/* Portrait: market sits to the LEFT of the pile, close enough
   that the eye reads them as a single "table centre" — the
   previous spacing made the market look detached at the edge. */
.bot-demo-center {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
}
.bot-demo-market {
  position: relative;
  width: 50px;
  height: 76px;
  opacity: 0.92;
}
.bot-demo-market .bot-demo-back {
  width: 50px;
  height: 76px;
}
.bot-demo-pile {
  position: relative;
  width: 64px;
  height: 96px;
  /* Soft gold spotlight under the play pile so the most recent
     card reads as the action centre. */
  background:
    radial-gradient(circle at center, rgba(255, 209, 102, 0.25) 0%, transparent 70%);
  border-radius: 12px;
}
.bot-demo-pile-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 96px;
  border-radius: 5px;
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
/* Flight layer floats above seats / pile so the animating card
   doesn't get clipped by either container. Pointer-events: none
   so the card never intercepts clicks meant for elsewhere. */
.bot-demo-flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bot-demo-flying {
  position: absolute;
  width: 64px;
  height: 96px;
  border-radius: 5px;
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.65);
  will-change: left, top, transform;
}

/* ------------------------------------------------------------
   LANDSCAPE: seats face each other across the table. Triggers
   on any viewport that's wider than tall once it's at least
   600px wide — that's the floor where the side-by-side layout
   actually fits the spectator card without the seats and the
   centre colliding.
   ------------------------------------------------------------ */
@media (orientation: landscape) and (min-width: 600px) {
  .spectator-card .mini-arena.bot-demo-arena {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr auto 1fr;
    /* Taller in landscape so the arena reads as a more square,
       window-like game screen instead of a flat letterbox strip. */
    height: 340px;
  }
  .bot-demo-seat-top {
    /* Repurpose as the LEFT seat in landscape. Extra right
       padding so the seat reads as separated from the table
       centre — at 12px the cards crowded into the market. */
    align-items: center;
    justify-content: flex-end;
    padding: 0 28px 0 0;
  }
  .bot-demo-seat-bottom {
    /* Repurpose as the RIGHT seat in landscape. */
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 28px;
  }
  .bot-demo-center {
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
    align-items: center;
    /* Wider gap so the market reads as its own deck instead of
       sitting flush against the play pile. */
    gap: 22px;
    padding: 0;
  }

  /* ----- Card sizes scaled to ~0.85 of portrait so the seats
     have room to breathe inside the landscape viewport. Aspect
     ratio preserved (each dimension scaled the same factor)
     so the PNG art doesn't distort. ----- */
  .bot-demo-arena .bot-demo-back-stack {
    width: 48px;
    height: 72px;
  }
  .bot-demo-arena .bot-demo-back {
    width: 48px;
    height: 72px;
  }
  .bot-demo-arena .bot-demo-market {
    width: 42px;
    height: 64px;
  }
  .bot-demo-arena .bot-demo-market .bot-demo-back {
    width: 42px;
    height: 64px;
  }
  .bot-demo-arena .bot-demo-pile {
    width: 54px;
    height: 82px;
  }
  .bot-demo-arena .bot-demo-pile-card {
    width: 54px;
    height: 82px;
  }
  .bot-demo-arena .bot-demo-flying {
    width: 54px;
    height: 82px;
  }
}
.spectator-card .viewer-count {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.spectator-card .viewer-count::before {
  content: "👁";
  font-size: 13px;
}
@keyframes blink { 50% { opacity: 0.35; } }

/* ============================================================
   LIGHT CONTENT SECTIONS
   These sit on cream and act as breathing room between the dark
   hero, the dark CTA, and the dark footer. Eyebrow / title /
   sub-title rhythm is consistent across all .section blocks.
   ============================================================ */
.section {
  background: var(--surface);
  color: var(--ink);
  padding: 80px 32px;
}
.section.alt { background: var(--surface-2); }
.section.dark {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section.dark .eyebrow { color: var(--gold); }
.section h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.section .sub {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.55;
}
.section.dark .sub { color: var(--text-on-dark-muted); }

/* ============================================================
   TOURNAMENTS GRID
   Same shape as before, repainted on cream cards with gold
   left border + dark text so they stand apart from the hero.
   ============================================================ */
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.tournament-card {
  background: white;
  border: 1px solid rgba(26, 19, 17, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.tournament-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(26, 19, 17, 0.12);
}
.tournament-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 800;
}
.tournament-card .meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.tournament-card .preset-badge {
  display: inline-block;
  font-size: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1311;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
.tournament-card .join {
  display: block;
  text-align: center;
  background: #1a1311;
  color: var(--gold);
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 180ms ease;
}
.tournament-card .join:hover {
  background: var(--bg-card);
  color: var(--gold);
}

.tournament-empty {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
  color: var(--ink-muted);
  background: white;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(26, 19, 17, 0.18);
}

/* ============================================================
   "WHY" FEATURE CARDS
   Was a thin grid; redesigned as proper cards with icons,
   titles, and one-sentence benefits. Each card has a gold
   number badge so the eye flows top-to-bottom even on mobile
   stacking.
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: white;
  border: 1px solid rgba(26, 19, 17, 0.08);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.feature-card .badge {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #1a1311;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.35);
}
.feature-card h4 {
  margin: 12px 0 8px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.005em;
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ============================================================
   "HOW IT WORKS" 3-STEP STRIP
   Replaces what used to be feature blurbs with a clear
   numbered path so a first-time visitor knows exactly what
   tapping "Play Now" does.
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  background: white;
  border: 1px solid rgba(26, 19, 17, 0.06);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--gold-deep);
  font-weight: 900;
  font-size: 28px;
  font-feature-settings: "lnum";
  margin-bottom: 6px;
}
.step h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 800;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ============================================================
   FINAL CTA (dark band) + DOWNLOAD BADGES
   ============================================================ */
.final-cta {
  background:
    radial-gradient(ellipse 50% 60% at 50% 30%,
      rgba(255, 209, 102, 0.14),
      transparent 70%),
    var(--bg-deep);
  text-align: center;
  padding: 88px 32px;
}
.final-cta h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-on-dark);
}
.final-cta h2 .hl { color: var(--gold); }
.final-cta p {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  margin: 0 0 32px;
}
.final-cta .badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(244, 246, 255, 0.06);
  border: 1px solid rgba(244, 246, 255, 0.18);
  color: var(--text-on-dark);
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.store-badge:hover {
  background: rgba(244, 246, 255, 0.10);
  border-color: var(--gold);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}
.store-badge .where { font-size: 11px; opacity: 0.7; font-weight: 500; }
.store-badge .name { font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 40px 32px 56px;
  background: #07091a;
  color: var(--text-on-dark-muted);
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255, 209, 102, 0.10);
}
footer a { color: var(--text-on-dark-muted); }
footer a:hover { color: var(--gold); }
footer .links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION REVEAL on scroll (handled by nav.js)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   Stack hero on tablet, hide nav links on small mobile, tighten
   section padding so the page doesn't have a kilometre of white
   space on phones.
   ============================================================ */
@media (max-width: 880px) {
  .hero .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 24px 72px; }
  .section { padding: 60px 24px; }
  .final-cta { padding: 64px 24px; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 18px; gap: 12px; }
  .nav .links { display: none; }
  .nav .logo { font-size: 16px; letter-spacing: 0.12em; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}

/* ---- Guides teaser (links into /blog) ---- */
.guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.guide-links a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--off);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.guide-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* ============================================================
   FAQ — accordion of crawlable Q&A (mirrors the FAQPage JSON-LD).
   White cards on the alt surface, matching .guide-links.
   ============================================================ */
.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--off);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--gold-deep);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.6;
}
.faq-list details p a { color: var(--gold-deep); font-weight: 600; }

/* ============================================================
   BRAND — self-hosted wordmark font + suit-colour band + hero demo
   ============================================================ */
@font-face {
  font-family: "Permanent Marker";
  src: url("/fonts/PermanentMarker-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.wordmark {
  font-family: "Permanent Marker", system-ui, cursive;
  color: var(--gold);
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  margin: 6px 0 10px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
}
.suit-band {
  display: flex;
  gap: 6px;
  width: min(280px, 70%);
  margin: 0 0 22px;
}
.suit-band span {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: var(--c);
}

/* Hero looping-gameplay phone */
.hero-demo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-demo .phone {
  position: relative;
  padding: 10px;
  background: #0b0814;
  border-radius: 38px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  max-width: 300px;
}
.hero-demo .phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* ============================================================
   STORE BADGES — real App Store / Google Play / browser badges
   ============================================================ */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  border-radius: 11px;
  line-height: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 209, 102, 0.22);
}
.store-badge svg { height: 54px; width: auto; display: block; border-radius: 11px; }
