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

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

.hero-section {
  text-align: center;
  padding: 3rem 0;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-section h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.list-section {
  margin: 3rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2563eb;
}

.section-header h2 {
  font-size: 1.5rem;
  color: #333;
}

.more-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.more-link:hover {
  color: #1e40af;
}

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

.video-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-info {
  padding: 1.2rem;
}

.video-title {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
}

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

.video-list {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-list-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.video-list-item a {
  text-decoration: none;
  color: inherit;
}

.video-list-item h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.video-list-item:hover h3 {
  color: #2563eb;
}

.video-brief {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.quick-links {
  margin: 3rem 0;
}

.quick-links h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

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

.quick-link-card {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s;
  text-align: center;
}

.quick-link-card:hover {
  transform: translateY(-4px);
}

.quick-link-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-header {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-header h1 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
}

.page-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
}

.video-list-full {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-list-item-full {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

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

.rank-number {
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #2563eb;
  width: 50px;
  text-align: center;
}

.video-list-item-full a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-left: 60px;
}

.video-list-item-full h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.video-list-item-full:hover h3 {
  color: #2563eb;
}

.tags {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #666;
}

.detail-page {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-header h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #2563eb;
}

.detail-section {
  margin: 2rem 0;
}

.detail-section h2 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
  padding-left: 10px;
  border-left: 4px solid #2563eb;
}

.detail-info {
  margin: 2rem 0;
}

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

.info-item {
  padding: 0.8rem;
  background: #f8f9ff;
  border-radius: 4px;
  font-size: 0.95rem;
}

.info-item strong {
  color: #2563eb;
  margin-right: 0.5rem;
}

.tags-item {
  grid-column: 1 / -1;
}

.one-line {
  font-size: 1.1rem;
  color: #2563eb;
  font-weight: 500;
  line-height: 1.8;
  padding: 1rem;
  background: #f8f9ff;
  border-radius: 4px;
  border-left: 4px solid #2563eb;
}

.summary-text, .review-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

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

.related-card {
  background: #f8f9ff;
  border-radius: 8px;
  padding: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.related-card a {
  text-decoration: none;
  color: inherit;
}

.related-card h3 {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

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

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

.site-footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

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

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

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

  .detail-page {
    padding: 1rem;
  }

  .video-list-item-full a {
    padding-left: 0;
  }

  .rank-number {
    position: static;
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5rem;
    width: auto;
  }
}