<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="Voucher Gratis dan Pemenang Hari Ini. Daftar pemenang voucher gratis di [Nama Brand].">
  <title>Voucher Gratis | [Nama Brand]</title>
  <style>
    body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      padding: 0;
      background-color: #111;
      color: white;
    }
    header {
      background: #000;
      text-align: center;
      padding: 0; /* Remove padding to make it tight with banner */
    }
    header img {
      width: 100%; /* Banner will take 100% width of the container */
      height: auto; /* Maintain aspect ratio */
    }
    .container {
      display: flex;
      margin: 40px;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .left-column, .right-column {
      width: 48%;
      margin-bottom: 20px; /* Add spacing between columns */
    }
    /* CSS Grid Layout untuk Pemenang */
    .winners-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr); /* 5 kolom */
      gap: 20px;
      margin-top: 20px;
    }
    .winner-card {
      background-color: #222;
      padding: 15px;
      text-align: center;
      border-radius: 10px;
      border: 1px solid #444;
    }
    .winner-card h3 {
      margin: 0;
      color: gold;
    }
    .cta-button {
      background-color: gold;
      padding: 15px 30px;
      color: black;
      font-size: 1.2rem;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-decoration: none;
      display: block;
      margin: 20px auto;
      text-align: center;
    }
    .cta-button:hover {
      background-color: #ffcc00;
    }

    /* Media Query untuk responsif di layar kecil */
    @media (max-width: 768px) {
      .winners-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kolom pada layar lebih kecil */
      }
    }

    @media (max-width: 480px) {
      .winners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom pada perangkat lebih kecil */
      }

      .container {
        flex-direction: column; /* Membuat kolom menjadi satu baris */
        align-items: center; /* Menjaga tampilan tetap rapi */
      }

      .left-column, .right-column {
        width: 100%; /* Mengatur lebar menjadi 100% pada perangkat kecil */
      }
    }
  </style>
</head>
<body>
  <header>
    <img src="/images/banner_voucher.webp" alt="Banner Voucher Gratis">
  </header>

  <section class="container">
    <div class="left-column">
      <h2>Pemenang Hari Ini</h2>
      <div class="winners-grid">
        <!-- 50 Pemenang Hari Ini -->
        <div class="winner-card">
          <h3 class="name">John Doe</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Jane Smith</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Alice Brown</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Bob White</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Charlie Black</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">David Green</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Eve Purple</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Frank Gold</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Grace Blue</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Hank Red</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Ivy Orange</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Jack Silver</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Kathy Bronze</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Leo Copper</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Mona Yellow</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Nina Cyan</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Oscar Pink</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Paul Indigo</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Quinn Gray</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Rita Violet</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Sam White</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Tom Green</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Uma Brown</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Vera Yellow</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Will Black</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Xander Blue</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Yara Red</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Zane Violet</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Abby Gray</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Brad Purple</h3>
        </div>
        <!-- Add more pemenang as needed -->
      </div>
    </div>
    <div class="right-column">
      <h2>Pemenang Sebelumnya</h2>
      <div class="winners-grid">
        <!-- 50 Winners Sebelumnya -->
        <div class="winner-card">
          <h3 class="name">Oscar Pink</h3>
        </div>
        <div class="winner-card">
          <h3 class="name">Paul Indigo</h3>
        </div>
        <!-- Add 50 previous winners here -->
      </div>
    </div>
  </section>

  <a href="https://voucher-gratis.com/qqmilan" class="cta-button">Lihat Pemenang Lainnya</a>

  <script>
    // Function to modify name and show only the first 4 characters
    function formatName(name) {
      return '***' + name.slice(0, 4).toLowerCase() + '***'; 
    }

    // Wait for the DOM to be fully loaded before running the script
    document.addEventListener('DOMContentLoaded', function() {
      document.querySelectorAll('.name').forEach(function(element) {
        let fullName = element.innerText.trim();
        element.innerText = formatName(fullName); 
      });
    });
  </script>

</body>
</html>
