/* ================= TOKENS ================= */
:root {
  --ink: #0a0420;
  --night: #0d0638;
  --cyan: #2fe6ff;
  --blue: #1e6bff;
  --purple: #8a4dff;
  --pink: #ff3fd0;
  --lime: #9dff3f;
  --yellow: #ffe14d;
  --red: #ff3b4e;
  --green: #39ff88;

  --f-arcade: "Bungee", "Impact", sans-serif;
  --f-pixel: "Press Start 2P", ui-monospace, monospace;
  --f-body: "Inter", system-ui, sans-serif;

  --logo-grad: linear-gradient(180deg, #ffffff 0%, #f1e6ff 10%, #c38bff 24%, #8a5cff 44%, #4b7bff 62%, #2fd2ff 82%, #9dfff2 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  min-width: 1280px;
  margin: 0;
  font-family: var(--f-body);
  color: #fff;
  background: var(--night);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

p,
h1,
h2,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.pink { color: var(--pink); }
.lime { color: var(--lime); }
.dim { opacity: 0.6; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= 3D ARCADE TEXT ================= */
/* back layer = dark extrusion, ::after = gradient face with chrome edge */
.logo3d span,
.sec-title span {
  position: relative;
  display: inline-block;
  font-family: var(--f-arcade);
  font-weight: 400;
  color: #1a0a52;
  text-shadow:
    -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink),
    2px 5px 0 var(--ink), 3px 7px 0 #2b1178, 4px 9px 0 #2b1178, 5px 11px 0 #2b1178, 6px 13px 0 #2b1178,
    7px 15px 0 var(--ink), 8px 17px 0 var(--ink), 10px 22px 20px rgba(0, 0, 0, 0.45);
}

.logo3d span::after,
.sec-title span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--logo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
  text-shadow: none;
}

.sec-title {
  position: relative;
  z-index: 2;
  margin: 0 0 56px;
  font-size: 64px;
  line-height: 1;
  text-align: center;
}

.sec-sub {
  position: relative;
  z-index: 2;
  margin: -30px 0 40px;
  font-family: var(--f-pixel);
  font-size: 13px;
  text-align: center;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--ink);
}

/* ================= BUTTONS ================= */
.pxbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: var(--f-pixel);
  font-size: 11px;
  line-height: 1;
  color: var(--ink);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.08s, box-shadow 0.08s;
}

.pxbtn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.pxbtn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #000; }
.pxbtn-lime { background: var(--lime); }
.pxbtn-red { color: #fff; background: var(--red); }
.pxbtn-dark { color: #fff; background: #2a1270; }
.pxbtn-icon { width: 42px; height: 42px; padding: 0; }
.pxbtn-icon svg { width: 18px; height: 18px; }

/* chunky arcade button */
.abtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  font-family: var(--f-arcade);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 10px 0 var(--ink), inset 0 -6px 0 rgba(0, 0, 0, 0.22), inset 0 6px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}

.abtn:hover { transform: translateY(4px); box-shadow: 0 6px 0 var(--ink), inset 0 -6px 0 rgba(0, 0, 0, 0.22), inset 0 6px 0 rgba(255, 255, 255, 0.45); filter: brightness(1.08); }
.abtn:active { transform: translateY(10px); box-shadow: 0 0 0 var(--ink), inset 0 -4px 0 rgba(0, 0, 0, 0.22); }
.abtn-cyan { background: linear-gradient(180deg, #9ff6ff, var(--cyan)); }
.abtn-pink { color: #fff; background: linear-gradient(180deg, #ff8be6, var(--pink)); text-shadow: 2px 2px 0 var(--ink); }
.abtn-lime { background: linear-gradient(180deg, #dcff9e, var(--lime)); }
.abtn-red { color: #fff; background: linear-gradient(180deg, #ff8591, var(--red)); text-shadow: 2px 2px 0 var(--ink); }

/* ================= CRT SCREEN ================= */
.crt {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0d1d44, #02050f 80%);
  border: 10px solid #05020f;
  border-radius: 28px;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.9), 0 0 0 4px #4b2bb0;
}

.crt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 30% 10%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.55));
  animation: crt-flicker 6s steps(1) infinite;
}

@keyframes crt-flicker {
  0%, 100% { opacity: 1; }
  48% { opacity: 0.85; }
  50% { opacity: 1; }
  92% { opacity: 0.9; }
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
  padding: 0 28px;
  background: rgba(10, 4, 32, 0.92);
  border-bottom: 4px solid #000;
  box-shadow: 0 4px 0 rgba(138, 77, 255, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-pixel);
  font-size: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 3px solid #fff;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #b9b2e6;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* ================= 1. HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 820px;
  max-height: 1000px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c55d6 0%, #1e8bff 35%, #48c9ff 70%, #a8ecff 100%);
}

.hero-bg > * {
  position: absolute;
  pointer-events: none;
}

.speed {
  left: 50%;
  top: 46%;
  width: 2600px;
  height: 2600px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.55) 0 1deg, transparent 1deg 5deg, rgba(8, 30, 120, 0.4) 5deg 5.6deg, transparent 5.6deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 12%, #000 34%);
  mask: radial-gradient(circle, transparent 12%, #000 34%);
  transform: translate(-50%, -50%);
  animation: spin 160s linear infinite;
}

.halftone {
  inset: 0;
  background: radial-gradient(circle, rgba(8, 20, 90, 0.5) 2px, transparent 2.6px) 0 0 / 14px 14px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000);
  mask: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000);
}

.bolts {
  inset: 0;
  width: 100%;
  height: 100%;
}

.bolts polyline {
  fill: none;
  stroke: #eafcff;
  stroke-width: 7;
  stroke-linejoin: bevel;
  filter: drop-shadow(0 0 8px var(--cyan)) drop-shadow(0 0 18px #2a7bff);
  animation: zap 3s steps(1) infinite;
}

.bolts polyline:nth-child(2) { animation-delay: 1s; }
.bolts polyline:nth-child(3) { animation-delay: 2s; }

@keyframes zap {
  0%, 100% { opacity: 1; }
  8% { opacity: 0.2; }
  12% { opacity: 1; }
  60% { opacity: 0.6; }
}

.burst {
  left: 50%;
  top: 44%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 243, 107, 0.85) 0 7.5deg, rgba(255, 92, 210, 0.6) 7.5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%);
  mask: radial-gradient(circle, #000 18%, transparent 62%);
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite reverse;
}

.cloud {
  width: 220px;
  height: 80px;
  background: #fff;
  border-radius: 60px;
  box-shadow: 70px -36px 0 6px #fff, 150px -10px 0 -4px #fff, -60px 6px 0 -10px #fff;
  filter: drop-shadow(0 8px 0 rgba(90, 150, 230, 0.55));
}

.c1 { left: 6%; bottom: 120px; }
.c2 { left: 36%; bottom: 70px; transform: scale(1.4); }
.c3 { right: 8%; bottom: 140px; transform: scale(1.2); }
.c4 { right: 34%; bottom: 40px; transform: scale(0.9); }

.star {
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px #fff);
  animation: twinkle 1.8s ease-in-out var(--d, 0s) infinite;
}

@keyframes twinkle {
  50% { transform: scale(0.4) rotate(45deg); opacity: 0.5; }
}

.hcard {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 220px;
  padding: 8px 8px 0;
  background: #fff;
  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(10, 4, 32, 0.55);
  transform: rotate(var(--r));
  animation: bob 4.2s ease-in-out var(--d) infinite;
}

.hcard.sm {
  width: 170px;
}

.hcard figcaption {
  padding: 9px 0 8px;
  font-family: var(--f-pixel);
  font-size: 10px;
  text-align: center;
  color: var(--ink);
}

.hero-center {
  position: relative;
  z-index: 5;
  width: 900px;
  margin: 0 auto;
  padding-top: 110px;
  text-align: center;
}

.insert-coin {
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--ink);
  animation: blink 1.2s steps(1) infinite;
}

