ontent;
        document.getElementById('popupTextContent').value = popupText.trim();
    }

    document.querySelectorAll('strong[style*="background-color: #e9ecf2"]')
    .forEach(function (element) {
        element.addEventListener('click', function () {
            var clickedWord = this.innerHTML.toLowerCase();

            var definitionKey = Object.keys(wordDefinitions)
                .find(key => clickedWord.toLowerCase().includes(key.toLowerCase()));

            const modal = document.getElement