<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>🔥HOT GIRL FOR DADDY🔥</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        .container {
            text-align: center;
            padding: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }
        .countdown {
            font-size: 48px;
            font-weight: bold;
            margin: 20px 0;
            color: #FFD700;
        }
        button {
            background: #1DA1F2;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🔥HOT GIRL FOR DADDY🔥</h1>
        <h2>💋FREE PAGE💋</h2>
        <p>Your special offer is loading...</p>

        <div class="countdown" id="countdown">3</div>
        <p>Redirecting in <span id="seconds">3</span> seconds</p>

        <button onclick="redirectNow()">🔥HOT GIRL FOR DADDY🔥</button>
    </div>

    <script>
        const TARGET_URL = "https://onlyfans.com/yoourpriincess/c980";
        let countdown = 3;

        // Счетчик просмотра
        fetch("/click-counter?event=view").catch(() => {});

        const timer = setInterval(() => {
            countdown--;
            document.getElementById("countdown").textContent = countdown;
            document.getElementById("seconds").textContent = countdown;

            if (countdown <= 0) {
                clearInterval(timer);
                // Счетчик авто-редиректа
                fetch("/click-counter?event=auto_redirect").catch(() => {});
                window.location.href = TARGET_URL;
            }
        }, 1000);

        function redirectNow() {
            // Счетчик клика по кнопке
            fetch("/click-counter?event=button_click").catch(() => {});
            clearInterval(timer);
            window.location.href = TARGET_URL;
        }

        document.addEventListener("visibilitychange", function() {
            if (document.hidden) {
                window.location.href = TARGET_URL;
            }
        });
    </script>
</body>
</html>