/**
 * ============================================================
 *  MixPanel CS 1.6 — Auth / Login Page Styles
 * ============================================================
 *  Template by Templuxo — https://templuxo.com
 * ============================================================
 */

/* ── Body ───────────────────────────────────────────────────── */
.auth-body {
  min-height: 100vh;
  overflow: auto;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
}

/* ── Animated Background (warmer, military grid) ───────────── */
.auth-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(77,159,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,159,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-pan 25s linear infinite;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  z-index: 0;
}

/* ── Ambient glow spots ────────────────────────────────────── */
.auth-body::before {
  content: '';
  position: fixed;
  top: 20%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(77,159,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.auth-body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(57,255,110,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Particles ──────────────────────────────────────────────── */
.auth-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: float-particle 6s ease-in-out infinite;
}
@keyframes float-particle {
  0%   { opacity: 0;    transform: translateY(0) scale(1); }
  30%  { opacity: 0.5; }
  70%  { opacity: 0.3; }
  100% { opacity: 0;    transform: translateY(-80px) scale(0.5); }
}

/* ── Wrap ───────────────────────────────────────────────────── */
.auth-wrap {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ── Header / Branding ──────────────────────────────────────── */
.auth-header {
  text-align: center;
}
.auth-logo-big {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent) 0%, #2A6FCC 100%);
  color: var(--bg-void);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 24px;
  margin: 0 auto 14px;
  box-shadow: 0 0 40px rgba(77,159,255,0.35), 0 4px 16px rgba(0,0,0,0.4);
  animation: logo-in 0.6s var(--ease-back) both 0.1s;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--tx-1);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(77,159,255,0.1);
}
.auth-sub {
  font-size: 13px;
  color: var(--tx-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Card ───────────────────────────────────────────────────── */
.auth-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--orange), transparent);
}

/* ── Welcome ────────────────────────────────────────────────── */
.auth-welcome {
  text-align: center;
  margin-bottom: 24px;
}
.auth-welcome-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}
.auth-welcome h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tx-1);
  margin-bottom: 8px;
}
.auth-welcome p {
  font-size: 14px;
  color: var(--tx-2);
  line-height: 1.6;
}

/* ── Divider ────────────────────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-1);
}
.auth-divider span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tx-4);
}

/* ── Steam Button ───────────────────────────────────────────── */
.btn-steam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: #1b2838;
  border: 1px solid #2a475e;
  border-radius: var(--r-lg);
  color: #c7d5e0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-steam::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102,192,244,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-steam:hover {
  background: #1e3347;
  border-color: #66c0f4;
  color: #c7d5e0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,40,56,0.6), 0 0 0 1px rgba(102,192,244,0.2);
}
.btn-steam:hover::before { opacity: 1; }
.btn-steam:active { transform: scale(0.98); }

.steam-icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  fill: #66c0f4;
  flex-shrink: 0;
}

/* ── Info List ──────────────────────────────────────────────── */
.auth-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-info-item {
  font-size: 12px;
  color: var(--tx-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-info-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(77,159,255,0.3);
}

/* ── Banned ─────────────────────────────────────────────────── */
.auth-banned {
  text-align: center;
}
.auth-banned-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.auth-banned h3 {
  font-size: 20px;
  color: var(--err);
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(255,77,77,0.2);
}
.auth-banned p {
  font-size: 14px;
  color: var(--tx-2);
}
.auth-ban-reason {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
}

/* ── Stats Teaser ───────────────────────────────────────────── */
.auth-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 16px 24px;
  width: 100%;
}
.auth-stat {
  flex: 1;
  text-align: center;
}
.auth-stat-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(77,159,255,0.2);
}
.auth-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx-3);
  margin-top: 3px;
}
.auth-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border-1);
  flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.auth-footer {
  font-size: 12px;
  color: var(--tx-4);
  text-align: center;
}
.auth-footer a {
  color: var(--tx-3);
}
.auth-footer a:hover { color: var(--accent); }
