/* ==========================================================================
   ComeGame — main.css  |  Theme: "Emerald Forge"
   Global reset, layout, components, animations. Consumes tokens.css.
   Fonts: Rajdhani (display) + Inter (body) loaded via <link> in each <head>.
   ========================================================================== */

/* ---------- Reset & base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(50% 40% at 80% -5%, rgba(0,179,104,0.10) 0%, transparent 60%),
    radial-gradient(45% 35% at 5% 10%, rgba(18,227,138,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
:focus-visible { outline: 3px solid var(--color-accent-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- Skip link ----------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-toast);
  background: var(--color-accent-emerald); color: #04120b; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-sm); transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
main { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--color-accent-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-emerald); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); margin-block: 0.5rem 0.75rem; }
.section-sub { color: var(--color-text-secondary); font-size: var(--fs-lead); max-width: 62ch; }
.section-head.center .section-sub { margin-inline: auto; }

/* Animated accent bar (draws in on reveal) */
.accent-bar { position: relative; height: 3px; width: 66px; margin-top: 0.9rem; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.section-head.center .accent-bar { margin-inline: auto; }
.accent-bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--grad-emerald); border-radius: 3px; transition: width 900ms var(--ease-out); }
.reveal.in .accent-bar::after, .in .accent-bar::after { width: 100%; }

.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gold { color: var(--color-gold-highlight); }
.text-emerald { color: var(--color-accent-bright); }
.muted { color: var(--color-text-secondary); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  --btn-bg: var(--color-bg-elevated);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  padding: 0.85em 1.6em; border-radius: var(--radius-pill); color: var(--color-text-primary);
  background: var(--btn-bg); border: 1px solid var(--color-border-strong);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
/* shine sweep */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.05) 55%, transparent 100%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--grad-emerald); color: #04140c; border-color: transparent; box-shadow: 0 8px 26px rgba(0,179,104,0.30); }
.btn-primary:hover { box-shadow: var(--glow-emerald-strong); }
.btn-gold { background: var(--grad-gold); color: #2a1e00; border-color: transparent; box-shadow: var(--glow-gold); font-weight: 700; }
.btn-gold:hover { box-shadow: 0 12px 40px rgba(232,196,104,0.5); }
.btn-ghost { background: rgba(27,38,28,0.5); backdrop-filter: var(--glass-blur); border-color: var(--glass-border-hover); }
.btn-ghost:hover { border-color: var(--color-accent-bright); box-shadow: var(--glow-emerald); }
.btn-telegram { background: linear-gradient(135deg, #29B6F6 0%, #1E88E5 100%); color: #fff; border-color: transparent; box-shadow: 0 8px 26px rgba(30,136,229,0.35); }
.btn-telegram:hover { box-shadow: 0 12px 40px rgba(30,136,229,0.5); }
.btn-lg { font-size: 1.08rem; padding: 1.02em 2em; }
.btn-sm { font-size: 0.85rem; padding: 0.6em 1.1em; }
.btn-block { display: flex; width: 100%; }

/* ---------- Glass card core ---------------------------------------------- */
.card {
  background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: var(--space-5);
}
.glow-hover { transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out); }
.glow-hover:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,13,10,0.82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--color-border); box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.nav-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0,179,104,0.35)); transition: transform var(--dur-fast) var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; }
.brand-name b { color: var(--color-accent-bright); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; margin-inline-start: auto; }
.nav-link {
  position: relative; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); color: var(--color-text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.35rem; height: 2px; background: var(--grad-emerald); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-mid) var(--ease-out); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--color-text-primary); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-inline-start: 0.6rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); flex-direction: column; gap: 5px; align-items: center; justify-content: center; border: 1px solid var(--color-border); background: var(--glass-bg); }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text-primary); border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in panel */
