:root {
  --bg: #05070a;
  --panel: #0f151b;
  --line: #94ddff22;
  --ink: #e6f1ff;
  --muted: #8ea3b8;
  --glow: #0a78dd;
  --ice: #94ddff;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse at 50% 30%, #0a78dd2e 0, transparent 55%),
    linear-gradient(#13191f, var(--bg));
  color: var(--ink);
  text-align: center;
}

main { max-width: 34rem; width: 100%; }

.logo {
  display: block;
  width: 10rem;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 22%;
  animation: float 5s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 18px #0a78dd66); }
  50% { filter: drop-shadow(0 0 42px #0a78ddcc); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}
h1 em {
  font-style: normal;
  color: var(--ice);
  text-shadow: 0 0 24px var(--glow);
}

.tagline { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }

.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.perks li {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #04121f;
  background: linear-gradient(#e6f1ff, var(--ice));
  padding: 0.85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 20px #0a78dd55;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 0 36px #0a78ddaa; }

footer { margin-top: 3rem; font-size: 0.8rem; color: var(--muted); }
a { color: var(--ice); }

/* Login */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 0 60px #0a78dd1f;
}
.card .logo { width: 5rem; margin-bottom: 1.5rem; }
.card h1 { font-size: 2rem; text-align: center; }
.card .tagline { text-align: center; font-size: 1rem; }

label { display: block; font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0.35rem; }
input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
}
input:focus { outline: 2px solid var(--glow); outline-offset: 1px; }
.card .btn { width: 100%; margin-top: 1.5rem; }
.note { min-height: 1.5rem; margin: 1rem 0 0; text-align: center; color: var(--ice); }
