/* =========================================================
   DarkMatter — Private game software
   Theme: black / purple, cosmic, high-contrast
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink-0: #040108;
  --ink-1: #080410;
  --ink-2: #0d0717;
  --ink-3: #130a20;

  --line: rgba(168, 85, 247, 0.16);
  --line-strong: rgba(168, 85, 247, 0.38);

  --purple: #a855f7;
  --purple-soft: #c084fc;
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --magenta: #e879f9;

  --text: #efe9f7;
  --muted: #a396b8;
  --dim: #7c7191;

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-card: 0 20px 60px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 0 0 1px rgba(168, 85, 247, 0.35), 0 18px 50px -18px rgba(124, 58, 237, 0.55);

  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 76px;
  --maxw: 1240px;
}

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

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

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* cosmic backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 78% -8%, rgba(126, 34, 206, 0.30), transparent 62%),
    radial-gradient(760px 520px at 6% 4%, rgba(88, 28, 135, 0.22), transparent 60%),
    radial-gradient(1100px 700px at 50% 108%, rgba(76, 29, 149, 0.20), transparent 65%),
    linear-gradient(180deg, #06020c 0%, #040108 45%, #05020a 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }

::selection { background: rgba(168, 85, 247, 0.5); color: #fff; }

:focus-visible {
  outline: 2px solid var(--purple-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: var(--violet);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple-soft);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple));
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: 0.02em;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: linear-gradient(135deg, #9d4ef5 0%, #7c3aed 55%, #6d28d9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 12px 30px -14px rgba(124, 58, 237, 0.9);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 38px -14px rgba(168, 85, 247, 0.85);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.32);
  color: var(--text);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 12px 30px -18px rgba(168, 85, 247, 0.8);
}

.btn--sm { padding: 9px 15px; font-size: 0.68rem; letter-spacing: 0.1em; border-radius: 8px; }
.btn--wide { width: 100%; }

.btn svg { width: 15px; height: 15px; flex: none; }

/* ---------- Header ---------- */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.28), rgba(168, 85, 247, 0.1), rgba(109, 40, 217, 0.28));
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: #d9c9ed;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 36px;
  text-align: center;
  flex-wrap: wrap;
  padding-block: 6px;
}
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple-soft); box-shadow: 0 0 8px var(--purple); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 2, 12, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 6px 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.4), 0 0 22px rgba(168, 85, 247, 0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.04);
  box-shadow: 0 0 0 1px rgba(232, 121, 249, 0.7), 0 0 30px rgba(168, 85, 247, 0.8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #fff, #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 0.55rem;
  letter-spacing: 0.38em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 5px;
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c6b9d8;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { color: #fff; background: rgba(168, 85, 247, 0.1); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  box-shadow: 0 0 12px var(--purple);
}
.nav a .ext { width: 11px; height: 11px; opacity: 0.7; }
.nav a.nav-elite { color: var(--purple-soft); }
.nav a.nav-elite:hover { color: #fff; background: rgba(168, 85, 247, 0.16); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { padding: 10px 18px; font-size: 0.7rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  content: "";
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: -220px;
  top: -280px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.34);
  background: rgba(168, 85, 247, 0.09);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ddc9f5;
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #c084fc 0%, #a855f7 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(168, 85, 247, 0.45));
}
.hero-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #c3b6d6;
}
.hero-points svg { width: 15px; height: 15px; color: var(--purple-soft); flex: none; }

/* logo stage */
.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.logo-stage .halo {
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.30), rgba(88, 28, 135, 0.08) 45%, transparent 68%);
  filter: blur(6px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
.logo-stage .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.22);
}
.logo-stage .ring--1 { width: 86%; aspect-ratio: 1; animation: spin 26s linear infinite; }
.logo-stage .ring--1::before,
.logo-stage .ring--2::before {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 14px 3px rgba(232, 121, 249, 0.7);
  top: -4px; left: 50%;
}
.logo-stage .ring--2 { width: 104%; aspect-ratio: 1; border-style: dashed; border-color: rgba(168, 85, 247, 0.14); animation: spin 44s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-stage img {
  width: min(380px, 82%);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(192, 132, 252, 0.35),
    0 0 70px rgba(124, 58, 237, 0.55),
    0 40px 90px -30px rgba(0, 0, 0, 0.95);
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Stats ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--ink-0);
  padding: 30px 26px;
  text-align: center;
  position: relative;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  background: linear-gradient(180deg, #fff, #b783f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Game / product art tiles ---------- */
.art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, var(--a1), transparent 58%),
    radial-gradient(100% 100% at 90% 110%, var(--a2), transparent 60%),
    linear-gradient(150deg, #120a1d, #07030d);
  isolation: isolate;
}
/* Blurred, darkened copy of the cover fills the frame behind the artwork so
   the full image can be shown without cropping any part of the logo. */
.art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  display: block;
}
.art-img--back {
  object-fit: cover;
  filter: blur(18px) brightness(0.5) saturate(1.15);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}
/* When a real cover image is present, drop the generated game-name label
   and soften the scanlines so the artwork stays readable. */
.art.has-image .art-label { display: none; }
.art.has-image::before { opacity: 0.16; }
.art.has-image::after {
  background: linear-gradient(
    180deg,
    rgba(6, 3, 12, 0.2) 0%,
    rgba(6, 3, 12, 0) 38%,
    rgba(6, 3, 12, 0.72) 100%
  );
}
.art.has-image .art-mark {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: 3;
  pointer-events: none;
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(4, 1, 8, 0.85), transparent 70%);
  z-index: 2;
  pointer-events: none;
}
.art-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 26px rgba(168, 85, 247, 0.8), 0 3px 18px rgba(0, 0, 0, 0.9);
  z-index: 4;
  padding: 10px;
  line-height: 1.15;
  word-break: break-word;
}
.art-mark {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 5;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.34);
}
.art-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255, 255, 255, 0.10) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

