/* ============================================================
   IC7 Game — Global Styles
   Mobile-first. BEM-lite. 60fps transforms/opacity only.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ---------- 2. Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

@media (min-width: 768px) {
  .section {
    padding-block: var(--sp-9);
  }
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--surface {
  background:
    radial-gradient(1200px 500px at 50% 0%, rgba(225, 6, 0, 0.07), transparent 70%),
    var(--color-bg-alt);
}

/* Angular "torn glass" slash behind section headers */
.section--slash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-slash);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

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

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

h1 {
  font-size: var(--fs-3xl);
}

h2 {
  font-size: var(--fs-2xl);
}

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

h4 {
  font-size: var(--fs-md);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--fs-4xl);
  }

  h2 {
    font-size: var(--fs-3xl);
  }

  h3 {
    font-size: var(--fs-xl);
  }
}

p {
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  max-width: 68ch;
}

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

.text-accent {
  color: var(--color-accent-2);
}

.text-gold {
  color: var(--color-gold-hint);
}

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

/* Section header block */
.section-head {
  margin-bottom: var(--sp-6);
  max-width: 72ch;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent-2);
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.section-head--center .eyebrow::before {
  display: none;
}

/* Animated scan-line sweep under section titles */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: var(--sp-3);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-head--center .section-title::after {
  left: 50%;
  translate: -50% 0;
  width: 70%;
  background: linear-gradient(90deg, transparent, var(--color-accent-2), transparent);
  transform-origin: center;
}

.is-visible .section-title::after,
.section-title.is-visible::after {
  transform: scaleX(1);
}

/* Rich prose blocks (legal, about, guides) */
.prose > * + * {
  margin-top: var(--sp-4);
}

.prose h2 {
  margin-top: var(--sp-7);
  font-size: var(--fs-xl);
  color: var(--color-text-primary);
}

.prose h3 {
  margin-top: var(--sp-6);
  font-size: var(--fs-md);
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prose p,
.prose li {
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
}

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

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

.prose ul,
.prose ol {
  padding-left: var(--sp-5);
}

.prose ul li {
  list-style: none;
  position: relative;
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 1px;
  rotate: 45deg;
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.6);
}

.prose ol {
  list-style: decimal;
}

.prose ol li {
  margin-bottom: var(--sp-2);
  padding-left: var(--sp-2);
}

.prose ol li::marker {
  color: var(--color-accent-2);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal),
    background-color var(--transition-normal), border-color var(--transition-normal);
}

/* shine sweep */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 620ms ease;
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 140%;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn--primary {
  background: var(--grad-ember);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  border-color: var(--color-border);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.25);
}

.btn--lg {
  padding: 1.15rem 2.25rem;
  font-size: var(--fs-base);
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: var(--fs-xs);
}

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

/* Idle pulse for the hero's headline CTA */
.btn--pulse {
  animation: btnPulse 2.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.35);
  }

  50% {
    box-shadow: 0 0 42px rgba(255, 59, 48, 0.62), 0 0 0 6px rgba(225, 6, 0, 0.07);
  }
}

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

/* ---------- 6. Header / Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0.55));
  border-bottom: 1px solid transparent;
  transition: height var(--transition-normal), background-color var(--transition-normal),
    border-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.header.is-condensed {
  height: var(--header-h-condensed);
  background: rgba(10, 10, 12, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: filter var(--transition-normal);
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header.is-condensed .logo img {
  height: 32px;
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.7));
}

/* Desktop nav */
.nav {
  display: none;
}

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

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-secondary);
  padding: var(--sp-2) 0;
  transition: color var(--transition-normal);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-glow);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  display: none;
}

/* Hamburger */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.hamburger:hover {
  border-color: var(--color-accent);
  background: rgba(225, 6, 0, 0.08);
}

.hamburger__bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  translate: -50% 0;
  transition: transform var(--transition-normal), opacity var(--transition-fast),
    top var(--transition-normal), background-color var(--transition-normal);
}

