/* Pantalla de acceso — Ada & Ade */

#auth-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0813;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#auth-gate.auth-exit {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.auth-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: 2rem;
}

.auth-heart {
  font-size: 2.2rem;
  color: #e5c158;
  animation: auth-pulse 2s ease-in-out infinite;
}

@keyframes auth-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.2); opacity: 0.7; }
}

.auth-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
}

.auth-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #b3aed2;
  margin: 0;
}

.auth-form { width: 100%; max-width: 320px; }

.auth-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.auth-input-wrap:focus-within {
  border-color: #e5c158;
}

.auth-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.85rem 1.2rem;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.auth-input-wrap input::placeholder { color: #6b6880; }

.auth-input-wrap button {
  background: #e5c158;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 3px;
  cursor: pointer;
  color: #000;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.auth-input-wrap button:hover {
  background: #f3d070;
  transform: scale(1.05);
}

.auth-error {
  margin-top: 0.7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  color: #ff758c;
  min-height: 1.2em;
  text-align: center;
}
