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

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

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-section {
  background: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.intro-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #d32f2f;
  display: inline-block;
}

.section-intro {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.8;
}

.section-intro a {
  color: #d32f2f;
  text-decoration: none;
}

.section-intro a:hover {
  text-decoration: underline;
}

.hot-section, .topic-section, .latest-section {
  background: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.video-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.meta-item {
  margin-right: 0.5rem;
}

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

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-item {
  display: flex;
  gap: 1rem;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
}

.item-number {
  font-size: 2rem;
  font-weight: bold;
  color: #d32f2f;
  min-width: 3rem;
}

.item-content {
  flex: 1;
}

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

.item-title a {
  text-decoration: none;
  color: #333;
}

.item-title a:hover {
  color: #d32f2f;
}

.item-tags {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.item-desc {
  color: #555;
  line-height: 1.6;
}

.section-more {
  text-align: center;
  margin-top: 2rem;
}

.btn-more {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #d32f2f;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-more:hover {
  background: #b71c1c;
}

.list-page .page-title {
  color: #333;
  margin-bottom: 1rem;
}

.list-page .page-intro {
  background: #f0f0f0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #d32f2f;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.card-number {
  background: #d32f2f;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}

.card-title {
  font-size: 1.25rem;
  flex: 1;
}

.card-title a {
  text-decoration: none;
  color: #333;
}

.card-title a:hover {
  color: #d32f2f;
}

.card-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.card-oneline {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.card-tags {
  color: #999;
  font-size: 0.85rem;
}

.rank-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.rank-badge {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d32f2f;
  min-width: 4rem;
  text-align: center;
}

.card-content {
  flex: 1;
}

.card-review {
  color: #666;
  font-style: italic;
  margin-top: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid #e0e0e0;
}

.topic-card .topic-group {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.card-summary {
  color: #555;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.latest-card .latest-date {
  color: #d32f2f;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.detail-page .detail-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #d32f2f;
}

.detail-info, .detail-oneline, .detail-summary, .detail-review, .detail-related {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #d32f2f;
}

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

.info-item {
  padding: 0.75rem;
  background: #f9f9f9;
  border-radius: 4px;
}

.info-item.full-width {
  grid-column: 1 / -1;
}

.info-label {
  font-weight: bold;
  color: #666;
}

.oneline-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  padding: 1rem;
  background: #f0f0f0;
  border-left: 4px solid #d32f2f;
}

.summary-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  text-indent: 2em;
}

.review-text {
  line-height: 1.8;
  color: #555;
  font-style: italic;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 4px;
}

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

.related-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

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

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

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

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

.related-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.site-footer {
  background: #333;
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

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

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

  .section-title {
    font-size: 1.5rem;
  }

  .rank-badge {
    font-size: 2rem;
    min-width: 3rem;
  }

  .detail-page .detail-title {
    font-size: 1.5rem;
  }

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