/* ============================================================================== */
/*  ESTILOS DE LOGIN                                                              */
/* ============================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/*CSS GENERAL*/ 
body {
  font-family: 'Inter', sans-serif;
  background: #06080f;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*EFECTO DE FONDOS GRADIENTES*/
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(124,58,237,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(6,182,212,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/*ESTILOS DE LA CARD DE LOGIN*/
.card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}

/*ESTILOS DE LOS ELEMENTOS DENTRO DE LA CARD*/
.logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(124,58,237,.4);
}

/*ESTILOS DE LOS TEXTOS*/
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

/*ESTILOS DE LOS SUBTEXTOS*/
.subtitle {
  font-size: .9rem;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.5;
}

/*ESTILOS DEL BOTÓN DE LOGIN CON DISCORD*/
.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: #5865F2;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(88,101,242,.4);
}

/*EFECTO HOVER DEL BOTÓN DE LOGIN*/
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(88,101,242,.5);
}

/*EFECTO DE PRESIÓN AL HACER CLICK*/
.btn-discord:active { transform: translateY(0); }

/*ESTILOS DE LOS ENLACES SECUNDARIOS (POLÍTICA DE PRIVACIDAD, ETC)*/
.discord-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/*ESTILOS DE LOS DIVISORES*/
.divider {
  margin: 28px 0 20px;
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
}

/*ESTILOS DE LOS ENLACES SECUNDARIOS (POLÍTICA DE PRIVACIDAD, ETC)*/
.note {
  font-size: .78rem;
  color: #64748b;
  line-height: 1.6;
}
.note a {
  color: #7c3aed;
  text-decoration: none;
}
.note a:hover { text-decoration: underline; }

/*ESTILOS DE LOS MENSAJES DE ERROR (si el login falla por alguna razón)*/
.alert {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .85rem;
  color: #fca5a5;
  margin-bottom: 20px;
}

/* ============================================================================== */
/*  FIN DEL MODULO                                                                */
/* ============================================================================== */