/* ============================================================
   BrasilSMM - Auth Pages CSS
   Login & Cadastro com fundo animado Brasil Neon
   ============================================================ */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,230,118,0.15), transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,180,255,0.15), transparent);
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
.orb3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 6s;
}

.bg-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--green);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}
.p1 { top: 20%; left: 15%; animation-delay: 0s; }
.p2 { top: 60%; right: 20%; animation-delay: 2s; background: var(--blue); }
.p3 { bottom: 30%; left: 40%; animation-delay: 4s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(.95); }
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(-20px); opacity: 1; }
}

/* ===== AUTH CONTAINER ===== */
.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: rgba(17, 17, 40, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(0,230,118,0.08);
  animation: cardIn .5s cubic-bezier(.34,1.56,.64,1);
}

@keyframes cardIn {
  from { transform: translateY(30px) scale(.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* ===== LOGO ===== */
.auth-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  object-fit: cover;
  border: 3px solid var(--green);
  box-shadow:
    0 0 20px rgba(0,230,118,0.4),
    0 0 60px rgba(0,230,118,0.15);
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform .3s;
}
.auth-logo:hover { transform: scale(1.05) rotate(2deg); }

.auth-brand {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #00e676, #00b4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.auth-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== AUTH FORM ===== */
.auth-form { margin-bottom: 16px; }

/* ===== AUTH DIVIDER ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== AUTH LINKS ===== */
.auth-links { text-align: center; font-size: 14px; color: var(--text-secondary); }

/* ===== SOCIAL PROOF ===== */
.auth-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 11px; color: var(--text-muted); }

/* ===== BUTTON LOADING ===== */
.btn-loading { display: inline-flex; align-items: center; gap: 8px; }

/* ===== RESPONSIVE AUTH ===== */
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; border-radius: 20px; }
  .auth-logo { width: 72px; height: 72px; }
  .auth-brand { font-size: 22px; }
}
