/* 首页视频 Banner 专用。Logo 尺寸、横幅高度、文字位置、遮罩和手机端样式都在此文件。 */

/* Wide video canvas with the existing copy above it. */
header .logo {
  transform: scale(0.8);
  transform-origin: left center;
  width: 190px;
  height: 88px;
}
header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero.video-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: calc(100vh - var(--banner-top-height, 148px));
  height: calc(100dvh - var(--banner-top-height, 148px));
  aspect-ratio: auto;
  overflow: hidden;
  background: #08080b;
  border-bottom: 1px solid #25242e;
}
.banner-media,
.banner-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.banner-media {
  background: radial-gradient(ellipse at 78% 45%, #342164 0%, #171021 35%, #08080b 75%);
  background-size: cover;
  background-position: center;
}
.banner-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画面垂直居中，超出高度的部分从顶部、底部平均裁切。 */
  object-position: center center;
}
.banner-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    #08080bf2 0%,
    #08080bc4 35%,
    #08080b55 62%,
    #08080b12 100%
  );
}
.video-banner .hero-copy {
  width: min(700px, 65%);
  padding: 42px 0 38px 6%;
  position: relative;
  z-index: 1;
}
.video-banner h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  max-width: 590px;
  line-height: 1.08;
  letter-spacing: -2.7px;
  text-wrap: balance;
}
.video-banner .intro {
  max-width: 460px;
}
.video-banner .hero-bottom {
  max-width: 460px;
  margin-top: 32px;
}
.video-banner .hero-copy > .eyebrow {
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  header .logo {
    width: 165px;
    height: 77px;
  }
  .video-banner .hero-copy {
    width: 78%;
    padding-left: 6%;
  }
}
@media (max-width: 580px) {
  header .logo {
    width: 140px;
    height: 65px;
  }
  .hero.video-banner {
    min-height: 0;
    height: calc(100vh - var(--banner-top-height, 120px));
    height: calc(100dvh - var(--banner-top-height, 120px));
    aspect-ratio: auto;
  }
  .video-banner .hero-copy {
    width: 94%;
    padding: 12px 6%;
  }
  .video-banner h1 {
    font-size: clamp(20px, 5.5vw, 32px);
    letter-spacing: -1px;
  }
  .video-banner .intro {
    font-size: 10px;
    max-width: 340px;
    margin: 8px 0;
  }
  .banner-shade {
    background: linear-gradient(90deg, #08080be6, #08080b80);
  }
  .video-banner .hero-bottom {
    flex-direction: row;
    font-size: 8px;
    margin-top: 8px;
  }
  .video-banner .hero-copy > .eyebrow {
    margin-bottom: 8px;
    font-size: 8px;
  }
  .video-banner .button {
    padding: 8px 12px;
    font-size: 10px;
  }
}
