/* ==========================================================================
   ic7 game — Global stylesheet
   Mobile-first. BEM-lite. Depends on tokens.css.
   Contents:
     01. Reset & base
     02. Layout primitives
     03. Typography
     04. Buttons & badges
     05. Header / navigation
     06. Hero
     07. Marquee & OG banner
     08. Stats counters
     09. Feature cards
     10. Game cards & grids
     11. Screenshots
     12. Steps
     13. Testimonials
     14. FAQ accordion
     15. Prose / legal content
     16. Tables
     17. CTA bands
     18. Responsible gaming
     19. Footer
     20. Utilities & motion
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

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

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-below);
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 82% -10%, rgba(225, 6, 0, 0.16), transparent 60%),
    radial-gradient(50rem 40rem at 0% 15%, rgba(176, 0, 0, 0.1), transparent 62%);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-red-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-red);
  color: var(--color-white);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: var(--z-toast);
  padding: var(--sp-3) var(--sp-5);
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-3);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-red-deep);
}

/* ---------- 02. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: var(--sp-12);
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0) 100%),
    var(--color-black);
  border-block: 1px solid var(--color-line);
}

.section__head {
  max-width: 760px;
  margin-bottom: var(--sp-10);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-pill);
  background: var(--color-red-soft);
  color: #ff7b73;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.section__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red-bright);
  box-shadow: 0 0 10px var(--color-red-bright);
}

.section__title {
  margin-bottom: var(--sp-4);
}

.section__lede {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
}

.section__foot {
  margin-top: var(--sp-10);
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

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

@media (min-width: 768px) {
  .grid { gap: var(--sp-6); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 1200px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}

/* Generic glass card */
.card {
  position: relative;
  padding: var(--sp-6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--grad-surface), rgba(18, 18, 18, 0.7);
  box-shadow: var(--shadow-inset);
  backdrop-filter: blur(10px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card--hover:hover,
.card--hover:focus-within {
  transform: translateY(-6px);
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow);
}

/* ---------- 03. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 6vw, var(--fs-6xl)); }
h2 { font-size: clamp(1.75rem, 4.4vw, var(--fs-4xl)); }
h3 { font-size: clamp(1.25rem, 2.6vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-base); letter-spacing: var(--tracking-wide); }

p { text-wrap: pretty; }

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

.text-red { color: var(--color-red-bright); }
.text-muted { color: var(--color-text-muted); }
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .lead { font-size: var(--fs-lg); line-height: 1.6; }
}

/* ---------- 04. Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  position: relative;
  background: var(--grad-red);
  color: var(--color-white);
  box-shadow: 0 8px 26px rgba(225, 6, 0, 0.36);
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform var(--dur-slow) var(--ease);
}

.btn--primary:hover::after { transform: translateX(120%); }

.btn--primary:hover {
  box-shadow: 0 14px 44px rgba(225, 6, 0, 0.55);
}

.btn--ghost {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--color-red-line);
  background: var(--color-red-soft);
}

.btn--telegram {
  background: #229ed9;
  color: var(--color-white);
  box-shadow: 0 8px 26px rgba(34, 158, 217, 0.32);
}

.btn--telegram:hover {
  background: #2ab0ee;
  box-shadow: 0 14px 40px rgba(34, 158, 217, 0.48);
}

.btn--lg {
  padding: var(--sp-5) var(--sp-8);
  font-size: var(--fs-base);
}

.btn--sm {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-xs);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn-row--center { justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.badge--red {
  border-color: var(--color-red-line);
  background: var(--color-red-soft);
  color: #ff8880;
}

.badge--gold {
  border-color: rgba(245, 196, 81, 0.4);
  background: rgba(245, 196, 81, 0.12);
  color: var(--color-gold);
}

/* ---------- 05. Header / navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}

.header.is-stuck {
  background: rgba(10, 10, 10, 0.86);
  border-bottom-color: var(--color-line);
  backdrop-filter: blur(18px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.header__logo img {
  width: auto;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.45));
}

.header__nav {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header__actions .btn--primary { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  position: relative;
  display: block;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-white);
  background: var(--glass-bg);
}

.nav__link.is-active {
  color: var(--color-white);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: var(--grad-red);
  box-shadow: 0 0 10px var(--color-red);
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: background var(--dur-fast) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: var(--z-drawer);
  padding: var(--sp-6) var(--sp-5) var(--sp-10);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur);
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-6);
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-2);
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.drawer__link:hover,
.drawer__link.is-active {
  color: var(--color-red-bright);
  padding-left: var(--sp-4);
}

.drawer__link::after {
  content: "→";
  color: var(--color-text-dim);
}

.drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.drawer__note {
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
  text-align: center;
}

@media (min-width: 1200px) {
  .header__nav { display: block; }
  .header__actions .btn--primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .drawer { display: none; }
}

/* ---------- 06. Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-12) var(--sp-16);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.hero__blob--1 {
  top: -12%;
  right: -8%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.55), transparent 65%);
  animation: float-a 18s var(--ease) infinite alternate;
}

.hero__blob--2 {
  bottom: -20%;
  left: -12%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(176, 0, 0, 0.42), transparent 68%);
  animation: float-b 22s var(--ease) infinite alternate;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
}

.hero__inner {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

.hero__title {
  margin-bottom: var(--sp-5);
}

.hero__title span { display: block; }

.hero__sub {
  max-width: 56ch;
  margin-bottom: var(--sp-8);
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-line);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-green);
  flex-shrink: 0;
}

/* Hero media / phone mockup */
.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

/* .hero__stage hugs the mockup's own rendered size (shrink-to-fit), so the
   glow ring and floating chips — positioned as percentages of their nearest
   positioned ancestor — track the actual phone image instead of the full,
   much wider .hero__media column. */
.hero__stage {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}

.hero__glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(85%, 22rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.35), transparent 62%);
  filter: blur(50px);
  animation: pulse-glow 5s ease-in-out infinite;
}

