<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lux Cheats</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #000;
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            color: #fff;
            flex-direction: column;
        }

        .password-box {
            text-align: center;
            margin-bottom: 20px;
        }

        .password-box input {
            padding: 12px 15px;
            width: 220px;
            border-radius: 25px;
            border: none;
            outline: none;
            background: linear-gradient(145deg, #3b0064, #6b00aa);
            color: #fff;
            font-size: 16px;
            text-align: center;
            margin-bottom: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .password-box input:focus {
            box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.2);
            transform: scale(1.02);
        }

        .submit-btn {
            padding: 10px 20px;
            background: linear-gradient(145deg, #6b00aa, #3b0064);
            border: none;
            border-radius: 25px;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s, transform 0.3s;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
        }

        .submit-btn:hover {
            background: linear-gradient(145deg, #4b007a, #5e2592);
            transform: translateY(-2px);
            box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5), inset 0 3px 6px rgba(255, 255, 255, 0.2);
        }

        .container {
            width: 320px;
            background: #4b007a;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
            text-align: center;
            display: none; /* Hide the content initially */
        }

        .container h1 {
            font-size: 20px;
            margin: 0;
            margin-bottom: 15px;
            color: #c9a2ff;
            text-transform: uppercase;
        }

        .status-box {
            background: #000;
            border: 1px solid #00ff77;
            border-radius: 10px;
            padding: 10px;
            font-size: 14px;
            font-weight: bold;
            color: #00ff77;
            margin-top: 10px;
            text-align: left;
        }

        .status-box span {
            display: block;
            color: #00ff77;
        }

        .section {
            background: #5e2592;
            border-radius: 10px;
            margin-bottom: 15px;
            padding: 10px 15px;
            cursor: pointer;
            position: relative;
        }

        .section-title {
            font-size: 14px;
            font-weight: bold;
            color: white;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .section-title .triangle {
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 10px solid white;
            transition: transform 0.3s ease;
        }

        .section-title .triangle.open {
            transform: rotate(90deg);
        }

        .toggle-group {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, opacity 0.3s ease;
        }

        .toggle-group.open {
            max-height: 200px;
            opacity: 1;
        }

        .toggle-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .toggle-switch {
            position: relative;
            width: 50px;
            height: 26px;
            background: linear-gradient(45deg, #ccc, #eee);
            border-radius: 50px;
            cursor: pointer;
            transition: background-color 0.3s, box-shadow 0.3s;
            box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
        }

        .toggle-switch:before {
            content: "";
            position: absolute;
            width: 22px;
            height: 22px;
            background: white;
            border-radius: 50%;
            top: 2px;
            left: 2px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
        }

        .toggle-switch.active {
            background: linear-gradient(45deg, #4caf50, #81c784);
            box-shadow: 0 0 10px rgba(72, 239, 118, 0.6);
        }

        .toggle-switch.active:before {
            transform: translateX(24px);
            background-color: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
    </style>
</head>
<body>
    <div class="password-box">
        <input type="password" id="password-input" placeholder="Hoàng Xuân Tú Chim Dài">
        <button class="submit-btn" onclick="checkPassword()">Nhập</button>
    </div>

    <div class="container" id="cheat-container">
        <h1>cracked by sxdev</h1>

        <div class="section" onclick="toggleSection('aimbot-functions', this)">
            <div class="section-title">
                <span>Nhẹ Tâm Functions</span>
                <div class="triangle"></div>
            </div>
            <div id="aimbot-functions" class="toggle-group">
                <div class="toggle-item">
                    <label>Cân Check Tâm</label>
                    <div class="toggle-switch" onclick="toggleSwitch(this, 'Cân Check Tâm')"></div>
                </div>
                <div class="toggle-item">
                    <label>Aimbot Assistant</label>
                    <div class="toggle-switch" onclick="toggleSwitch(this, 'Aim Assistant')"></div>
                </div>
            </div>
        </div>

        <div class="section" onclick="toggleSection('legit-functions', this)">
            <div class="section-title">
                <span>Trợ Năng IPhone Functions</span>
                <div class="triangle"></div>
            </div>
            <div id="legit-functions" class="toggle-group">
                <div class="toggle-item">
                    <label>Dpi Config Chuẩn</label>
                    <div class="toggle-switch" onclick="toggleSwitch(this, 'Dpi Config Chuẩn')"></div>
                </div>
                <div class="toggle-item">
                    <label>Macro IOS </label>
                    <div class="toggle-switch" onclick="toggleSwitch(this, 'Macro IOS ')"></div>
                </div>
            </div>
        </div>

        <div class="status-box" id="status-box"></div>
    </div>

    <script>
        function checkPassword() {
            const enteredPassword = document.getElementById("password-input").value;
            const correctPassword = "sxdevkd";

            if (enteredPassword === correctPassword) {
                document.getElementById("cheat-container").style.display = "block";
                document.querySelector(".password-box").style.display = "none";
            } else {
                alert("Incorrect password. Try again.");
            }
        }

        function toggleSection(sectionId, element) {
            const section = document.getElementById(sectionId);
            const triangle = element.querySelector(".triangle");
            section.classList.toggle("open");
            triangle.classList.toggle("open");
        }

        function toggleSwitch(element, name) {
            event.stopPropagation();
            element.classList.toggle("active");
            const statusBox = document.getElementById("status-box");
            const message = element.classList.contains("active")
                ? `<span>${name} bật thành công</span>`
                : `<span>${name} đã tắt</span>`;
            statusBox.innerHTML += message;
        }
    </script>
</body>
</html>