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

.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

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

/* 区块样式 */
.section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 3px solid #e74c3c;
  color: #2c3e50;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.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: #2c3e50;
}

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

.video-meta {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 10px;
}

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

.more-links {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 16px;
}

.more-links a {
  color: #e74c3c;
  margin: 0 15px;
  transition: all 0.3s;
}

.more-links a:hover {
  color: #c0392b;
  text-decoration: underline;
}

/* 列表页样式 */
.page-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

.page-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.list-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.rank-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #e74c3c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
}

.date-tag {
  flex-shrink: 0;
  padding: 5px 12px;
  background: #3498db;
  color: white;
  font-size: 12px;
  border-radius: 4px;
  font-weight: bold;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #2c3e50;
}

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

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

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

.detail-title {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e74c3c;
}

.detail-info {
  margin-bottom: 30px;
}

.detail-info h2 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.info-list li {
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 15px;
}

.info-list strong {
  color: #e74c3c;
}

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

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

.highlight {
  font-size: 18px;
  color: #e74c3c;
  font-weight: 500;
  line-height: 1.8;
  padding: 20px;
  background: #fff5f5;
  border-radius: 8px;
}

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

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

.related-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.related-card:hover {
  border-color: #e74c3c;
  background: white;
}

.related-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.related-card h4 a:hover {
  color: #e74c3c;
}

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

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

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

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

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

  .section-title {
    font-size: 22px;
  }

  .page-title {
    font-size: 26px;
  }

  .detail {
    padding: 20px;
  }

  .detail-title {
    font-size: 24px;
  }

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

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

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

  .rank-num, .date-tag {
    align-self: flex-start;
  }
}
