@property --a1 { syntax: "<color>"; inherits: true; initial-value: #f3a33a; }
@property --a2 { syntax: "<color>"; inherits: true; initial-value: #ff5e3a; }
@property --a3 { syntax: "<color>"; inherits: true; initial-value: #8a4dff; }

:root {
  --bg: #050506;
  --bg2: #0b0b0d;
  --ink: #f5f5f7;
  --mute: #a1a1a6;
  --dim: #6e6e73;
  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.045);
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4 { font-family: "Inter Tight", Inter, sans-serif; margin: 0; font-weight: 600; letter-spacing: -.035em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.03);
  font: 500 15px/1 Inter, sans-serif; white-space: nowrap;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.btn.primary { background: var(--ink); color: #0a0a0b; border-color: var(--ink); }
.btn.primary:hover { background: #fff; transform: translateY(-1px); }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5,5,6,.72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 600 18px/1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.logo .dma { font: 600 10.5px/1 "JetBrains Mono", monospace; letter-spacing: .12em; padding: 4px 7px 3px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); transition: background .3s, border-color .3s; }
.logo:hover .dma { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--mute); }
.links a:not(.btn) { transition: color .25s; }
.links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .links a:not(.btn) { display: none; } }

/* ── Hero / aurora ───────────────────────────────────────────── */
.hero {
  --a1: #f3a33a; --a2: #ff5e3a; --a3: #8a4dff;
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; isolation: isolate;
  transition: --a1 1.6s var(--ease), --a2 1.9s var(--ease), --a3 2.2s var(--ease);
}
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: var(--bg); }
.aurora .b { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 80vmax; height: 80vmax; left: -22vmax; top: -38vmax; opacity: .62;
  background: radial-gradient(closest-side, var(--a1), color-mix(in srgb, var(--a1) 30%, transparent) 55%, transparent);
  animation: d1 24s ease-in-out infinite alternate; }
.b2 { width: 70vmax; height: 70vmax; right: -26vmax; top: -30vmax; opacity: .5;
  background: radial-gradient(closest-side, var(--a2), color-mix(in srgb, var(--a2) 25%, transparent) 55%, transparent);
  animation: d2 30s ease-in-out infinite alternate; }
.b3 { width: 55vmax; height: 55vmax; left: 28vw; top: -6vmax; opacity: .38;
  background: radial-gradient(closest-side, var(--a3), transparent);
  animation: d3 36s ease-in-out infinite alternate; }
.b4 { width: 140vmax; height: 22vmax; left: -20vmax; top: 18vh; opacity: .42; border-radius: 50%;
  background: linear-gradient(90deg, transparent, var(--a1) 25%, var(--a3) 55%, var(--a2) 80%, transparent);
  filter: blur(48px); transform: rotate(-9deg);
  animation: d4 20s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(14vmax, 10vmax) scale(1.12) rotate(20deg); } }
@keyframes d2 { to { transform: translate(-16vmax, 12vmax) scale(.9) rotate(-25deg); } }
@keyframes d3 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18vmax, 8vmax) scale(1.2); } 100% { transform: translate(10vmax, 4vmax) scale(.9); } }
@keyframes d4 { 0% { transform: rotate(-9deg) translateY(0) scaleY(1); } 100% { transform: rotate(-3deg) translateY(8vh) scaleY(1.5) skewX(-10deg); } }
.aurora .shade { position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 20% 70%, rgba(5,5,6,.55), transparent 70%),
    linear-gradient(180deg, rgba(5,5,6,.1) 0%, rgba(5,5,6,0) 30%, rgba(5,5,6,.72) 72%, var(--bg) 100%); }
.aurora .grain { position: absolute; inset: -50%; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); }
  60% { transform: translate(-2%,6%); } 80% { transform: translate(5%,-2%); } 100% { transform: translate(0,0); }
}