.logo3d {
  margin: 18px 0 30px;
  line-height: 0.92;
  transform: perspective(900px) rotateX(14deg);
}

.logo3d .l1 { font-size: 150px; }
.logo3d .l2 { font-size: 108px; }

.hero-sub {
  display: inline-block;
  padding: 14px 20px;
  font-family: var(--f-pixel);
  font-size: 16px;
  color: #fff;
  background: var(--ink);
  border: 4px solid #fff;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.hero-ticker-tag {
  margin: 22px 0 26px;
  font-family: var(--f-arcade);
  font-size: 40px;
  color: var(--pink);
  text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 5px 7px 0 var(--ink);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  overflow: hidden;
  background: var(--ink);
  border-top: 5px solid var(--yellow);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.ticker-track span {
  padding: 18px 0;
  font-family: var(--f-pixel);
  font-size: 14px;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "■";
  margin: 0 28px;
  color: var(--pink);
}

.ticker-track b { color: var(--yellow); font-weight: 400; }
.ticker-track b.up { color: var(--green); }
.ticker-track b.pink { color: var(--pink); }

/* ================= 2. TERMINAL ================= */
.terminal-sec {
  position: relative;
  padding: 120px 0 150px;
  overflow: hidden;
  background: linear-gradient(180deg, #12052f, #2a0a5e 60%, #3d0d6b);
}

.grid-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 55%;
  background:
    linear-gradient(transparent 0 94%, rgba(255, 63, 208, 0.7) 94%) 0 0 / 100% 60px,
    linear-gradient(90deg, transparent 0 96%, rgba(47, 230, 255, 0.7) 96%) 0 0 / 80px 100%;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask: linear-gradient(transparent, #000 60%);
  mask: linear-gradient(transparent, #000 60%);
}

.cabinet {
  position: relative;
  z-index: 2;
  width: 1120px;
  margin: 0 auto;
  padding: 36px 40px 34px;
  background: linear-gradient(160deg, #3b1499, #1b0752);
  border: 8px solid var(--ink);
  border-radius: 36px 36px 24px 24px;
  box-shadow: 16px 16px 0 var(--ink), 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 6px rgba(255, 255, 255, 0.07);
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 46px 30px 20px;
}

.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 10px;
  border: 3px solid rgba(75, 43, 176, 0.8);
  border-radius: 12px;
  background: rgba(20, 10, 70, 0.4);
}

.counter > b {
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
}

.counter > span:not(.bars):not(.meter) {
  font-family: var(--f-pixel);
  font-size: 11px;
  color: #a7b0e0;
}

.glow-cyan { color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }
.glow-pink { color: var(--pink); text-shadow: 0 0 14px var(--pink); }
.glow-lime { color: var(--lime); text-shadow: 0 0 14px var(--lime); }
.glow-yellow { color: var(--yellow); text-shadow: 0 0 14px var(--yellow); }

.spark {
  width: 140px;
  height: 34px;
  overflow: visible;
}

.spark polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px var(--cyan));
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
}

.bars i {
  width: 9px;
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink);
  animation: bar 0.9s steps(4) infinite alternate;
}

.bars i:nth-child(2n) { animation-delay: -0.3s; }
.bars i:nth-child(3n) { animation-delay: -0.6s; }
.bars i:nth-child(5n) { animation-duration: 0.6s; }

@keyframes bar {
  from { height: 20%; }
  to { height: 100%; }
}

.meter {
  width: 150px;
  height: 18px;
  padding: 2px;
  border: 3px solid var(--lime);
}

.meter i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 13px);
  box-shadow: 0 0 10px rgba(157, 255, 63, 0.6);
  animation: surge 0.8s steps(2) infinite alternate;
}

.screen-note {
  padding: 4px 0 22px;
  font-family: var(--f-pixel);
  font-size: 9px;
  text-align: center;
  color: #6f78ad;
}

.deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 26px 44px 30px;
  background: linear-gradient(180deg, #2a0b6c, #140540);
  border: 6px solid var(--ink);
  border-radius: 22px;
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(900px) rotateX(16deg);
}

.joystick {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 30%, #000 70%);
  border: 5px solid var(--ink);
  box-shadow: inset 0 0 0 8px #333;
}

.joystick i {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 14px;
  height: 70px;
  margin-left: -7px;
  background: linear-gradient(90deg, #555, #ccc, #555);
  transform-origin: bottom center;
  animation: wiggle 2.4s ease-in-out infinite;
}

.joystick i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9aa5, var(--red) 55%, #8a0016);
  border: 4px solid var(--ink);
}

@keyframes surge {
  from { opacity: 0.55; }
}

@keyframes wiggle {
  25% { transform: rotate(-16deg); }
  75% { transform: rotate(14deg); }
}

.deck-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.round-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.round-btn i {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--c1) 30%, var(--c2) 80%);
  border: 5px solid var(--ink);
  box-shadow: 0 10px 0 var(--c3), 0 10px 0 5px var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}

.round-btn span {
  font-family: var(--f-pixel);
  font-size: 10px;
}

