/* 全局样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero .intro {
  font-size: 16px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.95;
}

/* 卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

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

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.video-card h3 a {
  color: #333;
  text-decoration: none;
}

.video-card h3 a:hover {
  color: #2563eb;
}

.video-card .meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

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

/* 排名标记 */
.video-card .rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f59e0b;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

/* 日期标签 */
.video-card .date-tag {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 8px;
}

/* 列表样式 */
.video-list {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.video-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

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

.video-list a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.video-list a:hover {
  text-decoration: underline;
}

.video-list .year {
  color: #666;
  font-size: 14px;
}

/* 入口卡片 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

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

.entry-card:hover {
  transform: translateY(-4px);
}

.entry-card h3 a {
  color: #2563eb;
  text-decoration: none;
  font-size: 20px;
}

.entry-card p {
  color: #666;
  margin-top: 10px;
  font-size: 14px;
}

/* 详情页样式 */
.detail-page article {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-page h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #2563eb;
}

.detail-page h2 {
  font-size: 22px;
  color: #2563eb;
  margin: 30px 0 15px 0;
}

.meta-info {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.meta-info p {
  margin: 8px 0;
  font-size: 15px;
}

.meta-info strong {
  color: #555;
  margin-right: 8px;
}

.one-line, .summary, .review {
  margin-bottom: 30px;
}

.one-line p {
  font-size: 18px;
  color: #2563eb;
  font-weight: 500;
  line-height: 1.6;
}

.summary p, .review p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

/* 相关推荐 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.related-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.related-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.related-card h3 a {
  color: #333;
  text-decoration: none;
}

.related-card h3 a:hover {
  color: #2563eb;
}

.related-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 列表页样式 */
.list-page h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.page-intro {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

/* 章节标题 */
.hot-section h2, .list-entry h2, .latest-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

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

.more-link a {
  color: #2563eb;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.more-link a:hover {
  text-decoration: underline;
}

/* 页脚 */
footer {
  background: #1f2937;
  color: #9ca3af;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer p {
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero .intro {
    font-size: 14px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .detail-page article {
    padding: 24px;
  }

  .detail-page h1 {
    font-size: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }
}

/* UI风格变体 */
.ui-style-8 {
  --primary-color: #2563eb;
  --secondary-color: #667eea;
}

.ui-style-8 .hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
