:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #34445e;
  --muted: #7a899f;
  --primary: #4a90e2;
  --primary-hover: #3478c5;
  --accent: #43b89c;
  --warning: #e5a15f;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgb(255 255 255 / 88%), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgb(255 255 255 / 65%), transparent 26rem),
    linear-gradient(145deg, #eaf4ff, #f0fbf7);
}

.page-shell {
  width: min(90%, 640px);
  text-align: center;
}

main {
  position: relative;
  overflow: hidden;
  padding: 64px 36px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgb(77 112 143 / 16%);
  backdrop-filter: blur(16px);
}

main::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.04em;
}

#auth-actions {
  margin-top: 20px;
}

button {
  min-width: 120px;
  padding: 10px 20px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: var(--primary);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(74 144 226 / 22%);
  transition: background 140ms ease, transform 140ms ease;
}

button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

#login-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

#greeting {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

#review-status {
  margin: -8px 0 12px;
  color: var(--warning);
  font-size: 0.75rem;
  font-weight: 700;
}

[hidden] { display: none !important; }
