
/* 布局容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 首页英雄区 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.intro {
  font-size: 16px;
  line-height: 1.8;
  background: rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.intro a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/* 分区模块 */
section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a73e8;
  color: #222;
}

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

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

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

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

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

.video-card h3 a:hover {
  color: #1a73e8;
  text-decoration: none;
}

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

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

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

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1a73e8;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

/* 列表样式 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.list-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.list-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

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

/* 排行榜样式 */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ranking-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rank-badge {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.rank-badge.rank-top {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rank-badge.rank-normal {
  background: #999;
  font-size: 18px;
}

.rank-content {
  flex: 1;
}

.rank-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.review {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-left: 3px solid #1a73e8;
  font-style: italic;
  color: #555;
}

/* 专题样式 */
.topic-section {
  margin-bottom: 50px;
}

.topic-title {
  font-size: 24px;
  color: #1a73e8;
  margin-bottom: 20px;
  padding: 10px 15px;
  background: #f0f7ff;
  border-radius: 8px;
}

/* 最新整理样式 */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.latest-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.year-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #4CAF50;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

/* 详情页样式 */
.detail-page {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.detail-page h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1a73e8;
}

.info-section, .highlight-section, .summary-section, .review-section, .related-section {
  margin-bottom: 40px;
}

.detail-page h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a73e8;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 15px;
  line-height: 1.8;
}

.info-list dt {
  font-weight: bold;
  color: #555;
}

.info-list dd {
  color: #333;
}

.highlight {
  font-size: 18px;
  color: #1a73e8;
  font-weight: 500;
  padding: 20px;
  background: #f0f7ff;
  border-radius: 8px;
  border-left: 4px solid #1a73e8;
}

.summary-text {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

blockquote.review {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  padding: 20px;
  background: #fffbf0;
  border-left: 4px solid #FFA500;
  border-radius: 8px;
  font-style: italic;
}

/* 链接盒子 */
.links-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.links-box p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.links-box ul {
  list-style: disc;
  padding-left: 20px;
}

.links-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
}

.links-box a {
  font-weight: bold;
}

/* 页面描述 */
.page-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  line-height: 1.8;
}

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

  .hero {
    padding: 40px 20px;
  }

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

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

  .detail-page {
    padding: 20px;
  }

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

  .ranking-item {
    flex-direction: column;
  }
}
