* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.desktop {
  display: block;
}

.wrap-body {
  display: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: #000;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 设计稿 1920 x 1080。--u 为一个设计稿像素的实际长度，
   整页按 --u 等比缩放，横向留白分配给中间的空档而不是页面两侧。 */
.pc {
  --u: min(100vw / 1920, 100vh / 1080);
  /* 视口比设计稿更方时，内容带上下各留出的空白。
     顶部导航要贴视口顶边，所以用它把 top 往上顶回去。 */
  --vslack: calc((100vh - 1080 * var(--u)) / 2);
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #190704;
}

/* 整页背景轮播：slide1-4 铺满视口，UI 叠在上面 */
.pc-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pc-swiper .swiper-wrapper,
.pc-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.pc-swiper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-stage {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: calc(1080 * var(--u));
  transform: translateY(-50%);
}

.pc-stage > * {
  position: absolute;
}

.pc-title,
.pc-topbar,
.pc-topfade {
  pointer-events: none;
}

/* 主标题 */
.pc-title {
  left: calc(57.1 * var(--u));
  top: calc(14 * var(--u));
  width: calc(948.9 * var(--u));
  height: calc(632 * var(--u));
}

/* 顶部压暗 */
.pc-topbar {
  left: 0;
  top: calc(0px - var(--vslack));
  width: 100%;
  height: calc(121 * var(--u));
  object-fit: cover;
}

.pc-topfade {
  left: 0;
  top: calc(-1 * var(--u) - var(--vslack));
  width: calc(366 * var(--u));
  height: calc(133 * var(--u));
  background: radial-gradient(
    ellipse calc(183 * var(--u)) calc(66.5 * var(--u)) at center,
    #050509 0%,
    rgba(5, 5, 9, 0) 100%
  );
}

/* 左上角品牌 */
.pc-brand {
  left: 0;
  top: calc(0px - var(--vslack));
  width: calc(700 * var(--u));
  height: calc(140 * var(--u));
}

.pc-brand > * {
  position: absolute;
}

.pc-brand-logo {
  left: calc(20.5 * var(--u));
  top: calc(31 * var(--u));
  width: calc(90 * var(--u));
  height: calc(90 * var(--u));
}

.pc-brand-name {
  left: calc(127 * var(--u));
  top: calc(36.5 * var(--u));
  font-size: calc(32 * var(--u));
  line-height: calc(44 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}

.pc-brand-slogan {
  left: calc(127 * var(--u));
  top: calc(84.5 * var(--u));
  font-size: calc(24 * var(--u));
  line-height: calc(34 * var(--u));
  opacity: 0.7;
  white-space: nowrap;
}

/* 右上角商务 / TG 入口 */
.pc-pill {
  display: block;
  top: calc(50 * var(--u) - var(--vslack));
  width: calc(120 * var(--u));
  height: calc(47 * var(--u));
  cursor: pointer;
}

.pc-pill img {
  display: block;
  width: 100%;
  height: 100%;
}

.pc-pill-biz {
  right: calc(173 * var(--u));
}

.pc-pill-tg {
  right: calc(41 * var(--u));
}

/* 副标语 */
.pc-slogan {
  font-size: calc(32 * var(--u));
  line-height: calc(45 * var(--u));
  font-weight: 500;
  white-space: nowrap;
}

.pc-slogan-1 {
  left: calc(248 * var(--u));
  top: calc(536 * var(--u));
}

.pc-slogan-2 {
  left: calc(306 * var(--u));
  top: calc(585 * var(--u));
}

/* 下载按钮 */
.pc-dl {
  display: block;
  top: calc(696.6 * var(--u));
  width: calc(383 * var(--u));
  height: calc(82.8 * var(--u));
  color: #fff;
  cursor: pointer;
}

/* 按钮整图（含发光、图标、文案）比可点区域大一圈，向左上溢出 */
.pc-dl img {
  position: absolute;
  left: calc(-18 * var(--u));
  top: calc(-16 * var(--u));
  width: calc(423 * var(--u));
  height: calc(122.824 * var(--u));
  pointer-events: none;
}

.pc-dl-ios {
  left: calc(147.8 * var(--u));
}

.pc-dl-and {
  left: calc(553.2 * var(--u));
}

/* 年龄提示 + 二维码 */
.pc-age {
  left: calc(289.5 * var(--u));
  top: calc(843 * var(--u));
  width: calc(402.971 * var(--u));
  height: calc(164 * var(--u));
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 calc(14.06 * var(--u)) calc(14.06 * var(--u)) 0;
  -webkit-backdrop-filter: blur(calc(2.34 * var(--u)));
  backdrop-filter: blur(calc(2.34 * var(--u)));
}

.pc-age > * {
  position: absolute;
}

.pc-age-num {
  left: calc(35.14 * var(--u));
  top: calc(27 * var(--u));
  font-size: calc(46 * var(--u));
  line-height: calc(64 * var(--u));
  font-weight: 700;
  background: linear-gradient(180deg, #fff 0%, #f2ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.pc-age-text {
  left: calc(35.14 * var(--u));
  top: calc(87 * var(--u));
  width: calc(367.829 * var(--u));
  font-size: calc(18.743 * var(--u));
  line-height: calc(28.114 * var(--u));
  color: #fff;
}

.pc-qr {
  left: calc(141.9 * var(--u));
  top: calc(843 * var(--u));
  width: calc(164 * var(--u));
  height: calc(164 * var(--u));
  box-sizing: border-box;
  padding: calc(10.25 * var(--u));
  background: #fff;
  border-radius: calc(12.3 * var(--u));
}

.pc-qr #qr {
  width: 100%;
  height: 100%;
}

.pc-qr #qr img,
.pc-qr #qr canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* 内容分类卡片：整图含角标，点击 / hover 切背景 */
.pc-cards {
  right: calc(43 * var(--u));
  top: calc(784.61 * var(--u));
  width: calc(859 * var(--u));
  height: calc(257.391 * var(--u));
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.pc-card {
  position: relative;
  left: auto !important;
  top: auto;
  width: calc(193.043 * var(--u));
  height: 100%;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  border-radius: calc(12.87 * var(--u));
  cursor: pointer;
  box-sizing: border-box;
  border: calc(3 * var(--u)) solid transparent;
  transition: border-color 0.35s ease;
}

.pc-card.is-active {
  border-color: #ffb200;
}
