// Enhanced text transition function
        function updateLoadingText() {
          index = (index + 1) % texts.length;

          // Add smooth slide out effect with bounce
          loadingText.style.transform = "translateY(-25px) scale(0.95)";
          loadingText.style.opacity = "0";

          setTimeout(() => {
            loadingText.innerHTML = texts[index] + '<span class="dots"></span>';
            loadingText.style.transform = "translateY(25px) scale(0.95)";

            // Trigger reflow to e