* { box-sizing: border-box; }
body {
  font-family: 'Inter', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background: #050914;
  background-image:
    radial-gradient(60% 60% at 20% 20%, rgba(94, 224, 255, 0.16), transparent),
    radial-gradient(50% 50% at 80% 15%, rgba(183, 110, 255, 0.14), transparent),
    radial-gradient(70% 70% at 60% 85%, rgba(70, 130, 255, 0.18), transparent);
  color: #e8eefc;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.card {
  position: relative;
  width: 360px;
  max-width: 360px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 60px rgba(5, 9, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  z-index: 1;
}
.card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
  mix-blend-mode: screen;
}

h1, h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #f4f7ff;
  position: relative;
  z-index: 1;
  text-align: center;
}
p.lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(232, 238, 252, 0.85);
  text-align: center;
  position: relative;
  z-index: 1;
}

form {
  margin: 0;
  width: 100%;
}

label {
  display: block;
  font-size: 13px;
  margin: 12px 0 6px;
  color: rgba(245, 248, 255, 0.85);
  text-align: left;
  position: relative;
  z-index: 1;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f8ff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  z-index: 1;
  margin: 8px 0 12px;
}
input::placeholder {
  color: rgba(245, 248, 255, 0.7);
}
input:focus {
  border-color: rgba(110, 168, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(120deg, #5e8bff 0%, #5ae0ff 100%);
  color: #0a1021;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(90, 196, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  z-index: 1;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(90, 196, 255, 0.5);
}
button:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.2);
}

.muted,
.status,
.footnote {
  color: rgba(232, 238, 252, 0.75);
  font-size: 12px;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.status { color: #fca5a5; font-size: 13px; }
.footnote { margin-top: 8px; }

/* Aurora background */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(15, 179, 183, 0.12), transparent 45%),
    radial-gradient(ellipse at 80% 10%, rgba(245, 197, 66, 0.08), transparent 35%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 39, 42, 0.25), transparent 45%);
}
.aurora__band {
  position: absolute;
  width: 140%;
  height: 70%;
  left: -20%;
  top: -15%;
  background: linear-gradient(120deg, rgba(15, 179, 183, 0.5), rgba(106, 56, 199, 0.35), rgba(245, 197, 66, 0.4));
  filter: blur(70px) saturate(120%);
  opacity: 0.8;
  mix-blend-mode: screen;
  transform: rotate(-8deg);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora__band.band-2 { top: 10%; transform: rotate(6deg); animation: aurora-drift-2 16s ease-in-out infinite alternate; opacity: 0.7; }
.aurora__band.band-3 { top: 30%; transform: rotate(-4deg); animation: aurora-drift-3 20s ease-in-out infinite alternate; opacity: 0.65; }
.aurora__band.band-4 { top: 55%; transform: rotate(9deg); animation: aurora-drift-4 22s ease-in-out infinite alternate; opacity: 0.6; }

@keyframes aurora-drift {
  0% { transform: translateX(-6%) translateY(0) rotate(-8deg); }
  50% { transform: translateX(4%) translateY(4%) rotate(-6deg); }
  100% { transform: translateX(6%) translateY(-2%) rotate(-8deg); }
}
@keyframes aurora-drift-2 {
  0% { transform: translateX(6%) translateY(-2%) rotate(6deg); }
  50% { transform: translateX(-2%) translateY(2%) rotate(4deg); }
  100% { transform: translateX(4%) translateY(-4%) rotate(6deg); }
}
@keyframes aurora-drift-3 {
  0% { transform: translateX(-4%) translateY(0) rotate(-4deg); }
  50% { transform: translateX(4%) translateY(2%) rotate(-2deg); }
  100% { transform: translateX(2%) translateY(-3%) rotate(-4deg); }
}
@keyframes aurora-drift-4 {
  0% { transform: translateX(4%) translateY(0) rotate(9deg); }
  50% { transform: translateX(-4%) translateY(3%) rotate(7deg); }
  100% { transform: translateX(6%) translateY(-3%) rotate(9deg); }
}