/* ---------- Catalog: one card per game ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.game-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: linear-gradient(180deg, rgba(24, 14, 36, 0.92), rgba(10, 5, 18, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
}
.game-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 26px 60px -30px rgba(124, 58, 237, 0.75), 0 0 0 1px rgba(168, 85, 247, 0.18);
}

/* full-card button so the whole tile is clickable and keyboard accessible */
.tile-hit {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
}
.tile-hit:focus-visible { outline: 2px solid var(--purple); outline-offset: -3px; }
.game-tile .art-wrap { position: relative; }
.game-tile .art { aspect-ratio: 16 / 8.4; }
.game-tile .art .art-label { font-size: clamp(1rem, 2.4vw, 1.45rem); }

.tile-editions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e3d3f8;
  background: rgba(10, 5, 18, 0.66);
  border: 1px solid rgba(192, 132, 252, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.game-tile-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.game-tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.game-tile-head h3 {
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.tile-price {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.game-tile-body p { color: var(--muted); font-size: 0.8rem; }
.tile-open {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-soft);
  transition: color 0.2s ease;
}
.tile-open svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.game-tile:hover .tile-open { color: #fff; }
.game-tile:hover .tile-open svg { transform: translateX(3px); }

/* ---------- Badges ---------- */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  border: 1px solid transparent;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge--undetected { color: #6ee7b7; background: rgba(6, 78, 59, 0.55); border-color: rgba(52, 211, 153, 0.4); }
.badge--update { color: #fcd34d; background: rgba(69, 45, 5, 0.55); border-color: rgba(251, 191, 36, 0.4); }
.badge--new { color: #d8b4fe; background: rgba(59, 7, 100, 0.6); border-color: rgba(192, 132, 252, 0.45); }

/* ---------- Plan buttons ---------- */
.plan {
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(10, 5, 18, 0.6);
  cursor: pointer;
  text-align: center;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan:hover { border-color: rgba(192, 132, 252, 0.5); background: rgba(168, 85, 247, 0.1); }
.plan.is-selected {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.28), rgba(109, 40, 217, 0.16));
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.25), 0 6px 18px -10px rgba(168, 85, 247, 0.9);
}
.plan .p-label {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9ccec;
}
.plan .p-price { font-size: 0.72rem; font-weight: 600; color: #fff; }

.price-tag { display: flex; flex-direction: column; line-height: 1.1; min-width: 78px; }
.price-tag .now {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.price-tag .per { font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }

/* ---------- Editions inside the game modal ---------- */
.variant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.variant-tab {
  flex: 1 1 130px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(10, 5, 18, 0.65);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.16s ease;
}
.variant-tab:hover { border-color: rgba(192, 132, 252, 0.5); background: rgba(168, 85, 247, 0.1); }
.variant-tab.is-selected {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.26), rgba(109, 40, 217, 0.14));
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.25);
}
.variant-tab .v-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f1eaf9;
}
.variant-tab .v-price { font-size: 0.7rem; color: var(--purple-soft); }

.variant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.variant-head .badge { position: static; flex: none; margin-top: 2px; }
.variant-title { font-size: 1.02rem; line-height: 1.3; }
.modal-note {
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1.05;
  display: block;
  width: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.game-card .art { position: absolute; inset: 0; }
.game-card .art-label { font-size: 0.95rem; letter-spacing: 0.1em; padding: 16px; }
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: 0 22px 50px -26px rgba(124, 58, 237, 0.8);
}
.game-card .art { transition: transform 0.4s ease; }
.game-card:hover .art { transform: scale(1.05); }
.game-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 1, 8, 0.92) 55%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.game-meta span {
  font-size: 0.62rem;
  color: var(--purple-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.game-meta .game-arrow {
  font-size: 0.95rem;
  letter-spacing: 0;
  color: #e9dcf7;
  transition: transform 0.2s ease, color 0.2s ease;
}
.game-card:hover .game-arrow { transform: translateX(3px); color: #fff; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(27, 16, 41, 0.85), rgba(9, 4, 16, 0.9));
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover { border-color: rgba(168, 85, 247, 0.42); transform: translateY(-3px); }
.feature::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  right: -60px; top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22), transparent 65%);
  pointer-events: none;
}
.feature .f-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.24), rgba(109, 40, 217, 0.12));
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: var(--purple-soft);
  margin-bottom: 16px;
}
.feature .f-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1rem; margin-bottom: 8px; letter-spacing: 0.03em; }
.feature p { color: var(--muted); font-size: 0.87rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 6, 20, 0.72);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 14px;
  top: -12px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(168, 85, 247, 0.12);
  line-height: 1;
}
.step h3 { font-size: 1rem; margin-bottom: 10px; position: relative; }
.step p { color: var(--muted); font-size: 0.87rem; position: relative; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(24, 14, 38, 0.9), rgba(9, 4, 16, 0.9));
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { display: flex; gap: 3px; color: var(--purple-soft); }
.stars svg { width: 14px; height: 14px; }
.review p { font-size: 0.89rem; color: #d3c8e2; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #7c3aed, #d946ef);
  flex: none;
}
.review-author .avatar { color: #fff; font-size: 0.78rem; }
.review-author b { display: block; font-size: 0.82rem; font-weight: 600; }
.review-author span { font-size: 0.68rem; color: var(--dim); letter-spacing: 0.06em; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 85, 247, 0.3);
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(168, 85, 247, 0.28), transparent 65%),
    radial-gradient(600px 300px at 90% 120%, rgba(217, 70, 239, 0.18), transparent 65%),
    linear-gradient(160deg, #170b28, #08040f);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 640px; height: 420px;
  right: -120px; top: -220px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22), transparent 65%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; }
