/* ============================================================
   电影感首页 + 小玻璃登录弹窗
   完整保留来客宝的进入体验：全屏夜景实拍背景、超大标题、
   左下数据条、右侧小尺寸玻璃对话框（登录 / 注册 / 找回密码）
   ============================================================ */

.landing {
  position: relative;
  min-height: calc(100svh - 34px);
  background-image: url('../assets/laikebao-home-background-v2.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
}
.landing::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(3 12 22 / 62%) 0%, rgb(3 12 22 / 28%) 42%, rgb(3 12 22 / 8%) 68%);
  pointer-events: none;
}

.landing .brand-top { position: absolute; top: 42px; left: 4.5vw; z-index: 2; }
.landing .wordmark {
  font-size: 26px; font-weight: 650; letter-spacing: -.03em; color: #fff; text-align: left; white-space: nowrap;
}
.landing .wordmark small {
  display: block; font-size: 9px; letter-spacing: .18em; margin-top: 6px; font-weight: 500;
  color: #9fb3c8; text-shadow: 0 2px 12px #0008; white-space: nowrap;
}
.landing .loginonly { position: absolute; top: 42px; right: 4.5vw; z-index: 3; }
.landing .loginonly .btn { background: rgb(255 255 255 / 14%); color: #fff; backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / 22%); }
.landing .loginonly .btn:hover { background: rgb(255 255 255 / 24%); }

.landing-copy { position: absolute; left: 4.5vw; top: 21%; max-width: 80vw; z-index: 2; text-shadow: 0 3px 24px #0008; }
.landing-copy h1 {
  font-size: clamp(46px, 5.8vw, 88px); line-height: 1.13; font-weight: 750; letter-spacing: -.045em; color: #fff;
}
.landing-copy p { font-size: clamp(19px, 1.7vw, 25px); margin-top: 26px; color: #eef3f9; }
.landing-copy p b { color: #7fb7ff; font-weight: 650; }
.landing-copy .smallcopy { font-size: 18px; max-width: 330px; line-height: 1.8; margin-top: 28px; color: #cfdae7; }

.landing-stats { position: absolute; bottom: 56px; left: 4.5vw; display: flex; gap: 38px; z-index: 2; text-shadow: 0 2px 16px #0009; }
.landing-stats strong { font-size: 22px; display: block; font-weight: 650; }
.landing-stats span { font-size: 13px; display: block; margin-top: 7px; color: #dbe4ee; }
.landing-stats > div + div { border-left: 1px solid rgb(255 255 255 / 22%); padding-left: 30px; }

/* 玻璃登录弹窗 —— 小尺寸、可关闭、不铺满 */
.loginbackdrop {
  position: fixed; inset: 0; background: rgb(4 16 29 / 28%); backdrop-filter: blur(8px); z-index: 20;
}
.loginpanel {
  position: fixed; z-index: 21; width: 450px; max-width: calc(100vw - 32px);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 32px; border-radius: 27px;
  background: rgb(18 30 44 / 82%); border: 1px solid rgb(255 255 255 / 16%);
  backdrop-filter: blur(32px); box-shadow: 0 26px 80px rgb(0 0 0 / 40%);
  color: #f4f7fb; max-height: calc(100dvh - 64px); overflow-y: auto;
}
.loginpanel .close { position: absolute; right: 16px; top: 16px; background: rgb(255 255 255 / 10%); color: #dbe6f2; width: 40px; height: 40px; border-radius: 50%; }
.loginpanel .close:hover { background: rgb(255 255 255 / 18%); }
.loginpanel h2 { font-size: 30px; font-weight: 600; margin: 10px 0 20px; letter-spacing: -.03em; }
.loginpanel > small { color: #9fb3c8; }
.loginpanel .field { color: #c3d2e2; margin-bottom: 15px; }
.loginpanel .field > span { color: #c3d2e2; }
.loginpanel .field input {
  background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 18%); color: #fff;
}
.loginpanel .field input::placeholder { color: #8fa2b8; }
.loginpanel .subnav { margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgb(255 255 255 / 8%); border-radius: 11px; padding: 3px; }
.loginpanel .subnav button { min-height: 40px; border-radius: 9px; font-size: 14px; color: #b9c9dc; }
.loginpanel .subnav button.active { background: rgb(255 255 255 / 16%); color: #fff; font-weight: 600; }
.loginpanel .btn.primary { width: 100%; margin-top: 18px; min-height: 50px; font-size: 15px; background: #2f7ff5; color: #fff; }
.loginpanel .btn.primary:hover { background: #1f70e8; }
.loginpanel .btn.ghost { color: #a9c8f0; }
.loginpanel p { font-size: 12px; color: #93a6bb; text-align: center; margin-top: 16px; }
.loginpanel .check { color: #b9c9dc; }
.loginpanel .rowlink { display: flex; justify-content: flex-end; margin-top: -4px; }
.loginpanel .rowlink .btn { padding-right: 0; }

@media (max-width: 760px) {
  .landing .brand-top { top: 26px; left: 20px; }
  .landing .wordmark { font-size: 21px; }
  .landing .loginonly { top: 25px; right: 18px; }
  .landing-copy { top: 19%; left: 20px; max-width: calc(100vw - 40px); }
  .landing-copy h1 { font-size: 38px; line-height: 1.2; }
  .landing-copy p { font-size: 16px; margin-top: 22px; max-width: 330px; }
  .landing-copy .smallcopy { font-size: 15px; margin-top: 22px; }
  .landing-stats { left: 20px; right: 18px; bottom: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .landing-stats strong { font-size: 15px; }
  .landing-stats span { font-size: 11px; line-height: 1.5; }
  .landing-stats > div + div { padding-left: 12px; }
  .loginpanel { width: calc(100vw - 32px); padding: 24px; border-radius: 22px; }
  .loginpanel h2 { font-size: 26px; }
}
@media (prefers-reduced-transparency: reduce) {
  .loginpanel { background: #16283a; backdrop-filter: none; }
  .loginbackdrop { backdrop-filter: none; background: rgb(4 16 29 / 70%); }
}
