html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #05060a;
}

.video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover; 
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 海报兜底：默认显示首帧工厂图，视频真正开始播放后由 JS 隐藏 */
.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #05060a url("../images/hero-poster.jpg?v=20261010") center center / cover no-repeat;
  z-index: 2;
  pointer-events: none;
}
.hero-poster.hidden {
  display: none;
}
/* 移动端：海报可点击（点击后播放视频） */
.hero-poster.tappable {
  pointer-events: auto;
  cursor: pointer;
}

/* 移动端播放按钮：仅在海报显示时出现 */
.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 3;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.hero-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.hero-play.show {
  display: flex;
}

/* 热点样式 */
.hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #606060;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}
.hotspot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
}
.hotspot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(61, 61, 61, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: ripple 2s infinite;
  z-index: 9;
}
.hotspot:hover {
  background: radial-gradient(circle, #fff 5%, orange 70%);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.9);
}
@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.bubble {
  position: absolute;
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.bubble.show {
  opacity: 1;
  pointer-events: auto;
}
.bubble-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
