/* ============================================================
   PlayVix — Game Guide Shared Stylesheet
   Multi-page casino game directory / encyclopedia
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f1a;
  --bg-3: #13131f;
  --card: rgba(26, 26, 46, 0.6);
  --card-solid: #1a1a2e;
  --card-hover: rgba(32, 32, 56, 0.75);
  --card-border: rgba(251, 191, 36, 0.15);
  --card-border-hover: rgba(251, 191, 36, 0.45);
  --line: rgba(255, 255, 255, 0.08);

  --gold: #fbbf24;
  --gold-soft: #fcd34d;
  --orange: #f97316;
  --gold-grad: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(249, 115, 22, 0.08));
  --neon: #22c55e;
  --neon-soft: #4ade80;
  --neon-glow: 0 0 20px rgba(34, 197, 94, 0.6);
  --purple: #8b5cf6;
  --red: #ef4444;

  --text: #f5f5f7;
  --text-dim: #9ca3af;
  --text-dimmer: #6b7280;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glow-gold: 0 0 24px rgba(251, 191, 36, 0.35);
  --glow-gold-hover: 0 0 40px rgba(251, 191, 36, 0.55);
  --glow-neon: 0 0 30px rgba(34, 197, 94, 0.5);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --nav-h: 68px;
  --section-py: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.tabular { font-variant-numeric: tabular-nums; }

::selection { background: rgba(251, 191, 36, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

.section { padding: var(--section-py) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.6), transparent); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.section-sub { color: var(--text-dim); font-size: 1.02rem; max-width: 580px; margin: 0 auto; }

.text-center { text-align: center; }
.text-gradient-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-neon { color: var(--neon); }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-size: 0.94rem;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.2s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--sm { padding: 7px 14px; font-size: 0.84rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: var(--gold-grad);
  color: #1a1206;
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.25);
}
.btn--gold:hover { box-shadow: var(--glow-gold-hover); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(251, 191, 36, 0.06); transform: translateY(-2px); }

.btn--neon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #04210f;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}
.btn--neon:hover { box-shadow: 0 0 30px rgba(34, 197, 94, 0.65); transform: translateY(-2px); }

/* ---------- Ambient background ---------- */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}
.bg-glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22), transparent 65%);
  top: -200px; left: -150px;
}
.bg-glow--2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 65%);
  top: 30%; right: -200px;
}
.bg-glow--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 65%);
  bottom: -100px; left: 30%;
}

/* ============================================================
   AGE VERIFICATION MODAL
   ============================================================ */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.age-modal.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15), transparent 50%),
    rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.age-modal__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 26, 0.97));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.25), 0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: 1;
  animation: agePop 0.5s var(--ease-spring);
}
@keyframes agePop {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.age-badge {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.7rem; color: #1a1206;
  box-shadow: var(--glow-gold), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.08);
}

.age-modal__title { font-size: 1.5rem; margin-bottom: 12px; }
.age-modal__text { color: var(--text-dim); margin-bottom: 24px; font-size: 0.96rem; }
.age-modal__text strong { color: var(--gold); }
.age-modal__buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.age-modal__disclaimer { font-size: 0.82rem; color: var(--text-dimmer); margin-bottom: 12px; }
.age-modal__links {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 0.82rem; flex-wrap: wrap;
}
.age-modal__links a { color: var(--gold); transition: color 0.2s; }
.age-modal__links a:hover { color: var(--orange); text-decoration: underline; }
.age-modal__links .dot { color: var(--text-dimmer); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-h);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo__icon { display: inline-flex; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45)); }
.logo__wordmark { color: #fff; }

.nav-cats {
  display: none;
  gap: 4px;
  margin-left: 8px;
}
.nav-cats a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}
.nav-cats a:hover, .nav-cats a.is-active { color: var(--gold); background: rgba(251, 191, 36, 0.08); }

.nav-search {
  margin-left: auto;
  position: relative;
  display: none;
  align-items: center;
}
.nav-search__icon {
  position: absolute;
  left: 12px;
  color: var(--text-dimmer);
  pointer-events: none;
  display: inline-flex;
}
.nav-search input {
  width: 200px;
  padding: 9px 12px 9px 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.86rem;
  font-family: inherit;
  transition: border-color 0.2s, width 0.3s, background 0.2s;
}
.nav-search input::placeholder { color: var(--text-dimmer); }
.nav-search input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  width: 240px;
}