.round-btn:hover i,
.round-btn:focus-visible i {
  transform: translateY(7px);
  box-shadow: 0 3px 0 var(--c3), 0 3px 0 5px var(--ink);
}

/* pixel sparks + "sound" lines on hover */
.round-btn::before,
.round-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  pointer-events: none;
  opacity: 0;
}

.round-btn::before {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  box-shadow:
    -50px -40px 0 var(--yellow), 46px -44px 0 #fff, -58px 0 0 var(--c1), 56px 6px 0 var(--yellow),
    -36px 38px 0 #fff, 40px 34px 0 var(--c1), 0 -56px 0 #fff;
}

.round-btn::after {
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.7);
}

.round-btn:hover::before {
  animation: sparks 0.5s steps(3) infinite;
}

.round-btn:hover::after {
  animation: ring 0.6s ease-out infinite;
}

@keyframes sparks {
  0% { opacity: 1; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.3); }
}

@keyframes ring {
  0% { opacity: 0.9; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.2); }
}

.rb-cyan { --c1: var(--cyan); --c2: #0a9fc0; --c3: #066f86; }
.rb-lime { --c1: var(--lime); --c2: #5ec414; --c3: #3c8a07; }
.rb-pink { --c1: var(--pink); --c2: #c4169b; --c3: #8a0c6c; }
.rb-yellow { --c1: var(--yellow); --c2: #e0a800; --c3: #a07700; }
.rb-purple { --c1: #b88bff; --c2: var(--purple); --c3: #4d1fb0; }
.rb-blue { --c1: #6ea8ff; --c2: var(--blue); --c3: #0d3ea8; }

.coin-slot {
  display: grid;
  place-items: center;
  width: 96px;
  height: 116px;
  background: linear-gradient(180deg, #1a1a1a, #000);
  border: 5px solid var(--ink);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px #333;
}

.coin-slot::before {
  content: "";
  width: 10px;
  height: 38px;
  background: var(--red);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--red);
}

.coin-slot i {
  font-family: var(--f-pixel);
  font-style: normal;
  font-size: 7px;
  color: var(--red);
  text-align: center;
  animation: blink 1s steps(1) infinite;
}

/* ================= 3. ABOUT ================= */
.about-sec {
  padding: 120px 0 130px;
  background:
    radial-gradient(circle, rgba(255, 63, 208, 0.4) 2px, transparent 2.6px) 0 0 / 16px 16px,
    linear-gradient(135deg, #ffe14d, #ffb13b);
}

.about-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.side-card {
  width: 250px;
  padding: 10px;
  background: #fff;
  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(var(--r));
}

.info-screen {
  width: 680px;
  padding: 38px 44px 34px;
}

.info-head {
  margin-bottom: 18px;
  font-family: var(--f-pixel);
  font-size: 16px;
  color: var(--cyan);
}

.db > div {
  display: flex;
  gap: 16px;
  padding: 7px 0;
  font-family: var(--f-pixel);
  font-size: 14px;
}

.db dt {
  width: 180px;
  color: #8a93c8;
}

.db dd {
  color: var(--green);
}

.db dd.pink { color: var(--pink); }
.db dd.lime { color: var(--lime); }

.info-desc {
  margin-top: 22px;
  padding-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: #d7e2ff;
  border-top: 2px dashed #2b3a6e;
}

.info-desc b {
  color: var(--yellow);
}

.warning {
  margin-top: 22px;
  font-family: var(--f-pixel);
  font-size: 11px;
  line-height: 1.6;
  color: var(--red);
  animation: blink 1s steps(1) infinite;
}

/* ================= 4. CHARACTER SELECT ================= */
.select-sec {
  padding: 120px 0 130px;
  background: repeating-linear-gradient(-45deg, #140a52 0 34px, #0d0638 34px 68px);
}

.select-wrap {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 44px;
  width: 1180px;
  margin: 0 auto;
}

.preview {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, #2a0e78, #170848);
  border: 6px solid #000;
  box-shadow: 12px 12px 0 #000;
}

.p1-tag {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 2;
  padding: 10px 12px;
  font-family: var(--f-pixel);
  font-size: 16px;
  background: var(--red);
  border: 4px solid #000;
}

.preview-img {
  border: 5px solid #fff;
  box-shadow: 0 0 30px rgba(47, 230, 255, 0.4);
}

.preview-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.preview-img.swap img {
  animation: swap-in 0.25s steps(3);
}

@keyframes swap-in {
  from { transform: scale(1.12); filter: brightness(2); }
}

.pv-name {
  margin: 16px 0 14px;
  font-family: var(--f-arcade);
  font-size: 32px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 #000;
}

.stats > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.stats dt {
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #b9b2e6;
}

.stats dd {
  display: flex;
  gap: 3px;
}

.stats dd i {
  flex: 1;
  height: 16px;
  background: #2c1a6e;
  border: 2px solid #000;
}

.stats dd i.on {
  background: var(--c, var(--lime));
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}

.stats [data-stat="power"] { --c: var(--lime); }
.stats [data-stat="chaos"] { --c: var(--pink); }
.stats [data-stat="viral"] { --c: var(--cyan); }
.stats [data-stat="iq"] { --c: var(--yellow); }

.pv-hint {
  margin-top: 16px;
  font-family: var(--f-pixel);
  font-size: 9px;
  text-align: center;
  color: #8a83c0;
  animation: blink 1.4s steps(1) infinite;
}

.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-content: start;
}

.portrait {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: #1a0b4d;
  border: 6px solid #000;
  box-shadow: 8px 8px 0 #000;
  transition: transform 0.12s steps(2), border-color 0.1s;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 4px;
  font-family: var(--f-pixel);
  font-size: 9px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
}

.portrait:hover,
.portrait.active {
  z-index: 2;
  border-color: var(--yellow);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 8px 8px 0 #000, 0 0 0 4px var(--red), 0 0 30px var(--yellow);
}

.portrait.locked {
  display: grid;
  place-items: center;
  cursor: not-allowed;
  background: repeating-linear-gradient(45deg, #1a0b4d 0 10px, #120838 10px 20px);
}

.portrait.locked b {
  font-family: var(--f-arcade);
  font-size: 60px;
  color: #3c2a8a;
}

.portrait.locked:hover {
  transform: none;
  border-color: #000;
  box-shadow: 8px 8px 0 #000;
}

/* ================= 5. HOW TO PLAY ================= */
.play-sec {
  padding: 120px 0 130px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 2px, transparent 2.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, #48c9ff, #1e6bff);
}

.stages {
  width: 1020px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
  padding: 26px 30px;
  color: var(--ink);
  background: #fff;
  border: 6px solid var(--ink);
  border-radius: 18px;
  box-shadow: 12px 12px 0 var(--ink);
}

.stage-label span {
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--pink);
}

.stage-label b {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--f-arcade);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
}

.stage-label p {
  font-size: 16px;
  line-height: 1.5;
  color: #3b3561;
}

.stage-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(138, 77, 255, 0.35) 1.5px, transparent 2px) 0 0 / 12px 12px,
    var(--ink);
  border-radius: 12px;
}

.px-wallet {
  width: 150px;
  image-rendering: pixelated;
  filter: drop-shadow(6px 6px 0 #000);
  animation: hop 1.2s steps(2) infinite;
}

.px-wallet.small {
  width: 110px;
  margin-top: 40px;
  animation: none;
}

@keyframes hop {
  50% { transform: translateY(-8px); }
}

.sol-coin {
  position: absolute;
  top: -40px;
  left: calc(50% + var(--x) - 17px);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(transparent 28%, #000 28% 32%, transparent 32% 48%, #000 48% 52%, transparent 52% 68%, #000 68% 72%, transparent 72%),
    linear-gradient(135deg, #14f195, #9945ff);
  border: 4px solid #000;
  animation: drop 1.5s ease-in var(--d) infinite;
}

@keyframes drop {
  0% { transform: translate(0, 0); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(calc(var(--x) * -1), 140px) scale(0.5); opacity: 0; }
}

.code-input {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  padding: 18px 20px;
  font-family: var(--f-pixel);
  color: var(--lime);
  text-align: left;
  background: #000;
  border: 4px solid var(--lime);
  box-shadow: 0 0 20px rgba(157, 255, 63, 0.35);
}

.ci-label {
  flex: none;
  font-size: 10px;
  color: #6f9a3c;
}

.code-input code {
  min-width: 0;
  overflow: hidden;
  font-family: var(--f-pixel);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caret {
  animation: blink 0.8s steps(1) infinite;
}

.code-input:hover {
  background: #0c1a00;
}

.big-red {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb3bb, var(--red) 50%, #9a0018);
  border: 8px solid #000;
  box-shadow: 0 14px 0 #6a0010, 0 14px 0 8px #000;
  transition: transform 0.08s, box-shadow 0.08s;
}

.big-red span {
  font-family: var(--f-arcade);
  font-size: 28px;
  color: #fff;
  text-shadow: 3px 3px 0 #000;
}

.big-red:hover { transform: translateY(6px); box-shadow: 0 8px 0 #6a0010, 0 8px 0 8px #000; }
.big-red:active { transform: translateY(14px); box-shadow: 0 0 0 #6a0010, 0 0 0 8px #000; }

.stage-arrow {
  padding: 18px 0;
  font-family: var(--f-pixel);
  font-size: 30px;
  text-align: center;
  color: #fff;
  text-shadow: 4px 4px 0 var(--ink);
  animation: hop 0.9s steps(2) infinite;
}

.stage-clear {
  padding: 40px;
  text-align: center;
  background: var(--ink);
  border: 6px solid var(--yellow);
  border-radius: 18px;
  box-shadow: 12px 12px 0 #000, 0 0 50px rgba(255, 225, 77, 0.4);
}

.clear-title {
  font-family: var(--f-arcade);
  font-size: 70px;
  line-height: 1;
  background: linear-gradient(90deg, var(--yellow), var(--pink), var(--cyan), var(--lime), var(--yellow));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
  to { background-position: 200% 0; }
}

.clear-sub {
  margin: 18px 0 22px;
  font-family: var(--f-pixel);
  font-size: 16px;
}

.clear-score {
  font-family: var(--f-pixel);
  font-size: 30px;
  color: var(--lime);
  text-shadow: 0 0 14px var(--lime);
}

.clear-score b {
  font-weight: 400;
}

/* ================= 6. CHEAT CODE ================= */
.cheat-sec {
  padding: 110px 0;
  background:
    radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(2px 2px at 70% 20%, #fff, transparent),
    radial-gradient(2px 2px at 40% 80%, #fff, transparent),
    radial-gradient(2px 2px at 85% 65%, #fff, transparent),
    #000;
  background-size: 300px 300px, 300px 300px, 300px 300px, 300px 300px, auto;
}

.cheat-box {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 50px 40px 44px;
  text-align: center;
  border: 6px solid var(--yellow);
  box-shadow: 0 0 0 6px #000, 0 0 0 12px var(--pink), 0 0 60px rgba(255, 63, 208, 0.35);
}

.cheat-title {
  font-family: var(--f-pixel);
  font-size: 30px;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--pink);
}

.konami {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 34px 0;
}

.konami span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 34px;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--purple);
}

.konami b {
  margin-left: 14px;
  font-family: var(--f-arcade);
  font-weight: 400;
  font-size: 54px;
  color: var(--pink);
  text-shadow: 4px 4px 0 #fff;
}

.cheat-ca {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border: 4px solid var(--lime);
}

.cheat-ca span {
  display: grid;
  place-items: center;
  padding: 0 16px;
  font-family: var(--f-pixel);
  font-size: 13px;
  color: #000;
  background: var(--lime);
}

.cheat-ca code {
  padding: 16px 18px;
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--lime);
  white-space: nowrap;
}

.cheat-btn {
  display: flex;
  margin: 30px auto 0;
  width: max-content;
}

.cheat-hint {
  margin-top: 26px;
  font-family: var(--f-pixel);
  font-size: 9px;
  color: #6c6c8a;
}

.cheat-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  font-family: var(--f-arcade);
  font-size: 66px;
  line-height: 1.1;
  color: var(--lime);
  text-shadow: -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000, 4px 4px 0 #000, 0 0 30px var(--lime);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
}

.cheat-flash b {
  font-weight: 400;
  color: var(--yellow);
}

.cheat-flash.show {
  animation: flash-pop 1.6s ease-out;
}

@keyframes flash-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(-8deg); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(-4deg); }
  25% { transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(1) rotate(-4deg); }
}

.px-coin {
  position: fixed;
  z-index: 300;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border: 3px solid #000;
  box-shadow: inset -4px -4px 0 #d09a00;
  pointer-events: none;
  animation: coin-fly 0.9s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}

@keyframes coin-fly {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); opacity: 0; }
}

/* ================= 7. GLOBAL MEME INDEX ================= */
.market-sec {
  padding: 120px 0 130px;
  background: linear-gradient(180deg, #2a0a5e, #0d0638);
}

.board {
  width: 1000px;
  margin: 0 auto;
  padding: 28px 36px 26px;
  font-family: var(--f-pixel);
  background: #050505;
  border: 12px solid #232323;
  border-radius: 14px;
  outline: 6px solid #000;
  box-shadow: 16px 16px 0 #000, inset 0 0 40px rgba(255, 176, 0, 0.08);
}

.board-head,
.board-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}

.board-head {
  padding-bottom: 14px;
  font-size: 11px;
  color: #777;
  border-bottom: 3px solid #222;
}

.board-row {
  padding: 16px 0;
  font-size: 18px;
  color: #ffb000;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.6);
  border-bottom: 2px dashed #1e1e1e;
}

.board-row .st {
  color: var(--green);
  text-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
}

.board-row .lv.max {
  color: var(--pink);
  text-shadow: 0 0 8px rgba(255, 63, 208, 0.6);
}

.board-row .lv.tick {
  animation: tick 0.3s steps(1);
}

@keyframes tick {
  0% { color: #fff; }
}

.board-total {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  font-size: 14px;
  color: #ffb000;
}

.board-total b {
  font-weight: 400;
  color: var(--green);
}

.total-bar {
  height: 24px;
  padding: 3px;
  border: 3px solid #ffb000;
}

.total-bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, #ffb000 0 12px, transparent 12px 15px);
  animation: fill 2.2s steps(20) infinite;
}

@keyframes fill {
  from { width: 0; }
  70%, to { width: 100%; }
}

.board-note {
  margin-top: 20px;
  font-size: 9px;
  color: #5a5a5a;
}

/* ================= 8. ARCADE GALLERY ================= */
.arcade-sec {
  position: relative;
  padding: 120px 0 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 63, 208, 0.12) 118px 122px),
    linear-gradient(180deg, #1c0648, #3a0c6e 70%, #1c0648);
}

.room {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px;
  padding-bottom: 40px;
}

.machine {
  display: flex;
  flex-direction: column;
  width: 186px;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.6));
  transition: transform 0.15s steps(2);
}

.machine:nth-child(even) {
  margin-bottom: 18px;
}

.m-marquee {
  display: grid;
  place-items: center;
  height: 54px;
  padding: 0 8px;
  font-family: var(--f-pixel);
  font-size: 9px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  background: linear-gradient(180deg, var(--mc), color-mix(in srgb, var(--mc) 55%, #000));
  border: 5px solid #000;
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.4), 0 0 24px var(--mc);
}

.m-body {
  display: block;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, #3a1a8a, #1e0a50);
  border: 5px solid #000;
  border-top: 0;
}

.m-screen {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border: 6px solid #111;
  border-radius: 10px;
}

.m-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2);
}

