/* 粒子背景样式 */
.particle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 确保横幅内容在粒子背景之上 */
.banner-content {
  position: relative;
  z-index: 10;
}

/* 为横幅区域添加相对定位 */
.banner-header {
  position: relative;
}

/* 粒子背景动画优化 */
@media (prefers-reduced-motion: reduce) {
  .particle-bg {
    display: none;
  }
}

/* 移动端优化 - 降低粒子密度 */
@media (max-width: 768px) {
  .particle-bg canvas {
    opacity: 0.6;
  }
}
