/* ============================================================
   RBX Cursor — soft lavender theme
   ============================================================ */
:root {
  --bg: #221743;
  --bg-soft: #2b1f55;
  --bg-card: #281c50;
  --ink: #f1edff;
  --muted: #b9aede;
  --lav: #c4b5fd;
  --lav-soft: #e6ddff;
  --vio: #a78bfa;
  --brand: #8b5cf6;
  --brand-deep: #c4b5fd;
  --pink: #f9a8d4;
  --dark: #1a1236;
  --dark-2: #231847;
  --dark-ink: #efeaff;
  --dark-muted: #b6a8e0;
  --line: rgba(196, 181, 253, .22);
  --line-strong: rgba(196, 181, 253, .4);
  --radius: 18px;
  --shadow: 0 18px 44px -16px rgba(10, 5, 30, .8);
  --shadow-soft: 0 10px 30px -12px rgba(10, 5, 30, .65);
  --grad: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 45%, #8b5cf6 100%);
  --font-display: "Anton", "Bebas Neue", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- animated background: slowly flowing dark-violet aurora ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* base: deep violet wash that slowly flows diagonally */
body::before {
  background: linear-gradient(
    135deg,
    #1c1338 0%,
    #241743 30%,
    #1a1236 55%,
    #2b1f55 80%,
    #1c1338 100%
  );
  background-size: 380% 380%;
  animation: bgFlow 46s ease-in-out infinite alternate;
  will-change: background-position;
}

/* glows: soft lavender/plum blobs that drift and slowly shift hue */
body::after {
  background:
    radial-gradient(42% 52% at 18% 22%, rgba(167, 139, 250, .22), transparent 70%),
    radial-gradient(38% 46% at 82% 16%, rgba(196, 181, 253, .16), transparent 70%),
    radial-gradient(46% 56% at 68% 86%, rgba(124, 58, 237, .17), transparent 72%),
    radial-gradient(36% 44% at 12% 84%, rgba(249, 168, 212, .10), transparent 70%);
  animation: glowDrift 64s ease-in-out infinite alternate,
    glowHue 88s linear infinite;
  will-change: transform, filter;
}

@keyframes bgFlow {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
@keyframes glowDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-4%, -3%) scale(1.06); }
  66%  { transform: translate(3%, 4%) scale(.97); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glowHue {
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(22deg); }
  100% { filter: hue-rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--lav); color: #241a3e; }

/* ============ announce ============ */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: var(--grad);
  color: #fff;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
}
.announce-badge {
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  padding: 1px 9px; border-radius: 999px;
  font-weight: 700; font-size: 12px;
}
.announce-link {
  color: #fff; font-weight: 700;
  border-bottom: 1.5px solid rgba(255, 255, 255, .7);
  padding-bottom: 1px;
}
.announce-link:hover { border-bottom-color: #fff; }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 26px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(34, 23, 67, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: .06em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--brand-deep); }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 600; font-size: 15px;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(124, 58, 237, .6); }
.btn-ghost {
  background: transparent;
  color: var(--brand-deep);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(196, 181, 253, .12); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 11px; }

/* ============ hero ============ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 4vw, 48px) clamp(48px, 6vw, 90px);
  max-width: 1240px; margin: 0 auto;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: -140px -200px auto -200px; height: 560px;
  background:
    radial-gradient(46% 60% at 18% 30%, rgba(196, 181, 253, .38), transparent 70%),
    radial-gradient(40% 55% at 82% 12%, rgba(249, 168, 212, .22), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep);
  background: rgba(196, 181, 253, .14);
  border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(58px, 9vw, 128px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhead {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--muted);
  margin-bottom: 16px;
}
.subhead em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.browse-link {
  font-size: 15px; font-weight: 600;
  color: var(--brand-deep);
}
.browse-link:hover { text-decoration: underline; }

.stats { display: flex; margin-top: auto; padding-top: 26px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 50px);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.stat + .stat {
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(20px, 3vw, 44px);
}

/* ---- hero panel / live preview ---- */
.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.preview-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  cursor: none;
  background: #17102e;
  user-select: none;
}
.scene { position: absolute; inset: 0; }
.scene-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 74% 8%, rgba(196, 181, 253, .5), transparent 60%),
    radial-gradient(50% 60% at 12% 6%, rgba(249, 168, 212, .25), transparent 65%),
    linear-gradient(180deg, #2a1d55 0%, #1c1338 62%, #16102c 100%);
}
.scene-grid {
  position: absolute; left: -30%; right: -30%; bottom: -6%; height: 46%;
  background-image:
    linear-gradient(rgba(196, 181, 253, .4) 1.6px, transparent 1.6px),
    linear-gradient(90deg, rgba(196, 181, 253, .4) 1.6px, transparent 1.6px);
  background-size: 56px 44px;
  transform: perspective(420px) rotateX(58deg);
  transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%);
  mask-image: linear-gradient(180deg, transparent, #000 32%);
  opacity: .8;
}
.scene-block {
  position: absolute;
  background: linear-gradient(180deg, #4c3a8f, #332463);
  border: 1.5px solid rgba(196, 181, 253, .5);
  border-radius: 6px;
  box-shadow: 0 0 22px rgba(139, 92, 246, .28);
}
.scene-block.b1 { width: 74px; height: 74px; left: 11%; bottom: 31%; }
.scene-block.b2 { width: 46px; height: 102px; left: 26%; bottom: 24%; }
.scene-block.b3 { width: 92px; height: 54px; right: 10%; bottom: 26%; }

.scene-dummy {
  position: absolute; right: 24%; bottom: 18%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  filter: drop-shadow(0 0 14px rgba(249, 168, 212, .45));
}
.dummy-head {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(180deg, #f9a8d4, #d389e8);
  border: 2px solid #fff3;
}
.dummy-body {
  width: 42px; height: 56px; border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  border: 2px solid #fff2;
}
.scene-hud {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; letter-spacing: .05em;
  color: #d8ccff;
  background: rgba(28, 19, 56, .6);
  border: 1px solid rgba(196, 181, 253, .3);
  padding: 5px 10px; border-radius: 8px;
  backdrop-filter: blur(4px);
}
.scene-hud b { color: #fff; }

.preview-crosshair {
  position: absolute;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.preview-crosshair svg { width: 100%; height: 100%; }

.preview-tag {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  color: #efeaff;
  background: rgba(28, 19, 56, .62);
  border: 1px solid rgba(196, 181, 253, .35);
  padding: 5px 11px; border-radius: 999px;
  z-index: 6;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7be0a2;
  box-shadow: 0 0 8px #7be0a2;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .45; } }

.preview-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 12px 6px 4px;
  font-size: 12.5px; color: var(--muted);
}
.preview-meta b { color: var(--brand-deep); font-weight: 700; }

.sliders { display: grid; gap: 10px; padding: 10px 6px 4px; }
.sliders label {
  display: grid;
  grid-template-columns: 62px 1fr 48px;
  align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-transform: lowercase;
}
.sliders output {
  font-weight: 700; color: var(--brand-deep);
  text-align: right; font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--lav) 0%, var(--vio) 100%);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand);
  box-shadow: 0 2px 8px rgba(124, 58, 237, .4);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand);
  box-shadow: 0 2px 8px rgba(124, 58, 237, .4);
  cursor: grab;
}

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 6px 4px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  transition: border-color .15s, background .15s, transform .15s, color .15s;
}
.chip svg { width: 20px; height: 20px; }
.chip:hover { transform: translateY(-1.5px); border-color: var(--vio); color: var(--brand-deep); }
.chip.active {
  background: var(--grad); color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px -6px rgba(124, 58, 237, .55);
}