.mobile-panel {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px); z-index: var(--z-modal);
  background: linear-gradient(180deg, #10160F 0%, #0A0F0C 100%); border-inline-start: 1px solid var(--color-border);
  transform: translateX(100%); transition: transform var(--dur-mid) var(--ease-out);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; gap: 0.4rem; box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a.m-link { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--color-border); color: var(--color-text-secondary); transition: color var(--dur-fast), padding-inline-start var(--dur-fast); }
.mobile-panel a.m-link:hover, .mobile-panel a.m-link[aria-current="page"] { color: var(--color-accent-bright); padding-inline-start: 1rem; }
.mobile-panel .btn { margin-top: 1rem; }
.mobile-panel .m-support { margin-top: auto; color: var(--color-text-muted); font-size: var(--fs-sm); }
.scrim { position: fixed; inset: 0; background: rgba(4,8,5,0.6); backdrop-filter: blur(3px); z-index: var(--z-modal); opacity: 0; visibility: hidden; transition: opacity var(--dur-mid), visibility var(--dur-mid); }
.scrim.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-mesh canvas { width: 100%; height: 100%; display: block; opacity: 0.55; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad-hero-glow); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.3rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--color-text-secondary); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); }
.pill-gold { border-color: rgba(232,196,104,0.4); color: var(--color-gold-highlight); }
.hero-title { font-size: var(--fs-hero); line-height: 1.02; margin-bottom: 1.1rem; }
.hero-lead { font-size: var(--fs-lead); color: var(--color-text-secondary); margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--color-border); }
.hero-trust .ht { display: flex; flex-direction: column; }
.hero-trust .ht b { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-text-primary); }
.hero-trust .ht span { font-size: var(--fs-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Phone mockup -------------------------------------------------- */
.mockup-wrap { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.mockup-wrap::before { content: ""; position: absolute; width: 78%; height: 78%; top: 8%; left: 11%; background: var(--grad-emerald); filter: blur(70px); opacity: 0.35; border-radius: 50%; z-index: 0; animation: glowPulse 5s var(--ease-in-out) infinite; }
.phone {
  position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 1280 / 2698;
  background: #05080600; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #253226 0%, #0d120e 55%, #05080600 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 2px rgba(0,179,104,0.25), inset 0 0 0 2px rgba(255,255,255,0.04);
  animation: floatY 6s var(--ease-in-out) infinite; will-change: transform;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #060a07; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 42%; height: 20px; background: #0a0d0a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-notch::after { content: ""; position: absolute; top: 7px; right: 26%; width: 7px; height: 7px; border-radius: 50%; background: rgba(0,179,104,0.6); box-shadow: 0 0 8px var(--color-accent-emerald); }
.phone-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,0.10) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.05) 100%); }
/* floating chips around phone */
.mockup-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: var(--radius-pill); background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border-hover); font-size: var(--fs-xs); font-weight: 600; box-shadow: var(--shadow-md); }
.mockup-chip svg { width: 16px; height: 16px; color: var(--color-accent-bright); }
.mockup-chip.c1 { top: 12%; left: -6%; animation: floatY 5s var(--ease-in-out) infinite; }
.mockup-chip.c2 { bottom: 16%; right: -8%; animation: floatY 6.5s var(--ease-in-out) infinite reverse; }
.mockup-chip.c3 { bottom: 40%; left: -10%; animation: floatY 5.5s var(--ease-in-out) 0.4s infinite; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes glowPulse { 0%,100% { opacity: 0.28; } 50% { opacity: 0.42; } }

/* ==========================================================================
   BONUS BANNER
   ========================================================================== */
.bonus-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(1.6rem, 4vw, 2.8rem); background: linear-gradient(120deg, rgba(0,179,104,0.16), rgba(8,122,70,0.05)); border: 1px solid var(--glass-border-hover); display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; justify-content: space-between; }
.bonus-banner::before { content: ""; position: absolute; top: -50%; right: -10%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(232,196,104,0.18), transparent 70%); pointer-events: none; }
.bonus-left { display: flex; align-items: center; gap: 1.2rem; }
.bonus-badge { flex-shrink: 0; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--grad-gold); color: #2a1e00; font-family: var(--font-display); font-weight: 700; text-align: center; line-height: 1; box-shadow: var(--glow-gold); }
.bonus-badge b { font-size: 1.5rem; display: block; }
.bonus-badge span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bonus-copy h3 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.bonus-copy p { color: var(--color-text-secondary); max-width: 48ch; }
.tcs { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: 0.5rem; }

