/* ============================================================
   91爆料 落地页 TJ-040 改版
   PC 舞台 1920x1080 / H5 舞台 750x1624，整层等比缩放居中
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070707;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- 全窗口背景 / 遮罩 / 顶栏（不随舞台缩放居中） ---------- */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.page-bg-h5 {
  display: none;
}

/* PC 稿：向左渐暗遮罩，铺满全窗口 */
.page-mask {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent 62.1%);
  pointer-events: none;
}

/* 顶栏品牌区：钉在视口顶部，DOM 结构可配置 */
.page-head {
  position: fixed;
  z-index: 3;
  pointer-events: none;
}

.page-head .brand {
  position: absolute;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.page-head .brand-icon {
  display: block;
}

.page-head .brand-main {
  display: flex;
}

.page-head .brand-col {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.page-head .brand-name {
  font-weight: 700;
  line-height: 1;
}

.page-head .brand-slogan {
  font-weight: 600;
}

.page-head .brand-divider {
  width: 1px;
  background: #d9d9d9;
}

.page-head .brand-right {
  color: #fff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* PC：设计稿 1920 宽，整层随 --pc-scale 缩放 */
.page-head-pc {
  left: 0;
  top: 0;
  width: 1920px;
  transform: scale(var(--pc-scale, 1));
  transform-origin: top left;
}

.page-head-pc .brand {
  left: 29px;
  top: 25px;
  gap: 19px;
}

.page-head-pc .brand-icon {
  width: 120px;
  height: 120px;
}

.page-head-pc .brand-main {
  gap: 24px;
  align-items: flex-end;
}

.page-head-pc .brand-col {
  gap: 13px;
}

.page-head-pc .brand-name {
  font-size: 35px;
}

.page-head-pc .brand-slogan {
  font-size: 22px;
  line-height: 31px;
}

.page-head-pc .brand-divider {
  height: 87px;
}

.page-head-pc .brand-right {
  font-size: 35px;
  /* 与左侧 APP 名称顶部对齐（行高 87 - 左列 79 = 8） */
  align-self: flex-start;
  margin-top: 8px;
}

.page-head-h5 {
  display: none;
}

@media (max-width: 767.98px) {
  .page-bg-pc,
  .page-mask,
  .page-head-pc {
    display: none;
  }
  .page-bg-h5 {
    display: block;
  }
  /* H5：设计稿 750 宽，顶部居中，随 --h5-scale 缩放 */
  .page-head-h5 {
    display: block;
    left: 50%;
    top: 0;
    width: 750px;
    transform: translateX(-50%) scale(var(--h5-scale, 1));
    transform-origin: top center;
  }
  .page-head-h5 .brand {
    width: 100%;
    justify-content: center;
    top: 20px;
    gap: 19px;
  }
  .page-head-h5 .brand-icon {
    width: 100px;
    height: 100px;
  }
  .page-head-h5 .brand-main {
    gap: 19px;
    align-items: flex-start;
  }
  .page-head-h5 .brand-col {
    gap: 13px;
  }
  .page-head-h5 .brand-name {
    font-size: 26px;
  }
  .page-head-h5 .brand-slogan {
    font-size: 18px;
    line-height: 25px;
  }
  .page-head-h5 .brand-divider {
    height: 60px;
  }
  .page-head-h5 .brand-right {
    font-size: 26px;
  }
}

/* ---------- 舞台通用 ---------- */

.stage {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  overflow: hidden;
  /* transform 由 JS 设置：translate(-50%,-50%) scale(n) */
}

.stage-pc {
  width: 1920px;
  height: 1080px;
}

.stage-h5 {
  width: 750px;
  height: 1624px;
  display: none;
}

@media (max-width: 767.98px) {
  .stage-pc {
    display: none;
  }
  .stage-h5 {
    display: block;
  }
}

/* ---------- 轮播层 ---------- */

.slides {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.stage-pc .slides {
  flex-direction: column;
}

.stage-h5 .slides {
  flex-direction: row;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
}

.slide img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  backface-visibility: hidden;
}

/* ---------- 分页点 ---------- */

.dots {
  position: absolute;
  display: flex;
  z-index: 6;
}

.dots i {
  display: block;
  background: #2259ff;
  border: 1px solid #1b9ff7;
  border-radius: 60px;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* PC：纵向，容器水平居中，active 明显更大更亮 */
.dots-pc {
  left: 1857px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.dots-pc i {
  width: 10px;
  height: 36px;
}

.dots-pc i.on {
  width: 15px;
  height: 40px;
  background: #e6f7ff;
  border-color: #e6f7ff;
  box-shadow: 0 0 16.3px #22b2ff;
}

/* H5：横向，active 为浅色发光胶囊 */
.dots-h5 {
  left: 50%;
  top: 1185px;
  transform: translateX(-50%);
  gap: 11px;
  align-items: center;
}

.dots-h5 i {
  width: 14px;
  height: 14px;
}

.dots-h5 i.on {
  width: 23px;
  height: 16px;
  background: #e6f7ff;
  border-color: #e6f7ff;
  box-shadow: 0 0 16.3px #22b2ff;
}

/* ---------- 下载面板（背景用切图） ---------- */

.dl-panel {
  position: absolute;
  z-index: 5;
}

/* 下载按钮（背景用切图） */
.dl-btn {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  color: #fff;
}

.dl-btn img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.dl-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 229px;
  color: #fff;
  text-align: left;
}

.dl-txt strong {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.dl-txt em {
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

/* 免责声明 */
.dl-tip {
  position: absolute;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

/* 商务合作 / 官方群组 */
.channel {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.channel img {
  pointer-events: none;
  user-select: none;
}

.channel span {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  background: linear-gradient(to bottom, #fbfafe, #639efa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.channel-divider {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* 渠道框渐变描边：顶边全亮，两侧边从上往下渐隐（稿上实测 100% -> ~50%） */
.stage-pc .channel-box::before,
.stage-h5 .channel-row .channel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(to bottom, #fbfafe 0%, #639efa 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- PC 面板布置 ---------- */

.stage-pc .dl-panel {
  left: 246px;
  top: 799px;
  width: 1428px;
  height: 247px;
}

/* 外发光比面板大一圈，挂在框外，避免被面板的直角裁成尖角 */
.stage-pc .dl-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -20px;
  top: -20px;
  width: 1468px;
  height: 287px;
  background: url("/static/assets/images/landing/panel-pc.webp?v=20260930g") 0 0 / 1468px 287px no-repeat;
  pointer-events: none;
}

.stage-pc .dl-btn {
  top: 25px;
  width: 386px;
  height: 90px;
  gap: 8px;
  background-image: url("/static/assets/images/landing/btn-pc.webp?v=20260930m");
}

.stage-pc .dl-btn.ios {
  left: 34px;
}

.stage-pc .dl-btn.android {
  left: 452px; /* 34 + 386 + 32 */
}

.stage-pc .dl-txt {
  gap: 12px;
}

.stage-pc .dl-txt em {
  font-size: 16px;
}

.stage-pc .dl-tip {
  left: 34px;
  top: 126px;
  width: 804px;
  line-height: 32px;
  text-align: left;
}

.stage-pc .channel-box {
  position: absolute;
  z-index: 1;
  left: 898px;
  top: 28px;
  width: 493px;
  height: 190px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.stage-pc .channel {
  top: 50%;
  left: 0;
  width: 246px;
  height: 190px;
  margin-top: -95px;
  gap: 11px;
}

.stage-pc .channel:nth-child(3) {
  left: 247px;
}

.stage-pc .channel img {
  width: 80px;
  height: 80px;
}

.stage-pc .channel-divider {
  height: 160px;
}

.setup-tips-container {
  position: absolute;
  z-index: 2;
  color: #08ff63;
  font-weight: 500;
  cursor: pointer;
}

.stage-pc .setup-tips-container {
  left: 34px;
  top: 190px;
  width: 804px;
  text-align: left;
  font-size: 18px;
  line-height: 32px;
}

.stage-h5 .setup-tips-container {
  left: 28px;
  top: 195px;
  width: 630px;
  text-align: center;
  font-size: 20px;
  line-height: 34px;
}

/* ---------- H5 面板布置 ---------- */

.stage-h5 .dl-panel {
  left: 32px;
  top: 1231px;
  width: 686px;
  height: 354px;
}

.stage-h5 .dl-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -20px;
  top: -20px;
  width: 726px;
  height: 394px;
  background: url("/static/assets/images/landing/panel-h5.webp?v=20260930g") 0 0 / 726px 394px no-repeat;
  pointer-events: none;
}

.stage-h5 .dl-btn {
  top: 34px;
  width: 307px;
  height: 80px;
  gap: 4px;
  background-image: url("/static/assets/images/landing/btn-h5.webp?v=20260930m");
}

.stage-h5 .dl-btn.ios {
  left: 28px;
}

.stage-h5 .dl-btn.android {
  left: 351px;
}

.stage-h5 .dl-txt {
  gap: 12px;
}

.stage-h5 .dl-txt em {
  font-size: 18px;
}

.stage-h5 .dl-tip {
  left: 28px;
  top: 123px;
  width: 630px;
  line-height: 34px;
  text-align: center;
}

.stage-h5 .channel-row .channel {
  position: absolute;
  z-index: 1;
  top: 243px;
  width: 307px;
  height: 78px;
  left: 28px;
  flex-direction: row;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.stage-h5 .channel-row .channel:last-child {
  left: 351px;
}

.stage-h5 .channel-row .channel img {
  width: 60px;
  height: 60px;
}

/* ---------- 幻灯片素材布置 ---------- */

.stage-pc .slide .hero {
  left: -3px;
  top: 144px;
  width: 832px;
  height: 884px;
}

.stage-pc .slide .title {
  left: 828px;
  top: 151px;
  width: 1032px;
  height: 648px;
}

.stage-h5 .slide .hero {
  left: 0;
  top: 141px;
  width: 750px;
  height: 1022px;
}
