/* ============================================================
   IS7 GAME — AURORA
   Vanilla CSS. No frameworks. No build step.
   ============================================================ */

/* ---------- 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(--nav-h) + 16px);
}

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

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

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

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

.skip-link {
  position: absolute; top: -100px; left: var(--sp-4);
  z-index: 200; padding: var(--sp-3) var(--sp-5);
  background: var(--red); color: #fff;
  border-radius: var(--r-pill); font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

/* ---------- 2. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 640px) { .wrap { padding-inline: var(--sp-4); } }

.section { position: relative; padding-block: var(--sp-24); }
.section--tight { padding-block: var(--sp-16); }
.section--blush { background: var(--paper-blush); }
@media (max-width: 640px) { .section { padding-block: var(--sp-16); } }

main { position: relative; z-index: 1; }

/* ---------- 3. LIVING AURORA ---------- */
.aurora {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grad-aurora);
  background-repeat: no-repeat;
  filter: blur(80px);
  opacity: 0.42;
  will-change: transform;
  animation: aurora-drift 34s ease-in-out infinite alternate;
}

/* second, slower layer — parallax depth */
.aurora::after {
  content: '';
  position: absolute;
  inset: 10%;
  background-image:
    radial-gradient(45% 45% at 70% 30%, var(--rose) 0%, transparent 60%),
    radial-gradient(40% 40% at 25% 70%, var(--red-hot) 0%, transparent 58%);
  opacity: 0.55;
  animation: aurora-drift-alt 46s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.12) rotate(2deg); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05) rotate(-2deg); }
}
@keyframes aurora-drift-alt {
  0%   { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(-5%, 4%, 0) scale(0.95); }
}

/* ---------- 4. CURSOR SPOTLIGHT ---------- */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 640px; height: 640px;
  margin: -320px 0 0 -320px;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.spotlight.is-live { opacity: 0.5; }

/* ---------- 5. GLASS ---------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* Solid fallback where backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav, .fab, .cookie { background: var(--paper) !important; }
  .nav { border-bottom: 1px solid var(--glass-line); }
}

/* ---------- 6. TYPOGRAPHY ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h-section { font-size: var(--text-4xl); margin-bottom: var(--sp-4); }
@media (max-width: 640px) { .h-section { font-size: var(--text-3xl); } }

.lead {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-deep);
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-head { text-align: center; margin-bottom: var(--sp-16); }
.section-head .lead { margin-inline: auto; }
.section-head--left { text-align: left; }
.section-head--left .lead { margin-inline: 0; }

/* ---------- 7. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-base) var(--ease-snap),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* inline icons carry no intrinsic size — without this they collapse to 0×0 */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--cta {
  color: #fff;
  background: var(--grad-cta);
  background-size: 160% 160%;
  box-shadow: 0 6px 24px rgba(109, 40, 217, 0.30);
  animation: cta-shift 8s ease infinite;
}
.btn--cta:hover { box-shadow: 0 10px 36px rgba(109, 40, 217, 0.45), var(--shadow-glow); }

@keyframes cta-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.btn--ghost {
  color: var(--ink);
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-soft); }

.btn--light { color: var(--red-deep); background: #fff; }
.btn--light:hover { box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18); }

