<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Toko Robux Murah - Bayar via QRIS</title>
  <style>
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #f5f5f5;
      color: #222;
    }

    header {
      background: #000;
      color: white;
      text-align: center;
      padding: 20px;
    }

    header h1 {
      margin: 0;
      font-size: 24px;
      letter-spacing: 1px;
    }

    .promo {
      background: #ffcc00;
      padding: 10px;
      text-align: center;
      font-weight: bold;
      font-size: 15px;
    }

    .container {
      max-width: 900px;
      margin: 20px auto;
      padding: 0 16px;
    }

    .section-title {
      text-align: center;
      font-size: 22px;
      margin-bottom: 20px;
      font-weight: 600;
    }

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

    .user-id-box input {
      padding: 10px;
      width: 70%;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 14px;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
    }

    .product-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.2s;
      text-align: center;
    }

    .product-card:hover {
      transform: translateY(-5px);
    }

    .product-card img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      background: #eee;
    }

    .product-info {
      padding: 16px;
    }

    .product-info h3 {
      margin: 0;
      font-size: 18px;
      color: #111;
    }

    .product-info p {
      margin: 8px 0;
      color: #555;
    }

    .product-info button {
      margin-top: 10px;
      padding: 10px;
      width: 100%;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: bold;
      cursor: pointer;
      font-size: 14px;
    }

    .product-info button:hover {
      background: #005fcc;
    }

    .footer {
      margin-top: 40px;
      text-align: center;
      font-size: 14px;
      color: #777;
      padding: 20px;
      background: #111;
      color: white;
    }

    /* Popup QRIS */
    .qris-popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .qris-content {
      background: white;
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      width: 320px;
    }

    .qris-content img {
      width: 260px;
      margin-top: 10px;
      border-radius: 8px;
    }

    .close-btn {
      background: red;
      color: white;
      border: none;
      border-radius: 5px;
      padding: 6px 12px;
      cursor: pointer;
      margin-top: 15px;
    }
  </style>
</head>
<body>

<header>
  <h1>Robux Store Indonesia</h1>
  <p>Top-up Robux Murah & Pembayaran QRIS 💎</p>
</header>

<div class="promo">
  💰 Masukkan User ID kamu sebelum bayar — bonus hingga 25% Robux!
</div>

<div class="container">
  <h2 class="section-title">Masukkan User ID Roblox Kamu</h2>
  <div class="user-id-box">
    <input type="text" id="userId" placeholder="Contoh: 123456789">
  </div>

  <h2 class="section-title">Daftar Harga Robux</h2>

  <div class="product-grid">

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="200 Robux">
      <div class="product-info">
        <h3>200 Robux</h3>
        <p>Harga: Rp 20.000</p>
        <button onclick="showQRIS('200 Robux', 'Rp 20.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="600 Robux">
      <div class="product-info">
        <h3>600 Robux</h3>
        <p>Harga: Rp 50.000</p>
        <button onclick="showQRIS('600 Robux', 'Rp 50.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="1200 Robux">
      <div class="product-info">
        <h3>1200 Robux</h3>
        <p>Harga: Rp 100.000</p>
        <button onclick="showQRIS('1200 Robux', 'Rp 100.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="2400 Robux">
      <div class="product-info">
        <h3>2400 Robux</h3>
        <p>Harga: Rp 200.000</p>
        <button onclick="showQRIS('2400 Robux', 'Rp 200.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="4800 Robux">
      <div class="product-info">
        <h3>4800 Robux</h3>
        <p>Harga: Rp 400.000</p>
        <button onclick="showQRIS('4800 Robux', 'Rp 400.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="6000 Robux">
      <div class="product-info">
        <h3>6000 Robux</h3>
        <p>Harga: Rp 500.000</p>
        <button onclick="showQRIS('6000 Robux', 'Rp 500.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="12000 Robux">
      <div class="product-info">
        <h3>12000 Robux</h3>
        <p>Harga: Rp 1.000.000</p>
        <button onclick="showQRIS('12000 Robux', 'Rp 1.000.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="24000 Robux">
      <div class="product-info">
        <h3>24000 Robux</h3>
        <p>Harga: Rp 2.000.000</p>
        <button onclick="showQRIS('24000 Robux', 'Rp 2.000.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="36000 Robux">
      <div class="product-info">
        <h3>36000 Robux</h3>
        <p>Harga: Rp 3.000.000</p>
        <button onclick="showQRIS('36000 Robux', 'Rp 3.000.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="48000 Robux">
      <div class="product-info">
        <h3>48000 Robux</h3>
        <p>Harga: Rp 4.000.000</p>
        <button onclick="showQRIS('48000 Robux', 'Rp 4.000.000')">Bayar via QRIS</button>
      </div>
    </div>

    <div class="product-card">
      <img src="https://upload.wikimedia.org/wikipedia/commons/9/9b/Robux_Icon.png" alt="60000 Robux">
      <div class="product-info">
        <h3>60000 Robux</h3>
        <p>Harga: Rp 5.000.000</p>
        <button onclick="showQRIS('60000 Robux', 'Rp 5.000.000')">Bayar via QRIS</button>
      </div>
    </div>

  </div>
</div>

<div class="footer">
  © 2025 Roblox Store Indonesia. Semua hak dilindungi.
</div>

<!-- Popup QRIS -->
<div id="qrisPopup" class="qris-popup">
  <div class="qris-content">
    <h3>Scan QRIS untuk Pembayaran</h3>
    <img src="WhatsApp Image 2025-09-22 at 04.25.26.jpeg" alt="QRIS">
    <p id="paketText" style="margin-top:10px; font-weight:bold;"></p>
    <p id="hargaText" style="color:#444; font-size:14px;"></p>
    <p id="userText" style="color:#000; font-weight:bold;"></p>
    <button class="close-btn" onclick="closeQRIS()">Tutup</button>
  </div>
</div>

<script>
function showQRIS(paket, harga) {
  const userId = document.getElementById('userId').value.trim();
  if (userId === "") {
    alert("⚠️ Harap isi User ID Roblox kamu terlebih dahulu sebelum membayar!");
    return;
  }

  document.getElementById('paketText').innerText = paket;
  document.getElementById('hargaText').innerText = "Harga: " + harga;
  document.getElementById('userText').innerText = "User ID: " + userId;
  document.getElementById('qrisPopup').style.display = 'flex';
}

function closeQRIS() {
  document.getElementById('qrisPopup').style.display = 'none';
}
</script>

</body>
</html>
