/* ==========================================================================
   IC7 GAME — GLOBAL STYLES + COMPONENTS
   Depends on tokens.css (must load first).
   Naming: BEM-lite  .block__element--modifier
   ========================================================================== */

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

* { margin: 0; }

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

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

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

img { height: auto; }

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

button { background: none; border: 0; cursor: pointer; }

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

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

p { text-wrap: pretty; }

::selection {
  background: var(--c-red);
  color: #fff;
}

/* Focus — red accent, visible only for keyboard users */
:focus-visible {
  outline: 2px solid var(--c-red-hot);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* --------------------------- 2. Scrollbar chrome -------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--c-surface-3);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-red-deep); }

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

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

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

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

/* Angled red slash divider — signature motif */
.section--slashed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g-slash);
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  z-index: var(--z-toast);
  padding: var(--s-3) var(--s-5);
  background: var(--c-red);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* ------------------------- 4. Section headings ---------------------------- */
.section-head {
  max-width: 640px;
  margin-bottom: var(--s-7);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  padding: var(--s-1) var(--s-3);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: var(--r-pill);
  background: var(--g-red-soft);
  color: var(--c-red-hot);
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red-hot);
  box-shadow: 0 0 8px var(--c-red-hot);
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-3);
}

.section-title em {
  font-style: normal;
  background: var(--g-text-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  color: var(--c-text-2);
  font-size: var(--fs-md);
}

/* ------------------------------- 5. Buttons ------------------------------- */
.btn {
  --btn-bg: var(--c-surface-2);
  --btn-fg: var(--c-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base),
              border-color var(--t-base), background var(--t-base);
}

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

.btn svg { flex-shrink: 0; }

/* Primary — glowing red, with a sheen sweep on hover */
.btn--primary {
  --btn-bg: var(--g-red);
  --btn-fg: #fff;
  border-color: transparent;
  box-shadow: var(--glow-red-sm);
}

.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(--t-slow);
}

.btn--primary:hover {
  box-shadow: var(--glow-red-lg);
}

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

/* Ghost / secondary */
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(225, 6, 0, 0.6);
  box-shadow: var(--glow-red-sm);
}

/* Telegram — brand-adjacent but kept on-theme */
.btn--tg {
  --btn-bg: rgba(255, 255, 255, 0.04);
  border-color: rgba(42, 171, 238, 0.45);
  backdrop-filter: blur(8px);
}

.btn--tg:hover {
  border-color: #2aabee;
  box-shadow: 0 0 0 1px rgba(42, 171, 238, 0.5), 0 10px 30px rgba(42, 171, 238, 0.28);
}

.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }

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

/* -------------------------------- 6. Header ------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.header.is-stuck {
  background: rgba(10, 10, 12, 0.94);
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: filter var(--t-base), transform var(--t-base);
}

.header__logo img {
  height: var(--logo-h);
  width: auto;
}

.header__logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.65));
}

.header__spacer { flex: 1; }

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.nav__link {
  position: relative;
  padding: var(--s-2) 0;
  color: var(--c-text-2);
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--g-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}

.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--c-text); }

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link[aria-current="page"] {
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.5);
}

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

/* Icon-only telegram button in header */
.tg-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(42, 171, 238, 0.4);
  border-radius: 50%;
  background: rgba(42, 171, 238, 0.08);
  color: #2aabee;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.tg-icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(42, 171, 238, 0.16);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md);
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 979px) {
  .burger { display: flex; }

  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: var(--z-drawer);
    padding: var(--s-5) var(--gutter) var(--s-7);
    background: rgba(13, 13, 16, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item { border-bottom: 1px solid var(--c-line); }

  .nav__link {
    display: block;
    padding: var(--s-4) 0;
    font-size: var(--fs-lg);
  }

  .nav__link::after { display: none; }

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

@media (min-width: 980px) {
  .header__nav { display: block !important; }
}

/* -------------------------------- 7. Hero -------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 1rem + 6vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient animated glow field (CSS-only, GPU-cheap) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

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

.hero__orb--1 {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.55), transparent 65%);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 38vw; height: 38vw;
  max-width: 480px; max-height: 480px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, rgba(122, 0, 0, 0.6), transparent 65%);
  animation: drift-b 22s ease-in-out infinite alternate;
}

/* Grid mesh + vignette */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* Embers — injected by JS, respects reduced-motion */
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-red-hot);
  box-shadow: 0 0 8px 1px rgba(255, 26, 26, 0.8);
  opacity: 0;
  animation: rise linear infinite;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__title {
  font-size: var(--fs-hero);
  margin-bottom: var(--s-4);
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  display: inline-block;
  background: var(--g-text-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(225, 6, 0, 0.35));
}

.hero__sub {
  max-width: 52ch;
  margin-bottom: var(--s-6);
  color: var(--c-text-2);
  font-size: var(--fs-md);
}

.hero__sub strong {
  color: var(--c-text);
  font-weight: 600;
}

.hero__sub .amount {
  color: var(--c-win);
  font-weight: 700;
  white-space: nowrap;
}

.hero__cta { margin-bottom: var(--s-6); }

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: calc(var(--s-4) * -0.5);
  margin-bottom: var(--s-6);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
}

