/* AI视频板块 - 全新设计，不复用AI商拍组件 */

/* 整体容器 */
.video-section {
  width: 100%;
  background: #18191b;
  padding: 64px 0 32px 0;
  box-sizing: border-box;
  align-items: center;
  min-height: 600px; /* 确保有足够的高度 */
  display: block; /* 确保显示 */
  position: relative; /* 确保定位 */
  z-index: 1; /* 确保层级 */
}

.video-container {
  max-width: 88vw;
  width: 88vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  background: #18191b;
  border-radius: 36px;
  padding: 12px 48px 12px 48px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

/* 左侧视频轮播区域 */
.video-carousel-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 600px;
}

/* 视频项样式 */
.video-item {
  position: absolute;
  width: 320px;
  height: 568px; /* 9:16 竖屏比例 */
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* 上一个视频（左侧，变暗） */
.video-prev {
  transform: translateX(-200px) scale(0.8);
  opacity: 0.6;
  z-index: 1;
  cursor: pointer;
}

/* 当前视频（中间，突出显示） */
.video-current {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* 下一个视频（右侧，变暗） */
.video-next {
  transform: translateX(200px) scale(0.8);
  opacity: 0.6;
  z-index: 1;
  cursor: pointer;
}

/* 左右箭头导航 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.carousel-prev {
  left: -12px;
}

.carousel-next {
  right: -12px;
}

/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* 右侧文字介绍区域 */
.video-info-panel {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.video-title {
  font-size: 5vw;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 2px;
  line-height: 1.1;
  text-align: left;
}

.video-feature-box {
  background: #55585c;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.feature-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: 1px;
  text-align: left;
}

.feature-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-description p {
  font-size: 18px;
  color: #fff;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-align: left;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .video-container {
    max-width: 95vw;
    padding: 32px;
    gap: 32px;
  }
  
  .video-item {
    width: 280px;
    height: 497px; /* 9:16 竖屏比例 */
  }
  
  .video-prev {
    transform: translateX(-160px) scale(0.8);
  }
  
  .video-next {
    transform: translateX(160px) scale(0.8);
  }
  
  .video-info-panel {
    flex: 0 0 320px;
  }
  
  .video-title {
    font-size: 36px;
  }
  
  .feature-subtitle {
    font-size: 20px;
  }
  
  .feature-description p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .video-container {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }
  
  .video-carousel {
    height: 500px;
  }
  
  .video-item {
    width: 240px;
    height: 426px; /* 9:16 竖屏比例 */
  }
  
  .video-prev {
    transform: translateX(-120px) scale(0.8);
  }
  
  .video-next {
    transform: translateX(120px) scale(0.8);
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .carousel-prev {
    left: -20px;
  }
  
  .carousel-next {
    right: -20px;
  }
  
  .video-info-panel {
    flex: none;
    width: 100%;
  }
  
  .video-title {
    font-size: 32px;
    text-align: center;
  }
  
  .video-feature-box {
    padding: 24px;
  }
  
  .feature-subtitle {
    font-size: 18px;
    text-align: center;
  }
  
  .feature-description {
    text-align: center;
  }
}

/* 字体和颜色统一 */
.video-section, .video-container, .video-info-panel {
  font-family: 'Source Han Sans SC VF', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

/* 视频播放器样式优化 */
.video-item video::-webkit-media-controls {
  background: rgba(0,0,0,0.3);
}

.video-item video::-webkit-media-controls-panel {
  background: rgba(0,0,0,0.3);
}

/* 移除播放按钮的自定义样式，使用浏览器默认样式 */
/* .video-item video::-webkit-media-controls-play-button {
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
} */

/* 视频加载状态 */
.video-item video:not([src]) {
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

/* 背景动画样式 */
body.video-dark-bg {
  background: #18191b !important;
  transition: background 0.6s cubic-bezier(0.4,0,0.2,1);
}

 