.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 20px;
}
.crumbs a:hover { color: var(--purple-soft); }
.crumbs .sep { opacity: 0.4; }

/* ---------- Filter bar ---------- */
.filter-bar {
  position: relative;
  z-index: 30;
  background: rgba(6, 2, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.filter-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.search {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}
.search svg {
  position: absolute;
  left: 13px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--dim); pointer-events: none;
}
.search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: rgba(12, 6, 20, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 9px;
  color: var(--text);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search input::placeholder { color: var(--dim); }
.search input:focus {
  outline: none;
  border-color: rgba(192, 132, 252, 0.65);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.14);
}

.chips-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  flex: 1 1 100%;
}
.chips-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(12, 6, 20, 0.8);
  color: #bdaed2;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}
.filter-chip:hover { border-color: rgba(192, 132, 252, 0.55); color: #fff; }
.filter-chip.is-active {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px -12px rgba(168, 85, 247, 0.9);
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 22px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.results-line b { color: var(--text); font-weight: 600; }

.empty {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed rgba(168, 85, 247, 0.28);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty h3 { margin-bottom: 8px; color: var(--text); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 6, 20, 0.7);
  padding: 18px;
}
.faq-nav h3 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.faq-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.82rem;
  color: #b9aacd;
  transition: background 0.15s ease, color 0.15s ease;
}
.faq-nav a:hover { background: rgba(168, 85, 247, 0.12); color: #fff; }

.faq-group { margin-bottom: 40px; }
.faq-group > h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.faq-group > h2::before {
  content: "";
  width: 4px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--purple-soft), var(--violet));
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}
.faq-group > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }

details.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(13, 7, 22, 0.72);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
details.acc[open] { border-color: rgba(168, 85, 247, 0.4); background: rgba(20, 11, 32, 0.8); }
details.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 46px 15px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  color: #e4d9f1;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--purple-soft);
  transition: transform 0.2s ease;
}
details.acc[open] summary::after { content: "\2212"; transform: translateY(-50%); }
details.acc .acc-body {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.75;
}
details.acc .acc-body ul { list-style: disc; padding-left: 18px; display: grid; gap: 5px; margin-top: 8px; }
details.acc .acc-body a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 2px; }
details.acc .acc-body strong { color: #e6dcf2; }

.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(10, 5, 18, 0.7);
  font-size: 0.8rem;
}
.dl-item span { color: #d5c8e5; }
.dl-item a { color: var(--purple-soft); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(26, 15, 40, 0.9), rgba(9, 4, 16, 0.92));
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { border-color: rgba(168, 85, 247, 0.45); transform: translateY(-3px); }
.contact-card .c-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.28);
  color: var(--purple-soft);
  margin-bottom: 8px;
}
.contact-card .c-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; }
.contact-card p { color: var(--muted); font-size: 0.84rem; }
.contact-card .c-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-card .c-link svg { width: 13px; height: 13px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.25rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1rem; margin: 26px 0 8px; color: #e2d7ef; }
.prose p, .prose li { color: var(--muted); font-size: 0.92rem; line-height: 1.8; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.prose a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 2px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #e6d8f8;
}
.prose .note {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--purple);
  background: rgba(168, 85, 247, 0.07);
  border-radius: 0 9px 9px 0;
  font-size: 0.88rem;
  color: #d9cdea;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 4, 18, 0.6), #040108);
  padding: 60px 0 0;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; max-width: 320px; }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(168, 85, 247, 0.06);
  color: #c0b1d4;
  transition: all 0.2s ease;
}
.footer-socials a:hover { color: #fff; border-color: rgba(192, 132, 252, 0.6); background: rgba(168, 85, 247, 0.16); transform: translateY(-2px); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #b5a6c8; font-size: 0.84rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--dim);
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--purple-soft); }

/* ---------- Modal ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 0, 6, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(170deg, #1a0f2a, #0a0512);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -30px #000, 0 0 60px -20px rgba(124, 58, 237, 0.5);
  padding: 30px;
  animation: modal-in 0.22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--line);
  color: #cbbde0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.modal-close:hover { background: rgba(168, 85, 247, 0.22); color: #fff; }
.modal h2 { font-size: 1.3rem; margin-bottom: 6px; padding-right: 34px; }
.modal .m-game { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-soft); margin-bottom: 16px; }
.modal .m-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.modal h3 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 22px 0 10px;
}
.modal .feature-list { display: grid; gap: 7px; }
.modal .feature-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.85rem; color: #cabdda;
}
.modal .feature-list svg { width: 14px; height: 14px; color: var(--purple-soft); flex: none; margin-top: 4px; }
.modal .req-list { display: grid; gap: 7px; margin: 0; }
.modal .req-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) 1.2fr;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}
.modal .req-list dt { color: var(--dim); font-size: 0.74rem; letter-spacing: 0.02em; }
.modal .req-list dd { margin: 0; color: #cabdda; font-size: 0.8rem; line-height: 1.45; }
.modal .plan-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.modal .plan { padding: 12px; }
.modal .modal-foot { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.modal .modal-foot .btn { flex: 1 1 180px; }
.modal .update-note {
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(251, 191, 36, 0.06);
  color: #e8d9b0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 300;
  padding: 13px 22px;
  border-radius: 10px;
  background: rgba(24, 13, 38, 0.97);
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: #eadff7;
  font-size: 0.84rem;
  box-shadow: 0 20px 50px -18px #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(520px, calc(100vw - 32px));
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   VISUAL UPGRADE — cinematic depth, glass, motion
   Everything below refines the base system above; the black /
   purple identity, component classes and fallbacks stay intact.
   ========================================================= */

@property --dm-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Backdrop drift + stars ---------- */
body::before { animation: aurora-drift 38s ease-in-out infinite alternate; }
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.08); }
}