/* The source asset is a tall 839x1874 phone screenshot (no device frame),
   so it is sized by HEIGHT, not width — sizing it by width would make it
   roughly two screens tall on a narrow phone viewport. Width follows from
   aspect-ratio, matched to the real image to avoid any stretch/squash. */
.hero__mockup {
  position: relative;
  width: auto;
  height: min(52vh, 28rem);
  max-width: 100%;
  aspect-ratio: 839 / 1874;
  border-radius: var(--radius-xl);
  animation: float-y 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.7));
  will-change: transform;
}

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-md);
  background: rgba(18, 18, 18, 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.hero__chip strong {
  font-family: var(--font-display);
  color: var(--color-white);
}

.hero__chip span { color: var(--color-text-dim); }

.hero__chip--1 {
  top: 12%;
  left: -4%;
  animation: float-y 7s ease-in-out infinite;
}

.hero__chip--2 {
  bottom: 16%;
  right: -2%;
  animation: float-y 8s ease-in-out infinite reverse;
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green);
}

@media (min-width: 1200px) {
  .hero { padding-block: var(--sp-20) var(--sp-24); }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-16); }
  .hero__sub { font-size: var(--fs-lg); }
  .hero__mockup { height: min(62vh, 34rem); }
}

/* Reused wherever the tall 839x1874 app-screenshot asset appears outside the
   hero (about.html, dowloade.html) — same height-driven sizing so it never
   stretches to full column width and towers over the surrounding copy. */
.phone-shot {
  display: block;
  width: auto;
  height: min(48vh, 26rem);
  max-width: 100%;
  aspect-ratio: 839 / 1874;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- 07. Marquee & OG banner ---------- */
.marquee {
  position: relative;
  padding-block: var(--sp-4);
  border-block: 1px solid var(--color-line);
  background: var(--color-surface);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--sp-10);
  width: max-content;
  animation: scroll-x 32s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 8px var(--color-red);
}

/* OG banner */
.og-banner {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.og-banner__img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.og-banner:hover .og-banner__img { transform: scale(1.04); }

.og-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 45%, rgba(10, 10, 10, 0.25) 100%);
}

.og-banner__title {
  max-width: 18ch;
  font-size: clamp(1.5rem, 4vw, var(--fs-3xl));
}

.og-banner__text {
  max-width: 46ch;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .og-banner__img { min-height: 380px; }
  .og-banner__overlay { padding: var(--sp-10) var(--sp-12); gap: var(--sp-5); }
  .og-banner__text { font-size: var(--fs-base); }
}