/* --- Hero art: tall 839x1874 portrait render, framed as a device --- */
.hero__art {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__device {
  position: relative;
  width: var(--hero-art-w);
  padding: 8px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #2a2530, #121016 60%);
  border: 1px solid var(--c-line-strong);
  box-shadow:
    var(--sh-3),
    0 0 0 1px rgba(225, 6, 0, 0.18),
    0 30px 80px rgba(225, 6, 0, 0.22);
  transform-style: preserve-3d;
  animation: float-y 6s ease-in-out infinite;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  will-change: transform;
}

.hero__device:hover {
  box-shadow:
    var(--sh-3),
    0 0 0 1px rgba(255, 26, 26, 0.45),
    0 36px 100px rgba(225, 6, 0, 0.42);
}

/* Ambient red bloom behind the device */
.hero__device::before {
  content: "";
  position: absolute;
  inset: -18% -22%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(225, 6, 0, 0.45), transparent 62%);
  filter: blur(48px);
  animation: bloom 5s ease-in-out infinite alternate;
}

/* Screen glare sweep */
.hero__device::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--r-xl) - 6px);
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.10) 48%, transparent 60%);
  pointer-events: none;
  animation: glare 7s ease-in-out infinite;
}

.hero__device img {
  width: 100%;
  height: auto;
  aspect-ratio: 839 / 1874;
  object-fit: cover;
  border-radius: calc(var(--r-xl) - 6px);
  background: var(--c-bg-alt);
}

/* Floating stat pill pinned to the device */
.hero__badge {
  position: absolute;
  z-index: var(--z-raised);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  background: rgba(22, 20, 24, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--sh-2);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  animation: float-y 5s ease-in-out infinite;
}

.hero__badge--bonus {
  top: 12%;
  left: -6%;
  color: var(--c-win);
  border-color: rgba(0, 210, 106, 0.4);
  animation-delay: -1.5s;
}

.hero__badge--live {
  bottom: 14%;
  right: -8%;
  color: var(--c-red-hot);
  border-color: rgba(225, 6, 0, 0.45);
  animation-delay: -3s;
}

.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@media (max-width: 480px) {
  .hero__badge--bonus { left: -2%; }
  .hero__badge--live { right: -2%; }
}

/* Trust / stat chips */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.stat-chip {
  flex: 1 1 130px;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  box-shadow: var(--glow-inset);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.stat-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: var(--glow-red-sm);
}

.stat-chip__num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text);
}

