/* ==========================================================================
   VYPEX — vypex.win
   ========================================================================== */

:root {
  --bg: #000;
  --card: #0b0b0d;
  --card-2: #111114;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --muted: #a1a1aa;
  --dim: #6b6b74;
  --accent: #f472b6;

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-card: 20px;
  --r-shot: 18px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --hero-gutter: clamp(20px, 4.5vw, 72px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: #000;
  border-radius: 999px;
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* Type ------------------------------------------------------------------- */

h1, h2, h3 { font-weight: 500; text-wrap: balance; }

h2 {
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 { letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.mono {
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.02em;
  color: var(--dim);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-2);
  font-size: 13px;
  color: var(--text);
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }

.btn-light { background: #fff; color: #000; }
.btn-dark {
  background: rgba(14, 14, 16, 0.72);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.text-link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #e7e7ea; }
  .btn-dark:hover { background: rgba(28, 28, 32, 0.85); border-color: rgba(255, 255, 255, 0.26); }
  .btn:hover .arrow,
  .text-link:hover svg { transform: translateX(3px); }
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Navigation ------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px var(--hero-gutter) 0;
  pointer-events: none;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav > * { pointer-events: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 250ms ease, border-color 250ms ease, transform 160ms var(--ease-out);
}
.is-scrolled .pill:not(.pill-light) { background: rgba(14, 14, 16, 0.86); border-color: var(--line-strong); }

.brand { justify-self: start; gap: 8px; padding-left: 14px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { width: 18px; height: 18px; color: var(--text); }
.brand-logo { display: block; height: 26px; width: auto; }

.nav-links { position: relative; padding: 0 3px; }
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(244, 244, 246, 0.6);
  transition: color 150ms ease;
}
.nav-links a:hover,
.nav-links a.is-current,
.nav-links a[aria-current="page"] { color: #fff; }

/* current section: a small dot under the label */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgb(var(--glow));
  box-shadow: 0 0 8px rgba(var(--glow), 0.9);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 200ms ease, transform 250ms var(--ease-out);
}
.nav-links a.is-current::after,
.nav-links a[aria-current="page"]::after { opacity: 1; transform: none; }

/* one hover highlight that glides between links (clipped via --l / --r from main.js) */
.nav-hover {
  position: absolute;
  inset: 3px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  clip-path: inset(0 var(--r, 100%) 0 var(--l, 0) round 999px);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 260ms var(--ease-out), opacity 150ms ease;
}
.nav-links[data-hover] .nav-hover { opacity: 1; }
/* entering the bar: appear in place instead of sliding in from the last link */
.nav-links[data-instant] .nav-hover { transition: opacity 150ms ease; }

.nav-actions { justify-self: end; display: flex; gap: 8px; }
.pill-icon { justify-content: center; width: 42px; padding: 0; }
.pill-icon svg { width: 18px; height: 18px; }
.pill-light { background: #fff; color: #000; border-color: #fff; }
.pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .nav-discord:hover { border-color: var(--line-strong); }
  .pill-light:hover { background: #e7e7ea; }
}

.nav-toggle { display: none; place-items: center; }
.nav-toggle span {
  grid-area: 1 / 1;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 250ms var(--ease-out);
}
.nav-toggle span:first-child { transform: translateY(-3px); }
.nav-toggle span:last-child { transform: translateY(3px); }
[data-open="true"] .nav-toggle span:first-child { transform: rotate(45deg); }
[data-open="true"] .nav-toggle span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  margin-top: 10px;
  padding: 8px 20px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  background: rgba(10, 10, 12, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
[data-open="true"] .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-discord { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}
@media (max-width: 380px) {
  .nav-cta { display: none; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 70% 15%, #94587f 0%, #4a2a40 34%, #150d13 70%, #000 100%);
}
.hero-bg :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
}
/* legibility + fade into the page */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.2) 60%, #000 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
}
.hero-bg.is-missing :is(img, video) { visibility: hidden; }
.hero-bg.is-missing::before {
  content: "[ " attr(data-file) " ] · hero background";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  font: 400 12px/1 var(--mono);
  color: rgba(255, 255, 255, 0.3);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 40px;
  min-height: inherit;
  padding: clamp(112px, 14vh, 150px) var(--hero-gutter) clamp(48px, 7vh, 72px);
}

.hero-title {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  font-size: clamp(3.5rem, 1rem + 10.5vw, 12rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}
.hero-title { display: flex; flex-direction: column; }
.hero-title .line { --pad: calc(0.2em + 24px); display: block; overflow: hidden; padding: var(--pad); margin: calc(var(--pad) * -1); }
.hero-title .line > span { display: block; }

/* hello kitty sits right after "three games." and wraps with the word */
.hero-kitty {
  display: inline-block;
  width: 0.72em;
  height: auto;
  margin-left: 0.06em;
  vertical-align: -0.04em;
  filter: drop-shadow(0 0 18px rgba(244, 114, 182, 0.5));
  transform-origin: 50% 100%;
  animation: kitty-float 4.5s ease-in-out infinite;
}
@keyframes kitty-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-0.06em) rotate(3deg); }
}

.hero-stat strong {
  display: block;
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-stat span { display: block; margin-top: 8px; font-size: 14px; color: rgba(244, 244, 246, 0.72); }

.hero-stat-top { grid-column: 2; grid-row: 1; text-align: right; justify-self: end; }

.hero-side {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  max-width: 330px;
  text-align: right;
}
.hero-side p { font-size: 16px; line-height: 1.5; color: rgba(244, 244, 246, 0.86); }
.hero-side .actions { justify-content: flex-end; margin-top: 24px; }

.hero-stat-bl { grid-column: 1; grid-row: 3; align-self: end; padding-left: clamp(0px, 2vw, 32px); }
.hero-stat-br { grid-column: 2; grid-row: 3; align-self: end; text-align: right; }

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(96px, 12vw, 160px); }
.products { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(40px, 5vw, 64px); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 64px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { max-width: 16ch; }
.section-desc { max-width: 340px; font-size: 15px; color: var(--muted); padding-bottom: 6px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .tag { margin-bottom: 4px; }

/* Screenshots ------------------------------------------------------------ */

.shot {
  position: relative;
  aspect-ratio: var(--ar, 16 / 9);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-shot);
  background: var(--card-2);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.shot :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.shot.is-missing {
  background-image:
    radial-gradient(ellipse at center, transparent 0%, var(--card-2) 78%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: center, -1px -1px, -1px -1px;
}
.shot.is-missing :is(img, video) { visibility: hidden; }
.shot.is-missing::before {
  content: "[ " attr(data-file) " ]";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 13px/1 var(--mono);
  color: var(--dim);
}

.chip {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 400 11px/1 var(--mono);
  color: rgba(244, 244, 246, 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .shot :is(img, video) { transition: transform 500ms var(--ease-out); }
  .shot:hover :is(img, video) { transform: scale(1.02); }
}

/* Product switch --------------------------------------------------------- */

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 280px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.segmented button {
  position: relative;
  z-index: 1;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 200ms ease;
}
.segmented button:hover { color: var(--text); }
/* clip-path tabs: a black-text copy of the labels is clipped to the thumb,
   so the colour flips exactly at the thumb's edge instead of cross-fading */
.segmented-active {
  position: absolute;
  inset: 4px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  clip-path: inset(0 50% 0 0 round 999px);
  transition: clip-path 320ms var(--ease-in-out);
}
.segmented-active span { display: grid; place-items: center; padding: 0 18px; white-space: nowrap; }
.segmented[data-active="osu"] .segmented-active,
.segmented[data-active="register"] .segmented-active { clip-path: inset(0 0 0 50% round 999px); }
.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 2);
  border-radius: 999px;
  background: #fff;
  transition: transform 320ms var(--ease-in-out);
}
.segmented[data-active="osu"] .segmented-thumb,
.segmented[data-active="register"] .segmented-thumb { transform: translateX(100%); }
.osu .cards { margin-top: 12px; }

.panels {
  display: grid;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
}

.panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}
.panel.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease 100ms, visibility 0s;
}
.panel-copy { padding: 8px 0 8px clamp(0px, 1.5vw, 16px); transform: translateY(8px); transition: transform 180ms ease; }
.panel .shot { transform: scale(0.985); transition: transform 180ms ease; }
.panel.is-active .panel-copy,
.panel.is-active .shot { transform: none; transition: transform 450ms var(--ease-out) 100ms; }

.panel-copy h3 { margin: 14px 0 12px; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.1; }
.panel-copy > p:not(.mono) { color: var(--muted); font-size: 15px; }

.specs { margin: 28px 0 24px; font-size: 14px; }
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--dim); }

/* Cards ------------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.card-num { font: 400 11px/1 var(--mono); color: var(--dim); }
.card h3 { margin: 36px 0 10px; font-size: 19px; font-weight: 500; }
.card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line-strong); background: #0e0e11; }
}

/* Rows ------------------------------------------------------------------- */

.rows { display: grid; gap: clamp(88px, 11vw, 150px); }
.mc .rows { margin-top: clamp(112px, 14vw, 180px); }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.row-flip .row-copy { order: 2; }
.row-copy { max-width: 440px; }
.row-copy h3 {
  margin: 16px 0 16px;
  font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.row-copy p:not(.mono) { color: var(--muted); }

/* Roblox ----------------------------------------------------------------- */

.rb { border-top: 1px solid var(--line); }
.shot-feature { border-radius: 24px; }

.rb-grid,
.mc-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 48px;
}
.rb-grid .shot,
.mc-grid .shot { aspect-ratio: auto; min-height: 100%; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-2 .card { min-height: 220px; }
.cards-2 .card h3 { margin-top: auto; padding-top: 36px; }

/* FAQ -------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p:not(.tag) { max-width: 30ch; color: var(--muted); }
.faq-intro a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.faq-intro a:hover { text-decoration-color: var(--text); }
.faq-answer a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

.faq-list { display: grid; gap: 8px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: border-color 200ms ease;
}
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  border-radius: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; width: 12px; height: 12px; flex: none; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--muted);
  transition: transform 250ms var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }

.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p { max-width: 60ch; font-size: 15px; color: var(--muted); }

/* CTA -------------------------------------------------------------------- */

.cta-section { padding-bottom: clamp(72px, 9vw, 120px); }

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 120% at 50% 0%, rgba(148, 88, 127, 0.4) 0%, transparent 65%);
}
.cta-bg :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.1);
  transform: scale(1.15);
  opacity: 0.35;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.5), rgba(11, 11, 13, 0.92));
}
.cta-bg.is-missing :is(img, video) { visibility: hidden; }
.cta h2 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); letter-spacing: -0.045em; line-height: 0.98; }
.cta-text { max-width: 40ch; margin: 18px auto 32px; color: var(--muted); }
.cta .actions { justify-content: center; }

