/* ── Auth overlay ──────────────────────────────────────────────────────────── */
#auth-screen {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#auth-screen.show { display: flex; }

/* ── Logo ──────────────────────────────────────────────────────────────────── */
.auth-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: 10px;
  background: linear-gradient(135deg, #ff6419, #ff9c5e, #ff6419);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  animation: gradientShift 4s ease infinite;
  filter: drop-shadow(0 0 20px rgba(255, 100, 25, 0.5));
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-tagline {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

/* ── Auth box ──────────────────────────────────────────────────────────────── */
.auth-box {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ── Tabs ──────────────────────────────────────────────────────────────────── */
.auth-tabs {
  display: flex;
  margin-bottom: 22px;
  background: var(--surface);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text3);
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}

.auth-tab.active {
  background: var(--bg2);
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── Error ─────────────────────────────────────────────────────────────────── */
.auth-error {
  background: rgba(255, 77, 106, 0.12);
  border: 1px solid rgba(255, 77, 106, 0.28);
  color: var(--red);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
  line-height: 1.4;
}

.auth-error.show { display: block; }
