/* ══════════════════════════════════════════
   AUTH.CSS — Login / Signup Screen
   ══════════════════════════════════════════ */

#auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg, #06060f);
}

.auth-card {
  background: var(--surface);
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  position: relative;
  border-radius: 24px;
  padding: 40px 32px;
  width: 100%;
  max-width: 380px;
  animation: fadeIn 0.35s ease;
}
.auth-card::before {
  content: ''; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
  background: linear-gradient(135deg, var(--gold), var(--neon-pink), var(--accent), var(--neon-cyan), var(--gold));
  background-size: 400% 400%;
  animation: flame-border 3s ease infinite;
}
@keyframes flame-border {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-logo {
  background: linear-gradient(90deg, var(--gold), var(--neon-pink), var(--neon-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neon-sweep 2s linear infinite;
  font-size: 42px !important; font-weight: 900 !important;
  letter-spacing: 4px !important;
  filter: drop-shadow(0 0 20px var(--gold));
  margin-bottom: 4px;
}

.auth-tagline {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.auth-form { display: flex; flex-direction: column; gap: 10px; }

.auth-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--red);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}
