/* WebGL Background Styles */
#webgl-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

#webgl-background canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Adjust opacity for dark mode */
[data-md-color-scheme="slate"] #webgl-background {
  opacity: 0.4;
}

/* Disable on mobile for performance */
@media (max-width: 768px) {
  #webgl-background {
    display: none;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  #webgl-background {
    display: none;
  }
}