/* Footer ----------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px 48px; }
.brand-plain { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.brand-plain .brand-logo { height: 36px; }
.footer-brand p { margin-top: 8px; font: 400 12px/1 var(--mono); color: var(--dim); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.footer-links a { padding-block: 4px; transition: color 150ms ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

/* Hover & glow ----------------------------------------------------------- */

:root {
  --glow: 244, 114, 182;
}

.tag::before { box-shadow: 0 0 8px rgba(var(--glow), 0.9); }
.segmented-thumb { box-shadow: 0 0 22px -6px rgba(255, 255, 255, 0.55); }

/* cursor spotlight: fill + border ring (position set in main.js) */
.glow { position: relative; }
.glow > :not(.cta-bg) { position: relative; }
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
.glow::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), 0.15), transparent 45%);
}
.glow::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), 0.85), transparent 50%);
  -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 exclude, linear-gradient(#000 0 0);
}

.shot { transition: border-color 300ms ease, box-shadow 400ms ease; }
.chip { transition: border-color 300ms ease, color 300ms ease; }
.btn, .pill { transition: background-color 160ms ease, border-color 200ms ease, box-shadow 250ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.card-num { transition: color 200ms ease, text-shadow 200ms ease; }
.faq-list details { transition: border-color 200ms ease, box-shadow 300ms ease; }

@media (hover: hover) and (pointer: fine) {
  .glow:hover::before,
  .glow:hover::after { opacity: 1; }

  .card:hover .card-num { color: rgb(var(--glow)); text-shadow: 0 0 12px rgba(var(--glow), 0.6); }

  .btn-light:hover,
  .pill-light:hover {
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.08),
      0 8px 28px -6px rgba(255, 255, 255, 0.35),
      0 0 48px -8px rgba(var(--glow), 0.55);
  }
  .btn-dark:hover {
    border-color: rgba(var(--glow), 0.55);
    box-shadow: 0 0 26px -6px rgba(var(--glow), 0.55), inset 0 0 12px -4px rgba(var(--glow), 0.35);
  }

  .nav-discord:hover { border-color: rgba(var(--glow), 0.5); box-shadow: 0 0 22px -6px rgba(var(--glow), 0.6); }
  .nav-discord:hover svg { filter: drop-shadow(0 0 6px rgba(var(--glow), 0.9)); }
  .brand:hover .brand-mark { color: rgb(var(--glow)); filter: drop-shadow(0 0 8px rgba(var(--glow), 0.8)); }

  .shot:hover {
    border-color: rgba(var(--glow), 0.35);
    box-shadow: 0 0 0 1px rgba(var(--glow), 0.12), 0 24px 80px -28px rgba(var(--glow), 0.45);
  }
  .shot:hover .chip { border-color: rgba(var(--glow), 0.5); color: #fff; }

  .text-link:hover { text-shadow: 0 0 18px rgba(var(--glow), 0.8); }
  .text-link:hover svg { color: rgb(var(--glow)); }

  .faq-list details:hover { border-color: var(--line-strong); }
  .faq-list details:hover .faq-icon::before,
  .faq-list details:hover .faq-icon::after { background: var(--text); }

  .footer-links a:hover { text-shadow: 0 0 14px rgba(var(--glow), 0.7); }
}

.faq-list details[open] { box-shadow: 0 0 40px -18px rgba(var(--glow), 0.45); }
.brand-mark { transition: color 200ms ease, filter 200ms ease; }

/* Motion ----------------------------------------------------------------- */

.js .hero-title .line > span {
  transform: translateY(calc(100% + 0.2em + 28px));
  transition: transform 900ms var(--ease-out);
}
.js .hero-title .line:nth-child(2) > span { transition-delay: 90ms; }
.js .hero-bg :is(img, video) { opacity: 0; transform: scale(1.14); transition: opacity 900ms ease, transform 1400ms var(--ease-out); }
.js .intro {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease var(--d, 0ms), transform 600ms var(--ease-out) var(--d, 0ms);
}
.js .is-loaded .hero-title .line > span,
.js .is-loaded .intro { transform: none; opacity: 1; }
.js .is-loaded .hero-bg :is(img, video) { opacity: 1; transform: scale(1.08); }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out) var(--d, 0ms), transform 500ms var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* screenshots wipe in from the bottom instead of sliding */
.js .shot.reveal {
  transform: none;
  clip-path: inset(0 0 100% 0 round var(--r-shot));
  transition: opacity 400ms ease, clip-path 900ms var(--ease-in-out) var(--d, 0ms);
}
.js .shot.reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-shot)); }

