/* Shared by the Chinese and English homepages. */
.page-home .hero.hero-video-section {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: none;
  background: #0a1c32;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-home .hero-video-section .hero-shade {
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 20, 44, .64), rgba(5, 20, 44, .28) 55%, rgba(5, 20, 44, .08)), linear-gradient(0deg, rgba(5, 20, 44, .24), transparent 32%);
}
.page-home .hero-video-section .hero-subtitle,
.page-home .hero-video-section .hero-desc { color: #f0f4fa; }
.hero-video-controls {
  position: absolute;
  right: max(32px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100% - 48px);
}
.hero-video-controls[hidden], .hero-video-status[hidden] { display: none; }
.hero-video-controls button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 24px;
  color: #fff;
  background: rgba(5, 20, 44, .5);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}
.hero-video-controls button:hover { background: rgba(5, 20, 44, .8); }
.hero-video-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero-video-status { flex-basis: 100%; margin: 0; color: #fff; text-align: right; font-size: 13px; }
@media (max-width: 700px) {
  .hero-video-controls { right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); gap: 8px; }
  .hero-video-controls button { padding: 10px 14px; font-size: 12px; }
}
@media (max-height: 700px) {
  .page-home .hero-video-section .hero-content { top: calc(var(--header) + 20px); transform: translateX(-50%); }
  .page-home .hero-video-section h1 { font-size: clamp(26px, 5vh, 40px); line-height: 1.25; }
  .page-home .hero-video-section .hero-subtitle { margin-top: 14px; font-size: 13px; line-height: 1.5; }
  .page-home .hero-video-section .hero-desc { margin-top: 5px; font-size: 12px; line-height: 1.5; }
  .page-home .hero-video-section .hero-actions { margin-top: 20px; }
}
@media (max-height: 450px) and (orientation: landscape) {
  .page-home .hero-video-section .hero-content { top: calc(var(--header) + 12px); }
  .page-home .hero-video-section h1 { font-size: 26px; line-height: 1.15; }
  .page-home .hero-video-section .hero-subtitle { margin-top: 8px; font-size: 12px; }
  .page-home .hero-video-section .hero-desc { display: none; }
  .page-home .hero-video-section .hero-actions { margin-top: 10px; }
  .page-home .hero-video-section .hero-actions .button { min-height: 34px; padding: 6px 18px; }
  .hero-video-controls { bottom: 12px; }
}
