
/* 全局样式增强 */
.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.1);
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hero .intro p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 15px;
}

.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;
}

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

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

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

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

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

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

.entry-card:hover {
  background: #3498db;
  color: white;
  transform: scale(1.05);
}

.entry-card:hover h3 a {
  color: white;
}

.entry-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

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

.entry-card:hover p {
  color: rgba(255,255,255,0.9);
}

.video-list {
  background: white;
  border-radius: 8px;
  padding: 20px;
}

.video-item {
  padding: 20px;
  border-bottom: 1px solid #ecf0f1;
}

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

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

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

.more-link a {
  display: inline-block;
  padding: 12px 30px;
  background: #3498db;
  color: white;
  border-radius: 6px;
  transition: background 0.3s;
}

.more-link a:hover {
  background: #2980b9;
}

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

.video-detail h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 15px;
}

.video-detail section {
  margin-bottom: 35px;
}

.video-detail section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #34495e;
}

.info-list {
  list-style: none;
  line-height: 2;
}

.info-list li {
  font-size: 15px;
  color: #555;
}

.one-line .highlight {
  font-size: 18px;
  color: #e74c3c;
  font-weight: 500;
  line-height: 1.8;
  padding: 15px;
  background: #fff5f5;
  border-left: 4px solid #e74c3c;
}

.summary p, .review p {
  font-size: 15px;
  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 {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.3s;
}

.related-card:hover {
  background: white;
  border-color: #3498db;
  box-shadow: 0 2px 12px rgba(52,152,219,0.2);
}

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

/* 列表页 */
.list-page {
  background: white;
  padding: 40px;
  border-radius: 12px;
}

.list-page h1 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.page-intro {
  font-size: 15px;
  color: #7f8c8d;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.list-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s;
  display: flex;
  gap: 15px;
}

.list-card:hover {
  background: white;
  border-color: #3498db;
  box-shadow: 0 2px 12px rgba(52,152,219,0.2);
}

.daquan-card .card-index {
  font-size: 24px;
  font-weight: bold;
  color: #3498db;
  min-width: 50px;
}

.top-card .card-rank {
  font-size: 28px;
  font-weight: bold;
  color: #e74c3c;
  min-width: 60px;
}

.latest-card .card-date {
  font-size: 16px;
  font-weight: 600;
  color: #27ae60;
  min-width: 60px;
}

.card-content {
  flex: 1;
}

.card-content h3, .card-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-content .meta {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 8px;
}

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

.card-content .tags {
  font-size: 12px;
  color: #95a5a6;
  margin-bottom: 8px;
}

.card-content .review-snippet {
  font-size: 13px;
  color: #666;
  font-style: italic;
  margin-top: 10px;
  padding-left: 15px;
  border-left: 3px solid #ecf0f1;
}

.topic-group {
  margin-bottom: 40px;
}

.group-title {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 20px;
  padding: 10px 15px;
  background: #ecf0f1;
  border-radius: 6px;
}

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

.topic-card {
  padding: 15px;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

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

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

  .video-detail {
    padding: 20px;
  }

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

  .list-page {
    padding: 20px;
  }

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

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