.nav-lang {
  position: relative;
  display: none;
}
.nav-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s;
}
.nav-lang__btn:hover { color: var(--gold); border-color: var(--card-border-hover); }
.nav-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}
.nav-lang.is-open .nav-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-lang__menu button {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-lang__menu button:hover { background: rgba(251, 191, 36, 0.1); color: var(--gold); }
.nav-lang__menu button.is-active { color: var(--gold); font-weight: 700; }

.nav-cta { display: none; gap: 10px; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 0 10px;
  margin-left: auto;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0;
  width: min(84vw, 340px); height: 100%;
  background: linear-gradient(180deg, #13131f, #0a0a0f);
  border-left: 1px solid var(--card-border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  padding: 80px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text); font-size: 1.1rem;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 13px 12px; font-size: 1.05rem; font-weight: 600;
  border-radius: 10px; transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.mobile-menu nav a:hover { background: rgba(251, 191, 36, 0.08); color: var(--gold); padding-left: 18px; }
.mobile-menu .nav-search { display: flex; width: 100%; margin: 0; }
.mobile-menu .nav-search input { width: 100%; }
.mobile-menu .nav-search input:focus { width: 100%; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero__sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin: 0 auto 30px;
  max-width: 600px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center;
  color: var(--text-dim); font-size: 0.86rem;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(251, 191, 36, 0.1); color: var(--gold); font-size: 0.9rem;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin: 0 auto 40px;
  width: fit-content; max-width: 100%;
}
.tabs-wrap { display: flex; justify-content: center; }
.tab {
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem;
  color: var(--text-dim); transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-active {
  background: var(--gold-grad); color: #1a1206;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
}

/* ============================================================
   GAME CARDS (home grid + related games)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.game-card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow-gold-hover), var(--shadow-card);
}
.game-card.is-hidden { display: none; }

.game-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--cover-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
  box-shadow: inset 0 0 40px rgba(0,0,0,0.45);
  transition: box-shadow var(--ease), transform var(--ease);
}
.game-cover:hover {
  box-shadow: inset 0 0 40px rgba(0,0,0,0.35), 0 0 36px rgba(251,191,36,.35);
  transform: translateY(-3px);
}
.game-cover::before { content: none; }
.game-cover__emoji,
.game-cover__name,
.game-cover__decor,
.game-cover__scrim { display: none; }
.game-cover__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; transition: transform 0.5s var(--ease);
}
.game-cover:hover .game-cover__img { transform: scale(1.06); }
.game-cover__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.05) 40%, rgba(10,10,15,0.82) 100%),
    radial-gradient(circle at 50% 35%, rgba(0,0,0,0) 35%, rgba(10,10,15,0.45) 100%);
}
.game-cover.has-img { justify-content: flex-end; align-items: flex-start; padding: 12px; gap: 0; }
.game-cover.has-img .game-cover__name { z-index: 2; }
.game-cover.has-img .cat-badge,
.game-cover.has-img .rtp-badge { z-index: 3; }
.related-card__img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}
.related-card__emoji { position: relative; z-index: 1; }

.cat-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; backdrop-filter: blur(8px);
}
.cat-badge--crash { background: rgba(239, 68, 68, 0.88); color: #fff; }
.cat-badge--slots { background: rgba(139, 92, 246, 0.88); color: #fff; }
.cat-badge--instant { background: rgba(6, 182, 212, 0.88); color: #04232a; }

.rtp-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px);
  color: var(--gold); font-size: 0.7rem; font-weight: 700;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.game-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card__title { font-size: 1.02rem; font-weight: 800; }
.game-card__meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 0.76rem; color: var(--text-dim);
}
.game-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.game-card__max {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--neon);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}
.game-card__actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* ============================================================
   DETAIL PAGE — Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.85rem; color: var(--text-dim);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-dimmer); }
.breadcrumb [aria-current="page"] { color: var(--gold); font-weight: 600; }

/* ============================================================
   DETAIL PAGE — Overview
   ============================================================ */
.overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 0;
}
.overview__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card), var(--glow-gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: var(--cover-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
}
.overview__cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.16), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.4), transparent 55%);
}
.overview__cover-emoji {
  font-size: clamp(4rem, 12vw, 6rem);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
  position: relative; z-index: 1;
  animation: coverFloat 4s ease-in-out infinite;
}
.overview__cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; z-index: 0;
}
.overview__cover-scrim { display: none; }
.overview__cover.has-img { justify-content: center; align-items: center; padding: 0; gap: 0; }
.overview__cover.has-img .overview__cover-name,
.overview__cover.has-img .overview__cover-tagline { display: none; }
.overview__cover-name {
  position: relative; z-index: 1;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em;
  color: #fff; text-shadow: 0 3px 16px rgba(0, 0, 0, 0.7);
}
.overview__cover-decor { position: absolute; inset: 0; pointer-events: none; }

