/* 全局样式 */
.main { min-height: calc(100vh - 200px); padding: 2rem 0; }
.page-title { font-size: 2rem; color: #2d3748; margin-bottom: 1rem; text-align: center; }
.page-intro { text-align: center; color: #4a5568; margin-bottom: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }

/* 首页 */
.intro-section { background: white; padding: 2rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.intro-text { font-size: 1rem; line-height: 1.8; color: #4a5568; margin-top: 1rem; }

.section { background: white; padding: 2rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.section-title { font-size: 1.5rem; color: #2d3748; margin-bottom: 1rem; border-left: 4px solid #667eea; padding-left: 1rem; }
.section-desc { color: #4a5568; margin-bottom: 1.5rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.video-card { background: #f7fafc; padding: 1.5rem; border-radius: 6px; transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.video-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.video-title a { color: #2d3748; text-decoration: none; }
.video-title a:hover { color: #667eea; }
.video-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.meta-item { font-size: 0.85rem; color: #718096; background: #e2e8f0; padding: 0.2rem 0.5rem; border-radius: 3px; }
.video-desc { font-size: 0.9rem; color: #4a5568; line-height: 1.6; }

.video-list { display: flex; flex-direction: column; gap: 1rem; }
.list-item { background: #f7fafc; padding: 1rem; border-radius: 6px; }
.item-title { font-size: 1rem; margin-bottom: 0.3rem; }
.item-title a { color: #2d3748; text-decoration: none; }
.item-title a:hover { color: #667eea; }
.item-meta { font-size: 0.85rem; color: #718096; margin-bottom: 0.3rem; }
.item-desc { font-size: 0.9rem; color: #4a5568; }

.topic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.topic-item { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 1.5rem; border-radius: 6px; text-align: center; }
.topic-item a { color: white; text-decoration: none; font-weight: 500; }

.more-link { text-align: center; margin-top: 1.5rem; }
.more-link a { color: #667eea; text-decoration: none; margin: 0 0.5rem; }
.more-link a:hover { text-decoration: underline; }

/* 列表页 */
.video-grid-list { display: flex; flex-direction: column; gap: 1.5rem; }
.video-card-large { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); position: relative; }
.rank-badge { position: absolute; top: 1rem; right: 1rem; background: #667eea; color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.date-badge { position: absolute; top: 1rem; right: 1rem; background: #48bb78; color: white; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.85rem; }
.video-oneline { color: #2d3748; margin: 0.5rem 0; font-weight: 500; }
.video-review { color: #4a5568; font-size: 0.9rem; margin-top: 0.5rem; line-height: 1.6; }

/* 详情页 */
.detail-main { background: white; }
.detail-article { max-width: 900px; margin: 0 auto; }
.detail-title { font-size: 2rem; color: #2d3748; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid #e2e8f0; }

.detail-info { margin-bottom: 2rem; }
.info-title { font-size: 1.3rem; color: #2d3748; margin-bottom: 1rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.8rem; }
.info-item { padding: 0.5rem; background: #f7fafc; border-radius: 4px; }
.info-label { font-weight: 600; color: #4a5568; }

.detail-oneline { margin-bottom: 2rem; padding: 1.5rem; background: linear-gradient(135deg, #667eea15, #764ba215); border-radius: 8px; border-left: 4px solid #667eea; }
.oneline-text { font-size: 1.1rem; color: #2d3748; font-weight: 500; line-height: 1.8; }

.detail-summary { margin-bottom: 2rem; }
.summary-text { color: #2d3748; line-height: 1.8; }
.summary-text p { margin-bottom: 1rem; }

.detail-review { margin-bottom: 2rem; padding: 1.5rem; background: #f7fafc; border-radius: 8px; }
.review-text { color: #2d3748; line-height: 1.8; font-style: italic; }

.detail-related { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid #e2e8f0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card { background: #f7fafc; padding: 1rem; border-radius: 6px; transition: transform 0.3s; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.related-title { font-size: 1rem; margin-bottom: 0.3rem; }
.related-title a { color: #2d3748; text-decoration: none; }
.related-title a:hover { color: #667eea; }
.related-meta { font-size: 0.85rem; color: #718096; margin-bottom: 0.3rem; }
.related-desc { font-size: 0.85rem; color: #4a5568; }

/* 页脚 */
.footer { background: #2d3748; color: #a0aec0; padding: 2rem 0; margin-top: 3rem; text-align: center; }

/* 响应式 */
@media (max-width: 768px) {
  .page-title { font-size: 1.5rem; }
  .detail-title { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}