/* 全局样式增强 */
.page-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #3498db;
}

.intro-section, .page-intro {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-title {
  font-size: 1.5rem;
  color: #34495e;
  margin: 2rem 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid #e74c3c;
}

.section-desc {
  margin-bottom: 1rem;
  color: #666;
}

.section-desc a, .more-link a {
  color: #3498db;
  text-decoration: underline;
}

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

.video-card {
  background: #fff;
  padding: 1.25rem;
  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: 1.1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

.video-meta, .video-oneline {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 0.25rem 0;
}

.link-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.link-card {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.link-card:hover {
  transform: scale(1.05);
}

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

/* 列表页样式 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.card-tag, .card-rank, .card-genre, .card-year {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-tag { background: #3498db; color: #fff; }
.card-rank { background: #e74c3c; color: #fff; }
.card-genre { background: #2ecc71; color: #fff; }
.card-year { background: #f39c12; color: #fff; }

.list-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

.item-meta, .item-tags, .item-oneline, .item-review {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.item-meta { color: #7f8c8d; font-size: 0.9rem; }
.item-tags { color: #95a5a6; font-size: 0.85rem; }
.item-oneline { color: #34495e; font-weight: 500; }
.item-review { color: #555; font-style: italic; }

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

.detail-title {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #3498db;
}

.detail-info, .detail-oneline, .detail-summary, .detail-review, .detail-related {
  margin: 2rem 0;
}

.detail-info h2, .detail-oneline h2, .detail-summary h2, .detail-review h2, .detail-related h2 {
  font-size: 1.4rem;
  color: #34495e;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid #e74c3c;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ecf0f1;
}

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

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

.related-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid #3498db;
  transition: transform 0.3s;
}

.related-card:hover {
  transform: translateX(4px);
  background: #e8f4f8;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

.related-card p {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-title, .detail-title { font-size: 1.5rem; }
  .section-title { font-size: 1.2rem; }
  .video-grid { grid-template-columns: 1fr; }
  .link-group { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
  .video-detail { padding: 1rem; }
}

/* UI风格变体 */
.ui-style-0 { --primary: #3498db; }
.ui-style-1 { --primary: #e74c3c; }
.ui-style-2 { --primary: #2ecc71; }
.ui-style-3 { --primary: #f39c12; }
.ui-style-4 { --primary: #9b59b6; }
.ui-style-5 { --primary: #1abc9c; }
.ui-style-6 { --primary: #34495e; }
.ui-style-7 { --primary: #16a085; }
.ui-style-8 { --primary: #27ae60; }
.ui-style-9 { --primary: #2980b9; }
.ui-style-10 { --primary: #8e44ad; }
.ui-style-11 { --primary: #c0392b; }
.ui-style-12 { --primary: #d35400; }
.ui-style-13 { --primary: #7f8c8d; }
.ui-style-14 { --primary: #2c3e50; }
.ui-style-15 { --primary: #e67e22; }