/* ---------- 08. Stats counters ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-border);
  overflow: hidden;
}

.stat {
  padding: var(--sp-6) var(--sp-5);
  background: var(--color-surface);
  text-align: center;
  transition: background var(--dur) var(--ease);
}

.stat:hover { background: var(--color-surface-3); }

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, var(--fs-3xl));
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
  text-shadow: 0 0 26px rgba(225, 6, 0, 0.55);
}

.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.stat__note {
  display: block;
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: var(--sp-8) var(--sp-5); }
}

/* ---------- 09. Feature cards ---------- */
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-md);
  background: var(--color-red-soft);
  color: var(--color-red-bright);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.card--hover:hover .feature__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.5);
}

.feature__title { font-size: var(--fs-lg); }

.feature__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-line);
}

.feature__list li {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
}

.feature__list li::before {
  content: "▸";
  color: var(--color-red);
  flex-shrink: 0;
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.checklist li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--color-red-soft);
  border: 1px solid var(--color-red-line);
  color: var(--color-red-bright);
  font-size: 11px;
  font-weight: 800;
}

.checklist strong { color: var(--color-white); }

/* ---------- 10. Game cards & grids ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}

@media (min-width: 1200px) {
  .game-grid { grid-template-columns: repeat(5, 1fr); }
  .game-grid--wide { grid-template-columns: repeat(6, 1fr); }
  .game-grid--four { grid-template-columns: repeat(4, 1fr); }
}

.game-card {
  position: relative;
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow);
}

.game-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-3);
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.game-card:hover .game-card__img { transform: scale(1.09); }

.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.9) 100%);
}

.game-card__tag {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: var(--z-base);
  padding: 2px var(--sp-2);
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--glass-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.game-card__tag--hot {
  border-color: var(--color-red-line);
  background: rgba(225, 6, 0, 0.85);
  color: var(--color-white);
}

.game-card__play {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(10, 10, 10, 0.55);
  transition: opacity var(--dur) var(--ease);
}

.game-card:hover .game-card__play,
.game-card:focus-visible .game-card__play { opacity: 1; }

.game-card__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-red);
  box-shadow: 0 0 30px rgba(225, 6, 0, 0.7);
  color: var(--color-white);
  transform: scale(0.8);
  transition: transform var(--dur) var(--ease);
}

.game-card:hover .game-card__play span { transform: scale(1); }

.game-card__play svg { width: 18px; height: 18px; }

.game-card__body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.game-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

.game-card__rtp { color: var(--color-green); font-weight: 600; }

/* Filter tabs */
.filters {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.filters__tabs {
  display: flex;
  gap: var(--sp-2);
  padding-bottom: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.filters__tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.filter-tab:hover {
  border-color: var(--color-red-line);
  color: var(--color-white);
}

.filter-tab.is-active {
  background: var(--grad-red);
  border-color: transparent;
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.4);
}

.filters__search {
  position: relative;
  display: flex;
  align-items: center;
}

.filters__search svg {
  position: absolute;
  left: var(--sp-4);
  width: 18px;
  height: 18px;
  color: var(--color-text-dim);
  pointer-events: none;
}

.filters__search input {
  width: 100%;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-10);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-white);
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.filters__search input::placeholder { color: var(--color-text-dim); }

.filters__search input:focus {
  outline: none;
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow);
}

.filters__count {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
}

.filters__count strong { color: var(--color-white); }

@media (min-width: 768px) {
  .filters {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .filters__search { max-width: 300px; }
}

.empty-state {
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
  color: var(--color-text-dim);
}

/* ---------- 11. Screenshots ---------- */
.shots {
  display: flex;
  gap: var(--sp-5);
  padding-block: var(--sp-2) var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar { display: none; }

.shot {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  padding: var(--sp-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: var(--grad-surface), var(--color-surface);
  scroll-snap-align: center;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.shot:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow-lg);
}

.shot__img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--color-surface-3);
}

.shot__cap {
  padding: var(--sp-3) var(--sp-1) var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-dim);
  text-align: center;
}

@media (min-width: 768px) {
  .shot { width: 240px; }
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

/* ---------- 12. Steps ---------- */
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  counter-increment: step;
  padding-top: var(--sp-8);
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-red-line);
  opacity: 0.85;
}

.step__title {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-lg);
}

.step__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.step__hr {
  margin-top: var(--sp-4);
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-red), transparent);
}