.stat-chip__label {
  font-size: var(--fs-xs);
  color: var(--c-text-2);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* ------------------------------ 8. Marquee ------------------------------- */
.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  padding-block: var(--s-3);
  border-block: 1px solid var(--c-line);
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.07), rgba(122, 0, 0, 0.02));
  user-select: none;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: var(--z-raised);
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--c-bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--c-bg), transparent); }

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--s-6);
  padding-right: var(--s-6);
  min-width: 100%;
  animation: scroll-x 38s linear infinite;
  will-change: transform;
}

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

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-2);
  white-space: nowrap;
}

.marquee__item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 8px var(--c-red-hot);
}

.marquee__item--hot { color: var(--c-red-hot); }

/* --------------------------- 9. OG banner strip --------------------------- */
.ogbanner__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(225, 6, 0, 0.28);
  box-shadow: var(--glow-red), var(--sh-3);
  background: var(--c-surface);
  transition: box-shadow var(--t-slow), transform var(--t-slow);
}

.ogbanner__frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-red-lg), var(--sh-3);
}

.ogbanner__frame img {
  width: 100%;
  aspect-ratio: 1734 / 907;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform var(--t-slow);
}

.ogbanner__frame:hover img { transform: scale(1); }

/* Scanline sheen */
.ogbanner__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 900ms var(--t-slow);
  pointer-events: none;
}

.ogbanner__frame:hover::after { transform: translateX(100%); }

.ogbanner__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--s-6) var(--s-5) var(--s-4);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.92));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.ogbanner__caption p {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* ----------------------------- 10. Game cards ----------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--s-4);
}

@media (min-width: 768px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s-5); }
}

.game-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--g-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  will-change: transform;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: var(--glow-red), var(--sh-2);
  z-index: var(--z-raised);
}

.game-card__media {
  position: relative;
  aspect-ratio: 211 / 260;
  overflow: hidden;
  background: var(--c-surface-2);
}

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

.game-card:hover .game-card__media img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.05);
}

/* Play overlay */
.game-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.1), rgba(10, 10, 12, 0.75));
  opacity: 0;
  transition: opacity var(--t-base);
}

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

.game-card__play {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--g-red);
  color: #fff;
  box-shadow: var(--glow-red);
  transform: scale(0.7);
  transition: transform var(--t-spring);
}

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

.game-card__tag {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  padding: 2px var(--s-2);
  border-radius: var(--r-sm);
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--c-line-strong);
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-text-2);
}

.game-card__tag--hot {
  background: var(--g-red);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.6);
}

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

.game-card__name {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  line-height: var(--lh-snug);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__meta {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* --------------------------- 11. Feature cards ---------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-4);
}

.feature-card {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  box-shadow: var(--glow-inset);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g-red-soft);
  opacity: 0;
  transition: opacity var(--t-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: var(--glow-red-sm);
}

.feature-card:hover::before { opacity: 1; }

.feature-card > * { position: relative; }

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--s-4);
  border-radius: var(--r-md);
  background: var(--g-red-soft);
  border: 1px solid rgba(225, 6, 0, 0.3);
  color: var(--c-red-hot);
  transition: transform var(--t-spring), box-shadow var(--t-base);
}

.feature-card:hover .feature-card__icon {
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  box-shadow: var(--glow-red-sm);
}

.feature-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-2);
}

.feature-card__text {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

/* ---------------------------- 12. Bonus panel ----------------------------- */
.bonus {
  position: relative;
  display: grid;
  gap: var(--s-6);
  align-items: center;
  padding: clamp(2rem, 1rem + 4vw, 3.5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 15% 20%, rgba(225, 6, 0, 0.22), transparent 55%),
    var(--g-surface);
  border: 1px solid rgba(225, 6, 0, 0.3);
  box-shadow: var(--sh-3);
  overflow: hidden;
}

@media (min-width: 860px) {
  .bonus { grid-template-columns: 1.2fr 0.8fr; }
}

.bonus::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -10%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.10), transparent);
  transform: rotate(18deg);
  pointer-events: none;
}

