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

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

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

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Intro Section */
.intro-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.intro-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

.intro-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

.intro-section a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

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

/* Section Headings */
section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2c3e50;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

/* Featured Section */
.featured-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.video-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
}

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

.video-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.video-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.video-card h3 a:hover {
  color: #667eea;
}

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

.video-one-line {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.video-genre {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* List Entry Section */
.list-entry-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.entry-card:hover {
  transform: translateY(-5px);
}

.entry-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.entry-card h3 a {
  color: white;
  text-decoration: none;
}

.entry-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Latest Section */
.latest-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.video-item {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  transition: background 0.3s;
}

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

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

.video-item h3 a {
  color: #2c3e50;
  text-decoration: none;
}

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

.video-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 8px;
}

/* List Pages */
.page-header {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 20px;
}

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

.video-list-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.video-list-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: background 0.3s;
}

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

.item-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #667eea;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.item-content {
  flex: 1;
}

.item-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.item-content h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.item-content h3 a:hover {
  color: #667eea;
}

/* Ranked List */
.video-list-ranked {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.video-rank-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.video-rank-item:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.rank-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #95a5a6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.rank-number.top-three {
  background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.video-review {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
  font-style: italic;
}

/* Topic Section */
.topic-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.topic-group {
  margin-bottom: 50px;
}

.topic-group:last-child {
  margin-bottom: 0;
}

.topic-title {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

/* Dated List */
.video-list-dated {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.video-dated-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: background 0.3s;
}

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

.item-date {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

/* Detail Page */
.detail-page {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.video-detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail-header h1 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #667eea;
}

.basic-info,
.one-line-section,
.summary-section,
.review-section,
.related-section {
  margin-bottom: 40px;
}

.basic-info h2,
.one-line-section h2,
.summary-section h2,
.review-section h2,
.related-section h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
}

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

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  line-height: 1.6;
}

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

.one-line-highlight {
  font-size: 18px;
  color: #667eea;
  font-weight: 500;
  line-height: 1.8;
  padding: 20px;
  background: #f0f4ff;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.summary-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

.review-content {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  font-style: italic;
  border-left: 4px solid #95a5a6;
}

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

.site-footer p {
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }

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

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

  .intro-section,
  .featured-section,
  .list-entry-section,
  .latest-section,
  .video-list-section,
  .topic-section,
  .detail-page {
    padding: 20px;
  }

  section h2,
  .page-header h1 {
    font-size: 22px;
  }

  .video-list-item,
  .video-rank-item,
  .video-dated-item {
    flex-direction: column;
    gap: 15px;
  }

  .item-number,
  .rank-number {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }

  .item-date {
    width: 70px;
    height: 50px;
    font-size: 18px;
  }

  .detail-header h1 {
    font-size: 26px;
  }
}