.overview__info { display: flex; flex-direction: column; gap: 18px; }
.overview__tag {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 5px 14px; border-radius: var(--radius-pill);
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.overview__title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.overview__tagline { color: var(--text-dim); font-size: 1.05rem; line-height: 1.6; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.stat-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.stat-card__label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dimmer); font-weight: 600; margin-bottom: 4px;
}
.stat-card__value {
  font-size: 1.05rem; font-weight: 800; color: var(--text);
}
.stat-card__value--gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card__value--neon {
  color: var(--neon); text-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.overview__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* ============================================================
   DETAIL PAGE — Content sections
   ============================================================ */
.guide-section { padding: 48px 0; border-top: 1px solid var(--line); }
.guide-section:first-of-type { border-top: none; }
.guide-section__head { margin-bottom: 28px; }
.guide-section__title {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  display: flex; align-items: center; gap: 12px;
}
.guide-section__title .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 1.3rem; flex-shrink: 0;
}
.prose { color: var(--text-dim); font-size: 1rem; line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul { margin: 16px 0; padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "▸"; position: absolute; left: 6px; top: 0;
  color: var(--gold); font-weight: 800;
}

/* How to play — steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  padding: 22px 22px 22px 72px;
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover { border-color: var(--card-border-hover); transform: translateX(4px); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 18px; top: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-grad); color: #1a1206;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}
.step__title { font-size: 1.08rem; margin-bottom: 6px; }
.step__desc { color: var(--text-dim); font-size: 0.94rem; line-height: 1.6; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
  padding: 24px;
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(251,191,36,0.18);
}
.feature-card__icon {
  font-size: 1.8rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  margin-bottom: 14px;
}
.feature-card__title { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card__desc { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* Tips */
.tips-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tip {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
}
.tip__num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold-grad); color: #1a1206;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.95rem;
}
.tip__body h4 { font-size: 1rem; margin-bottom: 5px; }
.tip__body p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   SCREENSHOT MOCKUPS
   ============================================================ */
