/* Generic Background CSS */
/* Include this stylesheet for the generic background system */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1A1A2E;
  overflow-x: hidden;
}

/* Background Layers */
.bg-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to right, #0B111D, #0A1D40);
  z-index: -3;
}

.bg-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to right, #FAFBFF, #FFF9FE);
  opacity: 1;
  z-index: -2;
}

/* Dot matrix canvas layer */
#dotmatrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

/* Parallax circles container */
.bg-circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

/* Content layer - ensure your content sits above the background */
.content {
  position: relative;
  z-index: 1;
}
