security`;
            
            alert(details);
            toggleUserMenu();
        }

        function showEarnings() {
            if (!currentUser && !currentWallet) {
                showToast('No wallet connected', 'warning');
                return;
            }
            
            const wallet = currentWallet || currentUser;
            const zkInfo = wallet.zk_identity ? 
                `ZK Identity: ${wallet.zk_identity}\n` : 
                'ZK Identity: Quantum wallet\n';
          