        cursorTextElement.classList.remove('fade-out');
                        cursorTextElement.isTextFading = false;
                    }, 300);
                }

                function updateAutoCursorText() {
                    changeCursorTextWithFade(autoTexts[autoTextCurrentIndex]);
                    autoTextCurrentIndex = (autoTextCurrentIndex + 1) % autoTexts.length;
                }

                document.addEventListener('mousemove', (e) => updateCursorPosition(e.clientX, e.clientY));