body::after {
  background-image:
    radial-gradient(1.5px 1.5px at 14% 22%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 32% 64%, rgba(216, 180, 254, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 12%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 74% 48%, rgba(232, 121, 249, 0.55), transparent 60%),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 88%, rgba(192, 132, 252, 0.5), transparent 60%),
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size:
    520px 520px,
    420px 420px,
    680px 680px,
    560px 560px,
    620px 620px,
    740px 740px,
    64px 64px,
    64px 64px;
  opacity: 0.6;
}

/* ---------- Scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: rgba(168, 85, 247, 0.45) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05020a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #a855f7);
  border-radius: 99px;
  border: 2px solid #05020a;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a855f7, #e879f9); }

/* ---------- Type & rhythm ---------- */
h1, h2 { text-wrap: balance; }

.section { padding: 104px 0; }
.section--tight { padding: 60px 0; }

.section-head { margin-bottom: 46px; align-items: flex-end; }

.kicker {
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 100px;
  background: rgba(168, 85, 247, 0.07);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  margin-bottom: 18px;
}
.kicker::before { width: 14px; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-head h2 {
    background: linear-gradient(180deg, #ffffff 0%, #e3d3fa 55%, #b58af0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.section-head p { font-size: 0.98rem; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn { overflow: hidden; border-radius: 12px; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.32) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(192, 132, 252, 0.22) 50%, transparent 68%); }
.btn--lg { padding: 15px 28px; font-size: 0.82rem; }
.btn--ghost { background: rgba(168, 85, 247, 0.05); backdrop-filter: blur(6px); }

/* ---------- Header ---------- */
/* The mount wrapper would otherwise clip the sticky header to its own height. */
[data-site-header] { display: contents; }

.site-header {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.55), rgba(232, 121, 249, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 2, 11, 0.9);
  border-bottom-color: rgba(168, 85, 247, 0.24);
  box-shadow: 0 22px 50px -38px #000;
}
.site-header.is-scrolled::after { opacity: 1; }

.topbar { overflow: hidden; }
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(232, 121, 249, 0.16) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: topbar-sheen 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes topbar-sheen {
  0%, 62% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.nav a { border-radius: 10px; }
.nav a.is-active {
  color: #fff;
  background: rgba(168, 85, 247, 0.12);
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.18);
}
.nav a.is-active::after { opacity: 0.9; }

.header-actions .btn { position: relative; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 104px;
  isolation: isolate;
}
.hero::before {
  width: 900px;
  height: 900px;
  right: -260px;
  top: -340px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.42), transparent 62%);
  filter: blur(40px);
}

.hero-atmos { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.hero-atmos .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.55;
}
.orb--a {
  width: 460px; height: 460px;
  left: -160px; top: -120px;
  background: radial-gradient(circle, rgba(88, 28, 135, 0.8), transparent 68%);
  animation: orb-float 18s ease-in-out infinite;
}
.orb--b {
  width: 520px; height: 520px;
  right: 6%; top: 10%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.34), transparent 66%);
  animation: orb-float 24s ease-in-out infinite reverse;
}
.orb--c {
  width: 380px; height: 380px;
  left: 38%; bottom: -180px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.28), transparent 68%);
  animation: orb-float 21s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -30px, 0) scale(1.09); }
}

.hero-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -190px;
  height: 460px;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.13) 1px, transparent 1px);
  background-size: 74px 74px;
  transform: perspective(460px) rotateX(67deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 82%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 82%);
  opacity: 0.7;
}

