/* 全局样式 */
.container { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
h1 { font-size: 2rem; margin-bottom: 1rem; color: #2c3e50; }
h2 { font-size: 1.5rem; margin: 1.5rem 0 1rem; color: #34495e; border-left: 4px solid #667eea; padding-left: 0.8rem; }
h3 { font-size: 1.2rem; margin: 0.8rem 0 0.5rem; }

/* 介绍区域 */
.intro-section { margin-bottom: 2rem; padding: 1.5rem; background: linear-gradient(120deg, #f6f9fc 0%, #e9f0f5 100%); border-radius: 8px; }
.intro-text { 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: 1.5rem 0; }
.video-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 1.2rem; transition: all 0.3s; }
.video-card:hover { box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2); transform: translateY(-2px); }
.video-card h3 { margin-bottom: 0.5rem; }
.video-card .meta { font-size: 0.9rem; color: #888; margin-bottom: 0.5rem; }
.video-card .desc { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* 列表 */
.video-list { list-style: none; }
.video-list li { padding: 1rem; border-bottom: 1px solid #eee; transition: background 0.2s; }
.video-list li:hover { background: #f9f9f9; }
.video-list a { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.video-list .title { font-weight: bold; flex: 1; min-width: 200px; }
.video-list .year { color: #888; margin: 0 1rem; }
.video-list .genre { color: #667eea; font-size: 0.9rem; }

/* 更多链接 */
.more-link { text-align: right; margin-top: 1rem; }
.more-link a { font-weight: bold; }

/* 专题卡片 */
.topic-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.topic-card { display: block; padding: 1.5rem; background: #fff; border: 2px solid #667eea; border-radius: 8px; text-align: center; transition: all 0.3s; }
.topic-card:hover { background: #667eea; color: #fff; transform: scale(1.05); }
.topic-card h3 { color: inherit; margin-bottom: 0.5rem; }
.topic-card p { color: inherit; opacity: 0.8; }

/* 列表页 */
.page-intro { font-size: 1.05rem; color: #666; margin-bottom: 2rem; padding: 1rem; background: #f6f9fc; border-radius: 6px; }
.list-content { margin-top: 2rem; }
.list-item { padding: 1.5rem; margin-bottom: 1.5rem; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; position: relative; }
.list-item.with-rank { padding-left: 4rem; }
.list-item .rank { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; font-weight: bold; color: #667eea; }
.list-item .date { display: inline-block; background: #667eea; color: #fff; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.85rem; margin-right: 0.5rem; }
.list-item h3 { margin-bottom: 0.5rem; }
.list-item .meta { font-size: 0.9rem; color: #888; margin-bottom: 0.5rem; }
.list-item .desc { color: #666; line-height: 1.6; margin-bottom: 0.5rem; }
.list-item .review { font-size: 0.95rem; color: #555; background: #f9f9f9; padding: 0.8rem; border-left: 3px solid #667eea; margin-top: 0.8rem; }

/* 详情页 */
.detail-content { max-width: 900px; margin: 0 auto; }
.detail-content section { margin-bottom: 2rem; }
.info-list { list-style: none; background: #f6f9fc; padding: 1.5rem; border-radius: 6px; }
.info-list li { padding: 0.5rem 0; border-bottom: 1px dashed #ddd; }
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: #667eea; min-width: 80px; display: inline-block; }
.one-line p { font-size: 1.1rem; color: #667eea; font-weight: bold; padding: 1rem; background: #f0f4ff; border-radius: 6px; }
.summary p { font-size: 1.05rem; line-height: 1.8; color: #444; text-indent: 2em; }
.review p { font-size: 1rem; line-height: 1.8; color: #555; background: #fffbf0; padding: 1.2rem; border-left: 4px solid #ffa726; border-radius: 4px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.related-item { padding: 1rem; background: #f9f9f9; border-radius: 6px; transition: all 0.3s; }
.related-item:hover { background: #f0f4ff; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15); }
.related-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.related-item .meta { font-size: 0.85rem; color: #888; margin-bottom: 0.3rem; }
.related-item .desc { font-size: 0.9rem; color: #666; }

/* 页脚 */
.site-footer { text-align: center; padding: 2rem 1rem; color: #999; font-size: 0.9rem; margin-top: 3rem; border-top: 1px solid #eee; }

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .video-grid { grid-template-columns: 1fr; gap: 1rem; }
  .video-list .title { min-width: 150px; font-size: 0.95rem; }
  .video-list .year, .video-list .genre { font-size: 0.85rem; }
  .list-item.with-rank { padding-left: 3rem; }
  .list-item .rank { font-size: 1.5rem; left: 0.5rem; }
  .related-grid { grid-template-columns: 1fr; }
}

/* UI 风格变体 */
.ui-style-0 { --primary: #667eea; }
.ui-style-1 { --primary: #f093fb; }
.ui-style-2 { --primary: #4facfe; }
.ui-style-3 { --primary: #43e97b; }
.ui-style-4 { --primary: #fa709a; }
.ui-style-5 { --primary: #30cfd0; }
.ui-style-6 { --primary: #a8edea; }
.ui-style-7 { --primary: #ff6a88; }
.ui-style-8 { --primary: #fbc2eb; }
.ui-style-9 { --primary: #a6c1ee; }
.ui-style-10 { --primary: #ffecd2; }
.ui-style-11 { --primary: #fcb69f; }
.ui-style-12 { --primary: #ffeaa7; }
.ui-style-13 { --primary: #74b9ff; }
.ui-style-14 { --primary: #a29bfe; }
.ui-style-15 { --primary: #fd79a8; }
