/* 全局样式 */
body {
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Logo和Header */
.site-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.site-header .logo {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.site-header .tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 页面头部 */
.page-header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.9;
}

/* 详情页头部 */
.detail-header {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.detail-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.detail-header .subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section样式 */
section {
  background: #fff;
  margin: 30px 0;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
}

section h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #34495e;
}

/* 首页介绍 */
.intro-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.video-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: all 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 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.video-card h3 a:hover {
  color: #3498db;
}

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

.video-card .oneline {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* 信息卡片 */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.info-card {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.info-card h3 {
  margin-bottom: 15px;
  color: #2d3436;
}

.info-card p {
  margin-bottom: 20px;
  color: #636e72;
  line-height: 1.6;
}

.info-card .btn {
  display: inline-block;
  background: #fff;
  color: #2d3436;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.info-card .btn:hover {
  background: #2d3436;
  color: #fff;
}

/* 列表样式 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.list-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.list-item h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #2c3e50;
}

.list-item h4 a:hover {
  color: #3498db;
}

.list-item .genre {
  display: inline-block;
  background: #ecf0f1;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 10px;
}

.list-item .summary {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* 更多链接 */
.more-link {
  text-align: center;
  margin-top: 30px;
}

.more-link a {
  display: inline-block;
  color: #3498db;
  font-size: 1.05rem;
  padding: 10px 30px;
  border: 2px solid #3498db;
  border-radius: 25px;
  transition: all 0.3s;
}

.more-link a:hover {
  background: #3498db;
  color: #fff;
}

/* 资源大全页面 */
.video-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.video-card-full {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.video-card-full:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-color: #3498db;
}

.video-card-full h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

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

.video-card-full .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.video-card-full .card-meta span {
  background: #ecf0f1;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #555;
}

.video-card-full .genre {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.video-card-full .oneline {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* 排行榜样式 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.rank-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.rank-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.rank-item .rank-num {
  font-size: 2rem;
  font-weight: 700;
  color: #e74c3c;
  min-width: 50px;
  text-align: center;
}

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

.rank-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

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

.rank-item .meta {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.rank-item .oneline {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.rank-item .review {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  font-style: italic;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
}

/* 主题专区 */
.topic-group {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.topic-group .topic-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #9b59b6;
  padding-bottom: 10px;
}

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

.topic-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.topic-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.topic-card h3 a:hover {
  color: #9b59b6;
}

.topic-card .meta {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.topic-card .oneline {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* 最新片单 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.latest-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.latest-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.latest-item .latest-date {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27ae60;
  min-width: 70px;
  text-align: center;
  background: #e8f8f5;
  padding: 10px;
  border-radius: 8px;
}

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

.latest-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.latest-item h3 a:hover {
  color: #27ae60;
}

.latest-item .meta {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.latest-item .summary {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* 详情页样式 */
.detail-info {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
}

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

.info-item {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

.info-item strong {
  color: #2c3e50;
  margin-right: 8px;
}

.one-line-box, .summary-box, .review-box {
  margin-bottom: 30px;
}

.one-line-box h3, .summary-box h3, .review-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 15px;
}

.one-line-box p {
  font-size: 1.1rem;
  color: #e74c3c;
  line-height: 1.8;
  font-weight: 500;
  padding: 15px;
  background: #fff5f5;
  border-radius: 8px;
}

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

.review-box p {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 8px;
  font-style: italic;
  border-left: 4px solid #3498db;
}

/* 相关推荐 */
.related-section {
  background: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 12px;
}

.related-section h2 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: #2c3e50;
  border-bottom: 3px solid #e67e22;
  padding-bottom: 10px;
}

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

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

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border-color: #e67e22;
}

.related-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.related-card h4 a:hover {
  color: #e67e22;
}

.related-card .meta {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.related-card .brief {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

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

.site-footer p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* 响应式 */
@media (max-width: 768px) {
  .site-header .logo {
    font-size: 1.8rem;
  }

  .site-header .tagline {
    font-size: 0.95rem;
  }

  .page-header h1, .detail-header h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 20px;
  }

  section h2 {
    font-size: 1.4rem;
  }

  .video-grid, .video-grid-full, .topic-items, .related-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    flex-direction: column;
    gap: 10px;
  }

  .rank-item .rank-num {
    font-size: 1.5rem;
    text-align: left;
  }

  .latest-item {
    flex-direction: column;
    gap: 10px;
  }

  .latest-item .latest-date {
    text-align: left;
  }
}
