:root {
  --bg: #101014;
  --bg-soft: #17171d;
  --card: #1b1b22;
  --line: #2a2a33;
  --text: #e8e8ec;
  --muted: #9a9aa5;
  --orange: #ee8a4f;
  --green: #34c273;
  --red: #f0524f;
  --amber: #e8b64c;
  --radius: 16px;
}

body {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(238,138,79,.10), transparent 60%),
    radial-gradient(900px 450px at 110% 110%, rgba(238,138,79,.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.brand .name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .4px;
}
.brand .sub {
  color: var(--muted);
  font-size: 12px;
}

h1 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}
.lead {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.step:first-of-type { border-top: none; padding-top: 4px; }
.step .num {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.step.active .num { border-color: var(--orange); color: var(--orange); }
.step.done .num { background: rgba(52,194,115,.12); border-color: var(--green); color: var(--green); }
.step .title { font-size: 13.5px; font-weight: 600; }
.step .desc { color: var(--muted); font-size: 12px; margin-top: 2px; }

.cta {
  width: 100%;
  margin-top: 20px;
  background: var(--orange);
  color: #171009;
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  border-radius: 12px;
  transition: transform .15s ease, filter .15s ease;
}
.cta:hover { filter: brightness(1.06); }
.cta:disabled { opacity: .5; cursor: not-allowed; }

.result {
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 13.5px;
  display: none;
}
.result.show { display: block; }
.result.pass { background: rgba(52,194,115,.1); border: 1px solid rgba(52,194,115,.4); }
.result.hold { background: rgba(232,182,76,.1); border: 1px solid rgba(232,182,76,.4); }
.result.fail { background: rgba(240,82,79,.1); border: 1px solid rgba(240,82,79,.4); }
.result .big { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.result.pass .big { color: var(--green); }
.result.hold .big { color: var(--amber); }
.result.fail .big { color: var(--red); }
.result .note { color: var(--muted); font-size: 12px; }

.privacy {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--orange);
  animation: spin .8s linear infinite;
  margin: 6px auto 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.turnstile-slot { margin: 10px 0 2px; }

.field { margin-top: 14px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .opt {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}
.field input:focus { border-color: var(--orange); }
.field .hint { color: var(--muted); font-size: 11px; margin-top: 5px; }

.hidden { display: none !important; }
