<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Zyro Bypasser</title>
        <script src="https://cdn.tailwindcss.com"></script>
        <link
            rel="shortcut icon"
            href="https://seeklogo.com/images/D/dragon-logo-34D6842F63-seeklogo.com.png"
            type="image/x-icon"
        />
        <link
            href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css"
            rel="stylesheet"
        />
    </head>
    <body class="bg-black text-zinc-100">
        <div class="flex">
            <aside
                class="w-44 fixed bg-black border-r border-zinc-800 h-screen flex flex-col px-1"
            >
                <div
                    class="flex items-center justify-center h-12 border-b border-zinc-800"
                >
                    <span class="text-xl font-bold text-purple-400"
                        >ZyroBP v0.1.0</span
                    >
                </div>

                <nav class="flex-1 overflow-y-auto py-4">
                    <!-- <div class="px-4 mb-4">
                        <div class="relative">
                            <input
                                type="text"
                                placeholder="Search..."
                                class="w-full bg-zinc-900 text-zinc-300 rounded-md py-2 pl-8 pr-4 focus:outline-none focus:ring-2 focus:ring-purple-500"
                            />
                            <i
                                class="ri-search-line absolute left-2 top-2.5 text-zinc-500"
                            ></i>
                        </div>
                    </div> -->
                    <div class="space-y-1">
                        <button
                            class="flex items-center w-full px-4 py-2 text-zinc-300 hover:bg-purple-500/10 hover:text-purple-400 rounded-lg transition-colors duration-200"
                            onclick="showContent('home')"
                        >
                            <i class="ri-home-line mr-3 text-lg"></i>
                            <span>Home</span>
                        </button>
                        <button
                            class="flex items-center w-full px-4 py-2 text-zinc-300 hover:bg-purple-500/10 hover:text-purple-400 rounded-lg transition-colors duration-200"
                            onclick="showContent('spoofer')"
                        >
                            <i class="ri-spy-line mr-3 text-lg"></i>
                            <span>Spoofer</span>
                        </button>
                        <button
                            class="flex items-center w-full px-4 py-2 text-zinc-300 hover:bg-purple-500/10 hover:text-purple-400 rounded-lg transition-colors duration-200"
                            onclick="showContent('vpn')"
                        >
                            <i class="ri-surgical-mask-line mr-3 text-lg"></i>
                            <span>VPN</span>
                        </button>
                    </div>
                </nav>

                <div class="border-t border-zinc-800 py-2">
                    <button
                        class="flex items-center w-full px-4 py-2 text-zinc-300 hover:bg-red-500/10 hover:text-red-400 rounded-lg transition-colors duration-200"
                        onclick="window.close()"
                    >
                        <i class="ri-logout-box-line mr-3 text-lg"></i>
                        <span>Quit</span>
                    </button>
                </div>
            </aside>

            <main class="flex-1 p-8 overflow-y-auto ml-44">
                <div
                    class="bg-zinc-900 p-6 rounded-lg shadow-md relative space-y-6 flex flex-col hidcon"
                    id="home"
                >
                    <div class="flex justify-between gap-1 items-center">
                        <h2 class="text-2xl font-semibold">Your PC</h2>
                        <span class="text-sm text-zinc-400" id="name_os"
                            >Loading...</span
                        >
                    </div>
                    <div
                        class="grid gap-6 md:grid-cols-2 lg:grid-cols-3 relative"
                    >
                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                System Hardware
                            </h3>
                            <ul class="space-y-2 text-zinc-300">
                                <li class="flex items-center">
                                    <i
                                        class="ri-computer-line mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >Motherboard:
                                        <p id="motherboard">Loading...</p></span
                                    >
                                </li>
                                <li class="flex items-center">
                                    <i
                                        class="ri-cpu-line mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >CPU:
                                        <p id="cpu">Loading...</p></span
                                    >
                                </li>
                                <li class="flex items-center">
                                    <i
                                        class="ri-barcode-box-line mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >System:
                                        <p id="system">Loading...</p></span
                                    >
                                </li>
                            </ul>
                        </div>
                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                Windows
                            </h3>
                            <ul class="space-y-2 text-zinc-300">
                                <li class="flex items-center">
                                    <i
                                        class="ri-windows-fill mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >Windows ID:
                                        <p id="windows_id">Loading...</p></span
                                    >
                                </li>
                                <li class="flex items-center">
                                    <i
                                        class="ri-windows-fill mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >Windows Version:
                                        <p id="windows_version">
                                            Loading...
                                        </p></span
                                    >
                                </li>
                                <li class="flex items-center">
                                    <i
                                        class="ri-wifi-line mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >Network:
                                        <p id="network">Loading...</p></span
                                    >
                                </li>
                                <li class="flex items-center">
                                    <i
                                        class="ri-cpu-line mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >Architecture:
                                        <p id="architecture">
                                            Loading...
                                        </p></span
                                    >
                                </li>
                            </ul>
                        </div>
                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                Security
                            </h3>
                            <p
                                class="text-purple-400 font-medium mt-4 flex items-center"
                            >
                                <i
                                    class="ri-checkbox-circle-line mr-2 text-green-400"
                                ></i>
                                Zyro spoofer is secure and well launched.
                            </p>
                        </div>
                    </div>
                </div>

                <div
                    id="spoofer"
                    class="bg-zinc-900 p-6 rounded-lg shadow-md relative space-y-6 hidcon hidden"
                >
                    <div class="flex justify-between gap-1 items-center">
                        <h2 class="text-2xl font-semibold">Spoofer</h2>
                        <span class="text-sm text-zinc-400">v0.1.0</span>
                    </div>

                    <div
                        class="grid gap-6 md:grid-cols-2 lg:grid-cols-3 relative"
                    >
                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                Information (copy your real HWID)
                            </h3>
                            <ul class="space-y-2 text-zinc-300">
                                <li class="flex items-center">
                                    <i
                                        class="ri-settings-5-fill mr-2 text-purple-400"
                                    ></i>
                                    <span class="flex gap-1"
                                        >HWID:
                                        <p id="hwid">Loading...</p></span
                                    >
                                </li>
                            </ul>
                        </div>

                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                Generate HWID
                            </h3>
                            <button
                                class="px-4 py-2 bg-purple-500 text-white rounded-md hover:bg-purple-600 transition"
                                onclick="generateUUID()"
                            >
                                Generate HWID
                            </button>
                            <p id="generated_uuid" class="text-zinc-300 mt-2">
                                Random HWID will appear here.
                            </p>
                        </div>

                        <div class="space-y-4">
                            <h3 class="text-lg font-semibold text-purple-400">
                                Change HWID
                            </h3>
                            <div class="px-4x mb-4">
                                <div class="relative">
                                    <input
                                        type="text"
                                        id="new_hwid_input"
                                        placeholder="New HWID..."
                                        class="w-full bg-zinc-900 text-zinc-300 rounded-md py-2 pl-8 pr-4 focus:outline-none ring-2 ring-purple-500"
                                    />
                                    <i
                                        class="ri-settings-5-fill absolute left-2 top-2.5 text-zinc-500"
                                    ></i>
                                </div>
                            </div>

                            <button
                                class="px-4 py-2 bg-purple-500 text-white rounded-md hover:bg-purple-600 transition"
                                onclick="sendNewHWID()"
                            >
                                Submit New HWID
                            </button>
                        </div>
                    </div>
                </div>
                <!--  -->
                <div
                    id="vpn"
                    class="bg-zinc-900 p-6 rounded-lg shadow-md relative space-y-6 hidcon hidden"
                >
                    <div class="flex justify-between gap-1 items-center">
                        <h2 class="text-2xl font-semibold">VPN</h2>
                        <span class="text-sm text-zinc-400">v0.1.0</span>
                    </div>
                    <div class="space-y-4">
                        <h3 class="text-lg font-semibold text-purple-400">
                            SOON...
                        </h3>
                    </div>
                </div>
            </main>
        </div>
        <script src="/eel.js"></script>
        <script src="/main.js"></script>
    </body>
</html>
