
/* 全局样式增强 */
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-list a:hover {
  color: #d32f2f;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .container { padding: 0 15px; }
  section { padding: 20px !important; margin: 15px 0 !important; }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  .video-grid { grid-template-columns: 1fr !important; }
  .video-meta { grid-template-columns: 1fr !important; }
}

/* UI 风格变体 */
body.ui-style-0 { --primary-color: #d32f2f; }
body.ui-style-1 { --primary-color: #1976d2; }
body.ui-style-2 { --primary-color: #388e3c; }
body.ui-style-3 { --primary-color: #f57c00; }
body.ui-style-4 { --primary-color: #7b1fa2; }
body.ui-style-5 { --primary-color: #0097a7; }
body.ui-style-6 { --primary-color: #c62828; }
body.ui-style-7 { --primary-color: #00796b; }
body.ui-style-8 { --primary-color: #5d4037; }
body.ui-style-9 { --primary-color: #455a64; }
body.ui-style-10 { --primary-color: #e91e63; }
body.ui-style-11 { --primary-color: #3f51b5; }
body.ui-style-12 { --primary-color: #009688; }
body.ui-style-13 { --primary-color: #ff5722; }
body.ui-style-14 { --primary-color: #607d8b; }
body.ui-style-15 { --primary-color: #8e24aa; }

/* 平滑滚动 */
html { scroll-behavior: smooth; }

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #d32f2f;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 999;
}

#back-to-top:hover {
  background: #b71c1c;
  transform: translateY(-3px);
}

#back-to-top.show {
  display: flex;
}