.btn--outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* Telegram — official brand blue, used for community CTAs */
.btn--tg {
  color: #fff;
  background: linear-gradient(135deg, #37BBFE 0%, #229ED9 55%, #1B8CBF 100%);
  box-shadow: 0 6px 24px rgba(34, 158, 217, 0.32);
}
.btn--tg:hover { box-shadow: 0 10px 36px rgba(34, 158, 217, 0.48); }
.btn--tg svg { fill: #fff; }

.btn--lg { padding: var(--sp-5) var(--sp-10); font-size: var(--text-base); }
.btn--block { width: 100%; }

.btn--icon {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  color: var(--ink-soft);
}
.btn--icon:hover { background: #229ED9; border-color: #229ED9; color: #fff; }
.btn--icon svg { width: 20px; height: 20px; }

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

/* ---------- 8. NAVIGATION ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  z-index: 101;
  background: var(--grad-cta);
  transition: width 80ms linear;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.nav.is-stuck { box-shadow: 0 4px 30px rgba(15, 11, 30, 0.07); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: var(--nav-h);
}

.nav__logo { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.nav__logo img { height: 40px; width: auto; }
@media (max-width: 640px) { .nav__logo img { height: 32px; } }

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

.nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-block: var(--sp-2);
  transition: color var(--dur-base) var(--ease-out);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-cta);
  transform: translateX(-50%);
  transition: width var(--dur-base) var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

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

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass-fill);
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: background var(--dur-fast) linear;
}
.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute; left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }

body.nav-open .nav__burger span { background: transparent; }
body.nav-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__burger span::after  { transform: translateY(-6px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* Mobile drawer — glass/blush, never black.
   Hidden by clipping, NOT by translating off-canvas: a fixed element parked at
   translateX(100%) extends the document's scrollable area and lets every page
   drag sideways into empty space. Clipping wipes it away in place. */
.nav__drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-10) var(--sp-6) var(--sp-12);
  background: rgba(255, 246, 247, 0.92);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  will-change: clip-path;
  transition: clip-path var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  overflow-y: auto;
}
body.nav-open .nav__drawer { clip-path: inset(0 0 0 0); visibility: visible; }

/* contents ease in behind the wipe */
.nav__drawer > * {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: 60ms;
}
body.nav-open .nav__drawer > * { opacity: 1; transform: none; }

.nav__drawer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.nav__drawer-links a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--glass-line);
  transition: color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.nav__drawer-links a:hover, .nav__drawer-links a.is-active { color: var(--red); padding-left: var(--sp-3); }

.nav__drawer-foot { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-10); }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--cta { display: none; }
}

/* ---------- 9. HERO ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-24) var(--sp-20);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: var(--sp-16);
}

.hero__title {
  font-size: var(--text-hero);
  margin-block: var(--sp-6);
}
.hero__title span { display: block; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--glass-line);
}
.hero__trust-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-soft);
}
.hero__trust-item svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }

/* Hero art: floating glass frame + morphing blob backdrop */
/* Keep the device art to a sane, product-shot scale — the source image is a tall
   phone capture and fills the column edge-to-edge if left unconstrained. */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

.hero__blob {
  position: absolute;
  width: 115%; height: 115%;
  z-index: 0;
  fill: url(#auroraBlobGrad);
  opacity: 0.5;
  filter: blur(6px);
}

.hero__frame {
  position: relative;
  z-index: 1;
  padding: var(--sp-3);
  border-radius: var(--r-xl);
  animation: float-y 6.5s ease-in-out infinite;
}
.hero__frame img { border-radius: calc(var(--r-xl) - 6px); width: 100%; }

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

/* Floating game-thumbnail chips */
.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border-radius: var(--r-pill);
  animation: float-y 5.5s ease-in-out infinite;
}
.hero__chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hero__chip-name { font-size: var(--text-xs); font-weight: 700; font-family: var(--font-heading); }
.hero__chip-meta { font-size: 10px; color: var(--ink-faint); }

.hero__chip--1 { top: 6%;  left: -8%;  animation-delay: -1s; }
.hero__chip--2 { bottom: 18%; left: -12%; animation-delay: -2.6s; }
.hero__chip--3 { top: 22%; right: -8%; animation-delay: -3.8s; }

.hero__bonus {
  position: absolute;
  bottom: 4%; right: -4%;
  z-index: 2;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-lg);
  text-align: center;
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 12px 40px rgba(109, 40, 217, 0.4);
  animation: float-y 6.4s ease-in-out infinite;
  animation-delay: -1.8s;
}
.hero__bonus strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; }
.hero__bonus span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-20); text-align: center; }
  .hero .btn-row, .hero__trust { justify-content: center; }
  .hero__art { max-width: 320px; margin-inline: auto; }
  .hero__chip--1 { left: -4%; }
  .hero__chip--2 { left: -6%; }
}
@media (max-width: 640px) {
  .hero { padding-block: var(--sp-12) var(--sp-16); }
  .hero__chip--2, .hero__chip--3 { display: none; }
  .hero__bonus { right: 0; }
}

/* ---------- 10. ODOMETER STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-10);
  border-radius: var(--r-xl);
}
.stat { text-align: center; padding-inline: var(--sp-4); }
.stat + .stat { border-left: 1px solid var(--glass-line); }

.stat__num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* Odometer digit strips */
.odo { display: inline-flex; }
.odo__digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
}
.odo__strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.6s var(--ease-out);
}
.odo__strip span { height: 1em; line-height: 1; }

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) 0; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { padding-top: var(--sp-8); border-top: 1px solid var(--glass-line); }
}
@media (max-width: 640px) {
  .stats { padding: var(--sp-6); }
  .stat__num { font-size: var(--text-2xl); }
}

