/* 全局样式 */
body {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 首页样式 */
.hero {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 28px;
  color: #2c5aa0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.hero .intro {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

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

.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;
  position: relative;
}

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

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

.video-card h3 a {
  color: #2c5aa0;
}

.video-card h3 a:hover {
  color: #1e3a6f;
}

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

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

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

/* 榜单卡片 */
.card-top .rank {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b6b;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

/* 专题卡片 */
.card-topic .tag-genre {
  display: inline-block;
  background: #4a90e2;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* 最新卡片 */
.card-latest .date-badge {
  display: inline-block;
  background: #50c878;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

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

.video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.video-item a {
  color: #2c5aa0;
  font-size: 15px;
}

.video-item a:hover {
  color: #1e3a6f;
}

.video-item .year {
  color: #999;
  font-size: 13px;
}

/* 链接卡片 */
.links-section {
  margin: 30px 0;
}

.links-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

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

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

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

.link-card h3 {
  font-size: 20px;
  color: #2c5aa0;
  margin-bottom: 10px;
}

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

/* 区块样式 */
.hot-section,
.latest-section,
.list-content {
  margin: 30px 0;
}

.hot-section h2,
.latest-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

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

.more-link a {
  color: #2c5aa0;
  font-size: 16px;
}

/* 列表页样式 */
.page-header {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header h1 {
  font-size: 28px;
  color: #2c5aa0;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

/* 详情页样式 */
.detail-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.detail-header h1 {
  font-size: 28px;
  color: #2c5aa0;
  margin-bottom: 30px;
  line-height: 1.4;
}

.detail-content section {
  margin-bottom: 30px;
}

.detail-content h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  border-left: 4px solid #2c5aa0;
  padding-left: 12px;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

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

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

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

.related-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #2c5aa0;
}

.related-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.related-item h4 a {
  color: #2c5aa0;
}

.related-item h4 a:hover {
  color: #1e3a6f;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .hero,
  .page-header,
  .detail-content {
    padding: 20px;
  }

  .hero h1,
  .page-header h1,
  .detail-header h1 {
    font-size: 22px;
  }

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

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

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