/* 全局样式已在内联 CSS 中定义 */
.intro-section, .hot-section, .links-section, .latest-section, .list-header, .video-list-section, .detail-article {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h1 { font-size: 2rem; margin-bottom: 1rem; color: #2c3e50; }
h2 { font-size: 1.5rem; margin: 1.5rem 0 1rem; color: #34495e; border-left: 4px solid #3498db; padding-left: 1rem; }
h3 { font-size: 1.2rem; margin: 0.5rem 0; }
h3 a { color: #2c3e50; text-decoration: none; transition: color 0.3s; }
h3 a:hover { color: #3498db; }

.site-intro, .list-intro { font-size: 1rem; line-height: 1.8; color: #555; margin-bottom: 1rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.video-card { background: #f8f9fa; 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.1); }

.video-list { display: flex; flex-direction: column; gap: 1rem; }
.video-item { background: #f8f9fa; padding: 1.2rem; border-radius: 6px; position: relative; }
.video-item .rank { position: absolute; top: 1rem; right: 1rem; background: #e74c3c; color: #fff; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

.meta { color: #7f8c8d; font-size: 0.9rem; margin: 0.5rem 0; }
.desc { color: #555; line-height: 1.6; }
.review { color: #7f8c8d; font-size: 0.9rem; font-style: italic; margin-top: 0.5rem; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.link-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 2rem; border-radius: 8px; text-decoration: none; transition: transform 0.3s; }
.link-card:hover { transform: translateY(-4px); }
.link-card h3 { color: #fff; margin-bottom: 0.5rem; }
.link-card p { color: rgba(255,255,255,0.9); font-size: 0.9rem; }

.detail-header { border-bottom: 2px solid #ecf0f1; padding-bottom: 1rem; margin-bottom: 1.5rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.detail-meta span { background: #ecf0f1; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.9rem; color: #555; }

.detail-section { margin: 2rem 0; }
.one-line { font-size: 1.1rem; font-weight: 500; color: #2c3e50; line-height: 1.8; background: #ecf0f1; padding: 1rem; border-radius: 6px; }
.summary { line-height: 1.8; color: #555; text-align: justify; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { background: #3498db; color: #fff; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.85rem; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card { background: #f8f9fa; padding: 1rem; border-radius: 6px; }

@media (max-width: 768px) {
  .intro-section, .hot-section, .links-section, .latest-section, .list-header, .video-list-section, .detail-article {
    padding: 1rem;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .video-grid, .link-grid, .related-grid { grid-template-columns: 1fr; }
}
