@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-gradient: radial-gradient(ellipse 90% 60% at 50% -15%, rgba(255, 42, 109, 0.16), transparent 70%),
                  radial-gradient(ellipse 70% 50% at 100% 100%, rgba(139, 92, 246, 0.1), transparent 60%),
                  #07070a;
  --surface: rgba(18, 16, 26, 0.76);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-muted: #9ba1b0;
  --accent: #ff2a6d;
  --accent-gradient: linear-gradient(135deg, #ff2a6d 0%, #e11d48 55%, #c026d3 100%);
  --accent-glow: 0 0 24px rgba(255, 42, 109, 0.45);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Outfit", "Noto Sans SC", -apple-system, sans-serif;
}

main {
  width: min(100%, 420px);
  background: var(--surface);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(255, 42, 109, 0.15);
  position: relative;
  overflow: hidden;
}

main::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 42, 109, 0.25), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
}

.brand span {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
}

.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.4);
  margin: 14px 0 32px;
  text-transform: uppercase;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
}

.intro {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 13px;
  margin-bottom: 30px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

input {
  display: block;
  width: 100%;
  margin: 10px 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 8, 16, 0.8);
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 42, 109, 0.25);
}

.code-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
}

.code-label button {
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.code-label button:hover {
  text-shadow: 0 0 10px var(--accent);
}

button:disabled {
  opacity: 0.4;
  cursor: wait;
}

.primary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(255, 42, 109, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 42, 109, 0.55);
}

.primary:active:not(:disabled) {
  transform: scale(0.98);
}

.footnote {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 22px 0 0;
}

#message {
  min-height: 28px;
  font-size: 13px;
  line-height: 1.5;
  color: #fda4af;
  margin: 0 0 14px;
}

#message.error {
  color: #f87171;
}

@media (max-width: 380px) {
  h1 { font-size: 28px; }
  .eyebrow { margin-bottom: 24px; }
  main { padding: 32px 22px; }
}

.fast-pass {
  display: block;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 42, 109, 0.3);
  border-radius: 12px;
  color: #fecdd3;
  text-decoration: none;
  font-size: 13px;
  background: rgba(255, 42, 109, 0.08);
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fast-pass:hover {
  background: rgba(255, 42, 109, 0.18);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.3);
}
