* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: #030914;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  border: none;
  outline: none;
}

/* =========================
   背景
========================= */

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030914;
}

.fallback-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(31, 221, 214, 0.2), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(41, 132, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #07192b 0%, #020713 100%);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.06) 28%,
      rgba(0, 0, 0, 0.22) 58%,
      rgba(0, 0, 0, 0.60) 100%
    ),
    radial-gradient(circle at 50% 13%, rgba(97, 225, 255, 0.15), transparent 34%);
}

/* =========================
   页面
========================= */

.page {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   顶部双 LOGO 并排
========================= */

.top-brand-area {
  position: relative;
  z-index: 8;
  width: 100%;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.dual-logo-panel {
  position: relative;
  width: 100%;
  height: 104px;
  padding: 9px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background:
    radial-gradient(circle at 20% 10%, rgba(50, 238, 220, 0.14), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(82, 183, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.028));
  border: 1px solid rgba(217, 245, 255, 0.16);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  overflow: hidden;
}

.dual-logo-panel::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -70%;
  width: 40%;
  height: 260%;
  transform: rotate(24deg);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: logoSweep 5.8s ease-in-out infinite;
}

.dual-logo-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: 86px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
  border: 1px solid rgba(221, 245, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 22px rgba(0,0,0,0.14);
}

.dual-logo-light {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 46%, rgba(47, 231, 255, 0.22), transparent 58%);
  filter: blur(15px);
  opacity: 0.85;
}

.dual-logo-divider {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(to bottom, transparent, rgba(168, 235, 255, 0.34), transparent);
  box-shadow: 0 0 14px rgba(71, 223, 255, 0.35);
}

.dual-logo-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(0,0,0,0.42))
    brightness(1.08)
    contrast(1.03);
}

/* 盛云 logo 原图很宽，这里稍微放大识别度 */
.shengyun-top-logo {
  max-width: 100%;
  max-height: 78px;
}

/* 云霄 logo 较短，保持居中清晰 */
.yunxiao-top-logo {
  max-width: 96%;
  max-height: 70px;
}

.pg-subtitle {
  margin-top: 8px;
  font-size: clamp(12px, 3.5vw, 15px);
  font-weight: 300;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow:
    0 3px 14px rgba(0, 0, 0, 0.68),
    0 0 12px rgba(64, 210, 255, 0.2);
}

/* =========================
   中部文案
========================= */

.hero-copy {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 430px;
  margin: 14px auto 12px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 25px;
  padding: 0 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035));
  border: 1px solid rgba(209, 244, 255, 0.14);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 227, 255, 0.95), transparent);
}

.hero-badge em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(212, 246, 255, 0.9);
}

.hero-title {
  margin-top: 9px;
  line-height: 1.14;
}

.hero-title span {
  display: block;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-shadow:
    0 8px 22px rgba(0,0,0,0.52),
    0 0 18px rgba(79, 210, 255, 0.28);
}

.hero-title strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(22px, 6vw, 31px);
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff 0%, #c9f2ff 55%, #70dfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(215, 244, 255, 0.15);
  box-shadow:
    0 12px 26px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: clamp(15px, 4.1vw, 18px);
  font-weight: 900;
  letter-spacing: 1.1px;
  text-shadow:
    0 3px 10px rgba(0,0,0,0.4),
    0 0 14px rgba(76, 219, 255, 0.24);
}

.hero-tip {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(226, 243, 255, 0.68);
  text-shadow: 0 3px 10px rgba(0,0,0,0.38);
}

/* =========================
   底部按钮区
========================= */

.bottom-dock {
  position: relative;
  z-index: 9;
  width: 100%;
  max-width: 432px;
  margin-top: auto;
  padding: 9px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(10, 28, 50, 0.28), rgba(3, 11, 24, 0.48));
  border: 1px solid rgba(206, 242, 255, 0.12);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.glass-card {
  border: 1px solid rgba(221, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.032));
  box-shadow:
    0 9px 22px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(14px) saturate(142%);
  -webkit-backdrop-filter: blur(14px) saturate(142%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.13) 46%,
      transparent 72%
    );
  opacity: 0;
  transition: opacity 0.16s ease;
}

.glass-card:active {
  transform: scale(0.965);
  border-color: rgba(221, 245, 255, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05));
}

.glass-card:active::before {
  opacity: 1;
}

/* 统一入口按钮：使用云霄按钮风格 */
.yunxiao-entry {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  border-radius: 18px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background:
    radial-gradient(circle at 10% 15%, rgba(115, 94, 255, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(53, 75, 180, 0.34), rgba(8, 17, 38, 0.28));
}

.brand-link-entry + .brand-link-entry {
  margin-top: 7px;
}

.yunxiao-entry-logo {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.yunxiao-entry-logo img {
  display: block;
  width: 100%;
  max-width: 210px;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,0.34))
    brightness(1.08);
}

.yunxiao-entry-tag {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(115, 195, 255, 0.30), rgba(255,255,255,0.08));
  border: 1px solid rgba(208, 238, 255, 0.16);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.94);
}

/* 小按钮 */
.mini-grid {
  margin-top: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mini-card {
  min-height: 45px;
  border-radius: 17px;
  padding: 6px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026)),
    rgba(5, 19, 41, 0.23);
}

.mini-icon {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.27), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 4px 12px rgba(0,0,0,0.16);
}

.mini-icon span {
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.94);
}

.mini-gift span {
  color: #ffe08a;
}

.mini-vip span {
  color: #9ee9ff;
}

.mini-wechat span {
  color: #67f5a4;
}

.mini-qq span {
  color: #7abbff;
}

.mini-group span {
  color: #65edff;
}

