:root {
  --bg: #0A0616;
  --surface: #1A0838;
  --surface2: #2A0E52;
  --lime: #D3FF36;
  --lime-dim: rgba(211, 255, 54, 0.65);
  --lime-glow: rgba(211, 255, 54, 0.15);
  --muted: rgba(255, 255, 255, 0.42);
  --text: rgba(255, 255, 255, 0.92);
  --line: rgba(211, 255, 54, 0.18);
  --input: #0A0616;
  --danger: #f0a8a8;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Gilroy", "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, var(--lime-glow), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(153, 51, 255, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  color-scheme: dark;
}
.shell {
  width: min(460px, 100%);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
.card {
  background: linear-gradient(180deg, rgba(42, 14, 82, 0.55), rgba(26, 8, 56, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.kicker {
  color: var(--lime-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  font-size: 1.55rem;
  margin: 8px 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
p.lead {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.5;
}
label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 12px 0 6px;
  font-weight: 600;
}
.field { position: relative; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--input) !important;
  background-color: var(--input) !important;
  border: 1px solid var(--line);
  border-radius: 10px !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--lime);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  color-scheme: dark;
  box-shadow: inset 0 0 0 1000px var(--input);
}
input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}
input:focus {
  border-color: rgba(211, 255, 54, 0.55);
  box-shadow:
    inset 0 0 0 1000px var(--input),
    0 0 0 3px rgba(211, 255, 54, 0.12);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--lime);
  transition: background-color 99999s ease-in-out 0s;
  box-shadow: inset 0 0 0 1000px var(--input) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
}
input:autofill {
  background: var(--input) !important;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1000px var(--input) !important;
}
.row { display: flex; gap: 10px; }
.row > div { flex: 1; min-width: 0; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 6px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.check input {
  margin-top: 3px;
  accent-color: var(--lime);
  width: auto;
  box-shadow: none;
  background: transparent !important;
}
button {
  width: 100%;
  margin-top: 14px;
  background: var(--lime);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
button:hover { filter: brightness(1.05); }
button:active { transform: translateY(1px); }
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.ghost {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--line);
  margin-top: 10px;
}
.err {
  min-height: 1.2em;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 12px;
}
.ok {
  color: var(--lime-dim);
  font-size: 0.82rem;
  margin-top: 10px;
}
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.alt {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
input.code-input,
.code-input {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: none !important;
  background: var(--input) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 14px 12px 14px 18px !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
input.code-input:focus {
  box-shadow: 0 0 0 3px rgba(211, 255, 54, 0.12) !important;
}
input.code-input:-webkit-autofill,
input.code-input:-webkit-autofill:focus {
  box-shadow: inset 0 0 0 1000px var(--input) !important;
}
.steps {
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
}
.step {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}
.step.on { background: var(--lime); }
.hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .card { padding: 24px 18px 18px; }
  h1 { font-size: 1.35rem; }
}