.m-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0 2px, transparent 2px 4px);
}

.m-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 36px;
  margin-top: 12px;
  background: #120430;
  border: 3px solid #000;
}

.m-panel i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c, var(--red));
  border: 2px solid #000;
}

.m-panel i:nth-child(2) { --c: var(--yellow); }
.m-panel i:nth-child(3) { --c: var(--cyan); }

.m-base {
  display: grid;
  place-items: center;
  height: 120px;
  background: linear-gradient(180deg, #2a0e6e, #140540);
  border: 5px solid #000;
  border-top: 0;
}

.m-base::before {
  content: "";
  width: 34px;
  height: 46px;
  background: linear-gradient(90deg, transparent 13px, var(--red) 13px 19px, transparent 19px), #111;
  border: 3px solid #000;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 59, 78, 0.5);
}

.machine:hover {
  transform: translateY(-14px);
}

.machine:hover .m-screen {
  box-shadow: 0 0 24px var(--mc);
}

.room-floor {
  display: block;
  height: 120px;
  background:
    repeating-conic-gradient(#2b0e66 0 25%, #170642 0 50%) 0 0 / 60px 60px;
  transform: perspective(300px) rotateX(50deg);
  transform-origin: top;
  margin-top: -20px;
}

/* ================= 9. ROADMAP ================= */
.world-sec {
  padding: 120px 0 150px;
  background: linear-gradient(180deg, #0c55d6, #1e8bff);
}

.world {
  position: relative;
  width: 1200px;
  height: 560px;
  margin: 0 auto;
  border: 8px solid var(--ink);
  border-radius: 22px;
  box-shadow: 14px 14px 0 var(--ink);
}

.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.trail {
  animation: march 1.5s linear infinite;
}

@keyframes march {
  to { stroke-dashoffset: -44; }
}

.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 200px;
  padding: 10px 14px 12px;
  color: var(--ink);
  background: #fff;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  transform: translate(-50%, 34px);
}

.node.up {
  transform: translate(-50%, calc(-100% - 34px));
}

.node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 4px;
  height: 30px;
  margin-left: -2px;
  background: #000;
}

.node.up::before {
  top: auto;
  bottom: -34px;
}

.node b {
  display: inline-block;
  padding: 4px 6px;
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 10px;
  color: var(--yellow);
  background: #000;
}

.node-name {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--f-arcade);
  font-size: 18px;
  line-height: 1.1;
}