/* ---------- 11. MORPHING BLOB DIVIDER ---------- */
.blob-divider {
  position: relative;
  width: 100%;
  height: 140px;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob-divider svg { width: 100%; height: 100%; }
.blob-divider path {
  fill: var(--paper-blush);
  animation: blob-morph 20s ease-in-out infinite;
}
.blob-divider--to-white path { fill: var(--paper); }

@keyframes blob-morph {
  0%, 100% { d: path("M0,64 C240,120 480,8 720,48 C960,88 1200,136 1440,80 L1440,140 L0,140 Z"); }
  33%      { d: path("M0,96 C240,32 480,120 720,88 C960,56 1200,16 1440,64 L1440,140 L0,140 Z"); }
  66%      { d: path("M0,40 C240,104 480,56 720,112 C960,136 1200,72 1440,104 L1440,140 L0,140 Z"); }
}

/* Fallback for browsers without `d` interpolation: gentle drift instead */
@supports not (d: path("M0,0 L1,1 Z")) {
  .blob-divider path { animation: blob-drift 18s ease-in-out infinite alternate; }
  @keyframes blob-drift {
    0%   { transform: translate3d(0, 0, 0) scaleY(1); }
    100% { transform: translate3d(-3%, 6px, 0) scaleY(1.08); }
  }
}

/* ---------- 12. GAME CARDS (tilt + sheen) ---------- */
.game-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.game-card:hover { box-shadow: 0 18px 50px rgba(67, 19, 147, 0.18); }

.game-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-dim);
}
.game-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.game-card:hover .game-card__media img { transform: scale(1.07); }

/* diagonal light sheen sweep */
.game-card__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.game-card:hover .game-card__sheen { transform: translateX(120%); }

.game-card__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.game-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--sp-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card__cat {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 600;
}
.game-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--glass-line);
  font-size: var(--text-xs);
}
.game-card__rating { display: flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gold); }
.game-card__rating svg { width: 13px; height: 13px; fill: currentColor; }
.game-card__players { color: var(--ink-faint); font-weight: 600; }

/* badges */
.badge {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px var(--sp-3);
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff;
  border-radius: var(--r-pill);
  background: var(--grad-cta);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
}
.badge--hot::before, .badge--live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-ring 2.2s ease-out infinite;
}
.badge--new { background: linear-gradient(120deg, #2BB673, #128B52); box-shadow: 0 4px 14px rgba(18, 139, 82, 0.3); }
.badge--top { background: linear-gradient(120deg, #F2C46A, var(--gold)); color: var(--plum); box-shadow: 0 4px 14px rgba(232, 176, 75, 0.35); }

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85); }
  100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

/* ---------- 13. GRIDS & RAILS ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--sp-6);
}
@media (max-width: 640px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}

/* snap carousel */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: var(--paper-dim); border-radius: var(--r-pill); }
.rail::-webkit-scrollbar-thumb { background: var(--rose); border-radius: var(--r-pill); }
.rail::-webkit-scrollbar-thumb:hover { background: var(--red); }
@media (max-width: 640px) { .rail { grid-auto-columns: 74%; } }

/* ---------- 14. FEATURE GRID ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.feature {
  padding: var(--sp-8);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(67, 19, 147, 0.14); }
.feature__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-md);
  color: var(--red);
  background: var(--red-mist);
  border: 1px solid var(--glass-line);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--text-xl); margin-bottom: var(--sp-2); }
.feature p { color: var(--ink-soft); font-size: var(--text-sm); }

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

/* ---------- 15. STEPS (ghost numerals) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.step { position: relative; padding: var(--sp-8) var(--sp-6); overflow: hidden; }
.step__ghost {
  position: absolute;
  top: -18px; right: 4px;
  font-family: var(--font-display);
  font-size: 7rem; font-weight: 800; line-height: 1;
  color: var(--red);
  opacity: 0.07;
  pointer-events: none;
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--text-sm); color: var(--ink-soft); }

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

/* ---------- 16. BONUS BAND (the one deep contrast band) ---------- */
.bonus-band {
  position: relative;
  padding-block: var(--sp-24);
  overflow: hidden;
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.bonus-band::before {
  content: '';
  position: absolute; inset: -40%;
  z-index: -1;
  background-image: var(--grad-aurora);
  filter: blur(70px);
  opacity: 0.35;
  mix-blend-mode: overlay;
  animation: aurora-drift 30s ease-in-out infinite alternate;
}
.bonus-band__amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 11rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  margin-block: var(--sp-4) var(--sp-6);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.bonus-band .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}
.bonus-band p { max-width: 56ch; margin-inline: auto; opacity: 0.9; }
.bonus-band .btn-row { justify-content: center; margin-top: var(--sp-10); }

/* confetti particles */
.confetti {
  position: absolute; inset: 0;
  z-index: -1; pointer-events: none; overflow: hidden;
}
.confetti i {
  position: absolute;
  top: -12px;
  width: 7px; height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  animation: confetti-fall linear infinite;
}
.confetti i:nth-child(even) { background: rgba(196, 181, 253, 0.7); width: 5px; height: 5px; border-radius: 50%; }

@keyframes confetti-fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate3d(24px, 110vh, 0) rotate(560deg); opacity: 0; }
}

