/* ============ 登录页 · 双栏品牌化 ============ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #eef1f7;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
.login-shell {
  width: 1000px;
  max-width: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--card, #fff);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(23, 34, 61, .14), 0 4px 16px rgba(23, 34, 61, .05);
}

/* ---- 左侧品牌舞台 ---- */
.brand-stage {
  position: relative;
  overflow: hidden;
  padding: 40px 42px 34px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 12% 6%, #ff6a52 0%, transparent 45%),
    radial-gradient(110% 95% at 92% 100%, #8f0f0a 0%, transparent 55%),
    linear-gradient(150deg, #e1251b 0%, #c21811 55%, #9c120c 100%);
  display: flex;
  flex-direction: column;
}
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  pointer-events: none;
}
.stage-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%);
}
.orb-a { width: 300px; height: 300px; top: -90px; right: -80px; }
.orb-b { width: 220px; height: 220px; bottom: 40px; left: -110px; opacity: .6; }
.stage-glow {
  position: absolute;
  width: 360px; height: 360px;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,214,180,.34) 0%, rgba(255,255,255,0) 66%);
  pointer-events: none;
}
.stage-logo { position: relative; z-index: 2; }
.stage-logo img {
  display: block;
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: .96;
}

/* 吉祥物：站在光环上，呼吸浮动 */
.stage-figure {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 6px;
}
.figure-halo {
  position: absolute;
  bottom: 26px;
  width: 250px; height: 250px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.28);
  box-shadow:
    0 0 0 22px rgba(255,255,255,.06),
    0 0 0 46px rgba(255,255,255,.035),
    inset 0 0 40px rgba(255,255,255,.14);
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.16), transparent 70%);
  animation: haloPulse 4.5s ease-in-out infinite;
}
.figure-mascot {
  position: relative;
  z-index: 3;
  height: 330px;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 18px rgba(90, 8, 4, .35));
  animation: mascotFloat 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.figure-shadow {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  width: 170px; height: 20px;
  border-radius: 50%;
  background: rgba(70, 5, 2, .3);
  filter: blur(9px);
  animation: shadowPulse 4s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-13px) rotate(1deg); }
}
@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: .9; }
  50% { transform: scaleX(.82); opacity: .55; }
}
@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.06); opacity: 1; }
}

.stage-copy { position: relative; z-index: 3; text-align: center; margin-top: 10px; }
.stage-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em;
  color: rgba(255,255,255,.82);
}
.stage-copy h1 {
  margin: 8px 0 6px;
  font-size: 30px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2;
}
.stage-copy h1 span { font-weight: 500; opacity: .92; }
.stage-copy p {
  margin: 0; font-size: 12.5px; line-height: 1.8; color: rgba(255,255,255,.82);
}
.stage-tags {
  display: flex; flex-wrap: wrap; gap: 7px; justify-content: center;
  margin-top: 16px;
}
.stage-tags span {
  font-size: 11px; line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
.stage-foot {
  position: relative; z-index: 3;
  text-align: center; margin-top: 20px;
  font-size: 10.5px; letter-spacing: .06em; color: rgba(255,255,255,.6);
}

/* ---- 右侧表单 ---- */
.form-stage {
  display: flex; align-items: center; justify-content: center;
  padding: 46px 50px;
  background: #fff;
}
.form-inner { width: 100%; max-width: 320px; }
.form-badge {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(150deg, #fff1ee, #fde3df);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(225,37,27,.12);
}
.form-badge img { width: 48px; height: 48px; object-fit: contain; }
.form-head { text-align: center; margin-bottom: 30px; }
.form-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #e1251b;
}
.form-head h2 {
  margin: 8px 0 6px; font-size: 25px; font-weight: 700; color: var(--ink, #151a22);
}
.form-head p { margin: 0; font-size: 13px; color: #929aa9; }

.field-label {
  display: block; font-size: 13px; font-weight: 600;
  color: #2b3341; margin: 0 0 9px;
}
.field-label.gap { margin-top: 17px; }
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%; height: 46px;
  border: 1px solid #e7eaf0;
  border-radius: 11px;
  background: #f6f8fb;
  padding: 0 15px;
  font-size: 14px; color: var(--ink, #151a22);
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.input-wrap input::placeholder { color: #aab2c0; }
.input-wrap input:focus {
  border-color: #f0a9a3; background: #fff;
  box-shadow: 0 0 0 3px rgba(225,37,27,.07);
}
.input-wrap.has-suffix input { padding-right: 46px; }
.eye-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: transparent;
  color: #9aa3b2; display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.eye-btn:hover { color: #e1251b; background: #fbeeec; }
.form-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 16px 0 20px; font-size: 13px; color: #4a5261;
}
.remember { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.remember input { width: 15px; height: 15px; margin: 0; accent-color: #e1251b; cursor: pointer; }
.link-blue { color: #1a5fb4; font-size: 13px; }
.link-blue:hover { text-decoration: underline; }
.primary-btn {
  width: 100%; height: 48px; border: 0; border-radius: 11px;
  background: linear-gradient(135deg, #ea2b20, #c21811);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .1em;
  box-shadow: 0 10px 22px rgba(225,37,27,.24);
  transition: transform .12s, box-shadow .18s;
}
.primary-btn:hover { box-shadow: 0 12px 26px rgba(225,37,27,.32); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { opacity: .7; cursor: default; }
.divider { height: 1px; background: #eef0f4; margin: 26px 0 16px; }
.foot-note { font-size: 11.5px; color: #9aa2b0; line-height: 1.85; }
.foot-note strong { display: block; font-weight: 600; color: #798292; margin-bottom: 2px; }
.foot-note b { color: #e1251b; }

/* ---- 提示条 ---- */
.toast {
  position: fixed; left: 50%; bottom: 42px; transform: translate(-50%, 12px);
  background: rgba(24, 32, 46, .92); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- 响应式 ---- */
@media (max-width: 820px) {
  .login-page { padding: 0; align-items: stretch; }
  .login-shell {
    grid-template-columns: 1fr; min-height: 100vh; border-radius: 0;
    box-shadow: none;
  }
  .brand-stage { padding: 28px 26px 22px; }
  .figure-mascot { height: 230px; }
  .figure-halo { width: 190px; height: 190px; bottom: 16px; }
  .stage-copy h1 { font-size: 25px; }
  .stage-foot { display: none; }
  .form-stage { padding: 34px 26px 44px; align-items: flex-start; }
  .form-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .figure-mascot, .figure-shadow, .figure-halo { animation: none; }
}