.hero-badge {
  padding: 8px 16px 8px 12px;
  border-color: rgba(192, 132, 252, 0.34);
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px -24px rgba(168, 85, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #d8b4fe 0%, #a855f7 34%, #e879f9 66%, #c084fc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: grad-pan 9s ease-in-out infinite alternate;
}
@keyframes grad-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero-lead { font-size: 1.06rem; line-height: 1.72; max-width: 560px; }
.hero-cta { margin-bottom: 30px; gap: 14px; }

.hero-points { gap: 10px; }
.hero-points li {
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(168, 85, 247, 0.05);
  font-size: 0.76rem;
  color: #cdc0de;
  backdrop-filter: blur(6px);
}

.hero-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 540px;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 30px 60px -46px #000;
}
.hero-hud .hud-cell {
  padding: 15px 18px;
  background: rgba(9, 4, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-hud b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero-hud span {
  display: block;
  margin-top: 7px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 2;
}
.hero-scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.8), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scroll-drip 2.6s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* logo stage */
.logo-stage {
  min-height: 470px;
  transform: translate3d(calc(var(--hx, 0) * 16px), calc(var(--hy, 0) * 13px), 0);
  transition: transform 0.35s ease-out;
}
.logo-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 66%;
  height: 34px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.55), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 1;
}
.logo-stage .halo { width: 124%; }
.logo-stage .ring--1 { width: 82%; border-color: rgba(192, 132, 252, 0.26); }
.logo-stage .ring--2 { width: 100%; }
.logo-stage .ring--3 {
  width: 118%;
  aspect-ratio: 1;
  border-style: dotted;
  border-color: rgba(232, 121, 249, 0.16);
  animation: spin 70s linear infinite;
}
.logo-stage img {
  width: min(360px, 78%);
  box-shadow:
    0 0 0 1px rgba(192, 132, 252, 0.4),
    0 0 90px rgba(124, 58, 237, 0.6),
    0 50px 100px -34px rgba(0, 0, 0, 0.98);
}
.stage-scan {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 121, 249, 0.75), transparent);
  box-shadow: 0 0 12px rgba(232, 121, 249, 0.7);
  z-index: 3;
  animation: stage-scan 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes stage-scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  12%, 88% { opacity: 0.85; }
  50% { transform: translateY(250px); opacity: 0.35; }
}
.stage-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(8, 3, 14, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9b6e2;
  white-space: nowrap;
  box-shadow: 0 16px 40px -28px #000;
}
.stage-chip--a { top: 5%; left: 0; animation: chip-float 8s ease-in-out infinite; }
.stage-chip--b { top: 21%; right: -2%; animation: chip-float 10s ease-in-out infinite reverse; }
.stage-chip--c { bottom: 3%; left: 2%; }
.stage-chip--c i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 2.4s infinite;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(8, 3, 14, 0.72) 40%, rgba(8, 3, 14, 0.72) 60%, rgba(124, 58, 237, 0.14));
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-run 70s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b6a3cf;
  white-space: nowrap;
}
.ticker-item::after {
  content: "◆";
  font-size: 0.44rem;
  color: rgba(192, 132, 252, 0.65);
}
@keyframes ticker-run {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.09), transparent 80%);
  border-block-color: rgba(168, 85, 247, 0.12);
}
.stats .container {
  border-inline: 1px solid var(--line);
  background: radial-gradient(700px 200px at 50% 0%, rgba(168, 85, 247, 0.12), transparent 70%);
}
.stats-grid { background: transparent; gap: 0; }
.stat {
  background: transparent;
  padding: 34px 26px;
  transition: background 0.3s ease;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat:hover { background: rgba(168, 85, 247, 0.05); }
.stat b {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  background: linear-gradient(180deg, #fff 10%, #c9a3f8 70%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 6px 18px rgba(124, 58, 237, 0.35));
}
.stat span { letter-spacing: 0.22em; }

/* ---------- Catalog tiles ---------- */
.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
  gap: 26px;
}
.game-tile {
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(26, 15, 40, 0.94), rgba(9, 4, 16, 0.96)) padding-box,
    linear-gradient(145deg, rgba(192, 132, 252, 0.38), rgba(168, 85, 247, 0.06) 45%, rgba(232, 121, 249, 0.3)) border-box;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(192, 132, 252, 0.16), transparent 62%);
}
.game-tile:hover {
  transform: translateY(-7px);
  background:
    linear-gradient(180deg, rgba(32, 18, 48, 0.96), rgba(11, 5, 19, 0.97)) padding-box,
    linear-gradient(145deg, rgba(232, 121, 249, 0.6), rgba(168, 85, 247, 0.12) 45%, rgba(192, 132, 252, 0.5)) border-box;
  box-shadow: 0 34px 70px -34px rgba(124, 58, 237, 0.85), 0 0 0 1px rgba(168, 85, 247, 0.14);
}
.game-tile:hover::after { opacity: 1; }

.game-tile .art { aspect-ratio: 16 / 9.2; }
.game-tile .art-img { transition: transform 0.5s ease; }
.game-tile:hover .art-img:not(.art-img--back) { transform: scale(1.035); }

.art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
  transform: translateX(-140%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.game-tile:hover .art-wrap::after { transform: translateX(140%); }
.game-card:hover .art::after {
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
}

.tile-editions {
  top: 14px;
  right: 14px;
  padding: 6px 11px;
  background: rgba(8, 3, 14, 0.72);
  border-color: rgba(192, 132, 252, 0.38);
  box-shadow: 0 10px 24px -18px #000;
}
.game-tile-body { padding: 20px 22px 22px; gap: 10px; }
.game-tile-head { align-items: center; gap: 14px; }
.game-tile-head h3 { font-size: 1.12rem; letter-spacing: 0.01em; }
.tile-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid rgba(192, 132, 252, 0.26);
  background: rgba(168, 85, 247, 0.1);
  font-size: 0.8rem;
}
.tile-price small {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}
.game-tile-body p.tile-sub {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  color: var(--dim);
}
.tile-genre {
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.06);
  color: #c9b3e6;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tile-open {
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
}
.tile-open svg { width: 15px; height: 15px; }

/* ---------- Home game grid ---------- */
.games-grid {
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 20px;
}
.game-card {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(24, 14, 36, 0.9), rgba(9, 4, 16, 0.95)) padding-box,
    linear-gradient(150deg, rgba(192, 132, 252, 0.34), rgba(168, 85, 247, 0.05) 50%, rgba(232, 121, 249, 0.28)) border-box;
  aspect-ratio: 1 / 1.14;
  box-shadow: 0 20px 50px -34px #000;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(192, 132, 252, 0.2), transparent 62%);
}
.game-card:hover::after { opacity: 1; }
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.85);
}
.game-card .art { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.game-card .art-label { font-size: 0.9rem; padding: 18px; }
.game-card .art-mark { display: none; }

.game-meta {
  z-index: 5;
  padding: 44px 14px 13px;
  align-items: flex-end;
  gap: 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 1, 8, 0.55) 28%, rgba(4, 1, 8, 0.95) 100%);
}
.game-meta-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.game-meta .game-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #f6f1fc;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.game-meta .game-editions {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-soft);
  opacity: 0.85;
}
.game-meta .game-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: rgba(168, 85, 247, 0.1);
  color: #eadcf8;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.game-meta .game-arrow svg { width: 13px; height: 13px; }
.game-card:hover .game-meta .game-arrow {
  transform: translateX(3px);
  background: rgba(168, 85, 247, 0.24);
  border-color: rgba(232, 121, 249, 0.55);
  color: #fff;
}

