:root {
  color-scheme: dark;
  --bg: #090b10;
  --card: rgba(18, 23, 34, 0.86);
  --card-border: rgba(255,255,255,0.1);
  --text: #f6f7fb;
  --muted: rgba(246,247,251,0.72);
  --accent: #ffffff;
  --accent-text: #0b0f18;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(85,110,255,0.2), transparent 36%),
    radial-gradient(circle at bottom, rgba(255,255,255,0.08), transparent 30%),
    var(--bg);
}
.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(100%, 520px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}
.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
h1 { margin: 18px 0 10px; font-size: clamp(32px, 5vw, 42px); line-height: 1.04; }
p { margin: 0; color: var(--muted); line-height: 1.55; }
.code-box {
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
#codeValue {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  letter-spacing: .08em;
}
.actions {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.primary, .secondary, .ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.primary {
  background: var(--accent);
  color: var(--accent-text);
}
.secondary, .ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: rgba(255,255,255,0.09);
}
.small {
  margin-top: 12px;
  min-height: 40px;
  padding: 0 14px;
}
.hint { margin-top: 16px; font-size: 14px; }
