
/* 全局样式增强 */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}

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

/* 首页样式 */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

.intro {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.intro h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.intro p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.hot-section, .latest-section, .topic-section {
  margin-bottom: 3rem;
}

.hot-section h2, .latest-section h2, .topic-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #667eea;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.video-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

.video-card .meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}

.video-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

.video-item .meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.video-item .summary, .video-item .oneline {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.video-item .tags {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.video-item .review {
  color: #555;
  font-style: italic;
  border-left: 3px solid #667eea;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.video-item .rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #667eea;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1rem;
}

.video-item .genre-tag {
  display: inline-block;
  background: #764ba2;
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.video-item .year-tag {
  display: inline-block;
  background: #48bb78;
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.more-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.topic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.topic-card h3 a {
  color: #667eea;
  text-decoration: none;
}

.topic-card p {
  color: #666;
  line-height: 1.6;
}

/* 列表页样式 */
.list-header {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.list-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.list-header .intro {
  background: transparent;
  padding: 0;
  box-shadow: none;
  color: #666;
  line-height: 1.8;
}

.list-content {
  margin-bottom: 2rem;
}

/* 详情页样式 */
.detail {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-header {
  border-bottom: 2px solid #667eea;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.detail-header .subtitle {
  color: #999;
  font-size: 1.1rem;
}

.detail section {
  margin-bottom: 2rem;
}

.detail section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.detail-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.8rem;
  line-height: 1.8;
}

.detail-info dt {
  font-weight: bold;
  color: #555;
}

.detail-info dd {
  color: #666;
}

.detail-oneline p, .detail-summary p, .detail-review p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

.detail-review {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

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

.related-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.2s;
}

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

.related-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.related-item h3 a {
  color: #333;
  text-decoration: none;
}

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

.related-item .meta {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.related-item .oneline {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 页脚样式 */
.footer {
  background: #333;
  color: #ccc;
  padding: 2rem 1rem;
  margin-top: 3rem;
  text-align: center;
}

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

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

  .detail-header h1 {
    font-size: 1.8rem;
  }

  .detail-info dl {
    grid-template-columns: 80px 1fr;
    font-size: 0.95rem;
  }

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

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

/* UI风格变体 */
.ui-style-0 { --primary-color: #667eea; }
.ui-style-1 { --primary-color: #f093fb; }
.ui-style-2 { --primary-color: #4facfe; }
.ui-style-3 { --primary-color: #43e97b; }
.ui-style-4 { --primary-color: #fa709a; }
.ui-style-5 { --primary-color: #30cfd0; }
.ui-style-6 { --primary-color: #a8edea; }
.ui-style-7 { --primary-color: #ff9a9e; }
.ui-style-8 { --primary-color: #fbc2eb; }
.ui-style-9 { --primary-color: #84fab0; }
.ui-style-10 { --primary-color: #cfd9df; }
.ui-style-11 { --primary-color: #e0c3fc; }
.ui-style-12 { --primary-color: #8ec5fc; }
.ui-style-13 { --primary-color: #f77062; }
.ui-style-14 { --primary-color: #fe8c00; }
.ui-style-15 { --primary-color: #f83600; }
