// Create stellar background function createStars() { const stars = document.getElementById("stars"); const count = 250; stars.innerHTML = ""; // Clear any existing stars for (let i = 0; i < count; i++) { const star = document.createElement("div"); star.classList.add("star"); const size = Math.random() * 3; star.style.width = `${size}px`; star.style.height = `${size}px`; star.style.left = `${Math.random() * 100}%`; star.style.top = `${Math.random() * 100}%`; star.style.animationDelay = `${Math.random() * 5}s`; stars.appendChild(star); } }