.shots-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--shot-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  isolation: isolate;
}
.shot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0,0,0,0.4), transparent 50%);
}
.shot__emoji { font-size: 3rem; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); animation: coverFloat 4s ease-in-out infinite; }
.shot__label {
  margin-top: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.shot__chrome {
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
}
.shot__chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.shot__chrome span:nth-child(1) { background: #ff5f57; }
.shot__chrome span:nth-child(2) { background: #febc2e; }
.shot__chrome span:nth-child(3) { background: #28c840; }

/* ============================================================
   BIG WINS (detail page + cards)
   ============================================================ */
.wins-subhead {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.record-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #1a1206; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 0 18px rgba(251,191,36,0.5);
  animation: recordPulse 2s ease-in-out infinite;
}
@keyframes recordPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(251,191,36,0.5); }
  50% { box-shadow: 0 0 30px rgba(251,191,36,0.85); }
}

.win-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.win-card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer; text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.win-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.25), var(--shadow-card);
}
.win-thumb {
  position: relative; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background: var(--win-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
  overflow: hidden;
}
.win-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55));
}
.win-thumb__emoji {
  font-size: 3rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  position: relative; z-index: 1;
  animation: coverFloat 3.5s ease-in-out infinite;
}
.win-play {
  position: absolute; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(251,191,36,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring), background 0.3s;
  backdrop-filter: blur(4px);
}
.win-card:hover .win-play { transform: scale(1.12); background: rgba(251,191,36,0.2); }
.win-duration {
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(0,0,0,0.75);
  font-size: 0.72rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.win-flag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
}
.win-flag--live { background: rgba(239,68,68,0.92); color: #fff; }
.win-flag--verified { background: rgba(34,197,94,0.92); color: #04210f; }
.win-flag--record {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #1a1206;
}
.win-body { padding: 14px 16px 16px; }
.win-amount {
  font-size: 1.45rem; font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(34,197,94,0.55);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
  animation: winPulse 1.8s ease-in-out infinite;
  letter-spacing: -0.02em;
}
@keyframes winPulse {
  0%, 100% { text-shadow: 0 0 16px rgba(34,197,94,0.45); }
  50% { text-shadow: 0 0 32px rgba(34,197,94,0.85); }
}
.win-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  align-items: center;
  font-size: 0.8rem; color: var(--text-dim);
}
.win-meta .mult { color: var(--gold); font-weight: 700; }

/* Win modal */
/* ===== Subscribe modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,10,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__dialog { position: relative; transform: scale(.95) translateY(10px); transition: transform .35s var(--ease-spring); }
.modal.is-open .modal__dialog { transform: scale(1) translateY(0); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: background .2s, transform .2s; }
.modal__close:hover { background: rgba(251,191,36,.18); transform: rotate(90deg); }
.sub-modal__dialog { width: 100%; max-width: 460px; background: linear-gradient(180deg, #161628, #0d0d18); border: 1px solid rgba(251,191,36,.3); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(251,191,36,.18); padding: 34px 28px 28px; text-align: center; max-height: 90vh; overflow-y: auto; }
.sub-modal__art { position: relative; width: 88px; height: 88px; margin: 0 auto 16px; display: grid; place-items: center; }
.sub-modal__emoji { font-size: 46px; position: relative; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); animation: subFloat 3s ease-in-out infinite; }
.sub-modal__glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.5), transparent 65%); filter: blur(8px); animation: subPulse 2.4s ease-in-out infinite; }
@keyframes subFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes subPulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.sub-modal__title { font-size: 24px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-modal__text { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin: 0 auto 22px; max-width: 360px; }
.sub-form { display: grid; gap: 12px; text-align: left; }
.sub-form__field { position: relative; display: flex; align-items: center; }
.sub-form__icon { position: absolute; left: 14px; color: var(--text-dim); pointer-events: none; }
.sub-form__field input { width: 100%; padding: 14px 14px 14px 44px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--text); font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.sub-form__field input::placeholder { color: #6b7280; }
.sub-form__field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251,191,36,.18); }
.sub-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text-dim); line-height: 1.5; cursor: pointer; user-select: none; }
.sub-form__check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.sub-form__check a { color: var(--gold); text-decoration: none; }
.sub-form__error { color: #f87171; font-size: 12.5px; margin: 0; }
.sub-success { padding: 8px 0 4px; }
.sub-success__check { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(34,197,94,.15); border: 2px solid var(--neon); color: var(--neon); font-size: 30px; font-weight: 900; margin-bottom: 12px; box-shadow: 0 0 24px rgba(34,197,94,.4); }
.sub-success__title { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: var(--neon); }
.sub-success__text { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Win modal ===== */
.win-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.win-modal.is-open { visibility: visible; opacity: 1; }
.win-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,10,0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.win-modal__dialog {
  position: relative; width: 100%; max-width: 640px;
  background: linear-gradient(180deg, #161628, #0d0d18);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(251,191,36,0.2);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s var(--ease-spring);
  max-height: 90vh; overflow-y: auto;
}
.win-modal.is-open .win-modal__dialog { transform: scale(1) translateY(0); }
.win-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s, transform 0.2s;
}
.win-modal__close:hover { background: rgba(239,68,68,0.8); transform: rotate(90deg); }
.win-modal__player {
  position: relative; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background: var(--win-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
  overflow: hidden;
}
.win-modal__thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
  animation: coverFloat 3s ease-in-out infinite;
}
.win-modal__play { position: relative; z-index: 2; animation: playPulse 2s ease-in-out infinite; }
@keyframes playPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.win-modal__duration {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  padding: 4px 10px; background: rgba(0,0,0,0.75); border-radius: 6px;
  font-size: 0.8rem; font-weight: 600;
}
.win-modal__flag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
}
.win-modal__body { padding: 24px 28px 28px; text-align: center; }
.win-modal__amount {
  font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(34,197,94,0.7);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px; letter-spacing: -0.02em;
}
.win-modal__title { font-size: 1.3rem; margin-bottom: 8px; }
.win-modal__meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 10px; color: var(--text-dim);
  font-size: 0.9rem; margin-bottom: 14px;
}
.win-modal__desc { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* Confetti */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti__piece {
  position: absolute; top: -20px;
  width: 10px; height: 14px; opacity: 0;
  animation: confettiFall 2.4s ease-out forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* ============================================================
   PROMO CODE SECTION (detail page)
   ============================================================ */
.promo-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(251,191,36,0.12), transparent 50%),
    linear-gradient(135deg, rgba(26,26,46,0.8), rgba(15,15,26,0.9));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-section__tag {
  display: inline-block;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--gold); font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.promo-section__title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 8px; }
