
                }
            }, 1000);

            // Fallback for mobile browsers that might not support deep linking
            setTimeout(() => {
                // If we're still here after 5.5 seconds, deep link might have failed
                if (document.hasFocus()) {
                    const userAgent = navigator.userAgent.toLowerCase();
                    if (userAgent.includes('iphone') || userAgent.includes('ipad')) {
                        // iOS App Store link
                        w