.hero-in { width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(32px, 6vh, 64px); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: rgba(245,245,247,.72); }
.hero .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 12px var(--a1); }
h1 {
  font-size: clamp(58px, 12.5vw, 188px); line-height: .88; letter-spacing: -.06em; font-weight: 700;
  margin-left: -.04em;
}
h1 .line { display: block; overflow: hidden; padding: .02em .06em .1em 0; margin-bottom: -.1em; }
h1 .word { display: inline-block; white-space: nowrap; }
h1 .ch { display: inline-block; }
.js h1 .ch { transform: translateY(108%); animation: rise 1.15s var(--ease) forwards; animation-delay: calc(var(--i) * 32ms + 120ms); }
@keyframes rise { to { transform: none; } }
.hero .lead { max-width: 560px; margin-top: 28px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(245,245,247,.74); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Game switcher */
.switch { margin-top: clamp(40px, 7vh, 80px); }
.tabs-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
.tabs-scroll::-webkit-scrollbar { display: none; }
[role="tablist"] { display: flex; gap: 4px; border-bottom: 1px solid var(--line2); min-width: max-content; }
[role="tab"] {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px 16px; background: none; border: 0; cursor: pointer;
  font: 500 14px/1 Inter, sans-serif; color: var(--dim); white-space: nowrap; transition: color .3s;
}
[role="tab"]:hover { color: var(--mute); }
[role="tab"][aria-selected="true"] { color: var(--ink); }
[role="tab"] .d { width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .45; transition: opacity .3s, box-shadow .3s; }
[role="tab"][aria-selected="true"] .d { opacity: 1; box-shadow: 0 0 10px var(--c); }
[role="tab"] .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255,255,255,.14); opacity: 0; transition: opacity .3s; }
[role="tab"] .bar::after { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px var(--c); }
[role="tab"][aria-selected="true"] .bar { opacity: 1; }
[role="tab"]:focus-visible { outline-offset: -4px; }

.panel {
  margin-top: 18px; padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--a1) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1.4fr auto auto auto; align-items: center; gap: 28px;
  transition: box-shadow 1.6s var(--ease);
}
.panel > * { animation: swap .7s var(--ease) both; }
.panel > *:nth-child(2) { animation-delay: .06s; } .panel > *:nth-child(3) { animation-delay: .12s; } .panel > *:nth-child(4) { animation-delay: .18s; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.panel h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; margin-top: 8px; }
.panel .tl { color: var(--mute); font-size: 15px; margin-top: 4px; }
.panel .stat b { display: block; font: 600 22px/1.1 "Inter Tight", sans-serif; letter-spacing: -.02em; margin-top: 6px; }
.panel .stat b.soon { color: var(--mute); font-size: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2);
  font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.pill.live { color: var(--ink); }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .panel .who { grid-column: 1 / -1; }
  .panel .go { grid-column: 1 / -1; }
  .panel .go .btn { width: 100%; }
}

/* Specs strip */
.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.specs .cell { padding: 34px 0 32px; border-left: 1px solid var(--line); padding-left: clamp(16px, 2.4vw, 32px); }
.specs .cell:first-child { border-left: 0; padding-left: 0; }
.specs b { display: block; font: 600 clamp(28px, 3.4vw, 44px)/1 "Inter Tight", sans-serif; letter-spacing: -.04em; margin-bottom: 10px; }
@media (max-width: 700px) {
  .specs .wrap { grid-template-columns: 1fr 1fr; }
  .specs .cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .specs .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.block { padding: clamp(96px, 14vw, 180px) 0 0; scroll-margin-top: 40px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: clamp(44px, 7.4vw, 104px); line-height: .95; letter-spacing: -.055em; margin-top: 16px; font-weight: 600; }
.head h2 em { font-style: normal; color: var(--dim); }

/* Games: editorial cards */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.game {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 380px; padding: clamp(24px, 3vw, 36px);
  border-radius: 28px; border: 1px solid var(--line); background: var(--bg2);
  transition: transform .6s var(--ease), border-color .5s;
}
.game.lg { grid-column: 1 / -1; min-height: clamp(420px, 44vw, 560px); }
.game::before { /* resting light */
  content: ""; position: absolute; z-index: -1; right: -20%; bottom: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 22%, transparent), transparent);
  transition: opacity .6s, transform 1.2s var(--ease); opacity: .55;
}
.game::after { /* cursor light */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--g) 22%, transparent), transparent 60%);
}
.game:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--g) 40%, transparent); }
.game:hover::before { opacity: 1; transform: scale(1.15); }
.game:hover::after { opacity: 1; }
.game .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.game .idx { color: var(--dim); }
.game h3 { margin-top: auto; padding-top: 48px; font-size: clamp(34px, 4.4vw, 56px); line-height: .98; letter-spacing: -.05em; }
.game.lg h3 { font-size: clamp(44px, 8vw, 112px); max-width: 12ch; }
.game .tl { color: var(--mute); margin-top: 14px; max-width: 42ch; }
.game .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.game .chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.game .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.game .meta .go { color: var(--ink); transition: transform .4s var(--ease); }
.game:hover .meta .go { transform: translateX(4px); }

