<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MADE BY COBRA</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to bottom, #00ffff, #000); /* Neon blue to black gradient */
            color: white;
        }

        .container {
            width: 300px;
            height: 300px;
            background-color: rgba(0, 0, 0, 0.8); /* Slightly transparent black background */
            border: 2px solid #00ffff; /* Neon blue border */
            border-radius: 5px;
            box-shadow: 0 0 10px #00ffff, 0 0 20px black;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }

        h1 {
            color: #00ffff; /* Neon blue color */
            text-shadow: 2px 2px 5px black;
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        input, button {
            padding: 8px;
            margin: 10px 0;
            font-size: 14px;
            width: 90%;
            border: none;
            border-radius: 5px;
        }

        button {
            background-color: #ff0000; /* Neon red color */
            color: white;
            text-shadow: 2px 2px 5px black;
            box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
            cursor: pointer;
        }

        button:hover {
            background-color: #cc0000; /* Darker red on hover */
            box-shadow: 0 0 15px #cc0000, 0 0 30px #cc0000;
        }

        .result {
            margin-top: 10px;
            font-size: 14px;
            font-weight: bold;
            color: white;
        }

        .hidden {
            display: none;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Password Screen -->
        <div id="passwordScreen">
            <h1>MADE BY COBRA</h1>
            <p>Enter Password:</p>
            <input type="password" id="password" placeholder="Enter Password">
            <button onclick="checkPassword()">Submit</button>
            <div id="passwordMessage" class="result"></div>
        </div>

        <!-- Calculator Screen (hidden initially) -->
        <div id="calculatorScreen" class="hidden">
            <h1>MADE BY COBRA</h1>
            <p>Enter two numbers:</p>
            <input type="number" id="firstNumber" placeholder="Enter first number">
            <input type="number" id="lastNumber" placeholder="Enter last number">
            <button onclick="calculateResult()">Calculate</button>
            <div id="result" class="result"></div>
        </div>
    </div>

    <script>
        function checkPassword() {
            const password = document.getElementById('password').value;
            if (password === "COBRA MODS") {
                document.getElementById('passwordScreen').classList.add('hidden');
                document.getElementById('calculatorScreen').classList.remove('hidden');
            } else {
                document.getElementById('passwordMessage').textContent = "Incorrect Password. Try Again.";
            }
        }

        function calculateResult() {
            const firstNumber = parseInt(document.getElementById('firstNumber').value);
            const lastNumber = parseInt(document.getElementById('lastNumber').value);

            if (isNaN(firstNumber) || isNaN(lastNumber)) {
                document.getElementById('result').textContent = "Please enter valid numbers.";
                return;
            }

            const result = Math.abs(firstNumber - lastNumber);

            if (result >= 0 && result <= 4) {
                document.getElementById('result').textContent = "Result: SMALL";
            } else if (result >= 5 && result <= 9) {
                document.getElementById('result').textContent = "Result: BIG";
            } else {
                document.getElementById('result').textContent = "Result is out of range.";
            }
        }
    </script>
</body>
</html>