:root {
  --bg: #14132a;
  --bg-alt: #1d1c3a;
  --card: #211f42;
  --pink: #ff3e7d;
  --teal: #0fd8c8;
  --cream: #f4f1ff;
  --muted: #9591c4;
  --border: #37356b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,62,125,0.12), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(15,216,200,0.10), transparent 40%),
    var(--bg);
  color: var(--cream);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
a { color: var(--teal); }

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.arcade-header { text-align: center; margin-bottom: 28px; }
.arcade-header .eyebrow {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.arcade-header h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 22px;
  line-height: 1.6;
  margin: 0 0 10px;
  color: var(--pink);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}
.arcade-header p { color: var(--muted); font-size: 14px; margin: 0; }

.research-notice {
  margin: 0 auto 20px;
  padding: 16px 18px;
  background: rgba(15,216,200,0.08);
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--cream);
  font-size: 13px;
  text-align: left;
  line-height: 1.55;
}
.research-notice p { margin: 0 0 10px; }
.research-notice p:last-child { margin-bottom: 0; }
.research-notice a { color: var(--teal); text-decoration: underline; }
.research-notice em { color: var(--pink); font-style: normal; }

.card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.15), 0 20px 40px rgba(0,0,0,0.35);
}

/* Mode select */
.mode-select { margin-bottom: 26px; }
.mode-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}
.mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-btn {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--cream);
  padding: 16px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.mode-btn .sub { display: block; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 6px; }
.mode-btn.selected {
  border-color: var(--pink);
  background: rgba(255,62,125,0.10);
  box-shadow: 0 0 0 2px rgba(255,62,125,0.25);
}
.mode-btn.selected .sub { color: var(--cream); }

form { display: none; }
form.active { display: block; }

.field { margin-bottom: 20px; }
label.q { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--cream); }
.hint { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 400; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], textarea, select {
  width: 100%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--cream);
  padding: 10px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.divider { border: none; border-top: 1px dashed var(--border); margin: 24px 0; }
.section-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

button.submit {
  width: 100%;
  background: var(--pink);
  color: #1a0a12;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.1s ease;
}
button.submit:hover { transform: translateY(-1px); }
button.submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.success { display: none; text-align: center; padding: 40px 20px; }
.success.show { display: block; }
.success .icon { font-size: 40px; margin-bottom: 12px; }
.success h2 { font-family: 'Press Start 2P', monospace; font-size: 16px; color: var(--teal); margin: 0 0 12px; }
.success p { color: var(--muted); font-size: 14px; }

.error-msg { display: none; color: var(--pink); font-size: 13px; margin-top: 10px; text-align: center; }

@media (max-width: 480px) {
  .two-col { grid-template-columns: 1fr; }
  .arcade-header h1 { font-size: 17px; }
}

/* ── Site nav ────────────────────────────────────────────────────────────── */
.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(20,19,42,0.85);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.site-nav-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-nav-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--pink);
  text-decoration: none;
  letter-spacing: 1px;
  white-space: nowrap;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.site-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav-links a:hover,
