/* 全局样式已在内联CSS中定义 */

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

.main-content {
  padding: 40px 20px;
}

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

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

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

section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #2c3e50;
  border-left: 4px solid #e74c3c;
  padding-left: 15px;
}

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

.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 4px 16px rgba(0,0,0,0.15);
}

.video-card h3, .video-card h4 {
  margin-bottom: 10px;
}

.video-card h3 a, .video-card h4 a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 18px;
}

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

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

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

.video-card .tags {
  color: #95a5a6;
  font-size: 12px;
  margin-top: 10px;
}

.video-card.ranked {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.video-card.ranked .rank {
  font-size: 32px;
  font-weight: bold;
  color: #e74c3c;
  flex-shrink: 0;
  width: 50px;
}

.video-card.ranked .card-content {
  flex: 1;
}

.video-card.with-date {
  position: relative;
}

.video-card.with-date .date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #3498db;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

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

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

.entry-card:hover {
  transform: translateY(-5px);
}

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

.entry-card h3 a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 20px;
}

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

.entry-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

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

.more-link {
  display: inline-block;
  padding: 12px 30px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s;
}

.more-link:hover {
  background: #c0392b;
}

.page-header {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.page-header .page-desc {
  color: #7f8c8d;
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.topic-group .group-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #e74c3c;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 10px;
}

.detail-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid #ecf0f1;
  margin-bottom: 30px;
}

.detail-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.detail-header .subtitle {
  color: #7f8c8d;
  font-size: 16px;
}

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

.info-section h2, .oneline-section h2, .summary-section h2, .review-section h2, .related-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
  border-left: 4px solid #e74c3c;
  padding-left: 15px;
}

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

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ecf0f1;
  line-height: 1.6;
}

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

.oneline-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

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

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

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

.related-card:hover {
  background: #ecf0f1;
}

.related-card h4 {
  margin-bottom: 10px;
}

.related-card h4 a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 16px;
}

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

.related-card .oneline {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.6;
}

footer {
  background: #2c3e50;
  color: white;
  padding: 30px 20px;
  text-align: center;
  margin-top: 60px;
}

footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero .intro { font-size: 14px; }
  section h2 { font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .entry-cards { grid-template-columns: 1fr; }
  .detail-content { padding: 20px; }
  .detail-header h1 { font-size: 28px; }
}