
/* 全局样式 */
.hero { text-align: center; padding: 3rem 0; background: white; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.hero h1 { font-size: 2rem; color: #667eea; margin-bottom: 1rem; }
.intro { font-size: 1.1rem; line-height: 1.8; color: #555; max-width: 900px; margin: 0 auto; padding: 0 1rem; }

.section { background: white; border-radius: 8px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: #333; border-left: 4px solid #667eea; padding-left: 1rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.video-card { padding: 1rem; border: 1px solid #e0e0e0; border-radius: 6px; transition: all 0.3s; }
.video-card:hover { border-color: #667eea; box-shadow: 0 4px 12px rgba(102,126,234,0.2); transform: translateY(-2px); }
.video-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.video-card h3 a { color: #333; }
.video-card h3 a:hover { color: #667eea; }
.video-card .meta { font-size: 0.9rem; color: #999; margin-bottom: 0.5rem; }
.video-card .desc { font-size: 0.95rem; color: #666; line-height: 1.6; }

.video-list { display: flex; flex-direction: column; gap: 1rem; }
.video-item { padding: 1rem; border-left: 3px solid #667eea; background: #f9f9f9; border-radius: 4px; }
.video-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.video-item h3 a { color: #333; }
.video-item h3 a:hover { color: #667eea; }
.video-item .oneline { font-size: 0.95rem; color: #666; margin-bottom: 0.3rem; }
.video-item .meta { font-size: 0.85rem; color: #999; }

.link-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.link-card { display: block; padding: 2rem; border: 2px solid #e0e0e0; border-radius: 8px; transition: all 0.3s; }
.link-card:hover { border-color: #667eea; background: #f8f9ff; }
.link-card h3 { font-size: 1.3rem; color: #667eea; margin-bottom: 0.5rem; }
.link-card p { color: #666; line-height: 1.6; }

.more-link { text-align: right; margin-top: 1rem; font-size: 1rem; }
.more-link a { color: #667eea; }
.more-link a:hover { text-decoration: underline; }

/* 列表页样式 */
.list-header { text-align: center; padding: 2rem 0; background: white; border-radius: 8px; margin-bottom: 2rem; }
.list-header h1 { font-size: 2rem; color: #667eea; margin-bottom: 1rem; }
.list-desc { font-size: 1.05rem; color: #666; line-height: 1.8; max-width: 800px; margin: 0 auto; }

.video-list-full { display: flex; flex-direction: column; gap: 1.5rem; }
.video-item-full { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: relative; }
.video-item-full h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.video-item-full h3 a { color: #333; }
.video-item-full h3 a:hover { color: #667eea; }
.video-item-full .meta { font-size: 0.9rem; color: #999; margin-bottom: 0.5rem; }
.video-item-full .oneline { font-size: 1rem; color: #555; line-height: 1.6; margin-bottom: 0.5rem; }
.video-item-full .review { font-size: 0.95rem; color: #777; font-style: italic; line-height: 1.6; }
.video-item-full .rank { position: absolute; top: 1rem; right: 1rem; background: #667eea; color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: bold; }
.video-item-full .tag { display: inline-block; background: #764ba2; color: white; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.video-item-full .year { display: inline-block; background: #555; color: white; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.85rem; margin-bottom: 0.5rem; }

/* 详情页样式 */
.detail-page { background: white; border-radius: 8px; padding: 2rem; }
.detail-header { text-align: center; padding: 2rem 0; border-bottom: 2px solid #f0f0f0; margin-bottom: 2rem; }
.detail-header h1 { font-size: 2.2rem; color: #333; margin-bottom: 0.5rem; }
.detail-header .subtitle { font-size: 1rem; color: #999; }

.detail-page section { margin-bottom: 2rem; }
.detail-page h2 { font-size: 1.4rem; color: #667eea; margin-bottom: 1rem; border-left: 4px solid #667eea; padding-left: 1rem; }
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0.8rem; }
.info-list li { padding: 0.5rem; background: #f9f9f9; border-radius: 4px; font-size: 1rem; }
.detail-oneline p, .detail-summary p, .detail-review p { font-size: 1.05rem; line-height: 1.8; color: #555; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card { padding: 1rem; border: 1px solid #e0e0e0; border-radius: 6px; transition: all 0.3s; }
.related-card:hover { border-color: #667eea; box-shadow: 0 4px 12px rgba(102,126,234,0.2); }
.related-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.related-card h3 a { color: #333; }
.related-card h3 a:hover { color: #667eea; }
.related-card .oneline { font-size: 0.9rem; color: #666; line-height: 1.6; }

@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
  .intro { font-size: 1rem; }
  .section { padding: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .link-group { grid-template-columns: 1fr; }
  .detail-header h1 { font-size: 1.8rem; }
  .info-list { grid-template-columns: 1fr; }
}
