
/* 全局样式增强 */
.hero {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

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

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

.video-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

.video-card h3 a:hover {
  color: #667eea;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag, .badge {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

.year {
  color: #999;
  font-size: 12px;
}

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

/* 专题网格 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.topic-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s;
}

.topic-card:hover {
  transform: translateY(-3px);
}

.topic-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.topic-card h3 a {
  color: #333;
}

.topic-card p {
  color: #666;
  font-size: 14px;
}

/* 最新列表 */
.latest-list {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

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

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

.latest-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.latest-item h4 a {
  color: #333;
}

.latest-item .meta {
  color: #999;
  font-size: 13px;
  margin-bottom: 8px;
}

.latest-item p {
  color: #666;
  font-size: 14px;
}

/* 列表页 */
.page-header {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  text-align: center;
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

.page-desc {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.video-list {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.list-item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
}

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

.item-index {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  min-width: 40px;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.item-content h3 a {
  color: #333;
}

.item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

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

.item-review {
  color: #888;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
}

/* 详情页 */
.detail {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.detail-header h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.meta-item {
  color: #666;
  font-size: 14px;
}

.meta-item strong {
  color: #333;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.detail section {
  margin-top: 30px;
}

.detail section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  padding-left: 12px;
  border-left: 4px solid #667eea;
}

.highlight {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  padding: 25px;
  border-radius: 8px;
  margin-top: 0;
}

.oneline {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
}

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

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

.related-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.related-card:hover {
  background: #f0f0f0;
}

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

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

.related-meta {
  color: #999;
  font-size: 12px;
  margin-bottom: 8px;
}

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

/* 更多链接 */
.more-link {
  text-align: center;
  margin-top: 30px;
}

.more-link a {
  display: inline-block;
  padding: 12px 30px;
  background: #667eea;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s;
  text-decoration: none;
}

.more-link a:hover {
  background: #5568d3;
  text-decoration: none;
}

/* 通用样式 */
section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #333;
}

.featured, .topics, .latest {
  margin-bottom: 50px;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 25px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

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

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

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

  .detail {
    padding: 25px 20px;
  }

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

  .detail-meta {
    flex-direction: column;
    gap: 8px;
  }

  .list-item {
    flex-direction: column;
    gap: 10px;
  }

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