<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PSYCHO & CJ</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: 'Courier New', Courier, monospace;
            color: #490a0a;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            flex-direction: column;
            text-align: center;
            overflow: hidden;
        }

        /* صفحة الفيديو الأول */
        .background-video {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* صفحة المحتوى الثاني */
        .content {
            display: none; /* إخفاء المحتوى الثاني في البداية */
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1;
            position: relative;
            height: 100vh;
            width: 100%;
        }

        /* الخلفية الثانية (فيديو في الصفحة الثانية) */
        .background-video-second {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        .info {
            margin-top: 20px;
            font-size: 1.5em;
            background: linear-gradient(45deg, white, silver, gold);
            -webkit-background-clip: text;
            color: transparent; /* النص سيكون شفافًا لأن التدرج هو الذي سيظهر */
            text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5), 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 0px 25px rgba(255, 255, 255, 0.5);
            letter-spacing: 4.5px;
            white-space: pre-wrap;
        }

        .text {
            margin-top: 20px;
            font-size: 3em;
            background: linear-gradient(45deg, white, silver, gold);
            -webkit-background-clip: text;
            color: transparent; /* النص سيكون شفافًا لأن التدرج هو الذي سيظهر */
            text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5), 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 0px 25px rgba(255, 255, 255, 0.5);
            letter-spacing: 4.5px;
        }

        .marquee {
            position: absolute;
            top: 10%;
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
        }

        .marquee span {
            display: inline-block;
            font-size: 2em;
            color: #ff0000;
            text-shadow: 0px 0px 8px #ff0000, 0px 0px 15px #ff0000, 0px 0px 25px #ff0000;
            animation: scroll 10s linear infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* تعديل لتكبير الصورة وضمان وضعها في المركز */
        .image-container img {
            max-width: 80%; /* تحدد الحد الأقصى لحجم الصورة */
            height: auto;  /* لحفاظ الصورة على النسب */
            margin: 20px auto; /* يضع الصورة في الوسط أفقيًا */
            display: block; /* ضمان أن الصورة ستكون في منتصف الصفحة */
        }
    </style>
</head>
<body>
    <!-- الفيديو الذي يتم تشغيله في البداية -->
    <video class="background-video" autoplay muted>
        <source src="https://cdn.discordapp.com/attachments/1311784471749460070/1314223114095296522/Recording_2024-12-04_152300.mp4?ex=67544ea7&is=6752fd27&hm=503a98cee11091ca3b15248bc19cf0a1100da082448be308d7df46650d4b5fda&" type="video/mp4">
        Your browser does not support the video tag.
    </video>

    <!-- محتوى الصفحة الثانية -->
    <div class="content">
        <!-- الفيديو الذي سيكون خلفية الصفحة الثانية -->
        <video class="background-video-second" autoplay loop muted>
            <source src="https://cdn.discordapp.com/attachments/1311784471749460070/1314223114594549770/Recording_2024-12-03_040319.mp4?ex=67544ea7&is=6752fd27&hm=8d1386999b9aaed4391d0fe5ba95bfde664aeca00c85c332e30ce33fbb1a17c8&" type="video/mp4">
            Your browser does not support the video tag.
        </video>

        <!-- شريط النص المتحرك -->
        <div class="marquee">
        </div>

        <!-- صورة أعلى النصوص -->
        <div class="image-container">
            <img src="https://media.discordapp.net/attachments/1311784471749460070/1314224490837839902/Screenshot_2024-12-04_153837.png?ex=67544fef&is=6752fe6f&hm=37a2fa01d01d342c8e96262707ffc76a83bbf6c9b77800f8b31d594c115f8ac0&=&format=webp&quality=lossless&width=410&height=348" alt="Your Image">
        </div>

        <!-- معلومات الفيديو والنصوص -->
        <div class="info" id="ip-info">Loading IP Info...</div>
        <div class="text">discord.gg/1221</div>

        <!-- الصوت -->
        <audio autoplay loop>
            <source src="https://cdn.discordapp.com/attachments/1311784471749460070/1314222935539712030/30b7c7c2d1b35a42.mp3?ex=67544e7c&is=6752fcfc&hm=7b259505f83d82429695e29bfd81563f33db5d70b6856defc54c6e9be82a1a4b&" type="audio/mpeg">
            Your browser does not support the audio element.
        </audio>
    </div>

    <script>
        // الانتقال من الفيديو إلى المحتوى الثاني عند انتهائه
        const video = document.querySelector('.background-video');
        const content = document.querySelector('.content');
        
        // عند انتهاء الفيديو، عرض المحتوى الثاني
        video.onended = function() {
            content.style.display = 'flex';  // عرض المحتوى الثاني
            video.style.display = 'none';    // إخفاء الفيديو
        };

        // Fetch IP information without API token
        fetch('https://ipapi.co/json/')
            .then(response => response.json())
            .then(data => {
                // Format and display specific IP information
                const info = {
                    ip: data.ip,
                    city: data.city,
                    region: data.region,
                    country: data.country,
                    loc: data.loc,
                    org: data.org,
                    timezone: data.timezone
                };
                document.getElementById('ip-info').innerText = JSON.stringify(info, null, 2);
            })
            .catch(error => {
                // Handle errors
                document.getElementById('ip-info').innerText = 'Unable to fetch IP information.';
                console.error('Error fetching IP info:', error);
            });
    </script>
</body>
</html>
