/* ═══════════════════════════════════════════
   ZONA GEMELOS 🎭 — Auth (login/register)
   ═══════════════════════════════════════════ */
#auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4,4,12,0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#auth-overlay.hidden { display: none; }

#auth-box {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 32px 24px;
  box-shadow:
    0 16px 64px rgba(0,0,0,0.4),
    0 0 0 0.5px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#auth-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 80% 20%, rgba(180,130,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

#auth-logo {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(138,94,255,0.3), rgba(107,63,204,0.2));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(138,94,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(138,94,255,0.15);
}
#auth-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 60%, rgba(180,130,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#auth-subtitle {
  font-size: 14px;
  color: var(--text2);
  text-align: center;
  line-height: 1.5;
}
.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.02);
}
.auth-input:focus {
  border-color: rgba(138,94,255,0.3);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.04),
    0 0 24px rgba(138,94,255,0.04);
}
.auth-input::placeholder { color: rgba(255,255,255,0.15); }

#auth-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #6b3fcc);
  border: none;
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  box-shadow: 0 4px 20px rgba(138,94,255,0.2);
}
#auth-btn:active { transform: scale(0.97); opacity: 0.9; }
#auth-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

#auth-error, #auth-error2 {
  color: #ff5555;
  font-size: 13px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255,0,0,0.2);
}
#auth-toggle {
  background: none;
  border: none;
  color: var(--accent-light);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  opacity: 0.7;
  transition: opacity 0.2s;
}
#auth-toggle:hover { opacity: 1; }

/* ─── CODE INPUT (6 dígitos) Crystal ─── */
#code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.code-box {
  width: 44px; height: 52px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  font-family: var(--font);
  outline: none;
  transition: all 0.25s ease;
}
.code-box:focus {
  border-color: rgba(138,94,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138,94,255,0.06);
}
