/* ==================== 电影详情页 - 补充样式 ==================== */
.movie-detail {
  margin: 24px 0;
}

/* 头部区域：海报 + 信息 */
.movie-header {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.movie-poster {
  width: 220px;
  height: 330px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hd-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}

.movie-info {
  flex: 1;
}

.movie-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-color);
}

/* 复用 .tag 样式 */
.movie-tags {
  margin: 0 0 16px;
}

/* 演员 / 导演项 */
.movie-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 15px;
  color: #ccc;
}
.movie-meta-item i {
  color: #e74c3c;
  font-size: 18px;
}

/* 播放按钮 */
.movie-actions {
  margin: 20px 0;
}
.play-btn,
.share-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 12px;
  transition: all 0.2s;
}
.play-btn {
  background: #e74c3c;
  color: white;
}
.play-btn:hover {
  background: #c0392b;
}
.share-btn {
  background: #2c3e50;
  color: #bdc3c7;
}
.share-btn:hover {
  background: #1a2530;
}

.update-time {
  font-size: 13px;
  color: #aaa;
  margin-top: 12px;
}

/* 播放源列表 */
.episodes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.episode-item {
  display: block;
  padding: 6px 12px;
  background: #2d2d3a;
  color: #ccc;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.episode-item:hover {
  background: #e74c3c;
  color: white;
}

/* 剧情简介内容 */
.intro-content {
  line-height: 1.7;
  color: #ddd;
}

/* 响应式：移动端堆叠 */
@media (max-width: 768px) {
  .movie-header {
    flex-direction: column;
    padding: 16px;
  }
  .movie-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }
  .movie-title {
    font-size: 22px;
  }
}