
/* 全局样式 */
body.ui-style-8 {
  font-size: 16px;
}

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

/* 首页 */
.hero {
  text-align: center;
  padding: 48px 0;
  background: white;
  border-radius: 8px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #1a1a1a;
  line-height: 1.4;
}

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

section {
  margin-bottom: 48px;
}

section h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #1a1a1a;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
}

.section-desc {
  color: #666;
  margin-bottom: 24px;
  font-size: 14px;
}

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

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

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

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

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

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

/* 视频列表 */
.video-list {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s;
}

.video-item:last-child {
  border-bottom: none;
}

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

.video-item .rank {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

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

.video-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.video-item .meta {
  color: #999;
  font-size: 13px;
}

.more-link {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
}

.more-link a {
  color: #667eea;
  font-weight: 500;
  margin: 0 12px;
}

/* 列表页 */
.page-intro {
  background: white;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-bar {
  background: white;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-bar a {
  margin: 0 12px;
  padding: 6px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  display: inline-block;
  transition: background 0.3s;
}

.filter-bar a:hover {
  background: #667eea;
  color: white;
  text-decoration: none;
}

.video-list-full {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-item-full {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.video-item-full:last-child {
  border-bottom: none;
}

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

.item-meta {
  margin-bottom: 12px;
}

.item-meta .tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  color: #666;
}

.item-meta .genre {
  color: #999;
  font-size: 13px;
}

.item-desc {
  color: #666;
  line-height: 1.6;
}

/* 排行榜 */
.rank-list {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rank-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  font-size: 32px;
  font-weight: bold;
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.rank-num.rank-top {
  color: #f39c12;
}

.rank-num.rank-normal {
  color: #999;
}

.rank-content {
  flex: 1;
}

.rank-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rank-content .desc {
  color: #666;
  line-height: 1.6;
  margin-top: 8px;
}

.rank-content .review {
  color: #888;
  font-style: italic;
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid #e0e0e0;
}

/* 专题 */
.topic-section {
  margin-bottom: 48px;
}

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

.topic-card {
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.topic-card:hover {
  transform: translateY(-2px);
}

.topic-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* 最新列表 */
.latest-list {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.latest-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.latest-item:last-child {
  border-bottom: none;
}

.latest-date {
  width: 80px;
  font-weight: bold;
  color: #667eea;
  flex-shrink: 0;
}

.latest-content {
  flex: 1;
}

.latest-content h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

/* 详情页 */
.video-detail {
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-detail h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #1a1a1a;
  border-bottom: 3px solid #667eea;
  padding-bottom: 16px;
}

.detail-info {
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.info-row {
  padding: 8px 0;
  font-size: 15px;
}

.info-row .label {
  font-weight: bold;
  color: #333;
  display: inline-block;
  width: 80px;
}

.one-line, .summary, .review, .related {
  margin-bottom: 32px;
}

.one-line h2, .summary h2, .review h2, .related h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #333;
}

.one-line p {
  font-size: 18px;
  color: #667eea;
  font-weight: 500;
  line-height: 1.6;
}

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

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

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

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

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

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

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

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 22px;
  }

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

  .video-detail {
    padding: 24px 16px;
  }

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

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

  .latest-date {
    width: 60px;
    font-size: 14px;
  }
}
