
/* 全局样式 */
body { font-size: 16px; }
a { color: #3498db; transition: color 0.3s; }
a:hover { color: #2980b9; }

.container { padding: 20px; }

/* 页脚 */
footer { background: #2c3e50; color: #ecf0f1; padding: 30px 0; margin-top: 60px; text-align: center; }

/* 首页样式 */
.hero { text-align: center; padding: 40px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border-radius: 8px; margin-bottom: 40px; }
.hero h1 { font-size: 28px; margin-bottom: 15px; }

.intro-section, .hot-section, .latest-section { margin-bottom: 50px; }
.intro-section h2, .hot-section h2, .latest-section h2 { font-size: 24px; margin-bottom: 20px; color: #2c3e50; border-left: 4px solid #3498db; padding-left: 15px; }
.intro-section p { line-height: 1.8; color: #555; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-5px); 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: #3498db; }
.video-card .meta { color: #7f8c8d; font-size: 14px; margin-bottom: 10px; }
.video-card .oneline { color: #555; font-size: 14px; line-height: 1.6; }

.video-list { background: #fff; padding: 20px; border-radius: 8px; }
.video-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #ecf0f1; }
.video-item:last-child { border-bottom: none; }
.video-item a { flex: 1; color: #2c3e50; text-decoration: none; }
.video-item a:hover { color: #3498db; }
.video-item .year { color: #7f8c8d; font-size: 14px; }

.more-link { text-align: center; margin-top: 20px; color: #7f8c8d; }

/* 列表页样式 */
.page-header { text-align: center; padding: 40px 0; margin-bottom: 40px; }
.page-header h1 { font-size: 26px; color: #2c3e50; margin-bottom: 15px; }
.page-header p { color: #555; line-height: 1.8; max-width: 800px; margin: 0 auto; }

.list-container { background: #fff; padding: 20px; border-radius: 8px; }
.list-item { padding: 20px 0; border-bottom: 1px solid #ecf0f1; }
.list-item:last-child { border-bottom: none; }
.list-item h3 { font-size: 20px; margin-bottom: 10px; }
.list-item h3 a { color: #2c3e50; text-decoration: none; }
.list-item h3 a:hover { color: #3498db; }
.list-item .meta { color: #7f8c8d; font-size: 14px; margin-bottom: 8px; }
.list-item .desc { color: #555; line-height: 1.6; }

.rank-container { background: #fff; padding: 20px; border-radius: 8px; }
.rank-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #ecf0f1; }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 32px; font-weight: bold; color: #e74c3c; min-width: 50px; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 20px; margin-bottom: 10px; }
.rank-info h3 a { color: #2c3e50; text-decoration: none; }
.rank-info h3 a:hover { color: #3498db; }
.rank-info .meta { color: #7f8c8d; font-size: 14px; margin-bottom: 8px; }
.rank-info .review { color: #555; line-height: 1.6; font-size: 14px; }

.topic-container { display: flex; flex-direction: column; gap: 40px; }
.topic-group h3 { font-size: 22px; margin-bottom: 20px; color: #2c3e50; }
.topic-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.topic-card { background: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; }
.topic-card:hover { transform: translateY(-3px); }
.topic-card a { color: #2c3e50; text-decoration: none; font-weight: bold; }
.topic-card a:hover { color: #3498db; }
.topic-card p { color: #7f8c8d; font-size: 14px; margin-top: 8px; }

.latest-container { background: #fff; padding: 20px; border-radius: 8px; }
.latest-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #ecf0f1; }
.latest-item:last-child { border-bottom: none; }
.latest-item .date { font-weight: bold; color: #3498db; min-width: 60px; }
.latest-info { flex: 1; }
.latest-info h3 { font-size: 18px; margin-bottom: 10px; }
.latest-info h3 a { color: #2c3e50; text-decoration: none; }
.latest-info h3 a:hover { color: #3498db; }
.latest-info .summary { color: #555; line-height: 1.6; font-size: 14px; }

/* 详情页样式 */
.detail-page { background: #fff; padding: 40px; border-radius: 8px; margin-top: 20px; }
.detail-page h1 { font-size: 28px; color: #2c3e50; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #3498db; }
.detail-page section { margin-bottom: 35px; }
.detail-page h2 { font-size: 22px; color: #2c3e50; margin-bottom: 15px; }
.basic-info ul { list-style: none; }
.basic-info li { padding: 8px 0; color: #555; line-height: 1.6; }
.oneline p, .summary p, .review p { color: #555; line-height: 1.8; }
.summary p { text-indent: 2em; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.related-card { background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 3px solid #3498db; transition: background 0.3s; }
.related-card:hover { background: #e9ecef; }
.related-card h4 { font-size: 16px; margin-bottom: 8px; }
.related-card h4 a { color: #2c3e50; text-decoration: none; }
.related-card h4 a:hover { color: #3498db; }
.related-card p { color: #555; font-size: 14px; line-height: 1.6; }

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 15px; }
  .hero h1 { font-size: 22px; }
  .page-header h1 { font-size: 22px; }
  .detail-page { padding: 20px 15px; }
  .detail-page h1 { font-size: 24px; }
  .video-grid { grid-template-columns: 1fr; }
  .rank-item { flex-direction: column; gap: 10px; }
  .rank-num { font-size: 24px; }
  .topic-items { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .related-grid { grid-template-columns: 1fr; }
}

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