/* ============================================
   视频区样式
   ============================================ */

.media-section {
  position: relative;
  padding: 68px 0 92px;
  background: url("../public/video-bg.png");
  background-size: cover;
  background-position: center;
}

.media-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.media-wrapper h2 {
  font-family: "HYYakuHei";
  font-size: 46px;
  line-height: 62px;
  font-weight: 800;
  letter-spacing: 0.92px;
  background: linear-gradient(180deg, #3a4460 10.27%, #111721 88.7%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.media-wrapper p {
  font-size: 24px;
  line-height: 34px;
  color: #121212;
}

.media-wrapper .media-card {
  margin-top: 36px;
  max-width: 100%;
  width: 960px;
  background-color: black;
  border-radius: 12px;
  aspect-ratio: 648 / 355;
  overflow: hidden;
}

.xgplayer .xgplayer-start {
  width: 269px;
  height: 269px;
}
.xgplayer xg-start-inner {
  background-color: transparent;
}
.xgplayer xg-start-inner .xg-icon-play:hover {
  content: url("../public/play-hover.png");
}
.xgplayer .xgplayer-progress-btn {
  box-shadow: none;
  background: transparent;
}
.xgplayer .xgplayer-progress-btn.active {
  border: none;
}
.xgplayer .xgplayer-progress-btn.active::before {
  box-shadow: none;
}
.xgplayer .xgplayer-start:hover {
  opacity: 1;
}
.xgplayer .xg-pos {
  left: 17px;
  right: 17px;
}

@media (max-width: 1024px) {
  .media-wrapper p {
    margin-top: -12px;
    font-size: 20px;
    line-height: 28px;
  }

  .xgplayer .xgplayer-start {
    width: 253px;
    height: 253px;
  }
}

@media (max-width: 768px) {
  .media-section {
    padding: 48px 0 78px;
  }

  .media-wrapper h2 {
    font-size: 32px;
    line-height: 43px;
    letter-spacing: 0.64px;
  }

  .media-wrapper p {
    font-size: 14px;
    line-height: 20px;
  }

  .media-wrapper .media-card {
    margin-top: 8px;
  }

  .xgplayer .xgplayer-start,
  .xgplayer.xgplayer-mobile .xgplayer-start {
    width: 182px;
    height: 182px;
  }
}