.hamburger__bar:nth-child(1) {
  top: 14px;
}

.hamburger__bar:nth-child(2) {
  top: 21px;
}

.hamburger__bar:nth-child(3) {
  top: 28px;
}

.hamburger[aria-expanded='true'] .hamburger__bar {
  background: var(--color-accent-2);
}

.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-8) var(--gutter);
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(225, 6, 0, 0.16), transparent 60%),
    rgba(10, 10, 12, 0.97);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity var(--transition-normal), transform var(--transition-normal),
    visibility var(--transition-normal);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateX(-18px);
  transition: color var(--transition-normal), padding-left var(--transition-normal);
}

.mobile-nav.is-open .mobile-nav__link {
  animation: navItemIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-nav.is-open .mobile-nav__link:nth-child(1) { animation-delay: 60ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(2) { animation-delay: 110ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(3) { animation-delay: 160ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(4) { animation-delay: 210ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(5) { animation-delay: 260ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(6) { animation-delay: 310ms; }

@keyframes navItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--color-accent-2);
  padding-left: var(--sp-5);
}

.mobile-nav__link::after {
  content: '→';
  color: var(--color-accent);
  opacity: 0.5;
}

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

body.nav-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .nav {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* ---------- 7. Ember particle background ---------- */
.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ember {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 8px 1px rgba(255, 59, 48, 0.8);
  opacity: 0;
  will-change: transform, opacity;
  animation: emberRise linear infinite;
}

@keyframes emberRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.5);
  }

  10% {
    opacity: 0.9;
  }

  70% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 30px), calc(-1 * var(--rise, 70vh)), 0) scale(1.15);
  }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-8);
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 15% 15%, rgba(225, 6, 0, 0.20), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(255, 59, 48, 0.11), transparent 65%),
    linear-gradient(170deg, var(--color-bg-alt) 0%, var(--color-bg) 55%);
}

/* diagonal glass slash */
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  height: 140%;
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.10), transparent 60%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}

/* Grid items default to min-width:auto, which lets long copy push the
   column wider than the viewport. Pin them to 0 so text wraps instead. */
.hero__inner > *,
.gd-hero__inner > *,
.gd-layout > * {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: rgba(225, 6, 0, 0.10);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-4);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
  font-size: clamp(2.15rem, 8.5vw, 3.25rem);
  line-height: 1.06;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__sub {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-5);
  max-width: 54ch;
}

.hero__sub strong {
  color: var(--color-gold-hint);
  font-weight: 700;
}

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-2);
  flex-shrink: 0;
}

/* Phone mockup */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: min(260px, 72vw);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  background: linear-gradient(160deg, #2A2A30 0%, #0D0D10 45%, #232329 100%);
  border-radius: 34px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 30px 70px rgba(0, 0, 0, 0.75),
    0 0 70px rgba(225, 6, 0, 0.28);
  animation: phoneFloat 6s ease-in-out infinite;
  will-change: transform;
}

.phone::before {
  /* notch */
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: 76px;
  height: 18px;
  background: #08080A;
  border-radius: var(--radius-pill);
  z-index: 3;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--color-bg);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* glass sheen across screen */
.phone__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%);
  pointer-events: none;
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

/* orbiting glow ring behind phone */
.hero__mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.35), transparent 62%);
  filter: blur(30px);
  animation: glowBreathe 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowBreathe {
  0%, 100% { opacity: 0.55; scale: 1; }
  50% { opacity: 0.95; scale: 1.12; }
}

/* floating chips around phone */
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 0.85rem;
  background: rgba(23, 16, 18, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  z-index: 4;
}

.hero__chip--1 {
  top: 14%;
  left: 0;
  color: var(--color-gold-hint);
  animation: chipFloat 5s ease-in-out infinite;
}

