/* video-player.css - 视频播放页面样式 */

/* ============================================
   视频播放页面容器
   ============================================ */
.video-player-page {
  min-height: 100vh;
  background-color: #ffffff;
  padding-top: 0;
  padding-bottom: 0;
}

/* ============================================
   斯坦福视频中心海报模块
   ============================================ */
.video-player-page__hero {
  position: relative;
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #D0021B 0%, #8B0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.video-player-page__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.video-player-page__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.video-player-page__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-player-page__hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
  letter-spacing: 1px;
}

/* 面包屑导航 */
.breadcrumb {
  background-color: #f8f8f8;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumb__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb__link {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb__link:hover {
  color: var(--color-primary);
}

.breadcrumb__separator {
  color: #999999;
}

.breadcrumb__current {
  color: #333333;
  font-weight: 500;
}

.video-player-page__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 80px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* ============================================
   左侧视频区域（65%）
   ============================================ */
.video-player-page__left {
  flex: 0 0 65%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================
   主视频播放器
   ============================================ */
.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
}

.video-player__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 播放覆盖层 */
.video-player__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-player__overlay.hidden {
  opacity: 0;
}

.video-player__play-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  pointer-events: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player__play-btn:hover {
  transform: scale(1.1);
}

/* Logo水印（右上角） */
.video-player__logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.video-player__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 4px;
  background-color: rgba(208, 2, 27, 0.9);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   缩略图列表
   ============================================ */
.video-thumbnails {
  display: flex;
  gap: 12px;
  align-items: center;
}

.video-thumbnail {
  position: relative;
  flex: 1;
  max-width: 150px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background-color: #1a1a1a;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 0;
}

.video-thumbnail:hover {
  border-color: rgba(208, 2, 27, 0.6);
  transform: translateY(-2px);
}

.video-thumbnail--active {
  border-color: var(--color-primary);
  border-width: 2px;
}

.video-thumbnail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumbnail__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-thumbnail__overlay {
  opacity: 1;
}

.video-thumbnail--active .video-thumbnail__overlay {
  opacity: 0;
}

/* ============================================
   右侧信息区域（35%）
   ============================================ */
.video-player-page__right {
  flex: 0 0 35%;
  padding-left: 20px;
}

.video-info {
  color: #333333;
}

.video-info__title {
  font-size: 32px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.video-info__desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1280px) {
  .video-player-page__hero {
    height: 220px;
  }
  
  .video-player-page__hero-title {
    font-size: 42px;
  }

  .video-player-page__hero-subtitle {
    font-size: 18px;
  }

  .video-player-page__container {
    padding: 50px 60px;
    gap: 50px;
  }

  .video-info__title {
    font-size: 28px;
  }

  .video-info__desc {
    font-size: 15px;
  }
}

@media (max-width: 960px) {
  .video-player-page__hero {
    height: 200px;
    padding-top: 60px;
  }
  
  .video-player-page__hero-title {
    font-size: 36px;
  }

  .video-player-page__hero-subtitle {
    font-size: 16px;
  }

  .video-player-page__container {
    flex-direction: column;
    padding: 40px 24px;
    gap: 0;
  }

  .video-player-page__left {
    flex: 1;
    width: 100%;
  }

  .video-player-page__right {
    flex: 1;
    width: 100%;
    padding-left: 0;
    margin-top: 40px;
  }

  .video-info__title {
    font-size: 24px;
  }

  .video-info__desc {
    font-size: 14px;
  }

  .video-thumbnails {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .video-player-page {
    padding-top: 0;
  }
  
  .video-player-page__hero {
    height: 180px;
  }
  
  .video-player-page__hero-title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .video-player-page__hero-subtitle {
    font-size: 14px;
  }

  .video-player-page__container {
    padding: 30px 16px;
    gap: 0;
  }
  
  .video-player-page__right {
    margin-top: 30px;
  }

  .video-info__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .video-info__desc {
    font-size: 14px;
  }

  .video-player__logo-mark {
    font-size: 12px;
    padding: 4px 12px;
  }

  .video-thumbnails {
    gap: 8px;
  }

  .video-thumbnail {
    border-width: 2px;
    max-width: 100px;
  }
}

/* ============================================
   移动端产品信息卡片按钮
   ============================================ */
.video-product-cards {
  display: none;
}

@media (max-width: 640px) {
  .video-product-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid #e5e5e5;
  }

  .video-product-card {
    border-bottom: 1px solid #e5e5e5;
  }

  .video-product-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
  }

  .video-product-card__title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
  }

  .video-product-card__icon {
    font-size: 24px;
    font-weight: 300;
    color: #333333;
    transition: transform 0.3s ease;
    line-height: 1;
  }

  .video-product-card__icon--download {
    font-size: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-product-card__icon--download svg {
    width: 20px;
    height: 20px;
  }

  .video-product-card--download .video-product-card__header {
    text-decoration: none;
  }

  .video-product-card--download .video-product-card__header:hover {
    opacity: 0.7;
  }

  .video-product-card--active .video-product-card__icon {
    transform: rotate(45deg);
  }

  .video-product-card__content {
    display: none;
    padding: 0 0 20px 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
  }

  .video-product-card--active .video-product-card__content {
    display: block;
  }
}