/* ---------- 17. POPULAR MINI GRID ---------- */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
.popular-grid a {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-snap);
}
.popular-grid a:hover { transform: scale(1.06); z-index: 2; box-shadow: var(--shadow-soft); }
.popular-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .popular-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .popular-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 18. TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.testi { padding: var(--sp-8); }
.testi__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: var(--sp-4); }
.testi__stars svg { width: 16px; height: 16px; fill: currentColor; }
.testi p { color: var(--ink-soft); font-size: var(--text-sm); margin-bottom: var(--sp-6); }
.testi__who { display: flex; align-items: center; gap: var(--sp-3); }
.testi__avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm);
  color: #fff; background: var(--grad-cta);
}
.testi__name { font-weight: 700; font-size: var(--text-sm); }
.testi__city { font-size: var(--text-xs); color: var(--ink-faint); }
@media (max-width: 1024px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- 19. RESPONSIBLE STRIP ---------- */
.responsible-strip {
  display: flex; align-items: center; gap: var(--sp-6);
  padding: var(--sp-8);
  border-left: 3px solid var(--red);
  background: var(--red-mist);
  border-radius: var(--r-md);
}
.responsible-strip__icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.responsible-strip h3 { font-size: var(--text-lg); margin-bottom: var(--sp-1); }
.responsible-strip p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 640px) { .responsible-strip { flex-direction: column; text-align: center; } }

/* ---------- 20. FOOTER ---------- */
.footer { position: relative; z-index: 1; background: var(--paper-blush); border-top: 1px solid var(--glass-line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-block: var(--sp-20) var(--sp-12);
}
.footer__brand img { height: 44px; width: auto; margin-bottom: var(--sp-5); }
.footer__brand p { font-size: var(--text-sm); color: var(--ink-soft); max-width: 36ch; margin-bottom: var(--sp-6); }
.footer__social { display: flex; gap: var(--sp-3); }

.footer h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: var(--sp-5);
}
.footer ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer ul a {
  font-size: var(--text-sm); color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.footer ul a:hover { color: var(--red); padding-left: 5px; }

/* Legal/affiliate notice — deliberately quieter than the red 18+ compliance
   strip below it, so the age warning keeps its visual priority. */
.disclaimer {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.45);
}
.disclaimer p {
  max-width: 92ch;
  margin-inline: auto;
  font-size: var(--text-xs);
  line-height: 1.75;
  color: var(--ink-faint);
  text-align: center;
  text-wrap: pretty;
}
.disclaimer strong { color: var(--ink-soft); font-weight: 700; }

.compliance {
  padding: var(--sp-5) 0;
  font-size: var(--text-xs);
  line-height: 1.7;
  text-align: center;
  background: var(--red-mist);
  border-top: 1px solid var(--glass-line);
  color: var(--ink-soft);
}
.compliance strong { color: var(--red-deep); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--glass-line);
  font-size: var(--text-xs);
  color: var(--ink-faint);
}
.footer__bottom-mid { display: flex; gap: var(--sp-3); }
.footer__bottom-mid span { padding-inline: var(--sp-3); border-inline: 1px solid var(--glass-line); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- 21. FLOATING TELEGRAM FAB ---------- */
.fab {
  position: fixed;
  right: var(--sp-6); bottom: var(--sp-6);
  z-index: 90;
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-3);
  border-radius: var(--r-pill);
  color: #fff;
  background: #229ED9;
  box-shadow: 0 10px 32px rgba(34, 158, 217, 0.42);
  font-family: var(--font-heading);
  font-size: var(--text-sm); font-weight: 600;
  transition: transform var(--dur-base) var(--ease-snap), box-shadow var(--dur-base) var(--ease-out);
}
.fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 44px rgba(34, 158, 217, 0.55); }
.fab__ico {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.fab__ico svg { width: 20px; height: 20px; fill: #fff; }
.fab__ico::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  animation: fab-ring 2s ease-out infinite;
}
@keyframes fab-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}
@media (max-width: 640px) {
  .fab { right: var(--sp-4); bottom: var(--sp-4); padding: var(--sp-2); }
  .fab__label { display: none; }
}