.promo-section__desc { color: var(--text-dim); margin-bottom: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

.promo-code {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px;
  background: rgba(0,0,0,0.3);
  border: 1px dashed rgba(251,191,36,0.5);
  border-radius: var(--radius-pill);
  font-size: 1rem; margin-bottom: 18px;
}
.promo-code--lg { padding: 12px 12px 12px 22px; }
.promo-code__label { color: var(--text-dim); font-weight: 500; }
.promo-code__value {
  font-weight: 800; letter-spacing: 0.1em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.promo-code__copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--gold-grad); color: #1a1206;
  font-weight: 700; font-size: 0.82rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.promo-code__copy:hover { transform: translateY(-1px); box-shadow: var(--glow-gold); }
.promo-code__feedback {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #13131f; color: var(--neon);
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  border: 1px solid rgba(34,197,94,0.4);
}
.promo-code__feedback.is-show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ============================================================
   FAQ (detail page accordion)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open { border-color: var(--card-border-hover); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 20px;
  font-size: 0.98rem; font-weight: 700; text-align: left;
  color: var(--text); transition: color 0.2s;
}
.faq-item__q:hover { color: var(--gold); }
.faq-item__icon {
  flex-shrink: 0; width: 22px; height: 22px; position: relative;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-item__icon::before {
  top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%);
}
.faq-item.is-open .faq-item__icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item__a-inner {
  padding: 0 20px 20px;
  color: var(--text-dim); font-size: 0.94rem; line-height: 1.7;
}

/* ============================================================
   RELATED GAMES
   ============================================================ */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 20px rgba(251,191,36,0.18);
}
.related-card__cover {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--cover-grad, linear-gradient(135deg, #1a1a2e, #0f0f1a));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.related-card__cover img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}
.related-card__cover-emoji { display: none; }
.related-card__body { min-width: 0; }
.related-card__title { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.related-card__meta {
  font-size: 0.78rem; color: var(--text-dim);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.related-card__meta .rtp { color: var(--gold); font-weight: 700; }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
}
.disclaimer strong { color: #fca5a5; }
.disclaimer a { color: var(--gold); text-decoration: underline; }
.disclaimer a:hover { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  margin-top: 40px;
  flex-shrink: 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer__brand .logo { margin-bottom: 12px; }
.footer__tagline { color: var(--text-dim); font-style: italic; font-size: 0.92rem; margin-bottom: 16px; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 10px;
  background: var(--gold-grad); color: #1a1206;
  font-weight: 900; font-size: 0.85rem;
  box-shadow: var(--glow-gold);
}
.license-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--text-dim);
}
.license-badge small { display: block; color: var(--text-dimmer); font-size: 0.7rem; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.footer__col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 12px; font-weight: 700;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col a {
  color: var(--text-dim); font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer__col a:hover { color: var(--gold); padding-left: 4px; }

.footer__bottom {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  color: var(--text-dimmer); font-size: 0.78rem;
}
.footer__bottom a { color: var(--text-dim); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--gold); }
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 2000;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: #13131f;
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 24px rgba(34,197,94,0.25);
  font-weight: 600; font-size: 0.9rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, transform 0.3s var(--ease-spring), visibility 0.3s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--neon); color: #04210f;
  font-weight: 900; font-size: 0.8rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Tablet 768px
   ============================================================ */
@media (min-width: 768px) {
  :root { --section-py: 88px; }

  .nav-cats { display: flex; }
  .nav-search { display: flex; }
  .nav-lang { display: block; }
  .nav-cta { display: flex; }
  .hamburger { display: none; }

  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .win-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }

  .overview {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0;
  }

  .footer__top { grid-template-columns: 1fr 2fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom {
    flex-direction: row; justify-content: space-between; align-items: center;
  }

  .age-modal__buttons { flex-direction: row; }
}

/* ============================================================
   RESPONSIVE — Desktop 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  :root { --section-py: 96px; }
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .win-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .shots-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .overview { gap: 48px; padding: 48px 0; }
  .footer__cols { grid-template-columns: repeat(5, 1fr); gap: 28px; }
}

/* ============================================================
   RESPONSIVE — Small mobile
   ============================================================ */
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 40px; }
  .hero__title { font-size: 1.9rem; }
  .hero__cta .btn { width: 100%; }
  .game-card__body { padding: 12px 14px 14px; }
  .game-cover__emoji { font-size: 2.4rem; }
  .game-cover__name { font-size: 0.9rem; }
  .overview__cover-emoji { font-size: 3.5rem; }
  .stat-card { padding: 12px; }
  .step { padding: 20px 18px 20px 66px; }
  .promo-section { padding: 26px 20px; }
  .promo-code { width: 100%; justify-content: center; }
  .win-amount { font-size: 1.25rem; }
}

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