/* ---------- Feature bento ---------- */
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: feat;
}
.feature {
  padding: 30px 28px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(29, 17, 45, 0.9), rgba(8, 4, 14, 0.95)) padding-box,
    linear-gradient(150deg, rgba(192, 132, 252, 0.32), rgba(168, 85, 247, 0.04) 55%, rgba(232, 121, 249, 0.24)) border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.feature::before {
  counter-increment: feat;
  content: "0" counter(feat);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(192, 132, 252, 0.35);
  z-index: 1;
}
.feature::after {
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 66%);
  transition: opacity 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(160deg, rgba(36, 21, 55, 0.94), rgba(10, 5, 17, 0.96)) padding-box,
    linear-gradient(150deg, rgba(232, 121, 249, 0.55), rgba(168, 85, 247, 0.1) 55%, rgba(192, 132, 252, 0.45)) border-box;
  box-shadow: 0 30px 60px -34px rgba(124, 58, 237, 0.8);
}
.feature--wide { grid-column: span 2; }
.feature--tall { grid-row: span 2; justify-content: flex-start; }
.feature--wide h3 { font-size: 1.14rem; }
.feature .f-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.28), rgba(109, 40, 217, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover .f-icon {
  transform: translateY(-2px) rotate(-5deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -14px rgba(168, 85, 247, 0.95);
}
.feature h3 { margin-bottom: 9px; font-size: 1.04rem; }
.feature p { font-size: 0.89rem; line-height: 1.7; }
.feature-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 85, 247, 0.16);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4b2db;
}
.feature-note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  flex: none;
  animation: pulse 2.4s infinite;
}
.feature--tall .feature-note { margin-top: auto; }

.feature-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  counter-reset: fs;
}
.feature-steps li {
  position: relative;
  padding-left: 30px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.feature-steps li::before {
  counter-increment: fs;
  content: counter(fs);
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 600;
  color: #e9dcf9;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* ---------- Steps ---------- */
.steps {
  position: relative;
  gap: 22px;
  padding-top: 18px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.55), rgba(232, 121, 249, 0.4), transparent);
}
.step {
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(20, 11, 32, 0.86), rgba(8, 4, 14, 0.94)) padding-box,
    linear-gradient(160deg, rgba(192, 132, 252, 0.3), rgba(168, 85, 247, 0.04) 60%, rgba(232, 121, 249, 0.2)) border-box;
  padding: 34px 28px 30px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.step::after {
  content: "";
  position: absolute;
  top: -22px;
  left: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14), 0 0 18px 4px rgba(168, 85, 247, 0.65);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px -34px rgba(124, 58, 237, 0.85);
}
.step::before { font-size: 6rem; top: -20px; right: 12px; color: rgba(168, 85, 247, 0.1); }
.step h3 { font-size: 1.06rem; margin-bottom: 11px; }
.step p { font-size: 0.89rem; line-height: 1.7; }

/* ---------- Reviews ---------- */
.review {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border-color: rgba(168, 85, 247, 0.18);
  background: linear-gradient(170deg, rgba(28, 16, 43, 0.9), rgba(8, 4, 14, 0.94));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 1.2;
  color: rgba(168, 85, 247, 0.18);
  pointer-events: none;
}
.review:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 30px 60px -36px rgba(124, 58, 237, 0.8);
}
.stars svg { filter: drop-shadow(0 0 7px rgba(192, 132, 252, 0.55)); }
.review p { font-size: 0.91rem; color: #d8cde7; }
.review-author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
}
.review-author .avatar {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 20px -10px rgba(217, 70, 239, 0.9);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 64px 56px;
  border-radius: 26px;
  border: 1px solid transparent;
  background:
    radial-gradient(620px 280px at 12% 0%, rgba(168, 85, 247, 0.3), transparent 66%),
    radial-gradient(620px 320px at 92% 120%, rgba(217, 70, 239, 0.2), transparent 66%),
    linear-gradient(160deg, #190c2b, #07030d) padding-box;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--dm-angle),
    rgba(232, 121, 249, 0.7),
    rgba(168, 85, 247, 0.06) 26%,
    rgba(192, 132, 252, 0.55) 52%,
    rgba(168, 85, 247, 0.05) 74%,
    rgba(232, 121, 249, 0.7)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: cta-border 12s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes cta-border {
  to { --dm-angle: 360deg; }
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
.cta-band p { line-height: 1.72; }
.cta-band .kicker { margin-bottom: 12px; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(700px 320px at 8% -10%, rgba(124, 58, 237, 0.22), transparent 70%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 120% at 22% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 120% at 22% 0%, #000, transparent 72%);
  pointer-events: none;
}
.page-hero::after {
  width: 760px; height: 500px;
  right: -140px; top: -260px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28), transparent 66%);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}
.page-hero p { font-size: 1rem; line-height: 1.72; max-width: 680px; position: relative; }
.crumbs { position: relative; margin-bottom: 22px; }
.crumbs a { color: #b5a5cb; }
.crumbs .sep { color: var(--purple); opacity: 0.7; }

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  position: relative;
}
.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.06);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b2db;
  backdrop-filter: blur(6px);
}
.page-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 8px var(--purple);
}

/* ---------- Store controls ---------- */
.filter-bar {
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(8, 3, 14, 0.94), rgba(6, 2, 12, 0.9));
  box-shadow: 0 24px 44px -40px #000;
}
.filter-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(232, 121, 249, 0.35), transparent);
}
.filter-inner { gap: 16px; }
.search input {
  padding: 13px 16px 13px 42px;
  border-radius: 12px;
  background: rgba(10, 5, 18, 0.92);
  font-size: 0.88rem;
}
.search svg { left: 15px; width: 16px; height: 16px; transition: color 0.2s ease; }
.search:focus-within svg { color: var(--purple-soft); }
.search input:focus { box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 12px 30px -22px rgba(168, 85, 247, 0.9); }