/* ---------- 13. Testimonials ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
}

.review__stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}

.review__stars svg { width: 16px; height: 16px; }

.review__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

.review__who {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-line);
}

.review__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-red);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-white);
}

.review__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-white);
}

.review__loc {
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

/* ---------- 14. FAQ accordion ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--grad-surface), rgba(18, 18, 18, 0.6);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.faq__item.is-open {
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5);
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-white);
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-red-bright);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a > div { overflow: hidden; }

.faq__a p {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.faq__a p + p { padding-top: var(--sp-3); }

/* ---------- 15. Prose / legal content ---------- */
.prose {
  max-width: 74ch;
}

.prose > * + * { margin-top: var(--sp-5); }

.prose h2 {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-line);
  font-size: clamp(1.4rem, 3vw, var(--fs-2xl));
}

.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.prose h3 {
  margin-top: var(--sp-8);
  font-size: var(--fs-lg);
  color: var(--color-white);
}

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose strong { color: var(--color-white); font-weight: 600; }

.prose a {
  color: var(--color-red-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--color-white); }

.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-left: var(--sp-2);
}

.prose ul li {
  display: flex;
  gap: var(--sp-3);
}

.prose ul li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--color-red);
}

.prose ol { counter-reset: item; }

.prose ol li {
  display: flex;
  gap: var(--sp-3);
  counter-increment: item;
}

.prose ol li::before {
  content: counter(item);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-red-soft);
  border: 1px solid var(--color-red-line);
  color: var(--color-red-bright);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.prose blockquote {
  padding: var(--sp-5);
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  color: var(--color-text-muted);
  font-style: italic;
}

.callout {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-lg);
  background: var(--color-red-soft);
}

.callout svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-red-bright);
}

.callout__title {
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  color: var(--color-white);
  text-transform: uppercase;
}

.callout p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.callout--neutral {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg);
}

.callout--neutral svg { color: var(--color-text-muted); }

/* Table of contents */
.toc {
  position: sticky;
  top: 100px;
  padding: var(--sp-5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--grad-surface), rgba(18, 18, 18, 0.6);
}

.toc__title {
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.toc__list a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: all var(--dur) var(--ease);
}

.toc__list a:hover {
  border-left-color: var(--color-red);
  background: var(--glass-bg);
  color: var(--color-white);
}

.legal-layout {
  display: grid;
  gap: var(--sp-10);
}

@media (min-width: 1200px) {
  .legal-layout {
    grid-template-columns: 260px 1fr;
    gap: var(--sp-16);
    align-items: start;
  }
}

/* ---------- 16. Tables ---------- */
.table-wrap {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

th,
td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}

thead th {
  background: var(--color-surface-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr { transition: background var(--dur) var(--ease); }
tbody tr:hover { background: var(--glass-bg); }
tbody tr:last-child td { border-bottom: 0; }

td { color: var(--color-text-muted); }
td strong { color: var(--color-white); }

/* ---------- 17. CTA bands ---------- */
.cta-band {
  position: relative;
  padding: var(--sp-10) var(--sp-6);
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(40rem 20rem at 80% 0%, rgba(225, 6, 0, 0.28), transparent 70%),
    linear-gradient(160deg, var(--color-surface-2), var(--color-black));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band__title {
  max-width: 20ch;
  margin: 0 auto var(--sp-4);
}

.cta-band__text {
  max-width: 60ch;
  margin: 0 auto var(--sp-8);
  color: var(--color-text-muted);
}

.cta-band__note {
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

@media (min-width: 768px) {
  .cta-band { padding: var(--sp-16) var(--sp-12); }
}

/* ---------- 18. Responsible gaming ---------- */
.responsible {
  display: grid;
  gap: var(--sp-8);
  padding: var(--sp-8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}

@media (min-width: 1200px) {
  .responsible {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--sp-12);
    padding: var(--sp-12);
  }
}

.responsible__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-5);
  border: 2px solid var(--color-red);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.responsible__states {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.state-chip {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-pill);
  background: var(--color-red-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #ff9089;
}

/* ---------- 19. Footer ---------- */
.footer {
  position: relative;
  margin-top: var(--sp-16);
  border-top: 1px solid var(--color-line);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-black) 100%);
}

.footer__top {
  display: grid;
  gap: var(--sp-10);
  padding-block: var(--sp-16) var(--sp-10);
}

@media (min-width: 768px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .footer__top {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: var(--sp-12);
  }
}

.footer__brand img {
  width: auto;
  height: 44px;
  margin-bottom: var(--sp-5);
  object-fit: contain;
}

.footer__about {
  max-width: 42ch;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.footer__title {
  margin-bottom: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  text-transform: uppercase;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__list a:hover {
  color: var(--color-red-bright);
  transform: translateX(4px);
}

.footer__socials {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  color: var(--color-text-muted);
  transition: all var(--dur) var(--ease);
}

.social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--color-red-line);
  background: var(--color-red-soft);
  color: var(--color-white);
}

.social-btn svg { width: 20px; height: 20px; }

.footer__compliance {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-block: var(--sp-8);
  border-top: 1px solid var(--color-line);
}

.footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 900;
  color: var(--color-white);
}

.footer__compliance-text {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--color-text-dim);
}

