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

.main-content {
  min-height: calc(100vh - 200px);
  background: #fff;
  margin-top: 20px;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero {
  text-align: center;
  padding: 40px 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 40px;
}

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

.site-intro {
  font-size: 16px;
  color: #666;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 26px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a73e8;
  color: #333;
}

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

.video-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  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-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.video-card h3 a {
  color: #333;
}

.video-card h3 a:hover {
  color: #1a73e8;
}

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

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

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

.video-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #1a73e8;
  transition: background 0.3s;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.video-item:hover {
  background: #f0f0f0;
}

.video-item .rank {
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
  min-width: 40px;
}

.video-item .date {
  font-size: 14px;
  color: #999;
  min-width: 60px;
}

.video-item .genre {
  font-size: 13px;
  color: #666;
  background: #e3f2fd;
  padding: 2px 8px;
  border-radius: 3px;
}

.video-item .item-content {
  flex: 1;
}

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

.video-item h3 a {
  color: #333;
}

.video-item h3 a:hover {
  color: #1a73e8;
}

.video-item .meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.video-item .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.video-item .tags {
  font-size: 12px;
  color: #888;
}

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

.topic-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.topic-card:hover {
  transform: scale(1.05);
}

.topic-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.topic-card h3 a {
  color: white;
}

.topic-card p {
  font-size: 14px;
  opacity: 0.9;
}

.more-link {
  text-align: right;
  margin-top: 20px;
}

.more-link a {
  font-size: 16px;
  font-weight: bold;
}

.page-header {
  margin-bottom: 40px;
  text-align: center;
}

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

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

.detail-page .video-detail header h1 {
  font-size: 32px;
  color: #1a73e8;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #f0f0f0;
}

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

.detail-page section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
}

.basic-info .info-list {
  list-style: none;
  padding: 0;
}

.basic-info .info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

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

.one-line .highlight {
  font-size: 18px;
  color: #1a73e8;
  font-weight: bold;
  line-height: 1.8;
  padding: 20px;
  background: #f0f8ff;
  border-left: 4px solid #1a73e8;
  border-radius: 4px;
}

.summary p, .review p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  text-align: justify;
}

footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
}

footer p {
  font-size: 14px;
}

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

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

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

  section h2 {
    font-size: 22px;
  }

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

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

  .video-item .rank {
    font-size: 20px;
  }

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