/* Pricing --------------------------------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(40px, 5vw, 56px);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 -40% 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 0%, rgba(148, 88, 127, 0.45) 0%, rgba(74, 42, 64, 0.18) 45%, transparent 75%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.75rem, 1.6rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.page-hero .lead { max-width: 44ch; text-wrap: balance; margin: 20px auto 36px; color: var(--muted); }
.page-hero .segmented { display: inline-grid; }

.pricing { padding-bottom: clamp(72px, 9vw, 120px); }

.price-grid {
  display: none;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 12px;
  max-width: calc(var(--cols, 3) * 340px);
  margin-inline: auto;
}
.price-grid.is-active { display: grid; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    opacity 300ms ease calc(var(--i, 0) * 50ms),
    transform 450ms var(--ease-out) calc(var(--i, 0) * 50ms);
}
/* plans rise in whenever their tab is shown (display: none -> grid) */
@starting-style {
  .price-grid.is-active .plan { opacity: 0; transform: translateY(12px); }
}

.plan-featured {
  border-color: rgba(var(--glow), 0.35);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(var(--glow), 0.12), transparent 70%),
    var(--card);
  box-shadow: 0 24px 80px -40px rgba(var(--glow), 0.5);
}

.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.plan-head h3 { font-size: 17px; font-weight: 500; }
.plan-badge {
  padding: 5px 9px;
  border: 1px solid rgba(var(--glow), 0.4);
  border-radius: 999px;
  background: rgba(var(--glow), 0.1);
  font: 400 11px/1 var(--mono);
  color: rgb(var(--glow));
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.plan-price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-note { min-height: 1.6em; margin-top: 10px; font-size: 14px; color: var(--dim); }
.plan-note strong { font-weight: 500; color: rgb(var(--glow)); }

.plan-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--text); }