.footer__compliance-text strong { color: var(--color-text-muted); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--color-line);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
  text-align: center;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
}

.footer__legal-links a:hover { color: var(--color-white); }

@media (min-width: 768px) {
  .footer__compliance { flex-direction: row; align-items: center; gap: var(--sp-5); }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- 20. Utilities & motion ---------- */
.page-hero {
  position: relative;
  padding-block: var(--sp-12) var(--sp-10);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  z-index: var(--z-below);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.2), transparent 65%);
  filter: blur(80px);
}

.page-hero__title { margin-bottom: var(--sp-5); }

.page-hero__lede {
  max-width: 65ch;
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .page-hero { padding-block: var(--sp-16) var(--sp-12); }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

.breadcrumb a { transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--color-red-bright); }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; color: var(--color-text-dim); opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--color-text-muted); }

/* Forms */
.form { display: flex; flex-direction: column; gap: var(--sp-5); }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }

.field__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white);
}

.field__label span { color: var(--color-red-bright); }

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: var(--sp-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-white);
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field__input::placeholder,
.field__textarea::placeholder { color: var(--color-text-dim); }

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--color-red-line);
  box-shadow: var(--shadow-glow);
}

.field__textarea { min-height: 150px; resize: vertical; }

.field__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--color-red-bright);
}

.field.has-error .field__input,
.field.has-error .field__textarea { border-color: var(--color-red); }
.field.has-error .field__error { display: block; }

.form__status {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 197, 82, 0.4);
  background: rgba(35, 197, 82, 0.1);
  font-size: var(--fs-sm);
  color: #7ee89f;
}

.form__status.is-visible { display: block; }

/* Contact tiles */
.contact-tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
}

.contact-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-red-soft);
  border: 1px solid var(--color-red-line);
  color: var(--color-red-bright);
}

.contact-tile__icon svg { width: 22px; height: 22px; }
.contact-tile__value { font-size: var(--fs-sm); color: var(--color-text-muted); }
.contact-tile__value a { color: var(--color-red-bright); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

/* Back to top */
.to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-red-line);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.9);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  backdrop-filter: blur(10px);
  transition: all var(--dur) var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-red); box-shadow: var(--shadow-glow); }
.to-top svg { width: 18px; height: 18px; }

/* Sticky play bar (game detail) */
.play-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px solid var(--color-red-line);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
}

.play-bar.is-visible { transform: none; }

.play-bar__info { min-width: 0; }

.play-bar__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--color-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-bar__meta {
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

@media (min-width: 1200px) {
  .play-bar { padding: var(--sp-4) var(--sp-10); }
  .to-top { bottom: var(--sp-20); }
}

/* Body lock when drawer open */
body.is-locked { overflow: hidden; }

/* Screen-reader only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Detail-page layout */
.game-hero {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}

@media (min-width: 1200px) {
  .game-hero { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-12); }
}

.game-hero__media {
  position: relative;
  border: 1px solid var(--color-red-line);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-glow-lg);
}

.game-hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.game-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.spec-table td:first-child { width: 40%; }

/* ---------- Keyframes ---------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes float-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 50px) scale(1.15); }
}

@keyframes float-b {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(70px, -40px) scale(0.95); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 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;
  }

  .hero__mockup,
  .hero__chip,
  .hero__blob,
  .hero__glow-ring {
    animation: none;
  }
}
