/* Layout C - UI Style 0 */

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 8px;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

/* Section */
.section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #e74c3c;
  display: inline-block;
}

.section-links {
  margin-top: 20px;
  text-align: center;
}

.section-links a {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  background: #e74c3c;
  color: white;
  border-radius: 4px;
  transition: all 0.3s;
}

.section-links a:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

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

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

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

.video-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c3e50;
}

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

.video-meta {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 10px;
}

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

/* List Page */
.page-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.page-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.video-item {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

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

.video-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2c3e50;
}

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

.video-item .meta {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 10px;
}

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

/* Ranked List */
.card-ranked .video-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.rank-num {
  font-size: 32px;
  font-weight: bold;
  color: #e74c3c;
  min-width: 50px;
  text-align: center;
}

.video-info {
  flex: 1;
}

/* Detail Page */
.detail-page .container {
  max-width: 900px;
}

.detail-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #2c3e50;
  line-height: 1.4;
}

.detail-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-content section {
  margin-bottom: 40px;
}

.detail-content section:last-child {
  margin-bottom: 0;
}

.detail-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
  border-left: 4px solid #e74c3c;
  padding-left: 15px;
}

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

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

.info-item strong {
  color: #2c3e50;
}

.highlight-text {
  font-size: 18px;
  line-height: 1.8;
  color: #e74c3c;
  font-weight: 500;
  padding: 15px;
  background: #fff5f5;
  border-radius: 4px;
}

.summary-text {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.review-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #e74c3c;
  font-style: italic;
}

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

.related-item {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  transition: all 0.3s;
}

.related-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.related-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.related-item h3 a:hover {
  color: #e74c3c;
}

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

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 30px 20px;
  margin-top: 50px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 40px 15px;
  }

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

  .hero-desc {
    font-size: 14px;
  }

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

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

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

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

  .detail-content {
    padding: 25px 15px;
  }

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

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

  .rank-num {
    font-size: 24px;
    min-width: 40px;
  }
}