.hero__chip--2 {
  bottom: 18%;
  right: 0;
  color: var(--color-success);
  animation: chipFloat 5s ease-in-out infinite 1.6s;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: clamp(2.8rem, 5.4vw, 4rem);
  }

  .phone {
    width: min(300px, 34vw);
  }

  .hero__mockup::before {
    width: 420px;
    height: 420px;
  }
}

@media (min-width: 992px) {
  .hero {
    padding-top: calc(var(--header-h) + var(--sp-8));
    padding-bottom: var(--sp-9);
  }

  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--sp-8);
  }
}

/* ---------- 9. Stats bar ---------- */
.stats {
  position: relative;
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
  padding-block: var(--sp-6);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5) var(--sp-4);
}

.stat {
  text-align: center;
  position: relative;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-2);
  text-shadow: 0 0 30px rgba(225, 6, 0, 0.3);
}

.stat__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  font-weight: 600;
}

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

  .stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
  }
}

/* ---------- 10. OG promo banner ---------- */
.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 400px at 12% 50%, rgba(255, 59, 48, 0.35), transparent 65%),
    linear-gradient(115deg, #3A0402 0%, #16090A 48%, #0A0A0C 100%);
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
}

.promo::before {
  /* diagonal light sweep */
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg);
  animation: promoSweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promoSweep {
  0% { left: -40%; }
  55%, 100% { left: 130%; }
}

.promo__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

.promo__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-gold-hint);
  font-weight: 700;
}

.promo__amount {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFF 0%, #FFD9A0 35%, var(--color-gold-hint) 65%, #C77A00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 176, 32, 0.45));
  margin-block: var(--sp-2);
}

.promo__title {
  font-size: var(--fs-xl);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.promo__text {
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.promo__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.promo__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.promo__list li::before {
  content: '✦';
  color: var(--color-accent-2);
}

@media (min-width: 768px) {
  .promo {
    padding: var(--sp-8) var(--sp-7);
  }

  .promo__title {
    font-size: var(--fs-2xl);
  }
}

/* ---------- 11. Cards (games) ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

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

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

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

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

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  z-index: 2;
}

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

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.game-card:hover .game-card__media img {
  transform: scale(1.09);
  filter: brightness(0.62) saturate(1.1);
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.2), rgba(140, 5, 0, 0.55));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.game-card__play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-ember);
  box-shadow: var(--shadow-glow-strong);
  transform: scale(0.7);
  transition: transform var(--transition-slow);
}

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

.game-card__play svg {
  width: 20px;
  height: 20px;
  color: #fff;
  margin-left: 3px;
}

.game-card__play-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.game-card__badge {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  padding: 0.25rem 0.55rem;
  background: var(--grad-ember);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  box-shadow: 0 2px 12px rgba(225, 6, 0, 0.6);
  z-index: 2;
}

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

.game-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.game-card__tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--color-gold-hint);
  font-weight: 700;
  flex-shrink: 0;
}

.game-card__rating svg {
  width: 12px;
  height: 12px;
}

/* ---------- 12. Filters / search ---------- */
.filters {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.filters__search {
  position: relative;
}

.filters__search svg {
  position: absolute;
  left: var(--sp-4);
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.filters__input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-primary);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.filters__input::placeholder {
  color: var(--color-text-muted);
}

.filters__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.15);
}

.filters__tabs {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
  -webkit-overflow-scrolling: touch;
}

.filters__tabs::-webkit-scrollbar {
  height: 4px;
}

.filters__tabs::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

.filter-tab {
  flex-shrink: 0;
  padding: 0.6rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.filter-tab:hover {
  border-color: var(--color-accent-dim);
  color: var(--color-text-primary);
}

.filter-tab.is-active {
  background: var(--grad-ember);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

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

.filters__count strong {
  color: var(--color-accent-2);
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  color: var(--color-text-muted);
}

.empty-state h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--sp-2);
}

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

  .filters__search {
    width: 300px;
    flex-shrink: 0;
    order: 2;
  }

  .filters__tabs {
    order: 1;
    flex: 1;
  }
}