/* ==========================================================================
   FEATURE / VALUE GRID
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.feature-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(0,179,104,0.12); border: 1px solid var(--glass-border-hover); color: var(--color-accent-bright); margin-bottom: 1rem; }
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.feature-card p { color: var(--color-text-secondary); font-size: var(--fs-sm); }

/* Prose blocks (about/legal/guides) */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.4rem; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8rem; color: var(--color-text-primary); }
.prose p, .prose li { color: var(--color-text-secondary); }
.prose ul, .prose ol { display: grid; gap: 0.6rem; padding-inline-start: 1.2rem; }
.prose ul li { list-style: none; position: relative; padding-inline-start: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-emerald); }
.prose ol { counter-reset: n; }
.prose ol li { list-style: none; position: relative; padding-inline-start: 2.2rem; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.05em; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--color-accent-bright); background: rgba(0,179,104,0.12); border: 1px solid var(--glass-border-hover); border-radius: 50%; }
.prose strong { color: var(--color-text-primary); }
.prose a { color: var(--color-accent-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   STATS COUNTERS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: var(--space-6) var(--space-4); border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num .suf { -webkit-text-fill-color: var(--color-accent-bright); color: var(--color-accent-bright); }
.stat-label { display: block; margin-top: 0.5rem; color: var(--color-text-secondary); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; }

/* ==========================================================================
   STEPS (install / how it works)
   ========================================================================== */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); }
.step-num { counter-increment: step; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-emerald); color: #04140c; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(0,179,104,0.35); }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.step p { color: var(--color-text-secondary); font-size: var(--fs-sm); }

/* ==========================================================================
   GAMES GRID + CARDS
   ========================================================================== */
.game-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.game-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.game-search input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.6rem; border-radius: var(--radius-pill); background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-text-primary); }
.game-search input::placeholder { color: var(--color-text-muted); }
.game-search input:focus { border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); outline: none; }
.game-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-text-muted); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: var(--radius-pill); background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-text-secondary); transition: all var(--dur-fast) var(--ease-out); }
.filter-btn:hover { border-color: var(--glass-border-hover); color: var(--color-text-primary); }
.filter-btn.active { background: var(--grad-emerald); color: #04140c; border-color: transparent; }
.game-sort select { padding: 0.6rem 2.2rem 0.6rem 1rem; border-radius: var(--radius-pill); background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-text-primary); appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312E38A' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: clamp(0.8rem, 2vw, 1.4rem); }
.game-card { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg-surface-2); border: 1px solid var(--color-border); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out); transform-style: preserve-3d; }
.game-card:hover { border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); }
.game-thumb { position: relative; aspect-ratio: 211 / 260; overflow: hidden; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.game-card:hover .game-thumb img { transform: scale(1.07); }
.game-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,10,7,0.92) 100%); }
.game-tag { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: var(--radius-pill); background: rgba(10,15,12,0.7); backdrop-filter: blur(4px); border: 1px solid var(--glass-border); color: var(--color-accent-bright); }
.game-tag.hot { color: var(--color-gold-highlight); border-color: rgba(232,196,104,0.4); }
.game-play { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity var(--dur-mid) var(--ease-out); }
.game-play span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad-emerald); color: #04140c; box-shadow: var(--glow-emerald-strong); transform: scale(0.8); transition: transform var(--dur-mid) var(--ease-out); }
.game-card:hover .game-play { opacity: 1; }
.game-card:hover .game-play span { transform: scale(1); }
.game-info { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 0.7rem 0.8rem; }
.game-info h3 { font-size: 0.92rem; font-family: var(--font-display); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-info .g-meta { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); color: var(--color-text-secondary); margin-top: 0.15rem; }
.game-info .g-meta .star { color: var(--color-gold-highlight); }
.games-empty { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); grid-column: 1 / -1; }
.games-more { text-align: center; margin-top: 2.4rem; }

