/* 全局样式增强 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero .subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

.site-intro,
.hot-recommend,
.list-entries,
.new-updates,
.video-list-section,
.detail-page {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.site-intro h2,
.hot-recommend h2,
.list-entries h2,
.new-updates h2,
.page-header h1,
.detail-page h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
}

.site-intro 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: 1.5rem;
  margin-top: 1.5rem;
}

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

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-color: #667eea;
}

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

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

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

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

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

/* 入口卡片网格 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.entry-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.entry-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.entry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

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

.entry-card p {
  color: #555;
  line-height: 1.5;
}

/* 视频列表 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.video-item:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

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

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

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

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

/* 列表页样式 */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

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

.page-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.video-list-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s;
  align-items: flex-start;
}

.video-list-item:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.video-list-item .rank {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
  min-width: 40px;
  text-align: center;
}

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

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

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

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

.video-list-item .category {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

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

.video-list-item .desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.video-list-item .update-date {
  color: #999;
  font-size: 0.85rem;
  font-style: italic;
}

/* 详情页样式 */
.detail-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.detail-header h1 {
  font-size: 2rem;
  line-height: 1.4;
}

.basic-info,
.one-line,
.summary,
.review,
.related {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.basic-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  font-size: 1.05rem;
}

.basic-info dt {
  font-weight: 600;
  color: #2c3e50;
}

.basic-info dd {
  color: #555;
}

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

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

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

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-color: #667eea;
}

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

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

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

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

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

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

  .hero .subtitle {
    font-size: 1rem;
  }

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

  .site-intro,
  .hot-recommend,
  .list-entries,
  .new-updates,
  .video-list-section,
  .detail-page,
  .basic-info,
  .one-line,
  .summary,
  .review,
  .related {
    padding: 1.5rem;
  }

  .video-list-item {
    flex-direction: column;
  }

  .video-list-item .rank {
    align-self: flex-start;
  }

  .basic-info dl {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .basic-info dt {
    margin-top: 0.5rem;
  }
}

/* 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: #ff6a88; }
.ui-style-8 { --primary-color: #feca57; }
.ui-style-9 { --primary-color: #ff9ff3; }
.ui-style-10 { --primary-color: #54a0ff; }
.ui-style-11 { --primary-color: #48dbfb; }
.ui-style-12 { --primary-color: #1dd1a1; }
.ui-style-13 { --primary-color: #ee5a6f; }
.ui-style-14 { --primary-color: #c44569; }
.ui-style-15 { --primary-color: #574b90; }
