/* Gamxzo auth pages — full split layout (dark-grid theme) */

.auth-page.login-body {
  background: #070b14;
  color: #e2e8f0;
  min-height: 100vh;
}

.auth-page .login-container,
.auth-page .register-container {
  display: block;
  min-height: auto;
  width: auto;
  margin: 0;
}

.auth-page .login-form,
.auth-page .register-form {
  max-width: none;
  min-width: 0;
  width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.auth-page .login-form .container,
.auth-page .register-form .container {
  max-width: none;
  padding: 0;
}

.auth-page .login-logo {
  display: none;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100vh;
}

.auth-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 212, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(168, 85, 247, 0.18), transparent 50%),
    linear-gradient(160deg, #0a0e1a 0%, #111827 45%, #0c1222 100%);
}

.auth-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.auth-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.auth-hero-glow--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  left: 8%;
  background: rgba(0, 212, 255, 0.22);
}

.auth-hero-glow--2 {
  width: 320px;
  height: 320px;
  bottom: 5%;
  right: 5%;
  background: rgba(192, 38, 211, 0.2);
}

.auth-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth-hero-brand {
  display: inline-block;
  margin-bottom: 36px;
}

.auth-hero-logo {
  display: block;
  max-width: 228px;
  width: auto;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.auth-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-hero-desc {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 36ch;
}

.auth-hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-hero-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.auth-hero-list i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #00d4ff;
  font-size: 0.85rem;
}

.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 32px;
  background: #070b14;
}

.auth-panel {
  width: 100%;
  max-width: 440px;
}

.auth-panel-head {
  margin-bottom: 28px;
}

.auth-panel-head h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-panel-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-form-wrap .form-label {
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-form-wrap .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #f1f5f9;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form-wrap .form-control::placeholder {
  color: #64748b;
}

.auth-form-wrap .form-control:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
  color: #fff;
}

.auth-form-wrap .form-check-label {
  color: #94a3b8;
  font-size: 0.9rem;
}

.auth-form-wrap .form-check-input {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.auth-form-wrap .form-check-input:checked {
  background-color: #00d4ff;
  border-color: #00d4ff;
}

.auth-gender-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 8px;
}

.auth-gender-row .form-check {
  margin-bottom: 0;
}

.auth-form-wrap .btn-primary {
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 55%, #c026d3 100%);
  box-shadow: 0 10px 28px rgba(0, 180, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-form-wrap .btn-primary:hover,
.auth-form-wrap .btn-primary:focus {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.35);
  transform: translateY(-1px);
}

.auth-form-wrap .btn-primary.btn-sm {
  width: auto;
  padding: 10px 22px;
}

.auth-form-wrap .alert {
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.auth-form-wrap .alert-warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fcd34d;
}

.auth-form-wrap .alert-success {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.auth-links a,
.auth-form-wrap .login-links a,
.auth-form-wrap a:not(.btn) {
  color: #38bdf8;
  font-weight: 600;
}

.auth-links a:hover,
.auth-form-wrap .login-links a:hover,
.auth-form-wrap a:not(.btn):hover {
  color: #7dd3fc;
}

.auth-form-wrap .login-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form-wrap .captcha-container img {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #64748b !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-page--register .auth-main {
  justify-content: flex-start;
  padding-top: 36px;
  padding-bottom: 36px;
}

.auth-page--register .auth-panel {
  max-width: 460px;
}

.auth-register-grid .mb-3 {
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .auth-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .auth-hero {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 24px;
    min-height: auto;
  }

  .auth-hero-inner {
    max-width: none;
  }

  .auth-hero-brand {
    margin-bottom: 16px;
  }

  .auth-hero-title {
    font-size: 1.35rem;
  }

  .auth-hero-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .auth-hero-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .auth-hero-list li {
    font-size: 0.8rem;
    gap: 8px;
  }

  .auth-hero-list i {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .auth-hero-glow {
    display: none;
  }

  .auth-main {
    padding: 28px 20px 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .auth-hero-list {
    display: none;
  }

  .auth-panel-head h1 {
    font-size: 1.4rem;
  }
}
