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

.site-intro { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.site-intro h2 { color: #e63946; margin-bottom: 15px; font-size: 22px; }
.site-intro p { line-height: 1.8; color: #555; }

section { margin-bottom: 40px; }
section h2 { font-size: 24px; color: #333; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #e63946; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-card { background: white; 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; color: #333; }
.video-card h3 a { color: #333; transition: color 0.3s; }
.video-card h3 a:hover { color: #e63946; }
.video-card .meta { font-size: 13px; color: #666; margin-bottom: 8px; }
.video-card .desc { font-size: 14px; color: #555; line-height: 1.6; }

.more-link { text-align: right; margin-top: 15px; }
.more-link a { color: #e63946; font-weight: bold; transition: color 0.3s; }
.more-link a:hover { color: #c1121f; }

/* 列表页 */
.page-intro { font-size: 16px; color: #555; margin-bottom: 30px; line-height: 1.8; background: white; padding: 20px; border-radius: 8px; }

.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.1); position: relative; }
.video-item h3 { font-size: 20px; margin-bottom: 10px; color: #333; }
.video-item h3 a { color: #333; transition: color 0.3s; }
.video-item h3 a:hover { color: #e63946; }
.video-item .meta { font-size: 14px; color: #666; margin-bottom: 10px; }
.video-item .desc { font-size: 15px; color: #555; line-height: 1.6; }
.video-item .rank { position: absolute; top: 20px; left: 20px; background: #e63946; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.video-item.top { padding-left: 70px; }
.video-item .date { display: inline-block; margin-top: 10px; font-size: 13px; color: #999; }

/* 详情页 */
.video-detail section { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.video-detail h1 { font-size: 28px; color: #333; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 3px solid #e63946; }
.video-detail h2 { font-size: 20px; color: #e63946; margin-bottom: 15px; border: none; padding: 0; }
.video-detail .basic-info ul { list-style: none; }
.video-detail .basic-info li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.video-detail .basic-info li:last-child { border-bottom: none; }
.video-detail p { line-height: 1.8; color: #555; font-size: 15px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-item.top { padding-left: 20px; }
  .video-item .rank { position: relative; top: 0; left: 0; margin-bottom: 10px; }
}
