/* ============================================================
   SECTION 1: GRID & CARD (SLOT, CASINO, TERBARU)
   ============================================================ */

/* Container Grid 3 Kolom */
.slot-mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
}

/* Card Game */
.game-item-mobile {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

/* Wrapper Gambar Paten (SQUARE) */
.img-wrapper-mobile {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 1200;
  /* Mengunci rasio 1:1 */
  overflow: hidden;
  background: #111;
}

.gamenormalimg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  /* Gambar dipotong rapi, tidak gepeng */
  display: block;
}

/* Judul Legend di Tengah */
.legend-slider {
  width: auto !important;
  padding: 0 15px !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  text-transform: uppercase;
  float: none !important;
  margin: 0 auto !important;
  display: table !important;
}

/* RTP Overlay (Untuk Slot) */
.rtp-overlay-mobile {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 14px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 9px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rtp-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 1;
  opacity: 0.8;
}

.rtp-text-mobile {
  position: relative;
  z-index: 3;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}

/* Tombol Akses Game */
.btn-group-mobile {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: #111;
}

.btn-mobile-play {
  flex: 2;
  /* /* background: var(--primary-backend, #ffb300) !important; */
  background: linear-gradient(to right,#500805 0%, #bc6d4f 50%, #500805 100%);
  /* Mengikuti Backend */
  color: #fff !important;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 0;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
}

.btn-mobile-demo {
  flex: 1;
  background: #333;
  color: #ccc !important;
  font-size: 9px;
  padding: 4px 0;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
}

.daily-badge-mobile {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  z-index: 4;
}

/* ============================================================
   SECTION 2: TOMBOL LOGIN & DAFTAR (AUTH)
   ============================================================ */

.auth-container {
  display: flex !important;
  overflow: hidden;
  margin-top: 25px !important;
  /* TINGKATKAN ANGKA INI UNTUK MENURUNKAN */
  margin-bottom: 15px !important;
  /* Jarak ke jackpot di bawahnya */
}

/* Menaikkan posisi Jackpot Mobile */
.progressive-jackpot.mobileh2 {
  margin-top: -15px !important;
  /* Menaikkan ke atas */
  padding-top: 0 !important;
  /* Menghapus ruang kosong di dalam */
}

.container-jackpot-wrapper {
  margin-top: -10px !important;
}

.btn-auth-custom {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px !important;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none !important;
  transition: 0.3s ease;
  width: 100%;
}

.btn-register-mobile {
  background: linear-gradient(to right, #0D47A1 0%, #0B7DDA 50%, #0D47A1 100%) !important;
  color: #000 !important;
  animation: pulse-gold-btn 2s infinite;
}

.btn-login-mobile {
  background: linear-gradient(to right,#019e4c 0%, #04b962 50%, #019e4c 100%) !important;
  color: #fff !important;
}

@keyframes pulse-gold-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 179, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 179, 0, 0);
  }
}

.btn-auth-custom:active {
  transform: scale(0.96);
  filter: brightness(1.2);
}