/* UI Style 3 - Layout C */

body {
  font-size: 16px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

/* Hero Section */
.hero {
  background: #fff;
  padding: 60px 40px;
  border-radius: 12px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.hero .intro {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Site Intro */
.site-intro {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.site-intro h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.site-intro p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* Sections */
section {
  margin: 40px 0;
}

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

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

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

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

.video-card .rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b6b;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.video-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a73e8;
}

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

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

.video-card .genre {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

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

/* Link Cards */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.link-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: block;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.link-card h3 {
  font-size: 22px;
  color: #1a73e8;
  margin-bottom: 10px;
}

.link-card p {
  color: #666;
  font-size: 15px;
}

/* Video List */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-list .video-card {
  max-width: 100%;
}

/* Page Header */
.page-header {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.page-header p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Video Detail */
.video-detail {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 30px 0;
}

.video-detail h1 {
  font-size: 36px;
  color: #1a73e8;
  margin-bottom: 30px;
}

.video-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.info-item {
  font-size: 15px;
  color: #333;
}

.info-item strong {
  color: #1a73e8;
}

.one-line-highlight {
  margin: 30px 0;
  padding: 20px;
  background: #e3f2fd;
  border-left: 4px solid #1a73e8;
  border-radius: 4px;
}

.one-line-highlight h2 {
  font-size: 20px;
  color: #1a73e8;
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.one-line-highlight p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.summary-section, .review-section {
  margin: 30px 0;
}

.summary-section h2, .review-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #1a73e8;
  padding-bottom: 8px;
}

.summary-section p, .review-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* Related Section */
.related-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.related-section h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 20px;
}

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

.related-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s;
}

.related-card:hover {
  background: #e8f4f8;
}

.related-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

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

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

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

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

footer p {
  font-size: 14px;
  color: #ccc;
}

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

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

  .hero .intro {
    font-size: 16px;
  }

  .site-intro {
    padding: 25px;
  }

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

  .video-detail {
    padding: 25px;
  }

  .video-detail h1 {
    font-size: 28px;
  }

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