:root {
  --bg: #0c1021;
  --card: rgba(255, 255, 255, 0.06);
  --accent: #46e0b9;
  --accent-2: #7a5bff;
  --text: #f5f7fb;
  --muted: #b7c3d9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(122, 91, 255, 0.14), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(70, 224, 185, 0.15), transparent 30%),
              var(--bg);
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.frame {
  width: min(520px, 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 80%, rgba(70, 224, 185, 0.12), transparent 30%),
              radial-gradient(circle at 100% 60%, rgba(122, 91, 255, 0.1), transparent 25%);
  mix-blend-mode: screen;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  font-size: 11px;
  color: #0c1021;
  font-weight: 800;
}
h1 {
  margin: 18px 0 8px;
  font-size: clamp(28px, 4vw, 34px);
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
p.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
label {
  font-weight: 700;
  letter-spacing: 0.3px;
}
.input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
input[type="text"] {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(70, 224, 185, 0.08);
  transform: translateY(-1px);
}
button {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  color: #0c1021;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-width: 120px;
}
button:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
button:active { transform: translateY(0); }
.helper {
  color: var(--muted);
  font-size: 13px;
}
.error {
  color: #ff8b8b;
  font-weight: 700;
  font-size: 13px;
  min-height: 18px;
}
.alert {
  display: none;
  background: rgba(255, 139, 139, 0.1);
  border: 1px solid rgba(255, 139, 139, 0.5);
  color: #ffdada;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-weight: 700;
}
.steps {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 480px) {
  .input-wrap { flex-direction: column; align-items: stretch; }
  input[type="text"] { letter-spacing: 3px; }
  button { width: 100%; }
}