.mini-service span {
  color: #ffbf72;
}

.mini-text {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
}

.mini-text strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 780;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-text span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.08;
  color: rgba(225, 243, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer {
  padding: 7px 0 0;
  text-align: center;
  font-size: 9px;
  color: rgba(225, 243, 255, 0.34);
}

/* =========================
   弹窗
========================= */

.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(45, 201, 255, 0.14), transparent 36%),
    rgba(0, 0, 0, 0.78);
}

.popup-mask.show {
  display: flex;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  animation: popupIn 0.2s ease;
  background:
    linear-gradient(180deg, rgba(13, 40, 73, 0.72), rgba(4, 12, 26, 0.92));
  border: 1px solid rgba(210, 242, 255, 0.14);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.popup-img-wrap {
  position: relative;
  width: 100%;
  min-height: 260px;
  background: rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-img-wrap img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  cursor: pointer;
}

.popup-nav {
  position: absolute;
  top: 43%;
  z-index: 5;
  width: 36px;
  height: 48px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup-prev {
  left: 8px;
}

.popup-next {
  right: 8px;
}

.popup-info {
  padding: 13px 15px 14px;
  text-align: center;
}

.popup-title {
  font-size: 17px;
  font-weight: 850;
  color: rgba(255,255,255,0.96);
}

.popup-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(230, 246, 255, 0.62);
}

.popup-link {
  margin-top: 11px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(56, 216, 255, 0.88), rgba(35, 134, 255, 0.76));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(35, 172, 255, 0.28);
}

.popup-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0 13px;
}

.popup-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.popup-dot.active {
  width: 18px;
  background: rgba(77, 226, 255, 0.88);
}

/* =========================
   动画
========================= */

@keyframes logoSweep {
  0% {
    left: -70%;
    opacity: 0;
  }

  36% {
    opacity: 0;
  }

  52% {
    opacity: 0.82;
  }

  68% {
    opacity: 0;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================
   小屏
========================= */

@media (max-width: 370px) {
  .page {
    padding: 9px 10px 14px;
  }

  .dual-logo-panel {
    height: 92px;
    padding: 7px;
    gap: 6px;
    border-radius: 24px;
  }

  .dual-logo-card {
    height: 76px;
    border-radius: 19px;
    padding: 6px;
  }

  .shengyun-top-logo {
    max-height: 68px;
  }

  .yunxiao-top-logo {
    max-height: 62px;
  }

  .pg-subtitle {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .hero-copy {
    margin-top: 11px;
    margin-bottom: 10px;
  }

  .hero-badge {
    min-height: 23px;
    padding: 0 11px;
  }

  .hero-badge em {
    font-size: 10px;
  }

  .hero-title span {
    font-size: 24px;
  }

  .hero-title strong {
    font-size: 21px;
  }

  .hero-subtitle {
    margin-top: 9px;
    min-height: 31px;
    font-size: 14px;
    padding: 0 15px;
  }

  .hero-tip {
    display: none;
  }

  .bottom-dock {
    padding: 8px;
    border-radius: 22px;
  }

  .yunxiao-entry {
    min-height: 44px;
    border-radius: 16px;
  }

  .yunxiao-entry-logo img {
    max-width: 168px;
    max-height: 30px;
  }

  .yunxiao-entry-tag {
    height: 24px;
    padding: 0 9px;
    font-size: 10px;
  }

  .mini-grid {
    gap: 6px;
  }

  .mini-card {
    min-height: 42px;
    border-radius: 15px;
    padding: 5px 6px;
  }

  .mini-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 11px;
  }

  .mini-text strong {
    font-size: 12px;
  }

  .mini-text span {
    font-size: 8.5px;
  }
}

/* =========================
   矮屏强制压缩
========================= */

@media (max-height: 760px) {
  .page {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .dual-logo-panel {
    height: 82px;
    padding: 7px;
  }

  .dual-logo-card {
    height: 68px;
  }

  .shengyun-top-logo {
    max-height: 60px;
  }

  .yunxiao-top-logo {
    max-height: 56px;
  }

  .pg-subtitle {
    margin-top: 5px;
    font-size: 11px;
  }

  .hero-copy {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .hero-badge {
    display: none;
  }

  .hero-title {
    margin-top: 0;
  }

  .hero-title span {
    font-size: 25px;
  }

  .hero-title strong {
    font-size: 21px;
    margin-top: 3px;
  }

  .hero-subtitle {
    margin-top: 7px;
    min-height: 29px;
    font-size: 14px;
  }

  .hero-tip {
    display: none;
  }

  .yunxiao-entry {
    min-height: 42px;
  }

  .mini-card {
    min-height: 40px;
  }

  .footer {
    padding-top: 5px;
  }
}

/* =========================
   PC
========================= */

@media (min-width: 768px) {
  .page {
    max-width: 580px;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .dual-logo-panel {
    height: 126px;
    padding: 10px;
    border-radius: 32px;
  }

  .dual-logo-card {
    height: 106px;
    border-radius: 25px;
  }

  .shengyun-top-logo {
    max-height: 96px;
  }

  .yunxiao-top-logo {
    max-height: 86px;
  }

  .pg-subtitle {
    font-size: 16px;
    margin-top: 10px;
  }

  .hero-copy {
    max-width: 560px;
    margin-top: 18px;
    margin-bottom: 16px;
  }

  .hero-title span {
    font-size: 38px;
  }

  .hero-title strong {
    font-size: 32px;
  }

  .hero-subtitle {
    min-height: 38px;
    font-size: 19px;
  }

  .bottom-dock {
    width: 430px;
    max-width: 430px;
  }

  .popup-box {
    max-width: 520px;
  }
}