/* 全局样式 */
body {
  font-size: 16px;
  background: #f8f9fa;
}

h1 { font-size: 28px; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 22px; line-height: 1.2; margin: 30px 0 15px; }
h3 { font-size: 18px; line-height: 1.2; margin: 15px 0 10px; }
h4 { font-size: 16px; line-height: 1.2; margin: 10px 0; }

a { color: #3498db; text-decoration: none; transition: color 0.3s; }
a:hover { color: #2980b9; }

.main-content { min-height: 60vh; padding: 40px 0; }

/* 页面标题 */
.page-title {
  font-size: 32px;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  margin: 30px 0 20px;
}

.page-desc, .page-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* 首页区块 */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
  text-align: center;
}

.hero-section .page-title { color: #fff; margin-bottom: 15px; }
.hero-section .page-desc { color: #f0f0f0; font-size: 17px; }

.intro-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.intro-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #444;
}

/* 区块 */
.hot-picks, .topic-picks, .latest-picks, .quick-links {
  margin-bottom: 50px;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 15px;
  margin-bottom: 25px;
}

.section-more {
  text-align: center;
  margin-top: 30px;
}

.btn-more {
  display: inline-block;
  padding: 12px 30px;
  background: #3498db;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-more:hover {
  background: #2980b9;
  color: #fff;
}

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.video-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.video-title a {
  color: #2c3e50;
}

.video-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.video-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* 视频列表 */
.video-list {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.video-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.video-item:last-child {
  border-bottom: none;
}

.item-meta {
  font-size: 14px;
  color: #888;
  margin: 8px 0;
}

.item-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* 排行榜样式 */
.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.rank-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #3498db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.item-content {
  flex: 1;
}

/* 日期样式 */
.date-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.item-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  font-weight: bold;
  color: #3498db;
  font-size: 18px;
}

/* 分组样式 */
.video-group {
  margin-bottom: 40px;
}

.group-title {
  font-size: 20px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

.group-items {
  display: grid;
  gap: 15px;
}

/* 详情页 */
.detail-page .container {
  max-width: 900px;
}

.video-detail {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.detail-title {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.detail-info, .detail-oneline, .detail-summary, .detail-review, .detail-related {
  margin-bottom: 35px;
}

.info-list {
  list-style: none;
  line-height: 2;
}

.info-list li {
  font-size: 15px;
  color: #555;
}

.oneline-text {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  font-weight: 500;
  padding: 15px;
  background: #f0f8ff;
  border-left: 4px solid #3498db;
  border-radius: 4px;
}

.summary-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #444;
  text-indent: 2em;
}

.review-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  padding: 15px;
  background: #fffef0;
  border-left: 4px solid #f39c12;
  border-radius: 4px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.related-item {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.related-item:hover {
  border-color: #3498db;
}

.related-meta {
  font-size: 13px;
  color: #888;
  margin: 5px 0;
}

.related-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

/* 快速链接 */
.link-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.quick-link {
  display: block;
  padding: 20px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 页脚 */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-title { font-size: 24px; }
  .hero-section { padding: 40px 15px; }
  .video-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .video-detail { padding: 25px 20px; }
  .detail-title { font-size: 24px; }
}

/* UI 风格变体 (简化示例) */
.ui-style-0 {
  /* 根据索引可以有不同的配色主题 */
}