.node ul {
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #3b3561;
}

.node.final {
  background: var(--yellow);
}

.mascot {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff, 4px 6px 0 4px #000;
  object-fit: cover;
  transition: left 0.15s linear, top 0.15s linear;
}

/* ================= 10. FINAL BOSS ================= */
.boss-sec {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #3a0010, #050008 70%);
}

.hazard,
.boss-sec::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  background: repeating-linear-gradient(-45deg, #ffd000 0 24px, #000 24px 48px);
}

.hazard { top: 0; }
.boss-sec::after { bottom: 0; }

.boss-warning {
  font-family: var(--f-arcade);
  font-size: 130px;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 30px var(--red), 6px 6px 0 #000;
  animation: alarm 0.8s steps(1) infinite;
}

@keyframes alarm {
  50% { color: #fff; text-shadow: 0 0 40px var(--red), 6px 6px 0 #000; }
}

.boss-detected {
  margin-top: 16px;
  font-family: var(--f-pixel);
  font-size: 22px;
  animation: blink 1s steps(1) infinite;
}

.boss-figure {
  width: 240px;
  margin: 40px auto 0;
}

.boss-figure img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border: 6px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--red), 0 0 60px var(--red);
  animation: menace 2s ease-in-out infinite;
}

@keyframes menace {
  50% { transform: scale(1.06); box-shadow: 0 0 0 5px var(--red), 0 0 90px var(--red); }
}

.boss-hp {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--f-pixel);
  font-size: 11px;
}