/* ---------- 22. COOKIE BANNER ---------- */
.cookie {
  position: fixed;
  left: var(--sp-6); bottom: var(--sp-6);
  z-index: 95;
  width: min(380px, calc(100vw - var(--sp-8)));
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), 0 18px 48px rgba(15, 11, 30, 0.12);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  animation: slide-up var(--dur-slow) var(--ease-out);
}
.cookie[hidden] { display: none; }
.cookie h4 { font-size: var(--text-sm); margin-bottom: var(--sp-2); }
.cookie p { font-size: var(--text-xs); color: var(--ink-soft); margin-bottom: var(--sp-5); }
.cookie p a { color: var(--red); font-weight: 600; text-decoration: underline; }
.cookie__actions { display: flex; gap: var(--sp-3); }
.cookie__actions .btn { flex: 1; padding: var(--sp-3) var(--sp-4); font-size: var(--text-xs); }

@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) { .cookie { left: var(--sp-4); bottom: 88px; } }

/* ---------- 23. REVEAL-WITH-BLUR ---------- */
.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.is-in { opacity: 1; filter: blur(0); transform: none; }

/* ---------- 24. TABS (games filter) ---------- */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-2);
  margin-bottom: var(--sp-12);
  border-radius: var(--r-pill);
  width: fit-content;
  margin-inline: auto;
}
.tab {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.tab:hover { color: var(--red); }
.tab.is-active {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.32);
}
.tab__count { opacity: 0.65; margin-left: 4px; font-size: 10px; }
@media (max-width: 640px) {
  .tabs { width: 100%; border-radius: var(--r-lg); }
  .tab { flex: 1; padding: var(--sp-3) var(--sp-3); text-align: center; }
}

/* ---------- 25. ACCORDION (FAQ) ---------- */
.acc { display: flex; flex-direction: column; gap: var(--sp-3); }
.acc__item { overflow: hidden; }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-heading);
  font-size: var(--text-base); font-weight: 600;
  text-align: left;
}
.acc__q svg {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--red);
  transition: transform var(--dur-base) var(--ease-out);
}
.acc__item.is-open .acc__q svg { transform: rotate(45deg); }
.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a-inner { overflow: hidden; }
.acc__a p {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* ---------- 26. PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: var(--sp-24) var(--sp-16);
  text-align: center;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-family: var(--font-display); letter-spacing: -0.035em; }
.page-hero .lead { margin: var(--sp-5) auto 0; }
.page-hero .eyebrow { margin-bottom: var(--sp-5); }

.breadcrumb {
  display: flex; justify-content: center; gap: var(--sp-2);
  margin-top: var(--sp-6);
  font-size: var(--text-xs); color: var(--ink-faint);
}
.breadcrumb a:hover { color: var(--red); }

/* ---------- 27. PROSE (legal + blog body) ---------- */
.prose { max-width: 76ch; margin-inline: auto; }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--glass-line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: var(--text-xl); margin-top: var(--sp-8); }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: var(--sp-3); padding-left: var(--sp-6); }
.prose ul li { position: relative; }
.prose ul li::before {
  content: '';
  position: absolute; left: calc(var(--sp-6) * -1); top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-cta);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose blockquote {
  padding: var(--sp-6) var(--sp-8);
  border-left: 3px solid var(--red);
  background: var(--red-mist);
  border-radius: var(--r-md);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--ink);
}
.prose__updated {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-10);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  border-radius: var(--r-pill);
  background: var(--red-mist);
  border: 1px solid var(--glass-line);
  color: var(--ink-soft);
}