/* ---------- 13. Screenshot gallery ---------- */
.shots {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: var(--sp-2) var(--sp-5);
  padding-inline: var(--gutter);
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: none;
}

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

.shot {
  position: relative;
  flex: 0 0 auto;
  width: min(230px, 62vw);
  scroll-snap-align: center;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(160deg, #2A2A30, #0D0D10);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-normal);
}

.shot:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
  border-radius: 19px;
  background: var(--color-surface);
}

.shot__caption {
  position: absolute;
  left: 50%;
  bottom: -6px;
  translate: -50% 0;
  padding: 0.3rem 0.85rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.shots-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (min-width: 992px) {
  .shot {
    width: 250px;
  }
}

/* ---------- 14. Feature cards ---------- */
.features-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

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

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

.feature {
  position: relative;
  padding: var(--sp-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(225, 6, 0, 0.15);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-md);
  background: rgba(225, 6, 0, 0.10);
  border: 1px solid rgba(225, 6, 0, 0.28);
  color: var(--color-accent-2);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature:hover .feature__icon {
  background: rgba(225, 6, 0, 0.2);
  box-shadow: var(--shadow-glow);
}

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

.feature__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- 15. Steps (download / how to play) ---------- */
.steps {
  display: grid;
  gap: var(--sp-4);
  counter-reset: step;
}

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

.step {
  position: relative;
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.step:hover {
  border-color: rgba(225, 6, 0, 0.45);
  transform: translateX(4px);
}

.step__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-ember);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.step__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
  color: var(--color-text-primary);
}

.step__text {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ---------- 16. Accordion / FAQ ---------- */
.accordion {
  display: grid;
  gap: var(--sp-3);
}

.faq {
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq[open] {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 0 26px rgba(225, 6, 0, 0.12);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-normal), background-color var(--transition-normal);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--color-accent-2);
  background: rgba(225, 6, 0, 0.04);
}

.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--color-accent-2);
  border-bottom: 2px solid var(--color-accent-2);
  rotate: 45deg;
  transition: rotate var(--transition-normal);
}

.faq[open] .faq__q::after {
  rotate: -135deg;
}

.faq__a {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--color-text-secondary);
  animation: faqOpen 320ms ease;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 17. Compliance strip ---------- */
.compliance {
  padding-block: var(--sp-5);
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.08), rgba(10, 10, 12, 0) 70%), var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.compliance__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.compliance__badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 900;
  color: var(--color-accent-2);
  box-shadow: var(--shadow-glow), inset 0 0 18px rgba(225, 6, 0, 0.2);
}

.compliance__text {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.compliance__text strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ---------- 18. Footer ---------- */
.footer {
  position: relative;
  padding-top: var(--sp-8);
  background: linear-gradient(180deg, var(--color-bg) 0%, #060607 100%);
  border-top: 1px solid var(--color-border);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-hairline);
  opacity: 0.7;
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  }
}

.footer__logo img {
  height: 42px;
  width: auto;
  margin-bottom: var(--sp-4);
}

.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.8;
  max-width: 42ch;
  margin-bottom: var(--sp-4);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-4);
  position: relative;
  padding-bottom: var(--sp-2);
}

.footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

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

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-normal), padding-left var(--transition-normal);
  display: inline-block;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--color-accent-2);
  padding-left: 5px;
}

.social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.social__link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
}

.social__link:hover,
.social__link:focus-visible {
  background: var(--grad-ember);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.social__link svg {
  width: 20px;
  height: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.footer__contact-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-2);
  flex-shrink: 0;
}

.footer__contact-item span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__contact-item strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.footer__legal {
  padding-block: var(--sp-5);
  border-top: 1px solid var(--color-border);
}

.footer__legal p {
  font-size: var(--fs-xs);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.footer__legal p:last-child {
  margin-bottom: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-border);
  margin-top: var(--sp-4);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.age-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-accent-2);
}