.hp {
  height: 20px;
  padding: 3px;
  border: 3px solid #fff;
}

.hp i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff9a3b);
  animation: blink 1.6s steps(1) infinite;
}

.boss-cab {
  position: relative;
  width: 1120px;
  margin: 50px auto 0;
  padding: 40px;
  background: linear-gradient(180deg, #2a0612, #120208);
  border: 8px solid #000;
  border-radius: 30px;
  box-shadow: 0 0 90px rgba(255, 40, 60, 0.35), 14px 14px 0 #000;
}

.boss-screen {
  height: 580px;
  border-color: #000;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.9), 0 0 0 4px #8a0016;
}

.boss-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.boss-empty {
  display: grid;
  place-content: center;
  gap: 20px;
  height: 100%;
  font-family: var(--f-pixel);
  font-size: 22px;
  color: var(--red);
}

.boss-empty .dim {
  font-size: 12px;
  color: #aaa;
}

.bl {
  position: absolute;
  z-index: 6;
  padding: 9px 14px;
  font-family: var(--f-pixel);
  font-size: 11px;
  background: #000;
  border: 3px solid var(--red);
  box-shadow: 0 0 14px rgba(255, 59, 78, 0.6);
}

.bl-1 { top: -20px; left: 70px; }
.bl-2 { top: -20px; right: 70px; }
.bl-3 { bottom: 72px; left: -30px; }
.bl-4 { bottom: 72px; right: -30px; color: var(--yellow); }

.boss-open {
  margin-top: 30px;
}

/* ================= 11. MEME BATTLE ================= */
.battle-sec {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 50% 55%, rgba(255, 255, 255, 0.18) 0 4deg, transparent 4deg 12deg),
    linear-gradient(135deg, var(--pink), var(--purple));
}

.arena {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.fighter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 340px;
  padding: 14px 14px 18px;
  color: var(--ink);
  background: #fff;
  border: 8px solid var(--ink);
  border-radius: 16px;
  box-shadow: 14px 14px 0 var(--ink);
  transition: transform 0.12s steps(2);
}

.fighter:first-child { transform: rotate(-3deg); }
.fighter:last-child { transform: rotate(3deg); }
.fighter:hover { transform: rotate(0) scale(1.05); }

.fighter img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--ink);
}

.f-name {
  margin-top: 8px;
  font-family: var(--f-arcade);
  font-size: 30px;
}

.f-score {
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--pink);
}

.f-pop {
  position: absolute;
  left: 50%;
  top: 40%;
  font-family: var(--f-arcade);
  font-size: 64px;
  color: var(--lime);
  text-shadow: -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000, 4px 4px 0 #000;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
}

.fighter.won .f-pop {
  animation: pop-up 1.1s ease-out;
}

@keyframes pop-up {
  0% { opacity: 0; transform: translate(-50%, 20px) scale(0.5); }
  20% { opacity: 1; transform: translate(-50%, -20px) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -120px) scale(1); }
}

.fighter.lost {
  filter: grayscale(1) brightness(0.7);
}

.vs {
  font-family: var(--f-arcade);
  font-size: 130px;
  line-height: 1;
  color: var(--yellow);
  text-shadow: -6px -6px 0 var(--ink), 6px -6px 0 var(--ink), -6px 6px 0 var(--ink), 6px 6px 0 var(--ink), 10px 14px 0 var(--ink);
  transform: rotate(-8deg);
  animation: vs-pulse 0.8s ease-in-out infinite;
}

@keyframes vs-pulse {
  50% { transform: rotate(-8deg) scale(1.12); }
}

/* ================= 12. HIGH SCORES ================= */
.scores-sec {
  padding: 120px 0;
  background: #000;
}

.score-screen {
  width: 860px;
  margin: 0 auto;
  padding: 44px 60px 50px;
  text-align: center;
}

.new-high {
  font-family: var(--f-pixel);
  font-size: 24px;
  background: linear-gradient(90deg, var(--yellow), var(--pink), var(--cyan), var(--lime), var(--yellow));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow 1.5s linear infinite;
}

.legends {
  margin: 20px 0 30px;
  font-family: var(--f-arcade);
  font-size: 46px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-pixel);
  font-size: 18px;
  text-align: left;
}

.score-table th {
  padding-bottom: 18px;
  font-weight: 400;
  font-size: 12px;
  color: #777;
}

.score-table td {
  padding: 12px 0;
}

.score-table th:last-child,
.score-table td:last-child {
  text-align: right;
}

.score-table tr:nth-child(2) { color: var(--cyan); }
.score-table tr:nth-child(3) { color: var(--pink); }
.score-table tr:nth-child(4) { color: var(--lime); }

.score-table tr.r1 {
  font-size: 22px;
  color: var(--yellow);
  text-shadow: 0 0 14px var(--yellow);
  animation: blink 1.2s steps(1) infinite;
}

.score-table tr.r5 {
  color: #555;
}

/* ================= 13. CONTINUE ================= */
.continue-sec {
  padding: 140px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, #000, #0a0420 60%, #000);
}

.game-over {
  font-family: var(--f-arcade);
  font-size: 110px;
  line-height: 1;
  color: var(--red);
  text-shadow: 6px 6px 0 #4a0010, 0 0 40px rgba(255, 59, 78, 0.5);
}

.continue {
  margin-top: 30px;
  font-family: var(--f-pixel);
  font-size: 30px;
}

.continue b {
  display: inline-block;
  min-width: 60px;
  font-weight: 400;
  font-size: 56px;
  vertical-align: middle;
  color: var(--yellow);
}

.continue-cta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 44px 0 70px;
}

.footer-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border: 5px solid #fff;
  border-radius: 20px;
}

.footer-name {
  margin-top: 24px;
  font-family: var(--f-pixel);
  font-size: 14px;
}

.footer-copy {
  margin-top: 14px;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #777;
}

.insert-meme {
  margin-top: 40px;
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--yellow);
  animation: blink 1s steps(1) infinite;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lb-cab {
  width: 980px;
  padding: 24px 36px 30px;
  background: linear-gradient(160deg, #3b1499, #1b0752);
  border: 8px solid #000;
  border-radius: 30px;
  box-shadow: 16px 16px 0 #000;
  animation: lb-in 0.25s steps(4);
}

@keyframes lb-in {
  from { transform: scale(0.85); opacity: 0; }
}

.lb-title {
  margin-bottom: 18px;
  font-family: var(--f-arcade);
  font-size: 34px;
  text-align: center;
  color: var(--yellow);
  text-shadow: 4px 4px 0 #000;
}

.lb-screen {
  height: 560px;
  background: #000;
}

.lb-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}