/* Featured carousel (horizontal scroll-snap) */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 10px; }
.carousel-nav { display: flex; gap: 0.5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-text-primary); transition: all var(--dur-fast); }
.carousel-btn:hover { border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); }

/* ==========================================================================
   SCREENSHOTS SWIPER (phone shots)
   ========================================================================== */
.shots { position: relative; overflow: hidden; }
.shots-viewport { overflow: hidden; }
.shots-track { display: flex; gap: clamp(1rem, 3vw, 2rem); transition: transform var(--dur-slow) var(--ease-out); will-change: transform; touch-action: pan-y; }
.shot { flex: 0 0 auto; width: clamp(180px, 42vw, 240px); }
.shot-phone { position: relative; border-radius: 30px; padding: 9px; background: linear-gradient(160deg, #253226, #0d120e); box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,179,104,0.2); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out); }
.shot-phone img { width: 100%; aspect-ratio: 1279 / 2689; object-fit: cover; border-radius: 22px; }
.shot.is-active .shot-phone { transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 60px rgba(0,0,0,0.55), var(--glow-emerald); }
.shots-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.shots-dots { display: flex; gap: 0.5rem; }
.shots-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-strong); transition: all var(--dur-fast); }
.shots-dots button.active { width: 26px; border-radius: var(--radius-pill); background: var(--grad-emerald); }

/* ==========================================================================
   OG BANNER SECTION
   ========================================================================== */
.og-section { position: relative; }
.og-banner { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--glass-border-hover); box-shadow: var(--shadow-lg); }
.og-banner img { width: 100%; height: auto; display: block; }
.og-banner .og-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; padding: clamp(1.2rem, 4vw, 2.6rem); background: linear-gradient(180deg, transparent 30%, rgba(6,10,7,0.85) 100%); }
.og-overlay h3 { font-size: var(--fs-h3); }
.og-overlay p { color: var(--color-text-secondary); max-width: 54ch; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; flex-direction: column; gap: 1rem; }
.testi-stars { color: var(--color-gold-highlight); letter-spacing: 2px; }
.testi-card p { color: var(--color-text-secondary); font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--grad-emerald); color: #04140c; }
.testi-who b { display: block; font-family: var(--font-display); }
.testi-who span { font-size: var(--fs-xs); color: var(--color-text-muted); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq { display: grid; gap: 0.8rem; max-width: 880px; margin-inline: auto; }
.faq-item { border-radius: var(--radius-md); background: var(--glass-bg); border: 1px solid var(--color-border); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-q:hover { color: var(--color-accent-bright); }
.faq-ico { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--color-accent-bright); border-radius: 2px; transition: transform var(--dur-mid) var(--ease-out); }
.faq-ico::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-ico::after { left: 11px; top: 3px; bottom: 3px; width: 2px; }
.faq-item[open] .faq-ico::after, .faq-q[aria-expanded="true"] .faq-ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--color-text-secondary); }
.faq-q[aria-expanded="true"] { color: var(--color-accent-bright); }

/* ==========================================================================
   RESPONSIBLE GAMING / NOTICE BLOCKS
   ========================================================================== */
