:root {
  --primary-color: #2c5aa0;
  --secondary-color: #4a90e2;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f5f5f5;
  --card-bg: #fff;
  --border-color: #e0e0e0;
  --hover-bg: #f0f7ff;
}

body {
  font-size: 16px;
  background: var(--bg-color);
  color: var(--text-color);
}

.main-content {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.hero-section {
  background: var(--card-bg);
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.site-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.site-intro p {
  margin-bottom: 15px;
}

.site-intro a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.video-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.section-desc {
  margin-bottom: 20px;
  color: var(--text-light);
}

.section-desc a {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.video-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

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

.video-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.video-title a:hover {
  color: var(--primary-color);
}

.video-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 13px;
  color: var(--text-light);
  padding: 2px 8px;
  background: var(--bg-color);
  border-radius: 4px;
}

.video-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.video-item {
  display: flex;
  gap: 15px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.video-item:hover {
  background: var(--hover-bg);
}

.rank-number {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 40px;
  text-align: center;
}

.item-content {
  flex: 1;
}

.item-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.item-title a:hover {
  color: var(--primary-color);
}

.item-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.item-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.video-simple-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.simple-item {
  background: var(--card-bg);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s;
}

.simple-item:hover {
  background: var(--hover-bg);
  border-left-width: 5px;
}

.simple-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.simple-title a:hover {
  color: var(--primary-color);
}

.simple-info {
  font-size: 14px;
  color: var(--text-light);
}

.detail-page {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
}

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

.detail-info {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 8px;
}

.info-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-color);
}

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

.info-item {
  font-size: 15px;
}

.info-label {
  font-weight: bold;
  color: var(--text-color);
}

.info-value {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.highlight-text {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.8;
  padding: 15px 20px;
  background: var(--hover-bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.summary-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  text-align: justify;
}

.review-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  padding: 15px 20px;
  background: var(--bg-color);
  border-radius: 8px;
}

.related-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

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

.related-card {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.related-card:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
}

.related-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.related-title a:hover {
  color: var(--primary-color);
}

.related-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.related-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.list-page {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-intro {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.list-card {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
}

.list-card:hover {
  background: var(--hover-bg);
  transform: translateX(5px);
}

.rank-badge,
.date-badge,
.genre-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
}

.rank-badge {
  background: var(--primary-color);
  color: white;
}

.date-badge {
  background: var(--secondary-color);
  color: white;
}

.genre-badge {
  background: #f0f0f0;
  color: var(--text-color);
}

.list-card-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-color);
  padding-right: 80px;
}

.list-card-title a:hover {
  color: var(--primary-color);
}

.list-card-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
}

.list-card-meta span {
  padding: 2px 8px;
  background: white;
  border-radius: 4px;
}

.list-card-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.list-card-summary {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.footer {
  background: var(--card-bg);
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .main-content {
    padding: 20px 0;
  }

  .hero-section,
  .detail-page,
  .list-page {
    padding: 20px;
  }

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

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

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

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

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

  .rank-number {
    min-width: auto;
    text-align: left;
  }

  .list-card-title {
    padding-right: 60px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 18px;
  }

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

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

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

  .video-title,
  .item-title {
    font-size: 16px;
  }
}