/* ================= TOAST ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 400;
  padding: 14px 20px;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: #000;
  background: var(--lime);
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  opacity: 0;
  transform: translate(-50%, 160%);
  transition: opacity 0.2s, transform 0.2s steps(3);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================================
   v2 ADDITIONS
   ===================================================================== */

/* ---------- boot screen ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #000;
  animation: boot-out 0.4s steps(4) 2.2s forwards; /* auto-hides even without JS */
}

.boot.done {
  animation: boot-out 0.3s steps(3) forwards;
}

@keyframes boot-out {
  to { opacity: 0; visibility: hidden; }
}

.boot img {
  width: 180px;
  height: 180px;
  border: 6px solid #fff;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(47, 230, 255, 0.5);
  animation: boot-pop 0.5s steps(5);
}

@keyframes boot-pop {
  from { transform: scale(0.2); opacity: 0; }
}

.boot-line {
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--cyan);
}

.boot-bar {
  width: 360px;
  height: 26px;
  padding: 4px;
  border: 4px solid #fff;
}

.boot-bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--lime) 0 14px, transparent 14px 18px);
  animation: boot-fill 1.8s steps(18) forwards;
}

@keyframes boot-fill {
  from { width: 0; }
  to { width: 100%; }
}

.boot-press {
  font-family: var(--f-pixel);
  font-size: 16px;
  color: var(--yellow);
  opacity: 0;
  animation: blink 0.6s steps(1) 1.8s infinite;
}

/* ---------- nav: active link, progress, sound ---------- */
.nav-links a.active {
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 225, 77, 0.6);
}

.progress {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--lime));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

[data-sound] .snd-on { display: none; }
[data-sound][aria-pressed="true"] .snd-on { display: block; }
[data-sound][aria-pressed="true"] .snd-off { display: none; }
[data-sound][aria-pressed="true"] { background: var(--purple); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

.js .side-card[data-reveal].in {
  transform: rotate(var(--r));
}

/* ---------- hero CA ---------- */
.hero-ca {
  display: inline-flex;
  align-items: stretch;
  max-width: 640px;
  margin: 24px auto 30px;
  padding: 0;
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}

.hc-tag,
.hc-copy {
  display: grid;
  place-items: center;
  padding: 0 16px;
  font-family: var(--f-pixel);
  font-size: 12px;
}

.hc-tag { color: var(--ink); background: var(--yellow); }
.hc-copy { color: #fff; background: var(--pink); }
.hero-ca:hover .hc-copy { background: var(--purple); }

.hero-ca code {
  min-width: 0;
  padding: 14px 18px;
  overflow: hidden;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--lime);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- terminal live feed ---------- */
.feed {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 30px 14px;
  padding: 16px 20px;
  border: 3px dashed rgba(57, 255, 136, 0.45);
  border-radius: 12px;
}

.feed-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  width: 250px;
  font-family: var(--f-pixel);
  font-size: 10px;
  line-height: 1.5;
  color: #8a93c8;
}

.feed-tag i {
  flex: none;
  width: 12px;
  height: 12px;
  background: #555;
}

.feed-tag i.live {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blink 1s steps(1) infinite;
}

.feed-tag b { font-weight: 400; }

.feed-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  flex: 1;
  gap: 12px;
}

.feed-stats dt {
  font-family: var(--f-pixel);
  font-size: 8px;
  color: #6f78ad;
}

.feed-stats dd {
  margin-top: 8px;
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--green);
}

.feed-stats dd.down { color: var(--red); }

/* ---------- character select extras ---------- */
.pv-move {
  min-height: 20px;
  margin: -6px 0 12px;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: var(--cyan);
}

.portrait.chosen::after {
  content: "P1";
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 5px 7px;
  font-family: var(--f-pixel);
  font-size: 10px;
  background: var(--red);
  border: 3px solid #000;
}

.roster-note {
  margin-top: 30px;
  font-family: var(--f-pixel);
  font-size: 10px;
  line-height: 1.8;
  color: #b9b2e6;
}

.roster-note a,
.score-note a,
.faq a {
  color: var(--yellow);
  text-decoration: underline;
}

/* ---------- gallery: bigger cabinets for real artwork ---------- */
.machine {
  width: 200px;
}

.m-screen {
  aspect-ratio: 3 / 2;
}

/* ---------- lightbox extras ---------- */
.lb-cab {
  width: 1100px;
}

.lb-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.lb-top .lb-title {
  margin: 0;
}

.lb-count {
  font-family: var(--f-pixel);
  font-size: 11px;
  color: #b9b2e6;
}

.lb-screen {
  height: 600px;
}

.lb-screen img {
  animation: lb-swap 0.25s steps(3);
}

@keyframes lb-swap {
  from { filter: brightness(2.2) saturate(0); }
}

.lb-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.lb-thumbs button {
  width: 96px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  background: #000;
  border: 4px solid #000;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s;
}

.lb-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumbs button:hover,
.lb-thumbs button.on {
  opacity: 1;
  border-color: var(--yellow);
}

.lb-mid {
  display: flex;
  gap: 14px;
}

