*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #eeeeee;
  --surface: rgba(255,255,255,0.92);
  --border: rgba(28, 35, 42, 0.08);
  --accent: #111111;
  --accent-strong: #111111;
  --accent-soft: rgba(28, 35, 42, 0.08);
  --text: #172026;
  --text-muted: #6e7b85;
  --shadow-soft: 0 24px 60px rgba(56, 77, 89, 0.12);
  --shadow-card: 0 14px 34px rgba(78, 98, 109, 0.10);
  --radius-lg: 30px;
  --tr: 0.2s cubic-bezier(0.4,0,0.2,1);
}

body {
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(142, 197, 235, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(230, 216, 190, 0.28), transparent 30%),
    var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.58), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0));
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-layout {
  width: 100%;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 460px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 34px 34px 28px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.emoji {
  margin: 0 auto 18px;
  font-size: 34px;
  line-height: 1;
}

.title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 26px 0 28px;
  text-align: left;
}

.step {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(28, 35, 42, 0.06);
}

.step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.step-number {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-right: 6px;
}

.step-text {
  display: inline;
  color: var(--text);
}

.login-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
  box-shadow: var(--shadow-card);
}

.login-button:hover {
  transform: translateY(-1px);
  background: #1b1b1b;
}

.auth-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.auth-status[data-tone="success"] {
  color: var(--ok, #3b9f68);
}

.auth-status[data-tone="danger"] {
  color: #d96565;
}

@media (max-width: 720px) {
  .page { padding: 18px 16px; }
  .auth-card { padding: 28px 22px 24px; border-radius: 26px; }
  .emoji { margin-bottom: 16px; font-size: 30px; }
  .title { font-size: 30px; }
  .step-text { font-size: 14px; }
  .steps { margin: 22px 0 24px; }
}