.works-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  padding: 14px 6px 4px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
}
.works-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.browser {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}
.works-games {
  margin-left: auto;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* ============ sections ============ */
.section { padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 48px); }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 16px; }

/* ---- features ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1160px; margin: 0 auto;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  margin: 16px 0 2px;
}
.card-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-deep);
}
.card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.card-art {
  height: 120px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.card-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 110%, rgba(139, 92, 246, .18), transparent 70%);
}
/* small crosshair motifs on card art */
.art-presets::before, .art-overlay::before, .art-controls::before, .art-custom::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.art-presets::before {
  width: 44px; height: 44px;
  background:
    radial-gradient(circle at center, #f9a8d4 0 5px, transparent 5.5px),
    radial-gradient(circle 13px at 34% 34%, transparent 8px, #a78bfa 8.5px 10.5px, transparent 11px),
    radial-gradient(circle 13px at 66% 66%, transparent 8px, #a78bfa 8.5px 10.5px, transparent 11px);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, .6));
}
.art-overlay::before {
  width: 46px; height: 46px;
  border: 3.5px solid #a78bfa; border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(167, 139, 250, .18), 0 0 18px rgba(167, 139, 250, .55);
}
.art-controls::before {
  width: 52px; height: 52px;
  background:
    linear-gradient(#c4b5fd, #c4b5fd) center/100% 10px no-repeat,
    linear-gradient(#c4b5fd, #c4b5fd) center/10px 100% no-repeat;
  border-radius: 3px;
  filter: drop-shadow(0 0 10px rgba(196, 181, 253, .8));
}
.art-custom::before {
  width: 40px; height: 34px;
  background: linear-gradient(135deg, #a78bfa 50%, #f9a8d4 50%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, .6));
}

/* ---- dark sections (games / install) ---- */
.dark {
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(124, 58, 237, .28), transparent 60%),
    radial-gradient(40% 50% at 8% 90%, rgba(196, 181, 253, .12), transparent 65%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--dark-ink);
}
.dark .section-head h2 { color: #fff; }
.dark .section-head p, .dark .kicker { color: var(--dark-muted); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1100px; margin: 0 auto;
}
.game-card {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(196, 181, 253, .22);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -18px rgba(124, 58, 237, .65); }
.game-card span {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
}
.game-card small { color: rgba(255, 255, 255, .82); font-size: 13.5px; margin-top: 4px; }
.game-icon {
  width: 84px; height: 84px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .35);
  box-shadow: 0 10px 26px -8px rgba(10, 5, 30, .85);
  margin-bottom: 14px;
  background: rgba(255, 255, 255, .08);
}
.game-icon-svg {
  object-fit: contain;
  padding: 18px;
  background: rgba(20, 12, 44, .6);
}
.game-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 80% 10%, rgba(255, 255, 255, .16), transparent 60%);
  pointer-events: none;
}
.g-mm2  { background: linear-gradient(140deg, #6d43c9, #9d6bf0 55%, #f9a8d4); }
.g-adopt{ background: linear-gradient(140deg, #8b5cf6, #c4b5fd); }
.g-blade{ background: linear-gradient(140deg, #4c2f96, #7c3aed 60%, #a78bfa); }
.g-more { background: linear-gradient(140deg, #332463, #57409e); }

.ingame-note {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 900px; margin: 40px auto 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(196, 181, 253, .1);
  border: 1px solid rgba(196, 181, 253, .3);
  color: var(--dark-ink);
  font-size: 15px;
}
.ingame-note b { color: #fff; }
.ingame-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .8);
}

/* ---- install ---- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1160px; margin: 0 auto;
}
.step {
  background: rgba(196, 181, 253, .08);
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .22s, background .22s;
}
.step:hover { transform: translateY(-4px); background: rgba(196, 181, 253, .14); }
.step-num {
  font-family: var(--font-display);
  font-size: 34px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; margin-bottom: 8px;
}
.step p { color: #cec3ef; font-size: 14px; margin-bottom: 14px; }
.step p:last-child { margin-bottom: 0; }
.step code {
  background: rgba(28, 19, 56, .8);
  border: 1px solid rgba(196, 181, 253, .3);
  padding: 2px 7px; border-radius: 6px;
  font-size: 12.5px; color: #d8ccff;
}

.ext-card {
  display: flex; align-items: center; gap: 18px;
  max-width: 720px; margin: 40px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(196, 181, 253, .1);
  border: 1px solid rgba(196, 181, 253, .3);
}
.ext-badge {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: .04em;
  box-shadow: 0 10px 22px -8px rgba(124, 58, 237, .8);
}
.ext-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ext-info b { color: #fff; font-size: 16px; }
.ext-info span { color: var(--dark-muted); font-size: 13px; }

/* ---- guides ---- */
.guides-cards { gap: 20px; }
.guide-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s, box-shadow .22s;
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.guide-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: .08em;
  color: var(--brand-deep);
  background: rgba(196, 181, 253, .16);
  border: 1px solid var(--line);
  padding: 3px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.guide-card h3 {
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 8px;
}
.guide-card p { color: var(--muted); font-size: 14.5px; }

/* ---- faq ---- */
.faq-list {
  max-width: 860px; margin: 0 auto;
  display: grid; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px;
  font-weight: 600; font-size: 15.5px;
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.chev {
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .22s;
  margin-right: 4px;
}
.faq-item[open] .chev { transform: rotate(225deg); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { color: var(--muted); font-size: 14.5px; }
.faq-body code {
  background: rgba(196, 181, 253, .14);
  border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px;
  font-size: 13px; color: var(--brand-deep);
}

/* ============ footer ============ */
.footer {
  background: linear-gradient(180deg, #1a1236 0%, #120c28 100%);
  color: var(--dark-ink);
  padding: 44px clamp(18px, 4vw, 48px) 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.footer-brand b { font-family: var(--font-display); font-size: 19px; letter-spacing: .06em; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--dark-muted); }
.footer-links a:hover { color: #fff; }
.footer-note {
  flex-basis: 100%;
  font-size: 12.5px; color: var(--dark-muted);
  border-top: 1px solid rgba(196, 181, 253, .16);
  padding-top: 18px;
}

/* ============ site cursor overlay ============ */
#siteCursor {
  position: fixed; inset: 0;
  z-index: 2147483647;
  pointer-events: none;
}
#siteCursor[hidden] { display: none; }
.site-crosshair {
  position: absolute;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
}
.site-crosshair svg { width: 100%; height: 100%; }
body.site-cursor-on, body.site-cursor-on * { cursor: none !important; }

/* ============ reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ responsive ============ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .works-games { margin-left: 0; }
}
@media (max-width: 560px) {
  .stats { gap: 22px; }
  .ext-card { flex-direction: column; text-align: center; }
  .ingame-note { flex-direction: column; }
  .preview-stage { aspect-ratio: 16 / 12; }
}