.notice { display: flex; gap: 1rem; padding: var(--space-5); border-radius: var(--radius-lg); background: rgba(232,196,104,0.06); border: 1px solid rgba(232,196,104,0.28); }
.notice .n-ico { flex-shrink: 0; color: var(--color-gold-highlight); }
.notice h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; color: var(--color-gold-highlight); }
.notice p { color: var(--color-text-secondary); font-size: var(--fs-sm); }
.notice.error { background: rgba(255,92,92,0.06); border-color: rgba(255,92,92,0.3); }
.notice.error h3, .notice.error .n-ico { color: var(--color-error); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.2rem, 6vw, 4rem); text-align: center; background: var(--grad-signature); border: 1px solid var(--glass-border-hover); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(18,227,138,0.25), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(242,251,246,0.85); max-width: 56ch; margin-inline: auto; margin-bottom: 1.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--color-border); background: linear-gradient(180deg, #0b110c 0%, #070a08 100%); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-secondary); font-size: var(--fs-sm); max-width: 34ch; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--glass-bg); border: 1px solid var(--color-border); color: var(--color-text-secondary); transition: all var(--dur-fast); }
.footer-social a:hover { color: var(--color-accent-bright); border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--color-text-secondary); font-size: var(--fs-sm); transition: color var(--dur-fast), padding-inline-start var(--dur-fast); }
.footer-col a:hover { color: var(--color-accent-bright); padding-inline-start: 4px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.age-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--color-error); color: var(--color-error); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.footer-legal { padding-block: 1.8rem; }
.footer-notice { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; border-radius: var(--radius-md); background: rgba(255,92,92,0.07); border: 1px solid rgba(255,92,92,0.28); }
.footer-notice svg { flex-shrink: 0; color: var(--color-error); width: 22px; height: 22px; }
.footer-notice p { font-size: var(--fs-sm); color: var(--color-text-secondary); margin: 0; }
.footer-notice strong { color: var(--color-error); }
.footer-disclaimer { color: var(--color-text-muted); font-size: var(--fs-xs); line-height: 1.7; max-width: 100%; margin-bottom: 1.2rem; }
.footer-disclaimer strong { color: var(--color-text-secondary); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.4rem; border-top: 1px solid var(--color-border); }
.footer-bottom p { color: var(--color-text-muted); font-size: var(--fs-xs); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom nav a { color: var(--color-text-muted); font-size: var(--fs-xs); }
.footer-bottom nav a:hover { color: var(--color-accent-bright); }

/* ==========================================================================
   FLOATING TELEGRAM FAB
   ========================================================================== */
.fab { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: var(--z-fab); display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #29B6F6, #1E88E5); color: #fff; box-shadow: 0 10px 30px rgba(30,136,229,0.5); animation: fabIn 0.6s var(--ease-out) 0.4s both; }
.fab svg { width: 28px; height: 28px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #29B6F6; animation: fabPulse 2.4s var(--ease-out) infinite; }
.fab:hover { transform: scale(1.08); }
.fab-label { position: absolute; right: 74px; white-space: nowrap; background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); padding: 0.5rem 0.85rem; border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 600; opacity: 0; transform: translateX(8px); transition: all var(--dur-mid) var(--ease-out); pointer-events: none; }
.fab:hover .fab-label { opacity: 1; transform: translateX(0); }
@keyframes fabIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ==========================================================================
   MOBILE BOTTOM TAB BAR
   ========================================================================== */
.tabbar { display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-mobilebar); background: rgba(10,13,10,0.92); backdrop-filter: blur(16px); border-top: 1px solid var(--color-border); padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom)); }
.tabbar ul { display: flex; justify-content: space-around; }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0.4rem 0.5rem; color: var(--color-text-muted); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.03em; transition: color var(--dur-fast); }
.tabbar a svg { width: 22px; height: 22px; transition: transform var(--dur-fast), filter var(--dur-fast); }
.tabbar a[aria-current="page"], .tabbar a:hover { color: var(--color-accent-bright); }
.tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 6px var(--color-accent-emerald)); transform: translateY(-2px); }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 3px; border-radius: 3px; background: var(--grad-emerald); }

/* ==========================================================================
   AGE GATE + COOKIE + RESTRICTED BANNERS
   ========================================================================== */