.bonus__amount {
  font-family: var(--f-display);
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--g-text-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(225, 6, 0, 0.4));
}

.bonus__label {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: var(--s-4);
}

.bonus__list { display: grid; gap: var(--s-3); }

.bonus__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

.bonus__list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-win);
}

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

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

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

.step {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--g-surface);
  border: 1px solid var(--c-line);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: var(--glow-red-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(225, 6, 0, 0.45);
  opacity: 0.7;
  transition: opacity var(--t-base);
}

.step:hover::before { opacity: 1; }

.step__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-2);
  padding-right: var(--s-7);
}

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

/* --------------------------- 14. Screenshots ------------------------------ */
.shots {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--s-2) var(--gutter) var(--s-5);
  margin-inline: calc(var(--gutter) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.shot {
  flex: 0 0 auto;
  width: clamp(190px, 42vw, 250px);
  scroll-snap-align: center;
  padding: 7px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #2a2530, #121016 60%);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--sh-2);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.shot:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: var(--glow-red), var(--sh-2);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: calc(var(--r-xl) - 5px);
  background: var(--c-bg-alt);
}

.shots-nav {
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.shots-nav__btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-text-2);
  transition: all var(--t-base);
}

.shots-nav__btn:hover {
  color: #fff;
  border-color: var(--c-red);
  background: var(--g-red-soft);
  box-shadow: var(--glow-red-sm);
}

/* --------------------------- 15. Testimonials ----------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}

.quote {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.quote:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 6, 0, 0.4);
  box-shadow: var(--glow-red-sm);
}

.quote__text {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}

.quote__text::before {
  content: "\201C";
  display: block;
  font-family: var(--f-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--c-red);
  margin-bottom: var(--s-2);
}

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

.quote__avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--g-red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  box-shadow: var(--glow-red-sm);
}

.quote__name {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  line-height: 1.2;
}

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

/* ------------------------------- 16. CTA band ----------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  border-radius: var(--r-xl);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225, 6, 0, 0.28), transparent 60%),
    var(--g-surface);
  border: 1px solid rgba(225, 6, 0, 0.3);
  box-shadow: var(--sh-3);
  overflow: hidden;
}

.cta-band__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-3);
  text-wrap: balance;
}

.cta-band__text {
  max-width: 56ch;
  margin: 0 auto var(--s-6);
  color: var(--c-text-2);
}

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

/* ------------------------------ 17. Accordion ----------------------------- */
.faq { display: grid; gap: var(--s-3); }

.faq__item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq__item.is-open {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: var(--glow-red-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-4) var(--s-5);
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text);
  transition: color var(--t-fast);
}

.faq__q:hover { color: var(--c-red-hot); }

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

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--c-red-hot);
  border-radius: 2px;
  transition: transform var(--t-base);
}

.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }

.faq__item.is-open .faq__icon::after { transform: rotate(90deg) scaleX(0); }

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

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

.faq__a > div { overflow: hidden; }

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

/* -------------------------------- 18. Forms ------------------------------- */
.form { display: grid; gap: var(--s-4); }

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

.field__label {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-text-2);
}

.field__label .req { color: var(--c-red-hot); }

.field__input,
.field__textarea {
  width: 100%;
  padding: 0.85rem var(--s-4);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

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

.field__input:focus,
.field__textarea:focus {
  outline: none;
  background: var(--c-surface);
  border-color: var(--c-red);
  box-shadow: var(--glow-red-sm);
}

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

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

.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"] { border-color: var(--c-red-hot); }

.form__success {
  display: none;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: rgba(0, 210, 106, 0.08);
  border: 1px solid rgba(0, 210, 106, 0.4);
  color: var(--c-text);
}

.form__success.is-visible { display: flex; }

.form__success svg { flex-shrink: 0; color: var(--c-win); margin-top: 2px; }

.form__success strong {
  display: block;
  font-family: var(--f-display);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.form__success span { font-size: var(--fs-sm); color: var(--c-text-2); }

/* ------------------------------ 19. Notices ------------------------------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: rgba(225, 6, 0, 0.06);
  border: 1px solid rgba(225, 6, 0, 0.28);
  border-left-width: 3px;
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

.notice svg { flex-shrink: 0; color: var(--c-red-hot); margin-top: 2px; }

.notice strong { color: var(--c-text); }

.age-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding-inline: var(--s-2);
  border-radius: 50%;
  border: 2px solid var(--c-red);
  color: var(--c-red-hot);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

/* ------------------------------- 20. Footer ------------------------------- */
.footer {
  position: relative;
  margin-top: var(--section-y);
  padding-block: var(--s-8) var(--s-5);
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-line);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red), transparent);
  opacity: 0.7;
}

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

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