/* Pricing */
.filter { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); }
.filter button { border: 0; background: none; cursor: pointer; min-height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mute); transition: background .3s, color .3s; }
.filter button:hover { color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #0a0a0b; }
.gsec { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.gsec:first-child { border-top: 0; padding-top: 0; }
.ghead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.ghead h3 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.045em; display: flex; align-items: center; gap: 14px; }
.ghead h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g); box-shadow: 0 0 14px var(--g); flex: none; }
.ghead p { color: var(--mute); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px;
  background: var(--bg2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s;
}
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--g) 12%, transparent), transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: var(--line2); }
.card:hover::after { opacity: 1; }
.card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(150deg, color-mix(in srgb, var(--g) 90%, #fff), color-mix(in srgb, var(--g) 12%, transparent) 40%, rgba(255,255,255,.06) 60%, color-mix(in srgb, var(--g) 60%, transparent)) border-box;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--g) 10%, transparent), 0 30px 90px -30px color-mix(in srgb, var(--g) 55%, transparent);
}
.card.featured::before { content: ""; position: absolute; z-index: -1; top: -60%; left: 10%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 16%, transparent), transparent); pointer-events: none; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card h4 { font-size: 22px; letter-spacing: -.03em; }
.card.featured .pill { color: var(--ink); border-color: color-mix(in srgb, var(--g) 50%, transparent); background: color-mix(in srgb, var(--g) 12%, transparent); }
.price { margin-top: 26px; font: 600 52px/1 "Inter Tight", sans-serif; letter-spacing: -.05em; }
.price small { font: 400 15px/1 Inter, sans-serif; letter-spacing: 0; color: var(--mute); margin-left: 4px; }
.price.tbd { font-size: 28px; color: var(--mute); letter-spacing: -.03em; padding: 12px 0 12px; }
.card ul { margin: 24px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: rgba(245,245,247,.82); }
.card li { display: flex; gap: 12px; align-items: baseline; }
.card li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--g); transform: translateY(-2px); }
.card .act { margin-top: auto; }
.card .act .btn { width: 100%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step { padding-top: 26px; border-top: 1px solid var(--line2); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--ink); }
.step b { font: 500 13px/1 "JetBrains Mono", monospace; color: var(--dim); letter-spacing: .08em; }
.step h4 { font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 12px; letter-spacing: -.035em; }
.step p { color: var(--mute); max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } .step h4 { margin-top: 20px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.faq-grid .head { margin: 0; align-self: start; position: sticky; top: 100px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 500 clamp(17px, 1.7vw, 20px)/1.35 "Inter Tight", sans-serif; letter-spacing: -.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; transition: transform .45s var(--ease);
  background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--mute); max-width: 60ch; padding: 0 40px 28px 0; }
.faq details[open] p { animation: swap .6s var(--ease); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 8px; } .faq-grid .head { position: static; margin-bottom: 32px; } }

