
/* 全局样式 */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.section-title { font-size: 28px; margin: 30px 0 20px; color: #2c3e50; border-left: 4px solid #e74c3c; padding-left: 15px; }

/* 首页样式 */
.home-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 60px 20px; text-align: center; margin-bottom: 40px; }
.home-header h1 { font-size: 32px; margin-bottom: 20px; font-weight: 600; }
.site-intro { max-width: 800px; margin: 20px auto; line-height: 1.8; }
.quick-links { margin-top: 30px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.quick-links a { background: rgba(255,255,255,0.2); padding: 10px 24px; border-radius: 25px; color: white; text-decoration: none; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.3); }
.quick-links a:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.video-card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.video-card h3 { font-size: 18px; margin-bottom: 10px; }
.video-card h3 a { color: #2c3e50; text-decoration: none; }
.video-card h3 a:hover { color: #e74c3c; }
.video-card .meta { font-size: 13px; color: #7f8c8d; margin-bottom: 10px; }
.video-card .oneline { font-size: 14px; color: #555; line-height: 1.6; }

.list-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 20px 0 40px; }
.intro-item { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.intro-item h3 { font-size: 20px; margin-bottom: 12px; }
.intro-item h3 a { color: #2c3e50; text-decoration: none; }
.intro-item h3 a:hover { color: #e74c3c; }
.intro-item p { color: #666; line-height: 1.7; }

.video-list { display: flex; flex-direction: column; gap: 20px; }
.video-item { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s; }
.video-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.video-item h3 { font-size: 18px; margin-bottom: 8px; }
.video-item h3 a { color: #2c3e50; text-decoration: none; }
.video-item h3 a:hover { color: #e74c3c; }
.video-item .summary { font-size: 14px; color: #666; line-height: 1.6; margin-top: 8px; }

.more-link { text-align: center; margin: 30px 0; }
.more-link a { display: inline-block; padding: 12px 30px; background: #e74c3c; color: white; text-decoration: none; border-radius: 25px; transition: all 0.3s; }
.more-link a:hover { background: #c0392b; transform: translateY(-2px); }

/* 列表页样式 */
.list-main { min-height: 60vh; }
.list-main h1 { font-size: 32px; color: #2c3e50; margin: 30px 0 15px; }
.page-desc { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 30px; padding: 15px; background: #f8f9fa; border-left: 3px solid #e74c3c; }
.list-content { display: flex; flex-direction: column; gap: 20px; }

.daquan-card, .top-card, .topic-card, .latest-card { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: relative; transition: all 0.3s; }
.daquan-card:hover, .top-card:hover, .topic-card:hover, .latest-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateX(4px); }

.card-badge, .rank-badge, .topic-tag, .date-badge { position: absolute; top: 15px; right: 15px; background: #e74c3c; color: white; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.rank-badge { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); font-size: 14px; padding: 6px 14px; }
.topic-tag { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.date-badge { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: #333; }

.daquan-card h2, .top-card h2, .topic-card h2, .latest-card h2 { font-size: 20px; margin-bottom: 10px; padding-right: 80px; }
.daquan-card h2 a, .top-card h2 a, .topic-card h2 a, .latest-card h2 a { color: #2c3e50; text-decoration: none; }
.daquan-card h2 a:hover, .top-card h2 a:hover, .topic-card h2 a:hover, .latest-card h2 a:hover { color: #e74c3c; }

.card-meta { font-size: 13px; color: #7f8c8d; margin-bottom: 10px; }
.card-oneline, .card-desc { font-size: 15px; color: #555; line-height: 1.7; margin-top: 8px; }
.card-summary { font-size: 14px; color: #666; line-height: 1.7; margin-top: 10px; }
.review-excerpt { font-size: 14px; color: #555; font-style: italic; margin-top: 10px; padding: 10px; background: #f8f9fa; border-left: 3px solid #3498db; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags span, .tag { display: inline-block; padding: 4px 10px; background: #ecf0f1; color: #555; border-radius: 4px; font-size: 12px; }

/* 详情页样式 */
.detail-main { min-height: 70vh; }
.video-detail { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin: 30px auto; max-width: 900px; }
.video-detail h1 { font-size: 36px; color: #2c3e50; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #ecf0f1; }
.video-detail section { margin-bottom: 35px; }
.video-detail h2 { font-size: 22px; color: #34495e; margin-bottom: 15px; padding-left: 12px; border-left: 4px solid #3498db; }

.basic-info dl { display: grid; grid-template-columns: 100px 1fr; gap: 12px 20px; line-height: 1.8; }
.basic-info dt { font-weight: 600; color: #555; }
.basic-info dd { color: #666; }

.one-line .highlight { font-size: 18px; color: #e74c3c; font-weight: 500; line-height: 1.8; padding: 15px; background: #fff5f5; border-left: 4px solid #e74c3c; border-radius: 4px; }

.summary p, .review p { font-size: 16px; color: #555; line-height: 1.9; text-align: justify; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.related-item { background: #f8f9fa; padding: 15px; border-radius: 6px; transition: all 0.3s; }
.related-item:hover { background: #ecf0f1; transform: translateY(-2px); }
.related-item h3 { font-size: 16px; margin-bottom: 8px; }
.related-item h3 a { color: #2c3e50; text-decoration: none; }
.related-item h3 a:hover { color: #e74c3c; }
.related-item .meta { font-size: 12px; color: #7f8c8d; margin-bottom: 8px; }
.related-item p { font-size: 13px; color: #666; line-height: 1.6; }

/* Footer */
.site-footer { background: #2c3e50; color: #ecf0f1; text-align: center; padding: 30px 20px; margin-top: 60px; }

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 15px; }
  .home-header h1 { font-size: 24px; }
  .home-header { padding: 40px 15px; }
  .video-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .video-detail { padding: 20px; }
  .video-detail h1 { font-size: 26px; }
  .basic-info dl { grid-template-columns: 80px 1fr; gap: 10px; }
  .related-grid { grid-template-columns: 1fr; }
}

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