erlay && overlay.classList.contains('visible')) {
                overlay.classList.remove('visible');
                
                // Stop cycling messages
                if (brandingCycleInterval) {
                    clearInterval(brandingCycleInterval);
                    brandingCycleInterval = null;
                    brandingMessageIndex = 0; // Reset to first message for next time
                }
            }
        }
        
        // Branding message cycling
        let brandingMessa