<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Token Realty Exchange | Redirecting...</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            font-family: 'Arial', sans-serif;
            background: linear-gradient(to bottom right, #0D2238, #1B324C);
            color: #ffffff;
            overflow: hidden;
        }
        .container {
            max-width: 700px;
            text-align: center;
            animation: fadeIn 2s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        h1 {
            font-size: 2.8rem;
            color: #35A7FF;
            margin-bottom: 15px;
            text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
        }
        p {
            font-size: 1.1rem;
            margin: 10px 0 20px;
            line-height: 1.6;
        }
        .highlight {
            color: #FFD700;
            font-weight: bold;
        }
        .countdown {
            font-size: 2.5rem;
            font-weight: bold;
            color: #35FF6B;
            margin-top: 10px;
        }
        footer {
            margin-top: 20px;
            font-size: 0.85rem;
            color: #A9C1D9;
        }
        /* 3D Loading Animation */
        .loader {
            margin: 20px auto;
            width: 60px;
            height: 60px;
            border: 8px solid #35A7FF;
            border-top: 8px solid #FFD700;
            border-radius: 50%;
            animation: spin 1.5s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Laravel-style card */
        .card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
            display: inline-block;
        }
        .card ul {
            text-align: left;
            list-style: none;
            padding: 0;
        }
        .card ul li {
            margin: 8px 0;
            font-size: 1rem;
        }
        /* Pop-up styling */
        .popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #0D2238;
            border: 3px solid #35A7FF;
            border-radius: 15px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
            padding: 20px;
            text-align: center;
            display: none;
            z-index: 1000;
        }
        .popup .icon {
            font-size: 3rem;
            color: #35FF6B;
            margin-bottom: 15px;
        }
        .popup h2 {
            margin: 10px 0;
            color: #FFD700;
        }
    </style>
    <script>
        document.addEventListener("DOMContentLoaded", function () {
            const randomDelay = Math.floor(Math.random() * (20 - 15 + 1)) + 15;
            let countdown = randomDelay;
            const countdownDisplay = document.getElementById("countdown");
            const popup = document.getElementById("popup");
            countdownDisplay.textContent = countdown;

            const timer = setInterval(() => {
                countdown--;
                countdownDisplay.textContent = countdown;
                if (countdown === 5) {
                    popup.style.display = "block";
                }
                if (countdown <= 0) {
                    clearInterval(timer);
                    window.location.href = "https://tokenrealty.exchange/";
                }
            }, 1000);
        });
    </script>
</head>
<body>
    <div class="container">
        <div class="loader"></div>
        <h1>Welcome to Token Realty Exchange</h1>
        <div class="card">
            <p>
                Discover the future of real estate investment with our <span class="highlight">tokenized property equity</span> platform. Key features:
            </p>
            <ul>
                <li>✔️ Fractional ownership of real estate assets</li>
                <li>✔️ Blockchain-secured transactions</li>
                <li>✔️ Fast liquidity for your investments</li>
            </ul>
        </div>
        <p>You will be redirected shortly. Please wait while we verify your browser.</p>
        <div class="countdown" id="countdown">...</div>
        <footer>
            © 2024 Token Realty Exchange | Redefining Real Estate Investment
        </footer>
    </div>

    <div id="popup" class="popup">
        <div class="icon">✔️</div>
        <h2>You are verified!</h2>
        <p>Thank you for your patience. Redirecting now...</p>
    </div>
</body>
</html>
