<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BILAL TRADER</title>
    <style>
        /* Basic Reset */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* General body styling */
        body {
            background-color: #1e1e1e;
            color: #ff4040;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            overflow: hidden;
        }

        /* Container styling */
        .container {
            text-align: center;
            background: linear-gradient(145deg, #2a2a2a, #444);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
            width: 350px;
            animation: fadeIn 1.5s ease;
            border: 3px solid #ff0000; /* Danger border */
        }

        /* Logo styling */
        .logo {
            width: 80px;
            height: 80px;
            background-color: #ff0000;
            border-radius: 50%;
            margin: 0 auto 20px;
            position: relative;
            box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.8);
        }

        /* Title styling */
        .title {
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 5px;
            color: #ff0000;
            font-family: 'Impact', sans-serif;
            text-transform: uppercase;
            text-shadow: 3px 3px 10px rgba(255, 0, 0, 0.8), 0px 0px 20px rgba(255, 0, 0, 0.6), 0px 0px 30px rgba(255, 0, 0, 0.4);
            animation: pulse 1.5s infinite alternate;
        }

        /* Time display styling */
        .time {
            background: #222;
            padding: 12px;
            border-radius: 5px;
            margin: 10px 0;
            font-size: 18px;
            font-weight: 700;
            color: #ff4040;
            font-family: 'Arial Black', sans-serif;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        }

        /* Generate button styling */
        #generateBtn {
            background-color: #ff0000;
            color: #fff;
            font-size: 22px;
            font-weight: 900;
            padding: 18px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.3s;
            margin-top: 20px;
            font-family: 'Arial Black', sans-serif;
            text-transform: uppercase;
            box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.6);
            text-shadow: 2px 2px 5px rgba(255, 0, 0, 0.5);
        }

        #generateBtn:hover {
            background-color: #8B0000;
            transform: scale(1.1);
        }

        /* Cooldown message styling */
        .cooldown {
            font-size: 18px;
            color: #8B0000;
            font-weight: 700;
            margin-top: 5px;
            font-family: 'Arial Black', sans-serif;
            text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.4);
        }

        /* Expiry message styling */
        .expiry-message {
            font-size: 18px;
            color: #8B0000;
            font-weight: 700;
            margin-top: 20px;
            font-family: 'Arial Black', sans-serif;
            text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.4);
        }
    </style>
</head>
<body>

<div class="container">
    <div class="logo"></div>
    <div class="title">BILAL TRADER</div>
    
    <!-- Expiry Date display -->
    <div class="time" id="timeDisplay">Expires on: 2025-01-01</div>

    <button id="generateBtn" onclick="generateSignal()">GET SIGNAL</button>
    <div class="cooldown" id="cooldownMessage"></div>
    <div class="expiry-message" id="expiryMessage"></div>
    
    <button id="telegramBtn" onclick="openTelegram()">Join Our Official Telegram Channel</button>
</div>

<script>
    // Set the expiration date to a specific date (e.g., 2nd January 2025)
    const expirationDate = new Date('2025-01-02T00:00:00'); // Set your desired expiration date here

    function checkExpiration() {
        const now = new Date();

        // If the current date is past the expiration date, disable access
        if (now > expirationDate) {
            document.getElementById('expiryMessage').textContent = "This session has expired!";
            document.getElementById('generateBtn').disabled = true;
            document.getElementById('generateBtn').style.backgroundColor = "#808080"; // Disable button style
        } else {
            // Otherwise, show the expiration date
            const formattedDate = expirationDate.toLocaleDateString();
            document.getElementById('timeDisplay').textContent = `Expires on: ${formattedDate}`;
        }
    }

    // Check expiration when the page loads
    checkExpiration();

    function generateSignal() {
        if (document.getElementById('generateBtn').disabled) {
            return; // Prevent generating signal if the session has expired
        }

        // Simulating signal generation
        const signals = ["CALL", "PUT"];
        const randomSignal = signals[Math.floor(Math.random() * signals.length)];

        // Display signal message
        const signalMessage = document.getElementById('signalMessage');
        const newMessage = document.createElement('div');
        newMessage.textContent = randomSignal;
        signalMessage.appendChild(newMessage);
    }

    function openTelegram() {
        window.open("https://t.me/vipchbilal", "_blank");
    }
</script>

</body>
</html>
