/* 全局样式增强 */
body {
  font-size: 16px;
}

.site-footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

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

/* 页面标题 */
.page-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: bold;
}

.page-intro {
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 首页区块 */
.hero-section, .hot-section, .list-nav-section, .recent-section {
  margin-bottom: 3rem;
}

.site-intro {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: 1rem;
  line-height: 1.8;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 1rem;
}

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

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

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

.video-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

.video-title a:hover {
  color: #3498db;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.meta-item {
  font-size: 0.85rem;
  color: #7f8c8d;
  background: #ecf0f1;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.video-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 列表导航卡片 */
.list-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.list-nav-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.list-nav-card h3 {
  margin-bottom: 0.5rem;
}

.list-nav-card h3 a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.2rem;
}

.list-nav-card h3 a:hover {
  color: #3498db;
}

.list-nav-card p {
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* 视频列表 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.video-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-list-item.ranked {
  padding-left: 4rem;
}

.rank-number {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: #3498db;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.85rem;
}

/* 详情页 */
.video-detail {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.detail-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #ecf0f1;
  border-radius: 8px;
}

.info-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.info-label {
  font-weight: bold;
  color: #2c3e50;
  white-space: nowrap;
}

.info-value {
  color: #555;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ecf0f1;
}

.detail-section:last-child {
  border-bottom: none;
}

.highlight-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #3498db;
  line-height: 1.8;
  padding: 1rem;
  background: #ecf0f1;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.summary-text, .review-text {
  line-height: 1.8;
  color: #333;
}

.summary-text p, .review-text p {
  margin-bottom: 1rem;
}

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

.related-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.related-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.related-title a {
  color: #2c3e50;
  text-decoration: none;
}

.related-title a:hover {
  color: #3498db;
}

.related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.related-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
  }

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

  .list-nav-grid {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 1.8rem;
  }

  .detail-info {
    grid-template-columns: 1fr;
  }

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

  .video-list-item.ranked {
    padding-left: 3rem;
  }

  .rank-number {
    font-size: 1.5rem;
    left: 0.5rem;
  }
}