/* Acceso y registro: fondo morado con brillo, tarjeta de cristal e inclinación suave. */
.auth-page { min-height: 100vh; background: radial-gradient(120% 70% at 50% 0%, #6b2fb3 0%, #3b1670 38%, #170a2c 70%, #0b0714 100%); background-attachment: fixed; overflow-x: hidden; }
.auth-page::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(40% 35% at var(--gx, 50%) var(--gy, 30%), rgba(176, 107, 255, .28), transparent 70%); transition: background .2s; }
.auth-page .auth-shell { position: relative; perspective: 1200px; }
.auth-page .auth-card {
  max-width: 400px; padding: 34px 32px 28px; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, rgba(20,8,40,.35));
  border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(8, 2, 24, .55), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: auth-in .6s cubic-bezier(.2,.8,.2,1) both;
}
.auth-page .auth-card.tilting { transition: transform .12s linear; }
@keyframes auth-in { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.auth-logo { width: 46px; height: 46px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.auth-logo img { width: 26px; height: 26px; border-radius: 6px; }
.auth-page .auth-card h1 { font-size: 24px; letter-spacing: -.4px; margin-bottom: 6px; }
.auth-page .auth-card p.hint { color: #cdbfe8; margin-bottom: 22px; }
.auth-page .auth-card p.hint a { color: #fff; }
.auth-page form { text-align: left; }
.auth-page .field label { color: #d6cbee; font-size: 12.5px; }
.input-ico { position: relative; }
.input-ico > svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: #b8a8d8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.auth-page .field input { padding-left: 40px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); transition: border-color .2s, background .2s, box-shadow .2s; }
.auth-page .field input::placeholder { color: #9d8fbd; }
.auth-page .field input:focus { outline: none; background: rgba(255,255,255,.11); border-color: #b98bff; box-shadow: 0 0 0 3px rgba(185,139,255,.25); }
.pass-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #b8a8d8; cursor: pointer; }
.pass-toggle:hover { color: #fff; background: rgba(255,255,255,.08); }
.pass-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-page .field input[type="password"], .auth-page .field input[data-pass] { padding-right: 44px; }
.auth-page .btn-submit { width: 100%; min-height: 46px; margin-top: 6px; background: #fff; color: #1a0b33; box-shadow: 0 10px 30px rgba(10, 2, 30, .35); font-weight: 700; }
.auth-page .btn-submit:hover { background: #f1e9ff; }
.auth-page .btn-twitch { min-height: 46px; background: rgba(145,70,255,.85); border: 1px solid rgba(255,255,255,.18); }
.auth-page .btn-twitch:hover { background: #9146ff; }
.auth-page .or-divider { color: #a99bc8; }
.auth-page .or-divider::before, .auth-page .or-divider::after { background: rgba(255,255,255,.14); }
.auth-foot { margin: 20px 0 0; font-size: 13.5px; color: #cdbfe8; }
.auth-foot a { color: #fff; font-weight: 700; }
.auth-note { margin: 10px 0 0; font-size: 12px; color: #a99bc8; }
@media (max-width: 480px) { .auth-page .auth-card { padding: 28px 20px 22px; } }
@media (prefers-reduced-motion: reduce) { .auth-page .auth-card { animation: none; transform: none !important; } .auth-page::before { display: none; } }
/* Volver a la portada. */
.auth-back { position: fixed; top: 18px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px; color: #e9ddff; font-size: 13.5px; font-weight: 600; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.auth-back:hover { background: rgba(255,255,255,.14); transform: translateX(-2px); }
.auth-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .auth-back { top: 12px; left: 12px; } .auth-page .auth-shell { padding-top: 64px; } }
/* Invitación con ventajas. */
.promo-kicker { margin: 0 0 6px; color: #d9b8ff; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.promo-perks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; text-align: left; }
.promo-perks li { display: flex; gap: 10px; font-size: 14px; color: #ece4fb; }
.promo-perks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(79,224,160,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fe0a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.promo-acts .btn-submit { display: flex; align-items: center; justify-content: center; text-decoration: none; }

.auth-page .forgot { margin: -4px 0 12px; font-size: 13px; text-align: right; }
.auth-page .forgot a { color: #cdbfe8; }
.auth-page .forgot a:hover { color: #fff; }
.auth-page .linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #fff; text-decoration: underline; cursor: pointer; }
.auth-page .alert .linklike { display: block; margin: 6px auto 0; color: inherit; }
