/* ══════════════════════════════════════
   AUTH — Login / Signup card
   ══════════════════════════════════════ */
.auth-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
}

.auth-container {
  width: 100%;
  max-width: 540px;
  padding: 24px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 40px;
}

.auth-title {
  font-family: "Share Tech Mono", monospace;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  margin-top: 16px;
  background: linear-gradient(90deg, #ffe680 0%, #ffcc33 20%, #ffb400 45%, #d49500 70%, #a07000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 180, 0, 0.25));
}

.auth-subtitle {
  font-family: "Electrolize", "Rajdhani", sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  letter-spacing: 0.12em;
}

/* Auth card — frosted glass */
.auth-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 44px 40px;
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auth-card-title {
  font-family: "Share Tech Mono", monospace;
  font-size: 1.8rem;
  color: var(--ll-gold);
  margin-bottom: 32px;
  text-align: center;
}

.auth-card-subtitle {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 28px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.auth-view { display: none; }
.auth-view--active { display: block; }

/* Auth fields */
.auth-field { margin-bottom: 20px; }

.auth-field label {
  display: block;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.02em;
}

.auth-field input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  outline: none;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  border-color: rgba(255, 180, 0, 0.4);
}

.auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Password toggle */
.auth-field--password { position: relative; }
.auth-field--password input { padding-right: 48px; }

.auth-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.auth-toggle-pw:hover { color: var(--ll-amber); }

/* Auth buttons */
.auth-btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-family: "Share Tech Mono", monospace;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.auth-btn--primary {
  background: linear-gradient(135deg, var(--ll-gold), var(--ll-amber));
  color: #111;
  font-weight: 600;
  margin-top: 8px;
}

.auth-btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.auth-btn--google {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.auth-btn--google:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.auth-divider span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Share Tech Mono", monospace;
}

.auth-switch {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

.auth-error {
  text-align: center;
  font-size: 1rem;
  color: #ff6b6b;
  margin-top: 14px;
  min-height: 1.2em;
}

/* Auth mobile overrides */
@media (max-width: 768px) {
  .auth-container { padding: 16px; }
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
}
