
/* 全局样式 */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { padding: 30px 20px; }

/* 首页样式 */
.hero { text-align: center; padding: 60px 20px 40px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 12px; margin-bottom: 40px; }
.hero h1 { font-size: 32px; margin-bottom: 20px; line-height: 1.4; }
.hero .intro { font-size: 16px; line-height: 1.8; max-width: 800px; margin: 0 auto; opacity: 0.95; }

/* 区块样式 */
.section { margin-bottom: 50px; background: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.section h2 { font-size: 24px; margin-bottom: 20px; color: #1a73e8; border-left: 4px solid #1a73e8; padding-left: 12px; }
.section p { line-height: 1.8; color: #555; margin-bottom: 15px; }
.section-link { margin-top: 20px; text-align: right; }
.section-link a { color: #1a73e8; margin-left: 15px; }
.section-link a:hover { text-decoration: underline; }

/* 视频网格 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-card { background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; transition: all 0.3s; position: relative; }
.video-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: translateY(-2px); }
.video-card .rank { position: absolute; top: 10px; right: 10px; background: #ff6b6b; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.video-card h3 { font-size: 18px; margin-bottom: 10px; color: #333; }
.video-card h3 a { color: inherit; }
.video-card h3 a:hover { color: #1a73e8; }
.video-card .meta { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; color: #666; flex-wrap: wrap; }
.video-card .meta span { background: #f0f0f0; padding: 3px 8px; border-radius: 4px; }
.video-card .oneline { font-size: 14px; line-height: 1.6; color: #555; }

/* 列表页样式 */
.page-header { text-align: center; padding: 40px 20px; background: white; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.page-header h1 { font-size: 32px; margin-bottom: 15px; color: #1a73e8; }
.page-header p { font-size: 16px; color: #666; line-height: 1.8; }
.video-list { display: flex; flex-direction: column; gap: 20px; }
.video-list .video-card { border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* 详情页样式 */
.detail { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.detail h1 { font-size: 32px; margin-bottom: 30px; color: #333; border-bottom: 2px solid #1a73e8; padding-bottom: 15px; }
.info-box, .content-box, .related { margin-bottom: 30px; }
.info-box h2, .content-box h2, .related h2 { font-size: 20px; margin-bottom: 15px; color: #1a73e8; }
.info-list { line-height: 2; }
.info-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.info-list strong { color: #333; margin-right: 10px; }
.highlight { font-size: 18px; line-height: 1.8; color: #333; background: #f8f9fa; padding: 15px; border-left: 4px solid #1a73e8; border-radius: 4px; }
.content-box p { line-height: 1.8; color: #555; }

/* 页脚 */
.footer { background: #2c3e50; color: white; text-align: center; padding: 30px 20px; margin-top: 50px; }
.footer p { font-size: 14px; opacity: 0.8; }

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero .intro { font-size: 14px; }
  .section { padding: 20px; }
  .section h2 { font-size: 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .detail { padding: 20px; }
  .detail h1 { font-size: 24px; }
  .page-header h1 { font-size: 24px; }
}