@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

.footer__logo {
  display: inline-flex;
  margin-bottom: var(--s-4);
  transition: filter var(--t-base);
}

.footer__logo img { height: 44px; width: auto; }

.footer__logo:hover { filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.6)); }

.footer__tagline {
  max-width: 40ch;
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}

.footer__title {
  font-size: var(--fs-base);
  margin-bottom: var(--s-4);
  color: var(--c-text);
}

.footer__list { display: grid; gap: var(--s-2); }

.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer__list a:hover {
  color: var(--c-red-hot);
  transform: translateX(3px);
}

.footer__list a svg { flex-shrink: 0; }

.footer__legal {
  display: grid;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}

.footer__compliance {
  display: grid;
  gap: var(--s-3);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.footer__bottom a:hover { color: var(--c-red-hot); }

/* --------------------------- 21. Page header band ------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(225, 6, 0, 0.16), transparent 70%),
    var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
  text-align: center;
}

.page-hero::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: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent);
}

.page-hero > * { position: relative; }

.page-hero__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--s-3);
  text-wrap: balance;
}

.page-hero__title em {
  font-style: normal;
  background: var(--g-text-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero__sub {
  max-width: 60ch;
  margin-inline: auto;
  color: var(--c-text-2);
  font-size: var(--fs-md);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.crumbs a:hover { color: var(--c-red-hot); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s-2); opacity: 0.5; }
.crumbs li { display: flex; align-items: center; }

/* ----------------------------- 22. Prose (legal) -------------------------- */
.prose { color: var(--c-text-2); }

.prose > * + * { margin-top: var(--s-4); }

.prose h2 {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xl);
  color: var(--c-text);
}

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

.prose h3 {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  color: var(--c-text);
}

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

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

.prose ul, .prose ol {
  display: grid;
  gap: var(--s-2);
  padding-left: var(--s-5);
}

.prose ul li { list-style: none; position: relative; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: calc(var(--s-5) * -1);
  top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red);
}

.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--c-red-hot); font-weight: 700; }

.prose strong { color: var(--c-text); }

.prose__meta {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* Table of contents */
.toc {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}

.toc__title {
  font-size: var(--fs-base);
  margin-bottom: var(--s-3);
}

.toc ol {
  display: grid;
  gap: var(--s-2);
  padding-left: var(--s-5);
  list-style: decimal;
}

.toc a { color: var(--c-text-2); font-size: var(--fs-sm); }
.toc a:hover { color: var(--c-red-hot); }

/* --------------------------- 23. Scroll reveal ---------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

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

@keyframes bloom {
  from { opacity: 0.55; transform: scale(0.95); }
  to   { opacity: 0.9;  transform: scale(1.06); }
}

@keyframes glare {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50%      { opacity: 1; transform: translateX(30%); }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6%, 8%, 0) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(8%, -6%, 0) scale(0.95); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

@keyframes rise {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  12%  { opacity: 0.9; }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-70vh) scale(1.1); }
}

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

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__embers,
  .marquee__track { animation: none; }

  .btn:hover,
  .game-card:hover,
  .feature-card:hover,
  .shot:hover,
  .step:hover,
  .quote:hover { transform: none; }
}
