.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; background: var(--bg);
}

.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px 40px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow);
}

.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  border-radius: 16px; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 14px;
}
.auth-logo h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-logo p  { color: var(--muted); font-size: 13px; }

.key-input {
  width: 100%; background: var(--surface2);
  border: 2px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 15px; color: var(--text);
  letter-spacing: .04em; transition: border-color .2s;
  margin-bottom: 12px;
}
.key-input:focus  { outline: none; border-color: var(--accent); }
.key-input::placeholder { color: var(--muted); letter-spacing: 0; }

.btn-login {
  width: 100%; background: var(--accent); color: #fff;
  border-radius: var(--r-sm); padding: 12px;
  font-size: 15px; font-weight: 600; transition: background .15s, opacity .15s;
}
.btn-login:hover    { background: var(--accent-h); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; }

.auth-error {
  color: var(--red); font-size: 13px; text-align: center;
  padding: 8px 12px; background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25); border-radius: var(--r-sm);
  margin-top: 10px; display: none;
}

.lang-row { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.lang-btn {
  color: var(--muted); font-size: 12px;
  padding: 4px 10px; border-radius: 99px; transition: background .15s, color .15s;
}
.lang-btn:hover  { background: var(--surface2); color: var(--text); }
.lang-btn.active { background: rgba(79,110,247,.12); color: var(--accent); }

/* ─── Promo slider ────────────────────────────────── */
.promos { margin-top: 20px; width: 100%; max-width: 420px; }
.promo-slide {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 18px;
  cursor: pointer; display: none; transition: border-color .2s;
}
.promo-slide:hover { border-color: var(--accent); }
.promo-slide.active { display: block; }
.promo-slide strong { display: block; color: var(--accent); margin-bottom: 5px; font-size: 13px; }
.promo-slide p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.promo-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.promo-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: background .2s;
}
.promo-dot.active { background: var(--accent); }

@media (max-width: 480px) {
  .auth-page { padding: 16px; justify-content: flex-start; padding-top: 40px; }
  .auth-card { padding: 24px 18px; }
}
