* { box-sizing: border-box; }
html { font-size: 18px; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #f4f1ff;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(167, 123, 255, 0.35), transparent 70%),
    radial-gradient(50% 35% at 90% 5%, rgba(63, 216, 230, 0.28), transparent 70%),
    radial-gradient(60% 40% at 50% 110%, rgba(255, 122, 217, 0.16), transparent 70%),
    linear-gradient(180deg, #0b0a24 0%, #141038 55%, #1c1150 100%);
  background-attachment: fixed;
}
.card {
  width: 100%;
  max-width: 24rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(190, 170, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(140, 110, 255, 0.18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.logo { display: block; margin: 0 auto 0.25rem; filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.45)); }
h1 { margin: 0; font-size: 2.2rem; letter-spacing: -0.02em; }
.grad {
  background: linear-gradient(90deg, #5ef2b5, #3fd8e6 40%, #a77bff 75%, #ff7ad9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub { margin: 0.2rem 0 1.5rem; color: #c9c3ea; }
form { text-align: left; }
label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
input {
  width: 100%;
  font-size: 1.2rem;
  padding: 0.85rem 1rem;
  color: #fff;
  background: rgba(10, 8, 35, 0.6);
  border: 2px solid rgba(190, 170, 255, 0.35);
  border-radius: 1rem;
}
input:focus { outline: none; border-color: #3fd8e6; box-shadow: 0 0 0 4px rgba(63, 216, 230, 0.2); }
button {
  margin-top: 1rem;
  width: 100%;
  min-height: 3.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: 0;
  border-radius: 1rem;
  color: #120c33;
  background: linear-gradient(90deg, #5ef2b5, #3fd8e6 45%, #b79bff);
  cursor: pointer;
}
button:active { transform: scale(0.98); }
button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.error { color: #ffb4c6; font-weight: 600; }
.locked { font-size: 1.3rem; font-weight: 700; }
.hint { color: #c9c3ea; }
.ok { font-size: 1.3rem; font-weight: 700; color: #5ef2b5; }
label.neste { margin-top: 1rem; }
