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

header {
  background-color: #2c3e50;
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  text-align: center;
}

.logo a {
  color: white;
  text-decoration: none;
}

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

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

.intro {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.tags {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  background-color: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  margin: 0.2rem;
  font-size: 0.9rem;
}

section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 1rem;
}

.section-desc {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.video-card {
  padding: 1.2rem;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
  position: relative;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-color: #3498db;
}

.video-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.video-card h3 a {
  color: inherit;
}

.meta {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.meta span {
  display: inline-block;
  background-color: #ecf0f1;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  color: #555;
}

.oneline {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

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

.video-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s;
}

.video-item:hover {
  background-color: #f8f9fa;
}

.rank {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

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

.video-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.video-item p {
  font-size: 0.85rem;
  color: #666;
}

.more-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.more-link a {
  color: #3498db;
  font-weight: 500;
}

.detail-page {
  max-width: 900px;
}

.video-detail h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5rem;
}

.basic-info h2,
.highlight h2,
.summary h2,
.review h2,
.related h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ecf0f1;
}

.info-list strong {
  color: #2c3e50;
  display: inline-block;
  min-width: 80px;
}

.oneline-big {
  font-size: 1.2rem;
  color: #3498db;
  font-weight: 500;
  line-height: 1.8;
}

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

.list-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.page-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.rank-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #e74c3c;
  color: white;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9rem;
}

.date-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #27ae60;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

.genre-tag {
  font-size: 0.85rem;
  color: #16a085;
  margin-top: 0.5rem;
  font-weight: 500;
}

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

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

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

  .intro {
    font-size: 1rem;
  }

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

  section {
    padding: 1.5rem 1rem;
  }

  .container {
    padding: 1rem 0.5rem;
  }
}