body, html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: -moz-linear-gradient(0deg, #191d1e 50%, #283139 100%);
  background: -webkit-linear-gradient(0deg, #191d1e 50%, #283139 100%);
  background: -o-linear-gradient(0deg, #191d1e 50%, #283139 100%);
  background: -ms-linear-gradient(0deg, #191d1e 50%, #283139 100%);
  background: linear-gradient(0deg, #0b0111 5%, #ad1ac0 100%);
  background-attachment: fixed;
}

#projector {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

/* Optimisations pour mobile */
@media (max-width: 768px) {
  body, html {
    background-attachment: scroll; /* Évite les problèmes de performance sur mobile */
  }
  
  #projector {
    will-change: transform; /* Optimise les animations sur mobile */
  }
}

/* Réduire les animations sur les appareils avec des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  #projector {
    display: none;
  }
}