/* 鼠标点击爱心特效 */
@keyframes heart {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.heart {
  position: fixed;
  pointer-events: none;
  animation: heart 1s ease-out forwards;
  z-index: 9999;
}

/* 首页 Banner 渐变背景 */
#page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* 导航栏毛玻璃效果 */
#nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 文章卡片悬浮效果 */
#recent-posts > .recent-post-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#recent-posts > .recent-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* 按钮渐变 */
#pagination .page-number.current,
#pagination .next-page,
#pagination .prev-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
