/* ============================================================
   AUTH PAGES — Login, Register, Forgot Password
============================================================ */

.auth-body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SPLIT LAYOUT ── */
.auth-split {
  display: flex;
  min-height: 100vh;
}

/* ── LEFT PANEL ── */
.auth-left {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-left-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/home/login-1.webp');
  background-size: cover;
  background-position: center;
  animation: authBgZoom 20s ease-in-out infinite alternate;
}
@keyframes authBgZoom { 0%{transform:scale(1);} 100%{transform:scale(1.05);} }

.auth-left-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 1;
}

.auth-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,10,15,0.88) 0%,
    rgba(8,10,15,0.75) 50%,
    rgba(255,61,90,0.25) 100%
  );
  z-index: 2;
}

/* Decorative red line */
.auth-left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  opacity: 0.4;
  z-index: 10;
}

.auth-left-content {
  position: relative;
  z-index: 5;
  padding: 60px 50px;
}

.auth-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--white) !important;
  text-decoration: none;
  display: block;
  margin-bottom: 48px;
}
.auth-logo span { color: var(--red); }

.alt-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.alt-heading em { font-style: normal; color: var(--red); }

.auth-left-tagline p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 40px;
}

/* Stat row */
.auth-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.auth-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.auth-stat-lbl { font-size: 0.66rem; color: rgba(255,255,255,0.4); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
.auth-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* Testimonial */
.auth-testimonial {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 22px 24px;
  max-width: 360px;
  position: relative;
}
.auth-testi-quote {
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
  font-family: Georgia, serif;
}
.auth-testimonial p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 14px;
}
.auth-testi-author { display: flex; align-items: center; gap: 12px; }
.auth-testi-author img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); object-fit: cover; }
.atn { font-size: 0.82rem; font-weight: 700; color: #fff; }
.atl { font-size: 0.68rem; color: rgba(255,255,255,0.45); }

/* Particles */
.auth-particles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.auth-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,61,90,0.6);
  border-radius: 50%;
  animation: authParticleFly linear infinite;
}
@keyframes authParticleFly {
  0%   { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-300px) scale(0); opacity: 0; }
}

/* ── RIGHT PANEL ── */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: var(--bg2);
  position: relative;
}
.auth-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,61,90,0.05), transparent 60%);
}

.auth-form-wrap {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.auth-form-header {
  margin-bottom: 32px;
}
.auth-form-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.auth-form-header p { color: var(--text2); font-size: 0.88rem; }

/* Input with icon */
.input-with-icon { position: relative; }
.input-with-icon .form-control { padding-left: 42px; }
.input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 0.95rem;
  z-index: 2;
  pointer-events: none;
}
.has-icon { padding-left: 42px !important; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon { top: 50%; }

/* Social btns */
.auth-social-row { display: flex; gap: 12px; margin-bottom: 20px; }
.auth-social-btn {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 11px 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-social-btn:hover { border-color: var(--border2); background: var(--surface2); }

.auth-switch-text { text-align: center; font-size: 0.88rem; color: var(--text2); margin-top: 0; margin-bottom: 0; }

/* ── REGISTER PAGE ── */
.reg-page {
  background: var(--bg2);
  min-height: 100vh;
  padding: 40px 0 60px;
}

.reg-aside {
  background: linear-gradient(160deg, var(--red) 0%, #8B0000 100%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: #fff;
  position: sticky;
  top: 90px;
}
.reg-aside h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
      letter-spacing: 1px;
    font-weight: 500;
}
.reg-aside p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 28px; line-height: 1.65; }

.aside-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  font-weight: 500;
}
.aside-benefit i { color: var(--gold); width: 20px; }

.aside-prize {
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  padding: 18px;
  margin-top: 28px;
}
.aside-prize-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.aside-prize-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.aside-prize-row .r { color: rgba(255,255,255,0.6); }
.aside-prize-row .v { font-weight: 700; color: var(--gold); }

.reg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
}
.reg-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.3px;
  color: var(--text);
}

/* Step indicator pills */
.step-indicator { display: flex; gap: 6px; margin-bottom: 24px; }
.step-pill {
  height: 4px;
  border-radius: 2px;
  background: var(--surface2);
  flex: 1;
  transition: background 0.3s;
}
.step-pill.active { background: var(--red); }

.step-header { margin-bottom: 24px; }
.step-header .num { font-size: 0.66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.step-header .title { font-size: 1.1rem; font-weight: 700; color: var(--text); }

/* ── FORGOT PASSWORD PAGE ── */
.forgot-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 40px 20px;
  position: relative;
}
.forgot-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,61,90,0.06), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.forgot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.forgot-icon {
  width: 64px; height: 64px;
  background: rgba(255,61,90,0.1);
  border: 1px solid rgba(255,61,90,0.2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .auth-left { display: none; }
  .auth-split { display: block; }
  .auth-right { padding: 32px 24px; min-height: 100vh; }
  .reg-card { padding: 28px 22px; }
  .reg-aside { position: relative; top: 0; margin-bottom: 20px; }
}
@media (max-width: 576px) {
  .auth-form-wrap { max-width: 100%; }
  .auth-social-row { flex-direction: column; }
}
