this.checked ? "1" : "0";
            }
          });

          // Toggle hero text
          textToggle.addEventListener("change", function () {
            const heroText = document.querySelector(".hero-text");
            if (heroText) {
              heroText.style.transition = "opacity 0.3s ease";
              heroText.style.opacity = this.checked ? "1" : "0";
            }
          });

          // Toggle particles
          particlesToggle.addEventListener("change", function () {
            cons