/* ---------- 28. TABLES ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 460px; }
th, td { padding: var(--sp-4) var(--sp-6); text-align: left; border-bottom: 1px solid var(--glass-line); }
th {
  font-family: var(--font-heading);
  font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red-deep);
  background: var(--red-mist);
}
td { color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background var(--dur-fast) linear; }
tbody tr:hover { background: rgba(255, 255, 255, 0.5); }

/* ---------- 29. ABOUT: STORY ROWS + VALUES ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
}
.story + .story { margin-top: var(--sp-24); }
.story:nth-child(even) .story__media { order: -1; }
.story__media { border-radius: var(--r-xl); overflow: hidden; padding: var(--sp-3); }
.story__media img { border-radius: calc(var(--r-xl) - 6px); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--red);
  margin-bottom: var(--sp-3);
}
.story h2 { font-size: var(--text-3xl); margin-bottom: var(--sp-4); }
.story p { color: var(--ink-soft); }
.story p + p { margin-top: var(--sp-4); }
@media (max-width: 1024px) {
  .story { grid-template-columns: 1fr; gap: var(--sp-8); }
  .story:nth-child(even) .story__media { order: 0; }
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.value { padding: var(--sp-8); text-align: center; }
.value__icon { font-size: 2rem; margin-bottom: var(--sp-4); }
.value h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.value p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .values-grid { grid-template-columns: 1fr; } }

.provider-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3);
}
.provider-row span {
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm); font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.provider-row span:hover { color: var(--red); border-color: var(--red); }

/* ---------- 30. DOWNLOAD PAGE ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--sp-16); }
@media (max-width: 1024px) { .dl-grid { grid-template-columns: 1fr; gap: var(--sp-20); } }

.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-block: var(--sp-8); }
.pill { padding: var(--sp-4); text-align: center; border-radius: var(--r-md); }
.pill__k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 600; }
.pill__v { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm); margin-top: 2px; }
@media (max-width: 640px) { .pills { grid-template-columns: repeat(2, 1fr); } }

.dl-fallback { font-size: var(--text-xs); color: var(--ink-faint); margin-top: var(--sp-5); }
.dl-fallback a { color: var(--red); text-decoration: underline; word-break: break-all; }

/* phone mockup */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin-inline: auto;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #fff, var(--paper-dim));
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px rgba(67, 19, 147, 0.22), inset 0 1px 0 #fff;
  animation: float-y 6.5s ease-in-out infinite;
  z-index: 1;
}
.phone::before {
  content: '';
  position: absolute; top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  border-radius: var(--r-pill);
  background: var(--ink);
  opacity: 0.9;
  z-index: 2;
}
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 9/19; object-fit: cover; }

.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-wrap .hero__blob { width: 130%; height: 100%; }

/* ---------- 31. GAME DETAIL ---------- */
.gd-hero { position: relative; overflow: hidden; padding-block: var(--sp-20) var(--sp-16); }
.gd-hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(60px) saturate(150%);
  opacity: 0.35;
  transform: scale(1.25);
}
.gd-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.9));
}
.gd-hero__grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-12); align-items: center; }
.gd-hero__thumb { border-radius: var(--r-xl); overflow: hidden; padding: var(--sp-3); }
.gd-hero__thumb img { border-radius: calc(var(--r-xl) - 6px); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.gd-hero h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.035em; }
@media (max-width: 1024px) {
  .gd-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .gd-hero__thumb { max-width: 300px; margin-inline: auto; }
  .gd-meta, .gd-hero .btn-row { justify-content: center; }
}

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs); font-weight: 600;
  border-radius: var(--r-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
}
.chip--gold { color: var(--gold); }
.chip--gold svg { width: 13px; height: 13px; fill: currentColor; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.info-card { padding: var(--sp-6); text-align: center; }
.info-card__k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 600; }
.info-card__v { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; margin-top: var(--sp-1); }
@media (max-width: 640px) {
  .info-cards { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .info-card { padding: var(--sp-5) var(--sp-3); }
  .info-card__v { font-size: var(--text-xl); }
}

.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.howto { padding: var(--sp-8); }
.howto h2 { font-size: var(--text-xl); margin-bottom: var(--sp-5); }
.howto ol, .howto ul { display: flex; flex-direction: column; gap: var(--sp-4); }
.howto li { display: flex; gap: var(--sp-4); font-size: var(--text-sm); color: var(--ink-soft); }
.howto li b {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--font-heading); font-size: 11px;
  color: #fff; background: var(--grad-cta);
}
.howto ul li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }
@media (max-width: 1024px) { .howto-grid { grid-template-columns: 1fr; } }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: var(--sp-5); overflow-x: auto; padding-bottom: var(--sp-4); scroll-snap-type: x mandatory; }
.shots img { border-radius: var(--r-md); aspect-ratio: 9/16; object-fit: cover; scroll-snap-align: start; box-shadow: var(--shadow-soft); }
@media (max-width: 640px) { .shots { grid-auto-columns: 62%; } }

