<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Confirming payment</title>
    <style>
        body { font-family: system-ui, sans-serif; background: #f8fafc; color: #0f172a; display: grid; place-items: center; min-height: 100vh; margin: 0; }
        p { font-size: 0.95rem; color: #475569; }
    </style>
</head>
<body>
    <p>Confirming payment…</p>
    <script>
        (function () {
            var url = @json($redirect);
            try {
                if (window.top && window.top !== window.self) {
                    window.top.location.replace(url);
                    return;
                }
            } catch (e) {}
            window.location.replace(url);
        })();
    </script>
</body>
</html>
