<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>X-Plosion Syndicate | Buy Key</title>
    <link rel="icon" href="img/shop.jpg" type="image/x-icon">
    <link rel="icon" href="img/shop.jpg" type="image/png">
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #0a0b0d, #1a1c20);
            color: #eaeaea;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        /* Navbar Style */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(26, 28, 32, 0.9);
            padding: 10px 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 10;
            display: flex;
            justify-content: center;
        }

        .navbar a {
            color: #eaeaea;
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            margin: 0 15px;
            padding: 8px 12px;
            border-radius: 5px;
            transition: background 0.3s ease;
        }

        .navbar a:hover {
            background: #343a40;
        }

        .container {
            text-align: center;
            background: rgba(26, 28, 32, 0.95);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
            width: 90%;
            max-width: 500px;
        }

        h1 {
            font-size: 30px;
            margin-bottom: 15px;
            color: #29b6f6;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        p {
            font-size: 16px;
            margin-bottom: 10px;
            color: #cfd8dc;
        }

        select {
            padding: 12px;
            width: 85%;
            margin-bottom: 20px;
            border: 1px solid #29b6f6;
            border-radius: 10px;
            background: #121417;
            color: #eaeaea;
            font-size: 14px;
        }

        select:focus {
            outline: none;
            border-color: #81d4fa;
            background: #1d2025;
        }

        .button {
            display: inline-block;
            padding: 12px 30px;
            margin: 10px 5px;
            border: none;
            border-radius: 25px;
            background: linear-gradient(135deg, #29b6f6, #0288d1);
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
        }

        .button:hover {
            background: linear-gradient(135deg, #0288d1, #29b6f6);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(41, 182, 246, 0.6);
        }

        .button:active {
            transform: translateY(1px);
        }

        .contact-info {
            margin-top: 20px;
            font-size: 14px;
            color: #90a4ae;
        }

        .contact-info a {
            color: #29b6f6;
            text-decoration: none;
        }

        .contact-info a:hover {
            text-decoration: underline;
        }

        .price {
            font-size: 18px;
            font-weight: bold;
            color: #b0bec5;
        }

        .price span {
            font-size: 22px;
            color: #29b6f6;
        }

        .brand {
            margin-bottom: 20px;
            font-size: 20px;
            font-weight: 700;
            color: #29b6f6;
        }
    </style>
</head>
<body>
    <!-- Navbar Section -->
    <div class="navbar">
        <a href="index.html">Home</a>
    </div>

    <!-- Main Content -->
    <div class="container">
        <div class="brand">X-Plosion Syndicate</div>
        <h1>BUY KEY FOR UNLOCK ALL GTA MODPACK</h1>

        <!-- Dropdown for Price Plan -->
        <p class="price">Select Plan:</p>
        <select id="plan" onchange="updatePrice()">
            <option value="35000">1 Month - Rp35.000</option>
            <option value="40000">3 Months - Rp40.000</option>
            <option value="50000">6 Months - Rp50.000</option>
            <option value="70000">Permanent - Rp70.000</option>
        </select>

        <p class="price">Total Price: <span id="totalPrice">Rp35.000</span></p>

        <p>Enter your purchased key below:</p>
        <input type="text" id="key" placeholder="Enter your key here">
        <br>
        <button class="button" onclick="submitKey()">Submit Key</button>
        <button class="button" onclick="reviewGTA()">Review All GTA</button>

        <div class="contact-info">
            <p>Buy a key? <br> Contact admin on <a href="https://wa.me/6281263751715" target="_blank">X-Plosion Syndicate | Whatsapp</a></p>
        </div>
    </div>

    <script>
        function updatePrice() {
            var plan = document.getElementById("plan").value;
            document.getElementById("totalPrice").textContent = "Rp" + plan.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
        }

        function reviewGTA() {
            window.open("shop2.html", "_blank");
        }
    </script>
    <script src="unlock.js"></script>
</body>
</html>
