<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profile Page</title>
    <link rel="icon" type="image/x-icon" href="assets\icons\favicon.gif">
    <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool@latest'></script>
    <link href="https://fonts.cdnfonts.com/css/vcr-osd-mono" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'VCR OSD Mono', sans-serif;
            overflow: hidden;
            background: black;
        }

        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .background video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        .profile-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: row;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            padding: 15px 20px;
            border-radius: 15px;
            backdrop-filter: blur(8px); 
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
            width: fit-content;
            max-width: 600px;
            color: white;
        }

        .profile-left {
            display: flex;
            align-items: center;
            flex-direction: column;
            margin-right: 20px;
            color: #e0e0e0; 
        }

        .profile-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 10px;
        }

        .badges {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .badges img {
            width: 25px;
            height: 25px;
        }

        .profile-name {
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 10px;
        }

        .icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 10px;
        }

        .icons a {
            width: 40px;
            height: 40px;
            display: inline-block;
        }

        .icons a img {
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        .visitor-count {
            margin-top: 20px;
            font-size: 14px;
            text-align: center;
        }

        audio {
            display: none;
        }
    </style>
</head>
<body>
    <div class="overlay" id="overlay">Click anywhere to start</div>

    <div class="background">
        <video id="backgroundVideo" loop muted>
            <source src="assets\background\Bayton.mp4" type="video/mp4">
        </video>
    </div>

    <audio id="backgroundAudio" loop>
        <source src="assets\music\Bayton.mp3" type="audio/mp3">
    </audio>

    <div class="profile-container">
        <div class="profile-left">
            <img src="assets\pfp\icon.jpg" alt="Profile Picture" class="profile-image">
            <div class="badges">
                <img src="assets\badges\owner.png" alt="Owner">
                <img src="assets\badges\badge2.gif" alt="skelly">
                <img src="assets\badges\badge3.gif" alt="VIP">
            </div>
            <div class="profile-name">BayTon</div>
        </div>

        <div class="profile-info">
            <div class="icons">
                <a href="https://www.youtube.com/imbayton" target="_blank"><img src="assets\icons\youtubeblack.png" alt="YouTube"></a>
                <a href="https://x.com/bayt0n" target="_blank"><img src="assets\icons\x.png" alt="Twitter"></a>
                <a href="https://discord.gg/cursing" target="_blank"><img src="assets\icons\discord.png" alt="Discord"></a>
                <a href="https://t.me/NoDigitsHere" target="_blank"><img src="assets\icons\telegram.png" alt="Telegram"></a>
            </div>
            <div class="visitor-count" id="visitorCount">Views: 0</div>
        </div>
    </div>

    <script>
        const overlay = document.getElementById('overlay');
        const backgroundVideo = document.getElementById('backgroundVideo');
        const backgroundAudio = document.getElementById('backgroundAudio');
        const visitorCount = document.getElementById('visitorCount');

        overlay.addEventListener('click', () => {
            overlay.style.display = 'none';
            backgroundVideo.style.display = 'block';
            backgroundVideo.play();
            backgroundAudio.play();
        });

        function updateVisitorCount() {
            let count = localStorage.getItem('visitorCount') || 0;
            count++;
            localStorage.setItem('visitorCount', count);
            visitorCount.textContent = `Views: ${count}`;
        }

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