.plan .btn { width: 100%; margin-top: auto; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1020px;
  margin: clamp(56px, 7vw, 88px) auto 0;
}
.trust div { padding: 20px 4px; border-top: 1px solid var(--line); }
.trust dt { font: 400 12px/1 var(--mono); color: var(--dim); }
.trust dd { margin-top: 10px; font-size: 15px; }

@media (hover: hover) and (pointer: fine) {
  .plan:hover { border-color: var(--line-strong); }
  .plan-featured:hover { border-color: rgba(var(--glow), 0.55); }
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .trust { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 0; }
}

/* Nav dashboard button ---------------------------------------------------- */

.nav-dashboard svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .nav-dashboard:hover { border-color: rgba(var(--glow), 0.5); box-shadow: 0 0 22px -6px rgba(var(--glow), 0.6); }
}

/* Auth page ---------------------------------------------------------------- */

.auth-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  gap: 32px;
  padding: 32px var(--gutter) 64px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(148, 88, 127, 0.35) 0%, transparent 70%),
    var(--bg);
}
.auth-brand { padding-left: 14px; gap: 8px; font-weight: 600; }

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}

.auth-switch { display: grid; width: 100%; margin-bottom: 24px; }

.auth-error {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.1);
  font-size: 13px;
  color: #fca5a5;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.auth-form.is-active { display: flex; }
