/* =============================================
   红桃视频 - 视频专用样式
   ============================================= */

/* 视频播放器容器 */
.video-player-wrap {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-player-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.video-player-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-player-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(232,25,44,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(232,25,44,0.4);
}
.video-player-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(192,17,31,0.95);
}
.video-player-center-btn svg {
  fill: #fff;
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

/* 视频详情页 */
.video-detail-wrap { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.video-detail-title { font-size: 22px; font-weight: 700; margin: 16px 0 8px; line-height: 1.4; }
.video-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.video-detail-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #e8e8e8;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.2s;
  color: #555;
}
.action-btn:hover { border-color: #e8192c; color: #e8192c; background: #fff0f1; }
.action-btn.liked { background: #fff0f1; color: #e8192c; border-color: #e8192c; }
.video-detail-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  background: #f7f8fa;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.video-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.video-detail-tag {
  padding: 4px 12px;
  background: #fff0f1;
  color: #e8192c;
  border-radius: 14px;
  font-size: 12px;
  cursor: pointer;
}
.video-detail-tag:hover { background: #e8192c; color: #fff; }

/* 评论区 */
.comment-section { margin-top: 24px; }
.comment-section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.comment-input-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.comment-input {
  flex: 1;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  resize: none;
  height: 80px;
  outline: none;
  transition: border-color 0.2s;
}
.comment-input:focus { border-color: #e8192c; }
.comment-submit-btn {
  padding: 10px 20px;
  background: #e8192c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  align-self: flex-end;
}
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 12px; }
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #e8192c;
}
.comment-body { flex: 1; }
.comment-username { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-text { font-size: 13px; color: #555; line-height: 1.6; }
.comment-footer {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
  color: #aaa;
}
.comment-action { cursor: pointer; }
.comment-action:hover { color: #e8192c; }

/* 热门视频标签 */
.video-hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #e8192c, #ff6b7a);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.video-new-tag {
  background: linear-gradient(135deg, #00a854, #52c41a);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

/* 视频卡片悬浮效果增强 */
.video-card-featured {
  grid-column: span 2;
}
.video-card-featured .video-thumb {
  aspect-ratio: 16/7;
}
.video-card-featured .video-title {
  font-size: 16px;
}

/* 视频分类标签栏 */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.category-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #555;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.category-tab:hover,
.category-tab.active {
  background: #e8192c;
  color: #fff;
  border-color: #e8192c;
}

/* 播放量标识 */
.play-count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #888;
  font-size: 12px;
}
.play-count svg { width: 12px; height: 12px; }
