<!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);
        }

        /* Logo inner styling */
        .logo::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            background: #333;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

        /* 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;
        }

        /* Telegram handle styling */
        .telegram-handle {
            font-size: 16px;
            color: #ff3030; /* Slightly lighter red */
            margin-bottom: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 1px 1px 4px rgba(255, 0, 0, 0.5);
        }

        /* Asset dropdown styling */
        .dropdown {
            background: #222;
            color: #ff4040;
            padding: 12px;
            border-radius: 5px;
            width: 100%;
            font-size: 18px;
            font-weight: 700;
            margin: 10px 0;
            outline: none;
            cursor: pointer;
            transition: background 0.3s;
            font-family: 'Arial Black', sans-serif;
            border: 2px solid #ff0000; /* Danger border */
            text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.4);
        }

        /* 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);
        }

        /* Signal message styling */
        .message {
            margin-top: 20px;
            font-size: 20px;
            font-weight: 800;
            color: #ff4040; /* Red for danger */
            font-family: 'Arial', sans-serif;
            text-align: left;
            text-shadow: 1px 1px 6px rgba(255, 0, 0, 0.5);
        }

        /* 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);
        }

        /* Telegram button styling (yellow color) */
        #telegramBtn {
            background-color: #ff0000; /* Red color */
            color: #fff;
            font-size: 14px; /* Smaller font size */
            font-weight: 700;
            padding: 10px 14px; /* Reduced padding */
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.3s;
            margin-top: 10px;
            font-family: 'Arial Black', sans-serif;
            text-transform: uppercase;
            box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.6);
            text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.5);
        }

        #telegramBtn:hover {
            background-color: #8B0000;
            transform: scale(1.05);
        }

        /* Keyframe animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Pulse effect for title */
        @keyframes pulse {
            0% {
                transform: scale(1);
                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);
            }
            100% {
                transform: scale(1.1);
                text-shadow: 5px 5px 15px rgba(255, 0, 0, 1), 0px 0px 30px rgba(255, 0, 0, 0.7), 0px 0px 40px rgba(255, 0, 0, 0.5);
            }
        }
    </style>
</head>
<body>

<div class="container">
    <div class="logo"></div>
    <div class="title">BILAL TRADER</div>
    
    <!-- Telegram handle -->
    <div class="telegram-handle">Telegram Official - @vipchbilal</div>

    <!-- Dropdown for asset selection -->
    <select id="assetDropdown" class="dropdown">
        <option value="EUR/USD (OTC)">EUR/USD (OTC)</option>
        <option value="USD/JPY (OTC)">USD/JPY (OTC)</option>
        <option value="EUR/CAD (OTC)">EUR/CAD (OTC)</option>
        <option value="CHF/JPY (OTC)">CHF/JPY (OTC)</option>
        <option value="USD/CHF (OTC)">USD/CHF (OTC)</option>
        <option value="USD/CAD (OTC)">USD/CAD (OTC)</option>
        <option value="EUR/CHF (OTC)">EUR/CHF (OTC)</option>
        <option value="EUR/CAD (OTC)">EUR/CAD (OTC)</option>
        <option value="EUR/AUD (OTC)">EUR/AUD (OTC)</option>
        <option value="CAD/JPY (OTC)">CAD/JPY (OTC)</option>
        <option value="CAD/CHF (OTC)">CAD/CHF (OTC)</option>
        <option value="AUD/USD (OTC)">AUD/USD (OTC)</option>
        <option value="AUD/JPY (OTC)">AUD/JPY (OTC)</option>
        <option value="AUD/CHF (OTC)">AUD/CHF (OTC)</option>
        <option value="AUD/CAD (OTC)">AUD/CAD (OTC)</option>
        <option value="EUR/JPY (OTC)">EUR/JPY (OTC)</option>
        <option value="EUR/GBP (OTC)">EUR/GBP (OTC)</option>
        <option value="GBP/USD (OTC)">GBP/USD (OTC)</option>

    </select>

    <div class="time">1 MIN</div>
    <button id="generateBtn" onclick="generateSignal()">GET SIGNAL</button>
    <div class="message" id="signalMessage"></div>
    <div class="cooldown" id="cooldownMessage"></div>
    
    <h3>Backtest Filter</h3>
    <label>
        <input type="cheakbox"
 id="Backtest-filter" />
            show only backtest signal (95% Accuracy)
    </label>

    <!-- Telegram Button -->
    <button id="telegramBtn" onclick="openTelegram()">Join Our Official Telegram Channel</button>
</div>

<script>
    let cooldown = false;

    function generateSignal() {
        if (cooldown) {
            document.getElementById('cooldownMessage').textContent = "Please wait for 2 minutes...";
            return;
        }

        // Clear cooldown message if it was previously set
        document.getElementById('cooldownMessage').textContent = "";

        // Set cooldown for 2 minutes
        cooldown = true;
        setTimeout(() => {
            cooldown = false;
            document.getElementById('cooldownMessage').textContent = "";
        }, 2 * 60 * 1000); // 2 minutes cooldown

        // Get selected asset from dropdown
        const asset = document.getElementById('assetDropdown').value.replace(" ", "").replace("/", "").replace("(", "").replace(")", "");

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

        // Calculate the next minute time
        const now = new Date();
        const nextMinute = new Date(now.getTime() + 60 * 1000);
        const formattedTime = nextMinute.getHours().toString().padStart(2, '0') + ':' +
                              nextMinute.getMinutes().toString().padStart(2, '0');

        // Display signal message in the new format
        const signalMessage = document.getElementById('signalMessage');
        const newMessage = document.createElement('div');
        newMessage.textContent = `${asset} ${formattedTime} ${randomSignal}`;
        signalMessage.appendChild(newMessage);
    }

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

</body>
</html>
