<!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-color: black; /* لون الخلفية الأسود */
        }

        /* صفحة الفيديو الأول */
        .background-video {
            position: absolute;
            top: 50%; /* جعل الفيديو في منتصف الصفحة */
            left: 50%;
            width: 70%; /* التحكم في عرض الفيديو */
            height: auto; /* الاحتفاظ بنسبة العرض إلى الارتفاع */
            transform: translate(-50%, -50%); /* لضمان أن الفيديو يظهر في المركز */
            z-index: -1;
            object-fit: contain; /* التحكم في كيفية عرض محتوى الفيديو */
        }

        /* صفحة المحتوى الثاني */
        .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/1330498070785298505/1334524130720219209/2025-01-30_180148.mp4?ex=679cd7f3&is=679b8673&hm=7609107ca61673264472872c043ab86792518f220bb0e7a5fe9fb99636d67775&" 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/1330498070785298505/1334521923446767737/2025-01-30_175310.mp4?ex=679cd5e4&is=679b8464&hm=941a6a0a82dc674cd6cbd1d28bfd6636508ca52e746d7e88b3366a04161c3b8a&" 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/1330498070785298505/1334520064346423316/image.png?ex=679cd429&is=679b82a9&hm=a70e3c30d68adecd19907d8ff784f165c08959549d2350673147bdf1a2bdf288&=&format=webp&quality=lossless" alt="Your Image">
        </div>

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

        <!-- الصوت -->
        <audio autoplay loop>
            <source src="https://cdn.discordapp.com/attachments/1330498032826978365/1334520340566642708/y2mate.com_-_speed_up.mp3?ex=679cd46b&is=679b82eb&hm=6455451851e078dae5e4c7da190d5d10dd1f076218b4a36def9543c5193f7aee&" 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>
