:root {
  --bg: #0f0420;
  --bg-2: #1c0836;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(205, 120, 255, 0.28);
  --text: #f4ecff;
  --muted: #b9a6d6;
  --magenta: #d65bff;
  --magenta-deep: #9b2cf0;
  --cyan: #3ff2ff;
  --cyan-deep: #12b8d6;
  --danger: #ff6b8b;
  --ok: #4dffc3;
  --radius: 16px;
  --glow-m: 0 0 6px rgba(214, 91, 255, 0.9), 0 0 18px rgba(214, 91, 255, 0.6), 0 0 42px rgba(155, 44, 240, 0.5);
  --glow-c: 0 0 6px rgba(63, 242, 255, 0.9), 0 0 18px rgba(63, 242, 255, 0.55), 0 0 40px rgba(18, 184, 214, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(155, 44, 240, 0.35), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(63, 242, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 55%);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Synthwave grid floor */
.floor {
  position: fixed;
  inset: auto 0 0 0;
  height: 42vh;
  perspective: 320px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.floor::before {
  content: "";
  position: absolute;
  inset: 0 -50%;
  transform: rotateX(62deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(63, 242, 255, 0.55) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(63, 242, 255, 0.55) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  animation: drive 3s linear infinite;
}
@keyframes drive { to { background-position: 0 60px; } }
@media (prefers-reduced-motion: reduce) { .floor::before { animation: none; } }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 16px 120px;
}

a { color: var(--cyan); }

/* Neon type */
.neon-m { color: #fff; text-shadow: var(--glow-m); }
.neon-c { color: #eaffff; text-shadow: var(--glow-c); }

.logo {
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

h2 {
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  margin: 0 0 8px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.muted { color: var(--muted); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.hero .art {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(63, 242, 255, 0.15), 0 20px 80px rgba(155, 44, 240, 0.35);
  display: block;
}
.hero .lead { font-size: 20px; margin: 22px 0 18px; }
.hero .host { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.bolt { width: 18px; height: 22px; flex: none; filter: drop-shadow(0 0 6px rgba(214, 91, 255, 0.9)); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero .art { max-width: 420px; }
}

/* Panels */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 560px) { .panel { padding: 20px; } }

.about { margin-bottom: 40px; }
.about p { margin: 0 0 12px; }
.about p:last-child { margin-bottom: 0; }

.studio {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(214, 91, 255, 0.06);
  font-size: 15px;
}
.studio-label {
  display: inline-block;
  min-width: 92px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
}
#done-detail { margin: 0 0 12px; }

/* Steps */
.step { margin-top: 28px; }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.step-num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  color: var(--bg);
  background: var(--cyan);
  box-shadow: var(--glow-c);
}
.step-head h3 { margin: 0; font-size: 20px; font-weight: 600; }

.dates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.date-btn, .time-btn {
  font: inherit;
  color: var(--text);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.date-btn:hover:not(:disabled), .time-btn:hover:not(:disabled) { border-color: var(--magenta); transform: translateY(-1px); }
.date-btn:focus-visible, .time-btn:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.date-btn[aria-pressed="true"], .time-btn[aria-pressed="true"] {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 22px rgba(63, 242, 255, 0.35);
  background: rgba(63, 242, 255, 0.08);
}
.date-btn:disabled, .time-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.date-btn .dow { display: block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta); font-weight: 700; }
.date-btn .day { display: block; font-size: 30px; font-weight: 600; line-height: 1.15; }
.date-btn .mon { display: block; font-size: 14px; color: var(--muted); }
.date-btn .left { display: block; font-size: 12px; margin-top: 6px; color: var(--cyan); }
.date-btn:disabled .left { color: var(--muted); }

.times { display: flex; flex-wrap: wrap; gap: 12px; }
.time-btn { min-width: 140px; font-size: 22px; font-weight: 600; padding: 14px 22px; }
.time-btn small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

/* Form */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; color: var(--muted); }
label .opt { font-weight: 400; opacity: 0.8; }
input, textarea, select {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(10, 2, 24, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(185, 166, 214, 0.55); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(63, 242, 255, 0.45);
  background: rgba(63, 242, 255, 0.05);
  margin-bottom: 18px;
}
.summary strong { color: var(--cyan); }

.btn {
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  color: #12021f;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow: 0 0 24px rgba(214, 91, 255, 0.45);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 34px rgba(63, 242, 255, 0.5); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.small { font-size: 14px; padding: 8px 16px; }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid rgba(255, 107, 139, 0.5); box-shadow: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }

.msg { margin-top: 14px; font-weight: 600; min-height: 1.6em; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }

.done { text-align: center; padding: 48px 24px; }
.done h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.done .when { font-size: 22px; margin: 0 0 12px; }

.hidden { display: none !important; }

.loading { color: var(--muted); padding: 10px 0; }

footer { margin-top: 48px; text-align: center; color: var(--muted); font-size: 14px; }
