<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cyber Lock Screen</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background: radial-gradient(circle, #000428, #004e92);
            font-family: 'Orbitron', sans-serif;
            color: #0ff;
            text-align: center;
        }

        .lock-screen {
            background: rgba(0, 0, 0, 0.8);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 15px #0ff;
            width: 300px;
            animation: pulse 1.5s infinite alternate;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 10px #0ff; }
            100% { box-shadow: 0 0 20px #0ff; }
        }

        h2 {
            color: #0ff;
            text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
        }

        p {
            font-size: 14px;
        }

        input {
            padding: 10px;
            width: 80%;
            font-size: 18px;
            text-align: center;
            border: 2px solid #0ff;
            background: black;
            color: #0ff;
            border-radius: 5px;
            outline: none;
            transition: 0.3s;
        }

        input:focus {
            box-shadow: 0 0 10px #0ff;
        }

        button {
            margin-top: 10px;
            padding: 10px 20px;
            font-size: 16px;
            border: 2px solid #0ff;
            background: transparent;
            color: #0ff;
            cursor: pointer;
            border-radius: 5px;
            transition: 0.3s;
            text-transform: uppercase;
        }

        button:hover {
            background: #0ff;
            color: black;
            box-shadow: 0 0 10px #0ff;
        }

        .status {
            margin-top: 10px;
            font-size: 14px;
            text-shadow: 0 0 5px;
        }
    </style>
</head>
<body>

    <div class="lock-screen">
        <h2>CYBER LOCK</h2>
        <p>Enter Passcode to Unlock</p>
        <input type="password" id="passcode" placeholder="ENTER KEY" maxlength="16" />
        <button onclick="checkPasscode()">Unlock</button>
        <p class="status" id="status"></p>
    </div>

    <script>
        const correctPasscode = "2K"; // Change this to your desired key

        function checkPasscode() {
            const passcode = document.getElementById("passcode").value;
            const status = document.getElementById("status");

            if (passcode === correctPasscode) {
                status.style.color = "#0f0";
                status.textContent = "Unlocked! Redirecting...";
                setTimeout(() => {
                    window.location.href = "http"; // Redirect to your page
                }, 1000);
            } else {
                status.style.color = "#f00";
                status.textContent = "Incorrect Passcode!";
            }
        }
    </script>

</body>
</html>