@font-face {
  font-family: "Douyin Sans";
  src: url("./assets/fonts/DouyinSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: local("Alibaba PuHuiTi 3.0"), local("AlibabaPuHuiTi-3-85-Bold"),
    url("./assets/fonts/AlibabaPuHuiTi-3-85-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #191919;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #191919;
  color: #fff;
  font-family: "Douyin Sans", "PingFang SC", sans-serif;
}

.hd-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
}

.hd-progress span {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: #fff;
}

.hd-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 24460px;
  overflow: hidden;
  background: transparent;
  transform: scale(var(--hd-scale, 1));
  transform-origin: top left;
}

.hd-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #191919;
}

.hd-pos {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  width: var(--w, auto);
  height: var(--h, auto);
}

.hd-block {
  z-index: 2;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.hd-el {
  display: block;
  max-width: none;
  pointer-events: none;
  object-fit: fill;
  background: transparent;
}

.hd-problem {
  pointer-events: none;
}

.hd-problem-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 16px;
  background: rgba(101, 101, 101, 0.2);
  color: #fff;
}

.hd-problem-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Alibaba PuHuiTi 3.0", "PingFang SC", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.hd-problem-card p,
.hd-problem-card li {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
}

.hd-problem-card ul {
  margin: 0;
  padding: 0 0 0 36px;
}

.hd-problem-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 16px;
  background: #88e290;
  color: #000;
  font-size: 32px;
  letter-spacing: 1.6px;
  line-height: normal;
  text-align: center;
}

.hd-hscroll {
  z-index: 3;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
}

.hd-hscroll::-webkit-scrollbar {
  display: none;
}

.hd-hscroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.hd-hscroll-track {
  position: relative;
  width: 2109px;
  height: 817px;
}

.hd-hscroll-track > img {
  display: block;
  width: 1989px;
  height: 817px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.hd-card-video {
  z-index: 4;
  overflow: hidden;
  border-radius: 32px;
  background: #1c1c1c;
}

.hd-card-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hd-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms ease, transform 820ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hd-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