.chips-scroll {
  gap: 8px;
  padding-block: 2px;
  mask-image: linear-gradient(90deg, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.filter-chip {
  padding: 8px 15px;
  border-radius: 100px;
  font-size: 0.75rem;
  background: rgba(12, 6, 20, 0.82);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.filter-chip:hover { transform: translateY(-1px); }
.filter-chip.is-active {
  background: linear-gradient(135deg, #9d4ef5, #6d28d9);
  box-shadow: 0 10px 26px -14px rgba(168, 85, 247, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.results-line {
  margin: 30px 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 5, 18, 0.6);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.results-line b { color: #fff; font-family: var(--font-display); font-size: 0.9rem; }

.empty { border-radius: 20px; background: rgba(10, 5, 18, 0.5); }

/* ---------- FAQ ---------- */
.faq-nav {
  background: linear-gradient(180deg, rgba(22, 12, 34, 0.8), rgba(8, 4, 14, 0.82));
  border-color: rgba(168, 85, 247, 0.2);
  border-radius: 18px;
  box-shadow: 0 24px 50px -40px #000;
}
.faq-nav a {
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  padding-left: 12px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, padding-left 0.16s ease;
}
.faq-nav a:hover { border-left-color: var(--purple); padding-left: 16px; background: rgba(168, 85, 247, 0.1); }
.faq-group > h2 { font-size: 1.4rem; }
.faq-group > h2::before { height: 22px; }

details.acc {
  background: rgba(12, 6, 20, 0.72);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
details.acc:hover { border-color: rgba(168, 85, 247, 0.32); }
details.acc[open] {
  border-color: rgba(168, 85, 247, 0.42);
  background: linear-gradient(180deg, rgba(26, 15, 41, 0.85), rgba(12, 6, 20, 0.85));
  box-shadow: 0 22px 50px -38px rgba(124, 58, 237, 0.9);
}
details.acc summary { padding: 16px 52px 16px 20px; font-size: 0.91rem; }
details.acc summary::after {
  right: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(168, 85, 247, 0.08);
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
details.acc[open] summary::after { background: rgba(168, 85, 247, 0.2); }
details.acc .acc-body { padding: 0 20px 20px; }

.dl-item {
  border-radius: 11px;
  background: rgba(10, 5, 18, 0.72);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.dl-item:hover { border-color: rgba(192, 132, 252, 0.45); background: rgba(20, 11, 32, 0.85); transform: translateY(-1px); }

/* ---------- Contacts ---------- */
.contact-card {
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(28, 16, 43, 0.9), rgba(8, 4, 14, 0.94)) padding-box,
    linear-gradient(150deg, rgba(192, 132, 252, 0.32), rgba(168, 85, 247, 0.04) 55%, rgba(232, 121, 249, 0.24)) border-box;
  padding: 30px 26px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(165deg, rgba(36, 21, 55, 0.94), rgba(10, 5, 17, 0.96)) padding-box,
    linear-gradient(150deg, rgba(232, 121, 249, 0.55), rgba(168, 85, 247, 0.1) 55%, rgba(192, 132, 252, 0.45)) border-box;
  box-shadow: 0 30px 60px -34px rgba(124, 58, 237, 0.85);
}
.contact-card .c-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.26), rgba(109, 40, 217, 0.1));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover .c-icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 16px 30px -16px rgba(168, 85, 247, 0.95);
}
.contact-card h3 { font-size: 1.08rem; }
.contact-card .c-link { font-size: 0.72rem; letter-spacing: 0.12em; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(124, 58, 237, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 4, 18, 0.7), #040108);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(232, 121, 249, 0.3), transparent);
}
.site-footer::after {
  content: "DARKMATTER";
  position: absolute;
  left: 50%;
  bottom: -3.2vw;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.8;
  color: rgba(168, 85, 247, 0.045);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-brand p { line-height: 1.7; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.footer-col a { position: relative; }
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.8), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.footer-col a:hover::after { transform: scaleX(1); }
.footer-bottom { position: relative; z-index: 1; background: rgba(4, 1, 8, 0.35); }

/* ---------- Modal ---------- */
.modal-backdrop { background: rgba(2, 0, 6, 0.82); }
.modal-panel {
  width: min(620px, 100%);
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(168, 85, 247, 0.16), transparent 70%),
    linear-gradient(170deg, #1c102c, #080410) padding-box,
    linear-gradient(150deg, rgba(192, 132, 252, 0.55), rgba(168, 85, 247, 0.08) 50%, rgba(232, 121, 249, 0.4)) border-box;
  box-shadow: 0 50px 120px -40px #000, 0 0 80px -30px rgba(124, 58, 237, 0.7);
  padding: 32px;
  scrollbar-width: thin;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { transform: rotate(90deg); }
.modal h2 { font-size: 1.42rem; letter-spacing: -0.01em; }
.modal .m-game { font-size: 0.64rem; letter-spacing: 0.2em; }
.modal h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  margin: 26px 0 12px;
}
.modal h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.28), transparent);
}
.modal .variant-tab { border-radius: 12px; padding: 12px 14px; }
.modal .plan { border-radius: 10px; }
.modal .plan.is-selected {
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.3), 0 12px 26px -16px rgba(168, 85, 247, 0.95);
}
.modal .req-list > div { background: rgba(255, 255, 255, 0.025); }
.modal .modal-foot { margin-top: 26px; }
.modal .update-note { border-radius: 12px; }

/* ---------- Toast ---------- */
.toast {
  border-radius: 12px;
  background: rgba(26, 15, 42, 0.97);
  box-shadow: 0 24px 60px -22px #000, 0 0 0 1px rgba(168, 85, 247, 0.12);
}

/* ---------- Reveal ---------- */
.reveal { transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

/* Powder the dynamic grids with a quick staggered entrance. */
@keyframes tile-in {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.catalog-grid .game-tile,
.games-grid .game-card {
  animation: tile-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 24ms);
}

/* ---------- Ambient dust + custom cursor ---------- */
.dm-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dm-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.dm-cursor.is-on { opacity: 1; }

.dm-cursor__dot,
.dm-cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.dm-cursor__dot {
  width: 6px;
  height: 6px;
  background: #f6ecff;
  box-shadow:
    0 0 10px rgba(232, 121, 249, 0.95),
    0 0 26px rgba(168, 85, 247, 0.6);
}

.dm-cursor__ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(196, 152, 255, 0.5);
  background: rgba(168, 85, 247, 0.06);
  box-shadow:
    0 0 26px -10px rgba(168, 85, 247, 0.9),
    inset 0 0 14px rgba(168, 85, 247, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dm-cursor.is-hot .dm-cursor__ring {
  border-color: rgba(232, 121, 249, 0.85);
  background: rgba(168, 85, 247, 0.14);
  box-shadow:
    0 0 34px -8px rgba(232, 121, 249, 0.85),
    inset 0 0 18px rgba(168, 85, 247, 0.22);
}

.dm-cursor.is-down .dm-cursor__ring { background: rgba(232, 121, 249, 0.22); }

/* Only hide the native pointer once the custom one is actually mounted. */
html.has-dm-cursor,
html.has-dm-cursor * { cursor: none !important; }

@media (hover: none), (pointer: coarse) {
  .dm-cursor { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-stage { min-height: 340px; order: -1; }
  .logo-stage img { width: min(290px, 62%); }
  .hero { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .faq-nav h3 { width: 100%; margin-bottom: 4px; }
  .faq-nav a { padding: 6px 10px; background: rgba(168, 85, 247, 0.07); }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 3, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px;
    margin: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    backdrop-filter: blur(20px);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 12px; font-size: 0.82rem; }
  .nav a.is-active::after { left: 12px; right: 12px; bottom: 6px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--header { display: none; }
  .steps, .reviews { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 38px 28px; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .topbar .container { gap: 8px; font-size: 0.66rem; }
  .topbar span:nth-child(2) { display: none; }
  .brand-name { font-size: 0.9rem; letter-spacing: 0.18em; }
  .brand img { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-lead { font-size: 0.94rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .game-card .art-label { font-size: 0.85rem; }
  .filter-inner { gap: 10px; }
  .search { max-width: none; flex-basis: 100%; }
  .cta-band { padding: 32px 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-panel { padding: 24px 20px; }
  .modal .plan-list { grid-template-columns: 1fr; }
  .modal .req-list > div { grid-template-columns: 1fr; gap: 2px; }
  .variant-tab { flex: 1 1 100%; }
}

/* ---------- Visual upgrade: responsive ---------- */
@media (max-width: 1180px) {
  .stage-chip--b { display: none; }
  .stage-chip--a { left: 2%; }
}

@media (max-width: 1080px) {
  .hero { padding: 56px 0 72px; }
  .hero-hud { max-width: 560px; }
  .logo-stage { min-height: 360px; }
  .logo-stage img { width: min(300px, 62%); }
  .logo-stage .ring--3 { width: 108%; }
  .stage-chip--c { bottom: 0; }
  .hero-scroll { display: none; }
  .hero-floor { bottom: -220px; height: 400px; }
  .feature--tall { grid-row: auto; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
}

@media (max-width: 900px) {
  .feature--wide { grid-column: span 2; }
  .hero-hud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { padding: 44px 32px; }
  .page-hero { padding: 56px 0 44px; }
  .site-footer { padding-top: 56px; }
  .site-footer::after { bottom: -2vw; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: clamp(2.05rem, 9.5vw, 2.85rem); }
  .hero-lead { font-size: 0.96rem; }
  .hero-points li { font-size: 0.7rem; padding: 6px 10px; }
  .hero-hud { margin-top: 26px; }
  .hero-hud .hud-cell { padding: 12px 12px; }
  .hero-hud b { font-size: 1.1rem; }
  .hero-hud span { font-size: 0.52rem; letter-spacing: 0.12em; }
  .hero-floor { display: none; }
  .stage-chip--a, .stage-chip--c { display: none; }
  .stage-scan { display: none; }
  .logo-stage { min-height: 280px; order: 0; }
  .logo-stage img { width: min(240px, 64%); }
  .ticker { padding: 12px 0; }
  .ticker-item { font-size: 0.62rem; letter-spacing: 0.18em; gap: 16px; padding: 0 16px; }
  .ticker-item::after { margin-left: 0; }
  .stats .container { border-inline: 0; }
  .stat { padding: 26px 16px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .catalog-grid { gap: 20px; }
  .game-tile .art { aspect-ratio: 16 / 9.6; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 14px; }
  .game-card { aspect-ratio: 1 / 1.2; }
  .game-meta { padding: 38px 11px 11px; }
  .game-meta .game-title { font-size: 0.78rem; }
  .game-meta .game-arrow { width: 22px; height: 22px; }
  .game-meta .game-arrow svg { width: 11px; height: 11px; }
  .feature { padding: 24px 20px; }
  .feature-grid { gap: 14px; }
  .step { padding: 28px 22px 24px; }
  .step::after { left: 22px; }
  .steps::before { left: 4%; right: 4%; }
  .review { padding: 22px 20px; }
  .cta-band { padding: 34px 22px; border-radius: 20px; }
  .page-hero-meta { gap: 8px; }
  .page-hero-meta span { font-size: 0.62rem; padding: 6px 11px; }
  .results-line { padding: 10px 12px; font-size: 0.66rem; }
  .modal-panel { padding: 26px 20px; border-radius: 16px; }
  .site-footer::after { font-size: 22vw; bottom: -1vw; }
  .footer-grid { gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; transform: none; }
  .cta-band::before { animation: none; }
  .logo-stage { transform: none; }
  .dm-ambient { display: none; }
  .dm-cursor { display: none; }
}
