/* 注册 / 登录页 · 与首页转化风格一致 */

.page-auth .site-header {
  position: sticky;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-auth .site-nav a.nav-cta {
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.35);
}

.auth-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h, 4.25rem));
  max-width: var(--layout-max);
  margin: 0 auto;
  gap: 0;
}

/* —— 左侧品牌区 —— */
.auth-showcase-pane {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.auth-showcase-pane--shot::before {
  background: linear-gradient(
    125deg,
    rgba(5, 7, 10, 0.92) 0%,
    rgba(5, 7, 10, 0.72) 45%,
    rgba(5, 7, 10, 0.88) 100%
  );
}

.auth-showcase-pane .slogan-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem) !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 0%, #c5d4e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.auth-showcase__lead {
  margin: 1.75rem 0 0;
  max-width: 22em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.auth-showcase__points {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-showcase__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(245, 247, 251, 0.88);
  line-height: 1.5;
}

.auth-showcase__points li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px rgba(94, 179, 255, 0.5);
}

.auth-showcase__back {
  margin-top: 2rem;
  font-size: 0.88rem;
}

.auth-showcase__back a {
  color: var(--muted);
  border-bottom: 1px solid rgba(94, 179, 255, 0.25);
}

.auth-showcase__back a:hover {
  color: var(--accent);
}

/* —— 右侧表单区 —— */
.auth-form-pane {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201, 169, 98, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(94, 179, 255, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(12, 16, 24, 0.5), rgba(8, 10, 16, 0.95));
}

.auth-form-card {
  width: 100%;
  max-width: 26rem;
  padding: clamp(1.75rem, 3vw, 2.25rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-panel);
}

.auth-form-card__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--accent-2);
}

.auth-form-card h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem) !important;
}

.auth-form-card .sub {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.auth-form-card__promo .site-promo-compact {
  margin-bottom: 1.15rem;
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.08);
}

.auth-form-steps {
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.5rem;
}

.auth-form-steps li {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.auth-form-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
}

.auth-form-steps {
  counter-reset: step;
}

.auth-form-foot {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.auth-form-foot a {
  color: var(--accent);
}

/* 表单控件强化 */
.page-auth .auth-tabs {
  margin-bottom: 1.15rem;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.page-auth .auth-tab--active {
  background: linear-gradient(180deg, rgba(32, 42, 60, 0.98), rgba(18, 24, 36, 0.98));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-auth .auth-tab[data-tab="register"].auth-tab--active {
  color: #f0dca0;
}

.page-auth .form-row input {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
}

.page-auth .auth-panel .btn-block {
  margin-top: 0.25rem;
  padding: 0.9rem 1.25rem;
  font-size: 1.02rem;
}

.page-auth .auth-panel-hint--invite {
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.1);
  color: rgba(245, 247, 251, 0.9);
}

@media (max-width: 960px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-showcase-pane {
    min-height: 42vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
  }

  .auth-showcase__points {
    display: none;
  }

  .auth-form-pane {
    padding: 2rem 1.25rem 3rem;
  }
}
