/* ============================================================
   SocialX SMM - 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: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,230,118,0.3);
  box-shadow:
    0 0 30px rgba(0,230,118,0.5),
    0 0 80px rgba(0,230,118,0.2),
    inset 0 0 20px rgba(255,255,255,0.1);
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all .3s ease;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent);
}
.auth-logo:hover { transform: scale(1.08) translateY(-4px); box-shadow: 0 0 40px rgba(0,230,118,0.6), 0 0 100px rgba(0,230,118,0.25), inset 0 0 20px rgba(255,255,255,0.15); }

.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: 85px; height: 85px; }
  .auth-brand { font-size: 22px; }
}


/* ============================================================
   SocialX SMM — Auth Redesign
   ============================================================ */
.auth-body {
  padding: clamp(18px,4vw,38px);
  background:
    radial-gradient(circle at 50% 12%, rgba(108,99,255,.12), transparent 28rem),
    radial-gradient(circle at 90% 90%, rgba(0,229,255,.035), transparent 24rem),
    #09090b;
}
.auth-body::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 75%);
}
.auth-bg { opacity: .75; }
.bg-orb { animation-duration: 14s; filter: blur(110px); }
.orb1 { width: 430px; height: 430px; background: radial-gradient(circle, rgba(108,99,255,.15), transparent 68%); }
.orb2 { width: 330px; height: 330px; background: radial-gradient(circle, rgba(0,229,255,.055), transparent 70%); }
.orb3 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(124,58,237,.07), transparent 70%); }
.bg-particle { display: none; }
.auth-container { max-width: 420px; }
.auth-card {
  padding: clamp(27px,5vw,38px);
  background: linear-gradient(145deg, rgba(17,24,39,.91), rgba(10,15,25,.94));
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 30px 90px rgba(0,0,0,.5), 0 0 70px rgba(108,99,255,.055);
  animation: socialx-auth-in .42s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes socialx-auth-in { from { transform: translateY(14px); opacity: 0; } }
.auth-logo-wrap { margin-bottom: 26px; }
.auth-logo {
  width: 90px;
  height: 90px;
  padding: 0;
  object-fit: cover;
  border: 2px solid rgba(0,230,118,.3);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent);
  box-shadow: 0 0 30px rgba(0,230,118,.4), 0 0 70px rgba(0,230,118,.15), inset 0 0 15px rgba(255,255,255,.08);
  margin-bottom: 15px;
}
.auth-logo:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 40px rgba(0,230,118,.5), 0 0 90px rgba(0,230,118,.2), inset 0 0 15px rgba(255,255,255,.12); }
.auth-brand {
  color: #f8fafc;
  background: none;
  -webkit-text-fill-color: initial;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.auth-tagline { max-width: 290px; margin: 7px auto 0; color: #748095; font-size: 11px; line-height: 1.6; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form .form-label { font-size: 10px; }
.auth-form .form-input { min-height: 46px; }
.auth-form .btn-primary { min-height: 46px; margin-top: 3px; }
.auth-divider { margin: 18px 0; color: #59657a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.auth-links { color: #8490a4; font-size: 11px; }
.auth-links a { color: #a8a3ff; font-weight: 700; }
.auth-links a:hover { color: #67e8f9; }
.auth-stats { margin-top: 22px; padding-top: 18px; border-top-color: rgba(148,163,184,.1); }
.stat-num { color: #c6c3ff; background: none; -webkit-text-fill-color: initial; font-size: 14px; }
.auth-stats .stat-label { color: #606c81; font-size: 8px; letter-spacing: .045em; text-transform: uppercase; }
@media (max-width: 480px) {
  .auth-body { align-items: flex-start; overflow-y: auto; padding: 18px 14px 30px; }
  .auth-container { margin-top: max(4vh,18px); }
  .auth-card { padding: 25px 19px; border-radius: 17px; }
  .auth-logo { width: 56px; height: 56px; }
  .auth-brand { font-size: 21px; }
}

/* ===== SocialX — readable auth scale ===== */
.auth-container { max-width: 480px; }
.auth-card { padding: clamp(32px,5vw,48px); }
.auth-logo-wrap { margin-bottom: 30px; }
.auth-logo { width: 125px; height: 125px; border-radius: 50%; }
.auth-brand { font-size: 28px; }
.auth-tagline { max-width: 360px; margin-top: 10px; font-size: 14px; line-height: 1.65; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-label { margin-bottom: 8px; font-size: 13px; }
.auth-form .form-input { min-height: 52px; padding: 0 15px; font-size: 16px; }
.auth-form .password-wrapper .form-input { padding-right: 48px; }
.auth-form .btn-primary { min-height: 52px; font-size: 15px; }
.auth-divider { margin: 22px 0; font-size: 11px; }
.auth-links { font-size: 14px; }
.auth-stats { margin-top: 26px; padding-top: 22px; }
.stat-num { font-size: 17px; }
.auth-stats .stat-label { margin-top: 4px; font-size: 10px; }
@media (max-width:480px) {
  .auth-container { margin-top: max(2vh,10px); }
  .auth-card { padding: 30px 22px; }
  .auth-logo { width: 100px; height: 100px; border-radius: 50%; }
  .auth-brand { font-size: 25px; }
  .auth-tagline { font-size: 13px; }
}