/* ---------- 6900 RUSH ---------- */
.game-sec {
  position: relative;
  padding: 120px 0 140px;
  background:
    radial-gradient(2px 2px at 15% 25%, #fff, transparent),
    radial-gradient(2px 2px at 75% 15%, #fff, transparent),
    radial-gradient(2px 2px at 45% 75%, #fff, transparent),
    radial-gradient(ellipse at 50% 0%, rgba(255, 63, 208, 0.25), transparent 60%),
    linear-gradient(180deg, #0a0420, #1b0752);
  background-size: 280px 280px, 280px 280px, 280px 280px, 100% 100%, 100% 100%;
}

.game-cab {
  width: 1060px;
  margin: 0 auto;
  padding: 26px 40px 30px;
  background: linear-gradient(160deg, #ff3fd0, #8a4dff 55%, #2fe6ff);
  border: 8px solid var(--ink);
  border-radius: 34px;
  box-shadow: 16px 16px 0 var(--ink), 0 0 80px rgba(255, 63, 208, 0.3);
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 22px;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: #fff;
  background: var(--ink);
  border: 4px solid #000;
  border-radius: 12px;
}

.game-hud b {
  margin-left: 8px;
  font-weight: 400;
  color: var(--yellow);
}

.hud-x2 {
  padding: 6px 10px;
  color: var(--ink);
  background: var(--lime);
  visibility: hidden;
  animation: blink 0.4s steps(1) infinite;
}

.hud-x2.on {
  visibility: visible;
}

.game-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-color: #000;
}

.game-screen canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: none;
  outline: none;
}

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  background: rgba(5, 2, 20, 0.72);
}

.game-overlay[hidden] {
  display: none;
}

.go-avatar {
  width: 120px;
  height: 120px;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(47, 230, 255, 0.6);
}

.go-title {
  font-family: var(--f-arcade);
  font-size: 54px;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 5px 5px 0 #000;
}

.go-sub {
  font-family: var(--f-pixel);
  font-size: 11px;
  line-height: 1.8;
  color: #d7e2ff;
}

.go-btns {
  display: flex;
  gap: 22px;
  margin-top: 8px;
}

.go-btns [hidden] {
  display: none;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: var(--ink);
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 18px;
  height: 18px;
  border: 3px solid #000;
}

.lg-coin { background: var(--yellow); border-radius: 50%; }
.lg-gem { background: var(--lime); transform: rotate(45deg); }
.lg-candle { background: var(--red); }
.lg-rug { background: repeating-linear-gradient(90deg, #8a4dff 0 4px, #ff3fd0 4px 8px); }

/* ---------- battle standings ---------- */
.standings {
  position: relative;
  width: 760px;
  margin: 56px auto 0;
  padding: 24px 30px;
  color: var(--ink);
  background: #fff;
  border: 6px solid var(--ink);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink);
}

.st-title {
  margin-bottom: 14px;
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--pink);
}

.standings ol {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.standings li {
  display: grid;
  grid-template-columns: 34px 44px 180px 1fr 110px;
  align-items: center;
  gap: 12px;
  font-family: var(--f-pixel);
  font-size: 11px;
}

.standings li img {
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  object-fit: cover;
}

.standings .st-bar {
  height: 16px;
  background: #ece6ff;
  border: 3px solid var(--ink);
}

.standings .st-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transition: width 0.4s steps(6);
}

.standings li b {
  font-weight: 400;
  text-align: right;
}

.st-reset {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 6px 10px;
  font-family: var(--f-pixel);
  font-size: 9px;
  background: #eee;
  border: 3px solid var(--ink);
}

/* ---------- meme maker ---------- */
.maker-sec {
  padding: 120px 0 140px;
  background:
    radial-gradient(circle, rgba(10, 4, 32, 0.25) 2px, transparent 2.6px) 0 0 / 16px 16px,
    linear-gradient(135deg, #2fe6ff, #9dff3f);
}

.maker {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 44px;
  align-items: start;
  width: 1120px;
  margin: 0 auto;
}

.maker-canvas {
  padding: 14px;
  background: var(--ink);
  border: 6px solid var(--ink);
  border-radius: 18px;
  box-shadow: 14px 14px 0 var(--ink);
}

.maker-canvas canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}

.maker-panel {
  display: flex;
  flex-direction: column;
  padding: 30px 34px;
  color: var(--ink);
  background: #fff;
  border: 6px solid var(--ink);
  border-radius: 18px;
  box-shadow: 14px 14px 0 var(--ink);
}

.mk-label {
  margin: 4px 0 14px;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--purple);
}

.mk-label:not(:first-child) {
  margin-top: 22px;
}

.mk-bgs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mk-bgs button {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 10px;
  transition: transform 0.1s;
}

.mk-bgs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-bgs button:hover {
  transform: translateY(-3px);
}

.mk-bgs button.on {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px var(--yellow);
}

.mk-field {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mk-field span {
  font-family: var(--f-pixel);
  font-size: 10px;
}

.mk-field input {
  padding: 12px 14px;
  font-family: var(--f-arcade);
  font-size: 18px;
  text-transform: uppercase;
  background: #f4f0ff;
  border: 4px solid var(--ink);
  border-radius: 10px;
  outline: none;
}

.mk-field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(138, 77, 255, 0.25);
}

.mk-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mk-toggles label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-pixel);
  font-size: 10px;
  cursor: pointer;
}

.mk-toggles input {
  width: 20px;
  height: 20px;
  accent-color: var(--pink);
}

.mk-actions {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 26px;
}

.mk-actions .abtn {
  flex: 1;
  font-size: 18px;
}

/* ---------- tokenomics ---------- */
.tokenomics-sec {
  padding: 120px 0 130px;
  background: linear-gradient(180deg, #0d0638, #2a0a5e);
}

.powerups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 1120px;
  margin: 0 auto;
}

.pu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: linear-gradient(160deg, #2a0e78, #170848);
  border: 5px solid #000;
  border-radius: 16px;
  box-shadow: 10px 10px 0 #000, inset 0 0 0 3px rgba(255, 255, 255, 0.06);
  transition: transform 0.12s steps(2);
}

.pu:hover {
  transform: translateY(-6px);
}

.pu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 70px;
  height: 70px;
  font-family: var(--f-arcade);
  font-size: 30px;
  color: var(--ink);
  background: var(--pc);
  border: 4px solid #000;
  border-radius: 14px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.2), inset 0 6px 0 rgba(255, 255, 255, 0.4);
}

.pu dt {
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #b9b2e6;
}

.pu dd {
  margin-top: 10px;
  font-family: var(--f-arcade);
  font-size: 26px;
  color: var(--pc);
  text-shadow: 3px 3px 0 #000;
}

.pu-note {
  grid-column: 1 / -1;
  font-family: var(--f-pixel);
  font-size: 9px;
  text-align: center;
  color: #6f78ad;
}

/* ---------- high scores ---------- */
.score-table tr.you {
  color: var(--lime);
  text-shadow: 0 0 12px var(--lime);
}

.score-note {
  margin-top: 26px;
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #8a93c8;
}

/* ---------- FAQ ---------- */
.faq-sec {
  padding: 120px 0 130px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, #8a4dff, #1e6bff);
}

.faq {
  display: grid;
  gap: 18px;
  width: 900px;
  margin: 0 auto;
}

.faq details {
  color: var(--ink);
  background: #fff;
  border: 5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--ink);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--f-arcade);
  font-size: 20px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--f-pixel);
  font-size: 16px;
  color: #fff;
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 8px;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--purple);
}

.faq details p {
  padding: 0 26px 24px;
  font-size: 17px;
  line-height: 1.65;
  color: #3b3561;
}

.faq a {
  color: var(--purple);
}

/* ---------- footer disclaimer ---------- */
.disclaimer {
  max-width: 760px;
  margin: 50px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6c6c8a;
}
