:root {
  color-scheme: dark;
  --bg: #0e0f13;
  --panel: #1a1c23;
  --fg: #ebedf2;
  --muted: #8a8f9c;
  --accent: #7ec3ff;
  --danger: #ff7a7a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(ellipse at top, #1a1c25 0%, var(--bg) 60%);
  color: var(--fg);
  display: grid;
  place-items: center;
  padding: 2rem;
}

main { width: 100%; max-width: 32rem; text-align: center; }

header h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.tag { color: var(--muted); margin: 0 0 2rem; }

.card {
  background: var(--panel);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

button {
  font: inherit;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.85rem 2.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #001627;
  cursor: pointer;
  transition: transform 80ms ease, opacity 200ms ease;
}
button:hover { transform: translateY(-1px); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.status { margin: 1rem 0 0; min-height: 1.5em; color: var(--muted); }
.status.error { color: var(--danger); }

footer { color: var(--muted); margin-top: 2rem; font-size: 1.15rem; line-height: 1.6; }
footer p { margin: 1rem 0; }
footer .fine { font-size: 1.15rem; opacity: 0.95; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