/* ---------- 32. BLOG ---------- */
.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-10); align-items: center; padding: var(--sp-5); border-radius: var(--r-xl); }
.blog-featured img { border-radius: var(--r-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.blog-featured__body { padding: var(--sp-6) var(--sp-8) var(--sp-6) var(--sp-2); }
.blog-featured h2 { font-size: var(--text-3xl); margin-block: var(--sp-4); }
@media (max-width: 1024px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured__body { padding: 0 var(--sp-4) var(--sp-4); } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(67, 19, 147, 0.15); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: var(--text-lg); margin-block: var(--sp-3); }
.post-card p { font-size: var(--text-sm); color: var(--ink-soft); flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); }
.post-card__more svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-out); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

.post-tag {
  display: inline-block;
  padding: 4px var(--sp-3);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red-deep);
  background: var(--red-mist);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-pill);
}
.post-meta { display: flex; gap: var(--sp-4); font-size: var(--text-xs); color: var(--ink-faint); margin-top: var(--sp-4); }

.post-hero-img { border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--sp-12); padding: var(--sp-3); }
.post-hero-img img { border-radius: calc(var(--r-xl) - 6px); width: 100%; aspect-ratio: 16/8; object-fit: cover; }

/* ---------- 33. CTA CARD (blog/page close) ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-12);
  border-radius: var(--r-xl);
  text-align: center;
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 20px 60px rgba(109, 40, 217, 0.3);
}
.cta-card h2 { font-family: var(--font-display); font-size: var(--text-3xl); margin-bottom: var(--sp-3); }
.cta-card p { opacity: 0.9; max-width: 52ch; margin: 0 auto var(--sp-8); }
.cta-card .btn-row { justify-content: center; }

/* ---------- 34. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-10); align-items: start; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }

.channel {
  display: flex; gap: var(--sp-5);
  padding: var(--sp-6);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.channel + .channel { margin-top: var(--sp-4); }
.channel:hover { transform: translateX(5px); box-shadow: var(--shadow-soft); }
.channel__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  font-size: 1.35rem;
  background: var(--red-mist);
  border: 1px solid var(--glass-line);
}
.channel h3 { font-size: var(--text-base); margin-bottom: 2px; }
.channel p { font-size: var(--text-sm); color: var(--ink-soft); }
.channel a { color: var(--red); font-weight: 600; font-size: var(--text-sm); }

.form { padding: var(--sp-10); }
.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.field input, .field textarea {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-line);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-mist);
}
.field textarea { resize: vertical; min-height: 140px; }

.form__ok {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
  font-size: var(--text-sm); font-weight: 600;
  border-radius: var(--r-md);
  color: #128B52;
  background: rgba(43, 182, 115, 0.1);
  border: 1px solid rgba(43, 182, 115, 0.28);
  animation: slide-up var(--dur-base) var(--ease-out);
}
.form__ok[hidden] { display: none; }

/* ---------- 35. EMPTY / UTILITY ---------- */
.empty { text-align: center; padding: var(--sp-24) var(--sp-6); color: var(--ink-faint); }
.center { text-align: center; }
.mt-16 { margin-top: var(--sp-16); }
.mt-12 { margin-top: var(--sp-12); }
.mt-10 { margin-top: var(--sp-10); }
.mt-8  { margin-top: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }

/* ---------- 36. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }

  /* freeze aurora + blob, kill spotlight/tilt/sheen/odometer roll */
  .aurora, .aurora::after, .blob-divider path, .bonus-band::before,
  .hero__frame, .hero__chip, .hero__bonus, .phone, .btn--cta { animation: none !important; }
  .spotlight, .confetti { display: none !important; }
  .game-card__sheen { display: none; }
  .game-card:hover { transform: none !important; }
  .reveal { opacity: 1; filter: none; transform: none; }
  .odo__strip { transition: none !important; }
}
