:root {
  --bg: #07090e;
  --card: rgba(22, 28, 42, 0.72);
  --line: rgba(120, 140, 180, 0.18);
  --text: #eef2ff;
  --muted: #8b96ad;
  --accent: #6c7cff;
  --danger: #ff6b7a;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg); color: var(--text);
}
.bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, #2a3568 0%, transparent 55%),
    radial-gradient(700px 400px at 90% 110%, #1a3d36 0%, transparent 50%),
    var(--bg);
}
.card {
  position: relative; z-index: 1;
  width: min(380px, calc(100% - 2rem));
  margin: 18vh auto 0;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: rise .5s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.mark {
  font-size: 1.6rem; font-weight: 700; letter-spacing: .12em;
  text-transform: lowercase;
}
.mark::after {
  content: "";
  display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-radius: 50%; background: #5dffa8; box-shadow: 0 0 12px #5dffa8;
  vertical-align: middle;
}
.sub { margin: .2rem 0 1.4rem; color: var(--muted); font-size: .85rem; }
label {
  display: block; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem;
}
input {
  width: 100%;
  background: rgba(8,12,20,.65);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: .75rem .9rem;
  font-size: 1rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,124,255,.2);
}
button {
  width: 100%; margin-top: .9rem;
  border: 0; border-radius: 10px;
  padding: .75rem;
  background: linear-gradient(135deg, #6c7cff, #5a8cff);
  color: white; font-weight: 650; font-size: .95rem;
  cursor: pointer;
  transition: transform .12s, filter .12s;
}
button:hover { filter: brightness(1.06); }
button:active { transform: scale(.98); }
button:disabled { opacity: .55; cursor: wait; }
.err {
  margin: .75rem 0 0;
  color: var(--danger);
  font-size: .82rem;
  font-family: ui-monospace, Consolas, monospace;
}