/* Discord band */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; border: 1px solid var(--line);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); background: var(--bg2); }
.band .glow { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.band .glow i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, var(--c), transparent); }
.band .glow i:nth-child(1) { right: -18%; top: -60%; } .band .glow i:nth-child(2) { right: 12%; top: -30%; opacity: .6; }
.band .glow i:nth-child(3) { right: -10%; bottom: -70%; opacity: .7; } .band .glow i:nth-child(4) { left: -30%; bottom: -90%; opacity: .5; }
.band h3 { font-size: clamp(32px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; max-width: 16ch; margin-top: 18px; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

footer { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--dim); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero .rv { transition-delay: calc(var(--d, 0) * 120ms + 700ms); }
.js .game.rv.in:hover { transform: translateY(-6px); }
.js :is(.card, .feat).rv.in:hover { transform: translateY(-4px); }

/* Clickable plan cards: the title link covers the card; the buy button and
   Details link sit above it. The .act row itself passes clicks through, so
   the gaps around its children still reach the card link. */
.card h4 a.stretch::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.card .act { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; pointer-events: none; }
.card .act > * { pointer-events: auto; }
.card .more { font-size: 14px; color: var(--dim); padding: 4px 8px; transition: color .3s, transform .4s var(--ease); }
.card:hover .more { color: var(--ink); transform: translateX(3px); }
.card.current { border-color: color-mix(in srgb, var(--g) 50%, transparent); }

/* Two ways to run, both on DMA */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: var(--bg2); }
.way::before { content: ""; position: absolute; z-index: -1; right: -25%; top: -45%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); }
.way h3 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1; letter-spacing: -.045em; margin: 18px 0 14px; }
.way p { color: var(--mute); max-width: 46ch; }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.flow span { font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
  padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); white-space: nowrap; }
.flow span.hl { color: var(--ink); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 24px -6px var(--c); }
.flow i { font-style: normal; color: var(--dim); }
.note { margin-top: 16px; padding: 18px 24px; border-radius: 18px; border: 1px solid var(--line); color: var(--mute); font-size: 15px; display: flex; gap: 14px; align-items: baseline; }
.note b { color: var(--ink); font-weight: 600; }
.check { display: grid; gap: 14px; margin-top: 24px; }
.check li { display: flex; gap: 12px; align-items: center; }
.check li::before { content: "✓"; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 11px;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }

/* Product page */
.hero.p-hero { min-height: auto; }
.p-hero .hero-in { padding-top: 150px; padding-bottom: clamp(56px, 9vh, 96px); }
.p-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.p-hero h1 { font-size: clamp(56px, 10vw, 150px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.crumbs a { color: var(--mute); transition: color .3s; } .crumbs a:hover { color: var(--ink); }
.p-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.glance { padding: 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--a1) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
.glance .price { margin: 8px 0 22px; }
.glance dl { margin: 0 0 22px; border-top: 1px solid var(--line); }
.glance dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.glance dt { color: var(--mute); } .glance dd { margin: 0; text-align: right; }
.glance .btn { width: 100%; }
@media (max-width: 900px) { .p-grid { grid-template-columns: 1fr; } }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.feat { --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 230px;
  padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg2); transition: transform .5s var(--ease), border-color .4s; }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--g) 14%, transparent), transparent 60%); }