/* ---------- 19. Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-7);
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(225, 6, 0, 0.18), transparent 62%),
    linear-gradient(170deg, var(--color-bg-alt), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.10), transparent 65%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-size: clamp(2rem, 7vw, 3.25rem);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.page-hero__text {
  font-size: var(--fs-md);
  max-width: 66ch;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.crumbs a {
  color: var(--color-text-secondary);
  transition: color var(--transition-normal);
}

.crumbs a:hover {
  color: var(--color-accent-2);
}

.crumbs li:not(:last-child)::after {
  content: '/';
  margin-left: var(--sp-2);
  color: var(--color-accent-dim);
}

.crumbs li {
  display: flex;
  align-items: center;
}

/* ---------- 20. Game detail page ---------- */
.gd-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-7);
  overflow: hidden;
  background: linear-gradient(170deg, var(--color-bg-alt), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}

/* blurred art wash behind the hero */
.gd-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gd-hero__wash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(48px) saturate(1.5) brightness(0.5);
  transform: scale(1.25);
  opacity: 0.45;
}

.gd-hero__wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 0.88) 65%, var(--color-bg) 100%);
}

/* The wash is positioned, so it paints above static in-flow content.
   Lift every container in the hero above it. */
.gd-hero > .container {
  position: relative;
  z-index: 2;
}

.gd-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 900px) {
  .gd-hero__inner {
    grid-template-columns: 340px 1fr;
    gap: var(--sp-7);
  }
}

/* Contained, animated art frame — deliberately NOT a giant full-bleed image */
.gd-art {
  position: relative;
  width: min(300px, 78vw);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(135deg, var(--color-accent), rgba(225, 6, 0, 0.15) 40%, rgba(255, 176, 32, 0.5) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(225, 6, 0, 0.28);
  animation: gdFloat 6.5s ease-in-out infinite;
  will-change: transform;
}

@media (min-width: 900px) {
  .gd-art {
    width: 100%;
    margin-inline: 0;
  }
}

@keyframes gdFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

/* rotating conic halo */
.gd-art::before {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(225, 6, 0, 0.55) 70deg, transparent 150deg, transparent 210deg, rgba(255, 176, 32, 0.35) 290deg, transparent 360deg);
  filter: blur(28px);
  opacity: 0.75;
  z-index: -1;
  animation: gdHalo 9s linear infinite;
}

@keyframes gdHalo {
  to { rotate: 360deg; }
}

.gd-art__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-xl) - 3px);
  overflow: hidden;
  background: var(--color-surface);
}

.gd-art__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gd-art:hover .gd-art__inner img {
  transform: scale(1.05);
}

/* sheen sweep across the art */
.gd-art__inner::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(22deg);
  animation: gdSheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gdSheen {
  0% { left: -60%; }
  60%, 100% { left: 140%; }
}

.gd-hero__title {
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  line-height: 1.08;
}

.gd-hero__tagline {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-5);
  max-width: 56ch;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  backdrop-filter: blur(8px);
}

.chip--accent {
  border-color: rgba(225, 6, 0, 0.5);
  color: var(--color-accent-2);
  background: rgba(225, 6, 0, 0.1);
}

.chip--gold {
  border-color: rgba(255, 176, 32, 0.45);
  color: var(--color-gold-hint);
  background: rgba(255, 176, 32, 0.08);
}

.chip svg {
  width: 13px;
  height: 13px;
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* quick spec strip */
.gd-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--sp-6);
}

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

.gd-spec {
  padding: var(--sp-4);
  background: var(--color-surface);
  text-align: center;
  transition: background-color var(--transition-normal);
}

.gd-spec:hover {
  background: var(--color-surface-2);
}

.gd-spec__label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}

.gd-spec__value {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text-primary);
}

/* two-column detail layout */
.gd-layout {
  display: grid;
  gap: var(--sp-7);
}