.auth-form > div { width: 100%; }
.auth-form .btn { margin-top: 4px; width: 100%; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.field input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-2);
  color: var(--text);
  font: 400 15px/1 var(--font);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus-visible {
  outline: none;
  border-color: rgba(var(--glow), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--glow), 0.15);
}
.field input:disabled { color: var(--dim); }

.auth-note { margin: 20px 0 0; font-size: 12px; text-align: center; color: var(--dim); }

/* Dashboard ------------------------------------------------------------------ */

.dash {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100svh;
  background: #000;
}

.dash-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding: 30px 18px 22px;
  border-right: 1px solid var(--line);
  background: #09090b;
}
.dash-brand { display: block; width: fit-content; padding: 6px 14px 30px; }
.dash-brand .brand-logo { height: 25px; }

.dash-nav { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.dash-nav-label {
  margin: 24px 14px 7px;
  color: var(--dim);
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.dash-nav-label:first-child { margin-top: 4px; }

.dash-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  font: 500 14px/1.2 var(--font);
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.dash-link svg, .dash-icon { width: 19px; height: 19px; flex: none; }
.dash-link svg { color: currentColor; }
.dash-icon { object-fit: contain; opacity: 0.65; transition: opacity 180ms ease; }
.dash-link:hover { background: #151519; color: var(--text); }
.dash-link:hover .dash-icon, .dash-link.is-active .dash-icon { opacity: 1; }
.dash-link.is-active {
  background: #1b171c;
  border-color: rgba(244, 114, 182, 0.25);
  color: #fff;
}
.dash-link.is-active svg { color: var(--accent); }
.dash-logout { margin-top: 20px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 12px; }
.dash-logout:hover { background: rgba(248, 113, 113, 0.08); color: #fca5a5; }

.dash-main {
  min-width: 0;
  padding: clamp(42px, 6vw, 88px) clamp(24px, 6vw, 96px) 80px;
  background:
    radial-gradient(ellipse 65% 420px at 55% 0%, rgba(148, 88, 127, 0.20), transparent 75%),
    #000;
}
.dash-intro { margin-bottom: clamp(38px, 5vw, 64px); }
.dash-kicker {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.13em;
}
.dash-intro h1 {
  font-size: clamp(3rem, 4.7vw, 5.75rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.dash-intro h1 span { color: var(--accent); }
.dash-intro p { margin-top: 20px; color: var(--muted); font-size: 15px; }
.dash-panel { display: none; width: 100%; max-width: 840px; }
.dash-panel.is-active { display: block; }
#clerk-user-profile { width: 100%; }

.dash-block {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  overflow: hidden;
}
.dash-block h2 {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.dash-block-body { padding: 28px; }
.dash-block-body form { display: flex; flex-direction: column; gap: 16px; }
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 76px 30px;
  text-align: center;
  color: var(--muted);
}
.dash-empty svg { width: 32px; height: 32px; }
.dash-empty-icon { width: 36px; height: 36px; object-fit: contain; }
.dash-empty p { max-width: 34ch; font-size: 15px; }

.redeem-form { flex-direction: row !important; gap: 12px !important; }
.redeem-form .field { flex: 1; }
.redeem-form .btn { width: auto !important; align-self: flex-end; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dash-brand { padding: 0 12px 0 0; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .dash-nav-label { display: none; }
  .dash-link { width: auto; min-height: 40px; padding: 0 10px; font-size: 13px; }
  .dash-logout { margin: 0 0 0 auto; padding-top: 0; border-top: 0; }
  .dash-main { padding: 44px 24px 70px; }
}
@media (max-width: 600px) {
  .dash-side { align-items: flex-start; }
  .dash-brand { width: calc(100% - 76px); padding: 8px 0; }
  .dash-nav { order: 2; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .dash-link { flex: none; white-space: nowrap; }
  .dash-logout { margin-left: auto; }
  .dash-main { padding: 38px 20px 64px; }
  .dash-intro { margin-bottom: 36px; }
  .dash-block h2 { padding: 20px; }
  .dash-block-body { padding: 20px; }
  .redeem-form { flex-direction: column !important; }
  .redeem-form .btn { width: 100% !important; }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-grid { grid-template-columns: minmax(0, 1fr); }
  .rb-grid .shot { aspect-ratio: 16 / 10; min-height: 0; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
    row-gap: 32px;
    padding-top: 120px;
  }
  .hero-title { grid-column: 1 / -1; grid-row: 1; align-self: end; }
  .hero-side { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; max-width: 440px; }
  .hero-side .actions { justify-content: flex-start; }
  .hero-stat-top { display: none; }
  .hero-stat-bl { grid-row: 3; padding-left: 0; }
  .hero-stat-br { grid-row: 3; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }

  .panel,
  .row,
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { align-items: start; }
  .panel-copy { padding-left: 0; max-width: 560px; }
  .row .shot { order: -1; }
  .row-flip .row-copy { order: 0; }
}

@media (max-width: 600px) {
  .hero-stat strong { font-size: 2rem; }
  .hero-stat span { font-size: 13px; }
  .actions .btn { flex: 1 1 auto; }
  .segmented { min-width: 0; width: 100%; }
  .segmented button { padding: 0 10px; }
  .cards,
  .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .cards-2 .card { min-height: 0; }
  .card h3 { margin-top: 24px; }
  .panels { border-radius: 22px; padding: 16px; }
  .shot, .shot-feature { border-radius: 14px; }
  .cta { border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title .line > span,
  .js .intro,
  .js .reveal,
  .js .hero-bg :is(img, video) { transform: none; transition: opacity 300ms ease; }
  .js .hero-bg :is(img, video) { transform: scale(1.08); }
  .panel-copy, .panel .shot,
  .panel.is-active .panel-copy, .panel.is-active .shot { transform: none; transition: none; }
  .shot :is(img, video), .shot:hover :is(img, video) { transform: none; transition: none; }
  .faq-list details::details-content { transition: none; }
  .segmented-thumb, .segmented-active { transition-duration: 1ms; }
  .nav-hover { transition: opacity 150ms ease; }
  .js .shot.reveal { clip-path: none; transition: opacity 300ms ease; }
  .plan { transition: none; }
  .hero-kitty { animation: none; }
}

/* Added game showcases --------------------------------------------------- */
.game-section { border-top: 1px solid var(--line); }
.game-showcase { margin-top: 24px; }
.segmented.segmented-products { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 480px); min-width: 340px; }
.segmented-products button { padding-inline: 12px; white-space: nowrap; }
.segmented-products button[aria-selected="true"] { color: #000; }
.segmented.segmented-products .segmented-thumb { width: calc((100% - 8px) / 4); transform: translateX(calc(var(--active-index, 0) * 100%)); }
.feature-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-list-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.feature-list-card h3 { margin-top: 12px; font-size: 28px; font-weight: 500; letter-spacing: -.025em; }
.feature-placeholder-list { display: grid; gap: 0; list-style: none; margin: 24px 0 0; padding: 0; color: var(--muted); }
.feature-placeholder-list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.feature-placeholder-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; }
#plans-cs2 .plan-price { font-size: 48px; flex-wrap: wrap; }
@media (min-width: 601px) and (max-width: 1100px) {
  #plans-cs2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 600px) {
  .segmented.segmented-products { min-width: 0; }
  .segmented-products button { padding-inline: 6px; font-size: 13px; }
  .feature-catalog { grid-template-columns: minmax(0, 1fr); }
}
.game-feature {
  position: relative;
  min-height: clamp(340px, 48vw, 560px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 72% 46%, rgba(244, 114, 182, 0.28), transparent 55%),
    linear-gradient(118deg, #170e14 0%, #281320 52%, #100a0f 100%);
}
.game-feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(15, 7, 12, 0.92) 0%, rgba(15, 7, 12, 0.55) 40%, transparent 72%);
}
.cs2-feature > img {
  position: absolute;
  right: 4%;
  bottom: -3%;
  width: min(71%, 760px);
  height: 108%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5));
}
.cs2-copy { position: absolute; left: clamp(24px, 6vw, 76px); top: 50%; transform: translateY(-50%); z-index: 1; }
.cs2-copy h3 { max-width: 8ch; margin: 14px 0 22px; font-size: clamp(2.2rem, 6vw, 5rem); line-height: .96; letter-spacing: -.05em; }
.cs2-rule { display: block; width: 58px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.cs2-caption { position: absolute; right: 22px; bottom: 18px; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .12em; }
.character-heading {
  --character-width: clamp(210px, 24vw, 280px);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--character-width);
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: 16px;
  align-items: center;
}
.character-heading--left { grid-template-columns: var(--character-width) minmax(0, 1fr); }
.character-heading--right > :is(.game-title-stage, .section-desc) { grid-column: 1; }
.character-heading--left > :is(.game-title-stage, .section-desc) { grid-column: 2; }
.character-heading > .section-desc { max-width: 640px; padding-bottom: 0; }
.game-title-stage {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  justify-content: center;
}
.game-title-stage h2 { position: relative; max-width: 16ch; }
.game-title-stage > .tag { align-self: flex-start; }
.heading-character {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: var(--character-width);
  height: 250px;
  object-fit: contain;
  object-position: center bottom;
  opacity: .72;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(37, 182, 174, .18));
}
.character-heading--left .heading-character { left: 0; right: auto; height: 280px; opacity: .68; filter: drop-shadow(0 0 20px rgba(156, 126, 255, .18)); }
.osu { position: relative; isolation: isolate; }
.osu > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .cs2-feature { min-height: 390px; }
  .cs2-feature > img { right: -7%; width: 82%; height: 93%; }
  .cs2-copy { top: 14%; transform: none; }
  .cs2-copy h3 { max-width: 6ch; font-size: clamp(2rem, 8vw, 3.5rem); }
  .character-heading { --character-width: clamp(110px, 30vw, 210px); column-gap: 20px; }
  .game-title-stage { min-height: 190px; }
  .character-heading > .section-desc { grid-column: 1 / -1; }
  .heading-character, .character-heading--left .heading-character { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-portrait img { animation: none; transition: none; }

}

[hidden] { display: none !important; }
.coming-soon { color: var(--accent); font-family: var(--mono); }
.btn:disabled { cursor: not-allowed; opacity: .55; }

#plans-cs2, #plans-roblox { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
#plans-cs2 .plan-price, #plans-roblox .plan-price { font-size: clamp(30px, 6vw, 40px); }