.age-gate { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 1.5rem; background: rgba(4,7,5,0.86); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity var(--dur-mid), visibility var(--dur-mid); }
.age-gate.show { opacity: 1; visibility: visible; }
.age-card { max-width: 480px; width: 100%; text-align: center; padding: clamp(1.8rem, 5vw, 2.8rem); border-radius: var(--radius-xl); background: linear-gradient(180deg, #141c15, #0b110c); border: 1px solid var(--glass-border-hover); box-shadow: var(--shadow-lg); }
.age-card .age-badge { width: 72px; height: 72px; font-size: 1.4rem; margin-inline: auto; margin-bottom: 1.2rem; }
.age-card h2 { font-size: var(--fs-h3); margin-bottom: 0.8rem; }
.age-card p { color: var(--color-text-secondary); font-size: var(--fs-sm); margin-bottom: 1.6rem; }
.age-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.age-fine { margin-top: 1.4rem; font-size: var(--fs-xs); color: var(--color-text-muted); }

.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%) translateY(140%); bottom: clamp(1rem, 3vw, 1.5rem); z-index: var(--z-toast); width: min(680px, calc(100vw - 2rem)); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-lg); background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border-hover); box-shadow: var(--shadow-lg); transition: transform var(--dur-slow) var(--ease-out); }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { flex: 1 1 260px; color: var(--color-text-secondary); font-size: var(--fs-sm); }
.cookie-banner p a { color: var(--color-accent-bright); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; }

.restricted-banner { position: relative; z-index: 1; background: rgba(255,92,92,0.08); border-bottom: 1px solid rgba(255,92,92,0.25); }
.restricted-banner .container { display: flex; align-items: center; gap: 0.8rem; padding-block: 0.7rem; }
.restricted-banner p { font-size: var(--fs-xs); color: var(--color-text-secondary); }
.restricted-banner p strong { color: var(--color-error); }
.restricted-banner button { margin-inline-start: auto; color: var(--color-text-muted); flex-shrink: 0; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero-glow); pointer-events: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-accent-bright); }
.breadcrumb .sep { color: var(--color-border-strong); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 0.8rem; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--color-text-secondary); max-width: 68ch; }

/* Diagonal divider */
.divider-diag { position: relative; height: clamp(48px, 8vw, 96px); background: var(--color-bg-surface); clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%); margin-top: -1px; }
.divider-diag.up { clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }

/* Contact form */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--color-text-secondary); }
.field label .req { color: var(--color-accent-bright); }
.field input, .field textarea, .field select { padding: 0.85rem 1rem; border-radius: var(--radius-md); background: var(--color-bg-surface); border: 1px solid var(--color-border); color: var(--color-text-primary); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--glass-border-hover); box-shadow: var(--glow-emerald); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err-msg { font-size: var(--fs-xs); color: var(--color-error); display: none; }
.field.invalid .err-msg { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--color-error); }
.form-note { font-size: var(--fs-xs); color: var(--color-text-muted); }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-md); background: rgba(18,227,138,0.1); border: 1px solid var(--glass-border-hover); color: var(--color-success); font-weight: 600; }
.form-success.show { display: block; }

/* Split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--shadow-md); }

/* Chips / tag rows */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: var(--fs-xs); font-weight: 600; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--color-text-secondary); }

/* Rating stars */
.rating { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--color-gold-highlight); font-weight: 700; }

/* Detail sticky CTA */
.detail-cta { position: sticky; top: calc(var(--header-h) + 1rem); }

/* Related strip */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }

/* ==========================================================================
   SCROLL-REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-badges, .hero-cta, .hero-trust { justify-content: center; }
  .mockup-wrap { margin-top: 1rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn:not(.nav-cta) { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .tabbar { display: block; }
  body { padding-bottom: 64px; }
  .fab { bottom: calc(64px + 1rem); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .bonus-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .bonus-left { flex-direction: column; text-align: center; align-items: center; }
  .brand-name { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .phone, .mockup-chip, .mockup-wrap::before, .fab::before { animation: none !important; }
  .btn::after { display: none; }
}
