/* ── Signup page layout ──────────────────────────────────────────────────── */
body { padding: 48px 20px; justify-content: center; }

.back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-decoration: none;
  opacity: .7;
  transition: opacity .15s;
}
.back:hover { opacity: 1; }

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.moon-wrap { margin-bottom: 18px; }

/* ── Heading ─────────────────────────────────────────────────────────────── */
.heading {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: .03em;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #2a2040 20%, #b0a0d8 40%, #d4c0ec 50%, #b0a0d8 60%, #2a2040 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: name-shimmer 5s linear infinite;
}

/* ── Body copy ───────────────────────────────────────────────────────────── */
.body-copy {
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: .08em;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── Form ────────────────────────────────────────────────────────────────── */
.input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 10px;
  color: var(--ink);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-align: center;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 2px 14px rgba(120,90,190,.07), inset 0 1px 0 rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.input::placeholder { color: var(--muted); }
.input:focus {
  border-color: rgba(180,155,225,.65);
  box-shadow: 0 4px 20px rgba(120,90,190,.13), inset 0 1px 0 rgba(255,255,255,.7);
}

.btn-wrap { display: flex; justify-content: center; }

.btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--ink);
  color: var(--ghost);
  border: none;
  border-radius: 10px;
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.btn:hover:not(:disabled) { background: #3d3060; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: default; }

/* ── Message ─────────────────────────────────────────────────────────────── */
.message {
  margin-top: 14px;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: .1em;
  min-height: 1.4em;
}
.message--success { color: var(--periwinkle); }
.message--error   { color: #a05555; }