.feat:hover { border-color: color-mix(in srgb, var(--g) 35%, transparent); }
.feat:hover::after { opacity: 1; }
.feat .mono { color: color-mix(in srgb, var(--g) 75%, #fff); }
.feat h3 { margin-top: auto; padding-top: 40px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -.035em; }
.feat p { color: var(--mute); margin-top: 10px; }
.feat.slim { min-height: 170px; }
.buybar { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 18px; max-width: calc(100% - 32px);
  padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(14,14,16,.75); border: 1px solid var(--line2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  transform: translate(-50%, 160%); transition: transform .6s var(--ease); }
.buybar.show { transform: translate(-50%, 0); }
.buybar b { font: 600 15px/1 "Inter Tight", sans-serif; white-space: nowrap; }
.buybar span { color: var(--mute); font-size: 14px; white-space: nowrap; }
.buybar .btn { min-height: 40px; }
@media (max-width: 480px) { .buybar span { display: none; } }
.missing { padding: 200px 0 40px; }

/* Full Access: the primary plan, ringed in every game's color */
@property --ang { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.fa, .fa-mini { --ang: 0deg; border: 1px solid transparent; animation: ring 10s linear infinite;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--ring) border-box; }
@keyframes ring { to { --ang: 360deg; } }
.fa { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.4vw, 56px); border-radius: 32px; margin-bottom: clamp(56px, 7vw, 96px); scroll-margin-top: 90px;
  box-shadow: 0 40px 120px -40px rgba(160,120,255,.35); }
.fa-glow { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none; }
.fa-glow i { position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, var(--c), transparent); }
.fa-glow i:nth-child(1) { left: -20%; top: -55%; } .fa-glow i:nth-child(2) { right: -15%; top: -45%; }
.fa-glow i:nth-child(3) { left: 20%; bottom: -70%; } .fa-glow i:nth-child(4) { right: -25%; bottom: -60%; }
.fa-pill { color: var(--ink); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.fa h3 { font-size: clamp(44px, 6.4vw, 88px); line-height: .92; letter-spacing: -.055em; margin: 6px 0 18px; }
.fa-sum { color: rgba(245,245,247,.78); max-width: 44ch; font-size: clamp(16px, 1.4vw, 18px); }
.fa .price { margin-top: 30px; }
.fa-save { margin-top: 12px; font-size: 15px; color: var(--mute); }
.fa-save s { color: var(--dim); text-decoration-thickness: 1px; }
.fa-save b { color: #3ddc84; font-weight: 600; }
.fa-act { margin-top: 24px; } .fa-act .btn { min-width: 240px; }
.fa-inc { align-self: center; padding: 26px; border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.fa-inc ul { display: grid; gap: 2px; margin-top: 14px; }
.fa-inc li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.fa-inc li:first-child { border-top: 0; }
.fa-inc .d { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.fa-inc b { display: block; font: 600 16px/1.3 "Inter Tight", sans-serif; letter-spacing: -.015em; }
.fa-inc li span:not(.d) { color: var(--mute); font-size: 14px; }
@media (max-width: 860px) { .fa { grid-template-columns: 1fr; } .fa-act .btn { width: 100%; min-width: 0; } }
.fa-mini { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 16px; padding: 20px 20px 20px 26px; border-radius: 24px; }
.fa-mini > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.fa-mini p { color: var(--mute); } .fa-mini b { color: var(--ink); font-weight: 600; }

/* Game page: feature comparison */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--bg2); }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th:first-child { text-align: left; }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp thead th { font: 600 20px/1.1 "Inter Tight", sans-serif; letter-spacing: -.025em; padding-top: 26px; vertical-align: bottom; }
.cmp thead th small { display: block; margin-top: 8px; font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.cmp thead th a { transition: color .3s; } .cmp thead th a:hover { color: var(--g); }
.cmp tbody th { font-weight: 500; color: rgba(245,245,247,.88); }
.cmp tbody th span { display: block; margin-top: 3px; max-width: 52ch; font-weight: 400; font-size: 13.5px; color: var(--dim); }
.cmp .feat-col { background: color-mix(in srgb, var(--g) 6%, transparent); }
.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; color: var(--g);
  border: 1px solid color-mix(in srgb, var(--g) 45%, transparent); background: color-mix(in srgb, var(--g) 12%, transparent); }
.cmp .no { color: var(--dim); }
.cmp tfoot td, .cmp tfoot th { padding: 22px; border-top: 1px solid var(--line); border-bottom: 0; }
.cmp tfoot .btn { width: 100%; min-width: 150px; }
.cmp-note { margin-top: 14px; color: var(--dim); font-size: 14px; }
.cmp-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.cmp-note a:hover { text-decoration-color: var(--g); }
@media (max-width: 600px) {
  .cmp { min-width: 0; font-size: 14px; }
  .cmp th, .cmp td { padding: 14px 10px; }
  .cmp th:first-child { padding-left: 16px; }
  .cmp tbody th span { display: none; }
  .cmp thead th { font-size: 16px; }
  .cmp tfoot td, .cmp tfoot th { padding: 16px 8px; }
  .cmp tfoot .btn { min-width: 0; min-height: 40px; padding: 0 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js h1 .ch { transform: none; }
  .js .rv { opacity: 1; transform: none; }
  [role="tab"] .bar::after { transform: scaleX(1); }
}