.site-nav-links a.active { color: var(--teal); }
.site-nav-links a.site-nav-cta {
  background: var(--pink);
  color: #1a0a12;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.site-nav-links a.site-nav-cta:hover,
.site-nav-links a.site-nav-cta.active { color: #1a0a12; opacity: 0.9; }

@media (max-width: 600px) {
  .site-nav-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav-links { flex-wrap: wrap; overflow-x: visible; width: 100%; gap: 10px 16px; }
}

/* ── Site footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.site-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.site-footer-area { margin: 0 0 10px; }
.site-footer-links { margin: 0 0 10px; }
.site-footer-links a { color: var(--teal); text-decoration: none; margin: 0 4px; }
.site-footer-links a:hover { text-decoration: underline; }
.site-footer-links span { color: var(--border); }
.site-footer-copy { margin: 0; color: var(--border); font-size: 12px; }

/* ── Marketing page shells ───────────────────────────────────────────────── */
.wrap--wide { max-width: 880px; }

.hero { text-align: center; padding: 40px 0 8px; }
.hero .eyebrow {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 26px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--pink);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}
.hero p.lede {
  color: var(--cream);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.btn {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: #1a0a12; }
.btn-secondary { background: transparent; color: var(--teal); border: 2px solid var(--teal); }

.section { margin: 48px 0; }
.section-heading {
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  color: var(--cream);
  text-align: center;
  margin: 0 0 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.feature-card .glyph { font-size: 26px; margin-bottom: 10px; }
.feature-card h3 { font-size: 15px; margin: 0 0 8px; color: var(--cream); }
.feature-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 19px; }
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tier-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.15), 0 20px 40px rgba(0,0,0,0.35);
}
.tier-card--premium { border-color: var(--teal); }
.tier-ribbon {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--teal);
  color: #05201d;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 999px;
}
.tier-name { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 6px; }
.tier-price {
  font-family: 'Press Start 2P', monospace;
  font-size: 30px;
  color: var(--pink);
  margin: 0 0 4px;
}
.tier-card--premium .tier-price { color: var(--teal); }
.tier-price-note { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.tier-features { list-style: none; margin: 0 0 22px; padding: 0; }
.tier-features li {
  font-size: 13.5px;
  color: var(--cream);
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.tier-card .btn { width: 100%; text-align: center; box-sizing: border-box; }

@media (max-width: 700px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ── Character generator teaser ─────────────────────────────────────────── */
.generator-teaser {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.dropzone {
  border: 2px dashed var(--teal);
  border-radius: 12px;
  padding: 36px 20px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  background: rgba(15,216,200,0.05);
  transition: background 0.15s ease;
}
.dropzone:hover { background: rgba(15,216,200,0.1); }
.dropzone .glyph { font-size: 32px; display: block; margin-bottom: 10px; }
.before-after {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.before-after.show { display: grid; }
.before-after .panel { text-align: center; }
.before-after .panel img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border);
}
.before-after .panel span { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.before-after .arrow { font-size: 22px; color: var(--pink); }
.generator-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Examples ────────────────────────────────────────────────────────────── */
.example-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 22px;
}
.example-card h3 { font-size: 18px; color: var(--cream); margin: 0 0 6px; }
.example-card .pitch { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.example-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.example-shots img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.example-shots img.shot-gameplay {
  grid-column: 1 / -1;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 3px rgba(15,216,200,0.12);
}
.example-note { font-size: 12px; color: var(--muted); font-style: italic; margin: 0; }

/* ── Terms / draft notice ───────────────────────────────────────────────── */
.draft-banner {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: rgba(255,62,125,0.08);
  border: 1px solid var(--pink);
  border-radius: 8px;
  color: var(--cream);
  font-size: 13px;
  line-height: 1.55;
}
.draft-banner strong { color: var(--pink); }
.terms-body h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.5px;
  margin: 28px 0 10px;
}
.terms-body p { color: var(--cream); font-size: 14px; line-height: 1.65; margin: 0 0 12px; }

/* ── Admin (plain/functional, not the arcade skin) ─────────────────────────── */
.admin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  font-family: system-ui, sans-serif;
  color: #1a1a2e;
  background: #f4f4f8;
}
body.admin-body { background: #f4f4f8; color: #1a1a2e; font-family: system-ui, sans-serif; }
.admin-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-dash-header h1 { margin: 0; }
.admin-site-link { color: #555; text-decoration: none; font-size: 14px; }
.admin-empty { color: #888; }
.intake-list { list-style: none; margin: 0; padding: 0; }
.intake-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}
.intake-item-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.intake-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: #7b6cf0;
}
.intake-badge--surprise { background: #ff3e7d; }
.intake-badge--kid { background: #0fb8ac; }
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eee;
  color: #444;
}
.status-pill--new { background: #ffe6ea; color: #c41230; }
.status-pill--contacted { background: #fff4d6; color: #8a6600; }
.status-pill--booked { background: #dff5e8; color: #1a7a3f; }
.status-pill--archived { background: #eee; color: #888; }
.intake-meta { color: #666; font-size: 13px; margin: 6px 0 10px; }
.intake-answers { display: grid; gap: 8px; margin: 10px 0; }
.intake-answers dt { font-weight: 700; font-size: 12px; color: #555; }
.intake-answers dd { margin: 2px 0 0; white-space: pre-wrap; }
.intake-avoid { background: #fff4d6; border: 1px solid #eddca0; border-radius: 6px; padding: 10px 12px; margin: 10px 0; }
.intake-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.admin-btn {
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  color: #fff;
  background: #555;
}
.admin-btn--reject { background: #c41230; }
