/* VIBE interactive pitch — brand styles */
:root {
  --bg: #070d1a;
  --bg-2: #0b1326;
  --card: #101a30;
  --card-2: #15203a;
  --line: rgba(148, 168, 205, 0.16);
  --ink: #f4f7fd;
  --muted: #93a0b8;
  --faint: #5d6b85;
  --pink: #f584ee;
  --magenta: #ff2da8;
  --cyan: #26c9f2;
  --blue: #2b5bff;
  --green: #6fe3a5;
  --font: "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
#root { height: 100%; }

.stage {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(43, 91, 255, 0.22), transparent 65%),
    radial-gradient(700px 500px at -10% 110%, rgba(245, 132, 238, 0.13), transparent 65%),
    var(--bg);
}

/* ---- progress ---- */
.progress-rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(148, 168, 205, 0.12);
  z-index: 30;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border-radius: 0 99px 99px 0;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- chrome ---- */
.chrome-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 0 22px;
  z-index: 20;
  pointer-events: none;
}
.chrome-top > * { pointer-events: auto; }
.wordmark {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--ink);
  user-select: none;
}
.wordmark .dot { color: var(--pink); }
.chrome-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chrome-login {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  background: rgba(16, 26, 48, 0.6);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 14px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chrome-login:hover {
  color: var(--ink);
  border-color: rgba(245, 132, 238, 0.5);
  background: rgba(245, 132, 238, 0.08);
}
.chrome-step-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* ---- step layout ---- */
.step-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 92px 24px 140px 24px;
  animation: stepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.step.going-back { animation-name: stepInBack; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stepInBack {
  from { opacity: 0; transform: translateY(-36px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .step, .step.going-back { animation: none; }
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.kicker.pink { color: var(--pink); }
h1.q {
  font-size: clamp(28px, 6.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: pretty;
}
h1.q .hl { color: var(--pink); }
h1.q .hl-cyan { color: var(--cyan); }
.sub {
  margin-top: 14px;
  font-size: clamp(15px, 2.6vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
  max-width: 56ch;
}
.sub strong { color: var(--ink); font-weight: 700; }
.sub .hl { color: var(--pink); font-weight: 700; }

/* ---- options ---- */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  min-height: 54px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.opt:hover { border-color: rgba(245, 132, 238, 0.55); background: var(--card-2); }
.opt:active { transform: scale(0.985); }
.opt.selected {
  border-color: var(--pink);
  background: linear-gradient(0deg, rgba(245, 132, 238, 0.1), rgba(245, 132, 238, 0.1)), var(--card);
  box-shadow: 0 0 0 1px var(--pink) inset;
}
.opt .key {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 13, 26, 0.6);
}
.opt.selected .key { color: var(--bg); background: var(--pink); border-color: var(--pink); }
.opt .check { margin-left: auto; color: var(--pink); font-weight: 800; opacity: 0; }
.opt.selected .check { opacity: 1; }

/* ---- text & number inputs ---- */
.big-input {
  width: 100%;
  margin-top: 28px;
  font-family: var(--font);
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(148, 168, 205, 0.35);
  padding: 8px 2px 12px 2px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  caret-color: var(--pink);
}
.big-input:focus { border-color: var(--pink); }
.big-input::placeholder { color: var(--faint); font-weight: 600; }
.input-hint { margin-top: 12px; font-size: 13.5px; color: var(--faint); font-weight: 500; }

.code-input { letter-spacing: 0.14em; }

.mini-input {
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(7, 13, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
}
.mini-input:focus { border-color: var(--pink); }

/* ---- buttons / footer bar ---- */
.action-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)) 22px;
  background: linear-gradient(180deg, rgba(7, 13, 26, 0), rgba(7, 13, 26, 0.88) 45%);
  z-index: 20;
}
.btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4a3dff 60%, #7b2dff);
  border: none;
  border-radius: 14px;
  padding: 15px 26px;
  min-height: 54px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.12s, box-shadow 0.2s, opacity 0.15s;
  box-shadow: 0 8px 28px rgba(43, 91, 255, 0.35);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(43, 91, 255, 0.45); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; transform: none; }
.btn.pink {
  background: linear-gradient(135deg, var(--magenta), #ff5ec7);
  box-shadow: 0 8px 28px rgba(255, 45, 168, 0.4);
}
.btn.ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}
.btn.ghost:hover { color: var(--ink); border-color: rgba(148, 168, 205, 0.4); }
.enter-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--faint);
  user-select: none;
}
.enter-hint kbd {
  font-family: var(--font);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  margin: 0 2px;
  background: rgba(16, 26, 48, 0.8);
}
.nav-arrows { display: flex; gap: 6px; }
.nav-arrow {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.nav-arrow:hover:not(:disabled) { color: var(--ink); border-color: rgba(148, 168, 205, 0.45); }
.nav-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.admin-login {
  position: fixed;
  inset: 0;
  /* Above the body-portaled bonus video layer (.video-layer = 60) and other
     content modals; below the explicit fullscreen video overlay (9999). */
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(16px) saturate(1.1);
  animation: adminFadeIn 0.25s ease both;
}
@keyframes adminFadeIn { from { opacity: 0; } to { opacity: 1; } }
.admin-login-box {
  width: min(92vw, 400px);
  background:
    radial-gradient(320px 160px at 50% -20%, rgba(245, 132, 238, 0.10), transparent 70%),
    rgba(13, 21, 40, 0.97);
  border: 1px solid rgba(148, 168, 205, 0.22);
  border-radius: 18px;
  padding: 26px 26px 24px 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 132, 238, 0.06);
  animation: adminBoxIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes adminBoxIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.admin-login-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}
.admin-login-title {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.admin-login-sub {
  margin: 6px 0 16px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.admin-login-input {
  width: 100%;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(7, 13, 26, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-login-input::placeholder { color: var(--faint); letter-spacing: 0.02em; }
.admin-login-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(245, 132, 238, 0.14);
}
.admin-login-error {
  margin-top: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ff7a9c;
  background: rgba(244, 103, 125, 0.08);
  border: 1px solid rgba(244, 103, 125, 0.4);
  border-radius: 10px;
}
.admin-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.admin-login-actions .btn { white-space: nowrap; }
.admin-login-actions .btn.pink { flex: 1; }

.security-confirm {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 16, 0.76);
  backdrop-filter: blur(16px) saturate(1.1);
  animation: adminFadeIn 0.25s ease both;
}
.security-confirm-box {
  width: min(92vw, 420px);
  background:
    radial-gradient(340px 170px at 50% -20%, rgba(245, 132, 238, 0.13), transparent 70%),
    rgba(13, 21, 40, 0.98);
  border: 1px solid rgba(245, 132, 238, 0.26);
  border-radius: 18px;
  padding: 26px 26px 24px 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(245, 132, 238, 0.08);
  animation: adminBoxIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.security-confirm-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffce73;
}
.security-confirm-title {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.security-confirm-sub {
  margin: 8px 0 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.security-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.security-confirm-actions .btn { white-space: nowrap; }
.security-confirm-actions .btn.pink { flex: 1; }

/* ---- stats & proof ---- */
.mega-number {
  font-size: clamp(54px, 13vw, 110px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
  margin: 18px 0 6px 0;
  text-shadow: 0 0 60px rgba(245, 132, 238, 0.35);
}
.mega-number.cyan { color: var(--cyan); text-shadow: 0 0 60px rgba(38, 201, 242, 0.3); }
.mega-label { font-size: clamp(16px, 3vw, 20px); font-weight: 700; color: var(--ink); }

.source-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 13px;
  background: rgba(16, 26, 48, 0.6);
  transition: color 0.15s, border-color 0.15s;
}
.source-chip:hover { color: var(--cyan); border-color: rgba(38, 201, 242, 0.5); }
.source-chip .dot-ind {
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(111, 227, 165, 0.8);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.stat-card {
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px 18px;
}
.stat-card .v {
  font-size: clamp(26px, 5.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.stat-card .v.cyan { color: var(--cyan); }
.stat-card .l { margin-top: 5px; font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }

/* ---- perps vs spot multiple ---- */
.x-compare { margin-top: 24px; }
.x-row {
  display: grid;
  grid-template-columns: 52px 1fr 56px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.x-lab { font-size: 13px; font-weight: 700; color: var(--muted); text-align: right; }
.x-bar {
  height: 26px;
  border-radius: 8px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.x-bar.spot { background: rgba(43, 91, 255, 0.4); border: 1px solid rgba(43, 91, 255, 0.5); }
.x-bar.you {
  background: rgba(38, 201, 242, 0.45);
  border: 1px solid rgba(38, 201, 242, 0.6);
}
.x-val.hl-cyan { color: var(--cyan); }
.x-bar.perp {
  background: linear-gradient(90deg, var(--magenta), var(--pink));
  box-shadow: 0 0 24px rgba(255, 45, 168, 0.35);
}
.x-val { font-size: 14px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.x-val.hl-pink { color: var(--pink); }
.x-note { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.x-note strong { color: var(--ink); }

/* ---- split bar (50% low caps) ---- */
.split-bar {
  display: flex;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
}
.split-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-seg.majors { background: rgba(43, 91, 255, 0.35); color: #b9c8ff; }
.split-seg.lowcaps { background: linear-gradient(135deg, var(--magenta), var(--pink)); color: #2a0420; }
.split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---- scale reveal (variant B) ---- */
.scale-track {
  position: relative;
  height: 120px;
  margin-top: 44px;
}
.scale-line {
  position: absolute;
  left: 0; right: 0; top: 70px;
  height: 2px;
  background: rgba(148, 168, 205, 0.25);
}
.scale-tick {
  position: absolute;
  top: 78px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.scale-marker {
  position: absolute;
  top: 70px;
  transform: translate(-50%, -50%);
}
.scale-marker .pin {
  width: 14px; height: 14px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(38, 201, 242, 0.8);
  margin: 0 auto;
}
.scale-marker .lab {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
}
.scale-marker.actual .pin {
  width: 30px; height: 30px;
  background: var(--pink);
  box-shadow: 0 0 40px rgba(245, 132, 238, 0.9), 0 0 80px rgba(255, 45, 168, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
.scale-marker.actual .lab { color: var(--pink); font-size: 14px; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ---- chart reveal (the hook) ---- */
.chart-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px 0;
}
.chart-counter .cc-lab { white-space: nowrap; }
.chart-counter .cc-num {
  font-size: clamp(34px, 8vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 50px rgba(245, 132, 238, 0.35);
  line-height: 1;
}
.chart-counter .cc-lab { font-size: 15px; font-weight: 700; color: var(--muted); }
.chart-counter .cc-skip {
  margin-left: auto;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--faint);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  cursor: pointer;
}
.chart-counter .cc-skip:hover { color: var(--ink); }
.chart-frame {
  background: rgba(10, 17, 33, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px 10px 12px;
  cursor: pointer;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 4px 4px 4px;
}
.cl-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.cl-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ---- sound callout on demo step ---- */
.sound-callout {
  display: inline-block;
  animation: soundPulse 1.6s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(245, 132, 238, 0.55);
}
@keyframes soundPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-callout { animation: none; }
}

/* ---- video ---- */
.video-shell {
  position: relative;
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
}
.video-shell video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-shell:fullscreen { aspect-ratio: auto; border-radius: 0; border: none; background: #000; }
.video-shell:-webkit-full-screen { border-radius: 0; border: none; background: #000; }
.video-shell.fake-full {
  position: fixed;
  inset: 0;
  z-index: 100;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
  background: #000;
}
.fake-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 101;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(16, 26, 48, 0.85);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 16px;
  cursor: pointer;
}
.fake-close:hover { border-color: rgba(148, 168, 205, 0.5); }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(-45deg, rgba(148, 168, 205, 0.05) 0 14px, transparent 14px 28px),
    radial-gradient(500px 300px at 50% 20%, rgba(43, 91, 255, 0.2), transparent 70%),
    var(--bg-2);
}
.video-placeholder .play-ring {
  width: 72px; height: 72px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--magenta), #ff5ec7);
  box-shadow: 0 8px 40px rgba(255, 45, 168, 0.5);
  font-size: 26px;
  color: #fff;
  padding-left: 5px;
}
.video-placeholder .ph-note {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--faint);
}

/* ---- referral / earn cards ---- */
.earn-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.earn-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.earn-card .num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  background: var(--bg);
  color: var(--pink);
  border: 1px solid rgba(245, 132, 238, 0.4);
}
.earn-card h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.earn-card p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.earn-card p strong { color: var(--pink); font-weight: 700; }

/* ---- calculator ---- */
.calc-panel {
  margin-top: 28px;
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.calc-row { margin-bottom: 22px; }
.calc-row:last-child { margin-bottom: 0; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.calc-label .val { color: var(--cyan); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="range"].vibe-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  outline: none;
  cursor: pointer;
}
input[type="range"].vibe-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 99px;
  background: #fff;
  border: 3px solid var(--pink);
  box-shadow: 0 2px 12px rgba(245, 132, 238, 0.6);
  cursor: grab;
}
input[type="range"].vibe-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 99px;
  background: #fff;
  border: 3px solid var(--pink);
  box-shadow: 0 2px 12px rgba(245, 132, 238, 0.6);
  cursor: grab;
}
.calc-output {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.calc-output .big {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(245, 132, 238, 0.3);
}
.calc-output .per { font-size: 14px; font-weight: 700; color: var(--muted); padding-bottom: 6px; }
.calc-breakdown { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.calc-breakdown .row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.calc-breakdown .row span:last-child { color: var(--ink); }
.calc-assumptions { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--faint); }
.boost-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.boost-btn {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  background: rgba(7, 13, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 15px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.1s;
}
.boost-btn:hover { color: var(--ink); border-color: rgba(245, 132, 238, 0.5); }
.boost-btn:active { transform: scale(0.97); }
.boost-btn.active {
  color: #2a0420;
  background: linear-gradient(135deg, var(--magenta), var(--pink));
  border-color: var(--pink);
  box-shadow: 0 4px 18px rgba(255, 45, 168, 0.35);
}

/* ---- close / FOMO ---- */
.code-card {
  margin-top: 28px;
  text-align: center;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(245, 132, 238, 0.16), transparent 70%),
    rgba(16, 26, 48, 0.8);
  border: 1px solid rgba(245, 132, 238, 0.45);
  border-radius: 20px;
  padding: 26px 20px;
  box-shadow: 0 0 60px rgba(245, 132, 238, 0.12);
}
.code-card .lab { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.code-card .code {
  margin-top: 10px;
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink);
  text-shadow: 0 0 30px rgba(245, 132, 238, 0.5);
}
.code-card .copy-btn {
  margin-top: 14px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.code-card .copy-btn:hover { color: var(--ink); border-color: rgba(148, 168, 205, 0.5); }

.fomo-strip {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.fomo-cell {
  flex: 1;
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.fomo-cell .v { font-size: clamp(20px, 5vw, 28px); font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.fomo-cell .v.warn { color: var(--magenta); }
.fomo-cell .l { margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

.codes-meter { margin-top: 18px; }
.codes-meter .bar {
  height: 10px;
  background: rgba(148, 168, 205, 0.14);
  border-radius: 99px;
  overflow: hidden;
}
.codes-meter .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--pink));
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.codes-meter .cap { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; }
.codes-meter .cap .hot { color: var(--magenta); }

.activity-toast {
  position: fixed;
  left: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 26, 48, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  max-width: min(86vw, 340px);
}
.activity-toast.leaving { animation: toastOut 0.35s ease both; }
.activity-toast .pulse-dot {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(111, 227, 165, 0.9);
}
.activity-toast strong { color: var(--ink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(10px); } }

/* ---- partner wall ---- */
.partner-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.partner-dot {
  aspect-ratio: 1;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--faint);
}

/* ---- echo chip (personalization) ---- */
.echo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(38, 201, 242, 0.08);
  border: 1px solid rgba(38, 201, 242, 0.3);
  border-radius: 99px;
  padding: 8px 16px;
  margin-bottom: 20px;
}

@media (max-width: 540px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .enter-hint { display: none; }
  .step-scroll { margin-top: 72px; }
  .step { padding-top: 12px; padding-bottom: 120px; }
}

/* real brand wordmark (header chrome only) */
.wordmark-img {
  height: 48px;
  width: auto;
  display: block;
  margin: -8px 0;
}