@media (min-width: 992px) {
  .gd-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
    gap: var(--sp-8);
  }
}

.gd-aside {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 992px) {
  .gd-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
  }
}

.aside-card {
  padding: var(--sp-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.aside-card--cta {
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(225, 6, 0, 0.28), transparent 70%),
    var(--grad-surface);
  border-color: rgba(225, 6, 0, 0.4);
  text-align: center;
}

.aside-card__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aside-card__text {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}

.aside-card__bonus {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--color-gold-hint);
  filter: drop-shadow(0 0 18px rgba(255, 176, 32, 0.4));
  margin-bottom: var(--sp-2);
  display: block;
}

/* sticky mobile play bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--gutter);
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  transform: translateY(110%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__art {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.sticky-cta__info {
  flex: 1;
  min-width: 0;
}

.sticky-cta__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__meta {
  font-size: var(--fs-xs);
  color: var(--color-gold-hint);
}

@media (min-width: 992px) {
  .sticky-cta {
    display: none;
  }
}

/* related games carousel */
.carousel {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  padding-inline: var(--gutter);
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: none;
}

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

.carousel > * {
  flex: 0 0 auto;
  width: 158px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .carousel > * {
    width: 190px;
  }
}

/* ---------- 21. Info / content blocks ---------- */
.info-grid {
  display: grid;
  gap: var(--sp-4);
}

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

.info-card {
  padding: var(--sp-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.info-card__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
  color: var(--color-text-primary);
}

.info-card__text {
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* checklist */
.checklist {
  display: grid;
  gap: var(--sp-3);
}

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

.checklist li::before {
  content: '✓';
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--color-success);
  font-size: 12px;
  font-weight: 700;
}

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

/* pill list of tips */
.tip-list {
  display: grid;
  gap: var(--sp-3);
  counter-reset: tip;
}

.tip-list li {
  position: relative;
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.tip-list li:hover {
  border-color: rgba(225, 6, 0, 0.4);
  transform: translateX(4px);
}

.tip-list li::before {
  counter-increment: tip;
  content: counter(tip, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--color-accent);
  opacity: 0.65;
}

/* table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

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

thead {
  background: var(--color-surface-2);
}

th {
  padding: var(--sp-4);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  white-space: nowrap;
}

td {
  padding: var(--sp-4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: var(--color-surface);
}

tbody tr:hover td {
  background: var(--color-surface-2);
}

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

/* ---------- 22. Contact form ---------- */
.form {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--grad-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .form {
    padding: var(--sp-6);
  }
}

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

.field__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

.field__label span {
  color: var(--color-accent-2);
}

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
}

.field__textarea {
  min-height: 150px;
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.7;
}

.field__error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  min-height: 1em;
}

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

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

.form__status {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  text-align: center;
  display: none;
}

.form__status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--color-success);
}

@media (min-width: 640px) {
  .form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

/* ---------- 23. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: var(--sp-8);
  background:
    radial-gradient(600px 300px at 50% 100%, rgba(225, 6, 0, 0.28), transparent 70%),
    linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
  border-top: 1px solid var(--color-border);
}

.cta-band__title {
  font-size: clamp(1.6rem, 5.5vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.cta-band__text {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

/* ---------- 24. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 300ms; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 420ms; }
.reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 470ms; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 520ms; }

/* ---------- 25. Back to top ---------- */
.to-top {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--grad-ember);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* nudge above the sticky bar on detail pages */
body.has-sticky-cta .to-top {
  bottom: calc(var(--sp-4) + 74px);
}

@media (min-width: 992px) {
  body.has-sticky-cta .to-top {
    bottom: var(--sp-4);
  }
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .embers,
  .promo::before,
  .gd-art::before,
  .gd-art__inner::after {
    display: none;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .phone,
  .gd-art,
  .hero__chip {
    animation: none;
  }

  .section-title::after {
    transform: scaleX(1);
  }
}
