:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gold: #d4ae62;
  --ink: #07090d;
  --panel: #11151d;
  --text: #f5f0e5;
  --muted: #aaa79f;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 174, 98, .12), transparent 34rem),
    linear-gradient(145deg, #06080b, #10141b);
}
button, input { font: inherit; }
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(100%, 440px);
  padding: clamp(26px, 6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .45);
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-brand > span {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(212, 174, 98, .55); border-radius: 50%;
  color: var(--gold); font-weight: 850; letter-spacing: -.04em;
}
.auth-brand strong, .auth-brand small { display: block; }
.auth-brand strong { font-size: 15px; }
.auth-brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.auth-kicker {
  margin: 0 0 9px; color: var(--gold); font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
h1 { margin: 0 0 28px; font-size: clamp(30px, 7vw, 42px); letter-spacing: -.04em; }
.auth-form { display: grid; gap: 10px; }
label { margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
input {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); background: #090c11; outline: 0;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 174, 98, .13); }
button {
  min-height: 50px; margin-top: 14px; padding: 0 18px;
  border: 1px solid var(--gold); border-radius: 10px;
  color: #08090b; background: var(--gold); font-weight: 850; cursor: pointer;
}
.auth-hint, .auth-security { color: var(--muted); font-size: 13px; line-height: 1.55; }
.auth-security { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.auth-error {
  padding: 12px 14px; border: 1px solid rgba(235, 103, 103, .45); border-radius: 10px;
  color: #ffc7c7; background: rgba(180, 40, 40, .16);
}
.auth-secondary button {
  width: 100%; min-height: 42px; margin-top: 10px;
  border-color: var(--line); color: var(--muted); background: transparent;
}
