* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: radial-gradient(1200px 800px at 15% 20%, #0b2431 0%, #07131c 55%, #050b12 100%);
  color: #d6eef7;
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  padding: 48px 72px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}

.page::before {
  width: 320px;
  height: 320px;
  background: #2cc4ff;
  top: -120px;
  left: -80px;
}

.page::after {
  width: 420px;
  height: 420px;
  background: #1a6fff;
  bottom: -180px;
  right: 120px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #0c1b24 0%, #081219 100%);
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), inset 0 0 18px rgba(110, 242, 255, 0.08);
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(80, 220, 255, 0.6));
}

.brand-text {
  font-size: 22px;
  letter-spacing: 2px;
  color: #6fe5ff;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: center;
  z-index: 1;
  width: 75%;
  margin: 0 auto;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.intro p {
  line-height: 1.8;
  color: #a6cfe0;
  margin-bottom: 16px;
  font-size: 15px;
}

.qr-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.qr-card {
  width: 160px;
  padding: 16px 12px 12px;
  background: linear-gradient(160deg, rgba(20, 34, 45, 0.95) 0%, rgba(12, 22, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  display: grid;
  place-items: center;
  gap: 10px;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.35);
}

.qr {
  width: 120px;
  height: 120px;
  background: url("media/code.png") center/cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
  border: 6px solid rgba(7, 16, 22, 0.9);
}

.qr-label {
  color: #d9f2ff;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.right {
  display: flex;
  justify-content: flex-end;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  overflow: visible;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: transparent;
  padding: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.video-card::after {
  display: none;
}

.floaters {
  position: absolute;
  left: 50%;
  width: 88%;
  transform: translateX(-50%);
  bottom: calc(100% - 8px);
  height: 180px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.floaters span {
  position: absolute;
  bottom: 0;
  color: var(--c, rgba(130, 200, 230, 0.75));
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(60, 170, 210, 0.55);
  filter: drop-shadow(0 0 8px rgba(70, 150, 180, 0.45));
  animation: floatUp var(--t, 7s) linear infinite;
  opacity: 0;
}

.floaters span:nth-child(1) { left: 6%; animation-delay: 0s; font-size: 20px; --c: rgba(120, 190, 220, 0.55); --t: 7.2s; }
.floaters span:nth-child(2) { left: 18%; animation-delay: 1.2s; font-size: 24px; --c: rgba(110, 200, 235, 0.65); --t: 6.6s; }
.floaters span:nth-child(3) { left: 32%; animation-delay: 2.1s; font-size: 18px; --c: rgba(150, 200, 220, 0.55); --t: 7.8s; }
.floaters span:nth-child(4) { left: 48%; animation-delay: 0.6s; font-size: 22px; --c: rgba(130, 210, 240, 0.65); --t: 6.9s; }
.floaters span:nth-child(5) { left: 62%; animation-delay: 1.8s; font-size: 26px; --c: rgba(120, 185, 205, 0.55); --t: 7.4s; }
.floaters span:nth-child(6) { left: 76%; animation-delay: 2.6s; font-size: 19px; --c: rgba(140, 190, 210, 0.5); --t: 6.4s; }
.floaters span:nth-child(7) { left: 10%; animation-delay: 3.1s; font-size: 22px; --c: rgba(110, 175, 210, 0.5); --t: 8s; }
.floaters span:nth-child(8) { left: 28%; animation-delay: 3.8s; font-size: 20px; --c: rgba(160, 205, 225, 0.55); --t: 7.1s; }
.floaters span:nth-child(9) { left: 54%; animation-delay: 4.2s; font-size: 24px; --c: rgba(120, 200, 220, 0.65); --t: 6.8s; }
.floaters span:nth-child(10) { left: 70%; animation-delay: 4.8s; font-size: 18px; --c: rgba(135, 185, 205, 0.5); --t: 7.6s; }
.floaters span:nth-child(11) { left: 40%; animation-delay: 5.4s; font-size: 21px; --c: rgba(125, 195, 215, 0.55); --t: 6.7s; }
.floaters span:nth-child(12) { left: 82%; animation-delay: 5.9s; font-size: 19px; --c: rgba(145, 200, 220, 0.5); --t: 7.9s; }

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-150px) translateX(-6px);
    opacity: 0;
  }
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-video {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

.loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  color: #9fd9ee;
  background: transparent;
  z-index: 3;
  transition: opacity 0.3s ease;
}

.video-card.is-loaded .loading {
  opacity: 0;
  pointer-events: none;
}

.loading-bars {
  display: flex;
  gap: 6px;
  justify-content: center;
  height: 18px;
}

.loading-bars span {
  width: 4px;
  border-radius: 6px;
  background: rgba(120, 190, 220, 0.7);
  animation: bars 1s ease-in-out infinite;
}

.loading-bars span:nth-child(2) { animation-delay: 0.1s; }
.loading-bars span:nth-child(3) { animation-delay: 0.2s; }
.loading-bars span:nth-child(4) { animation-delay: 0.3s; }
.loading-bars span:nth-child(5) { animation-delay: 0.4s; }


.video-glow {
  position: absolute;
  inset: 30% 15% 20% 15%;
  background: radial-gradient(circle, rgba(110, 214, 255, 0.35) 0%, rgba(110, 214, 255, 0) 70%);
  filter: blur(30px);
  z-index: -1;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  color: #5d7f92;
  z-index: 1;
}

.wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 34, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  color: #c6f2ff;
  position: relative;
}

.wechat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #24f38a;
  box-shadow: 0 0 10px rgba(36, 243, 138, 0.8);
}

.wechat-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(6px);
  width: 170px;
  padding: 12px;
  background: rgba(10, 22, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  text-align: center;
}

.wechat-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: rgba(10, 22, 30, 0.98) transparent transparent transparent;
}

.wechat:hover .wechat-pop {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wechat-title {
  font-size: 12px;
  color: #dff6ff;
  margin-bottom: 8px;
}

.wechat-qr {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 10px;
  background: url("media/code.png") center/cover no-repeat;
  border: 6px solid rgba(7, 16, 22, 0.9);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
}

.icp {
  font-size: 12px;
  letter-spacing: 0.6px;
}

@media (max-width: 960px) {
  .page {
    padding: 32px 24px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .right {
    justify-content: flex-start;
  }

  .video-card {
    width: 100%;
  }
}
