/* style.css - MASTER 100% COMPLETE & CLEAN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  color: #fff;
}
.responsive-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   VIEW SWITCHER (DESKTOP VS MOBILE)
   ========================================================================== */
@media (min-width: 992px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
  .main-content-layout {
    max-width: 1060px;
    margin: 0 auto;
    padding: 10px 0 40px 0;
  }
}
@media (max-width: 991.98px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000000 !important;
  }
  .main-content-layout {
    width: 100%;
    max-width: 480px;
    background-color: #000000;
    margin: 0 auto;
    padding-bottom: 75px !important;
    box-shadow: 0 0 25px rgba(0,0,0,0.9);
    min-height: 100vh;
  }
}

/* ==========================================================================
   DOWNLOAD APK BAR
   ========================================================================== */
.mobile-download-app-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #000000 !important;
  border-bottom: 1px solid #1a1a1a !important;
  padding: 6px 10px !important;
  width: 100% !important;
  max-width: 480px !important;
  z-index: 99999 !important;
  position: relative !important;
}
.close-apk-btn-box {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  font-size: 16px !important;
  margin-right: 4px !important;
  flex-shrink: 0 !important;
}
.close-apk-btn-box:hover { color: #fff !important; }
.apk-icon-box {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
}
.apk-icon-box img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}
.apk-info-text {
  flex: 1 !important;
  margin-left: 10px !important;
  line-height: 1.2 !important;
}
.apk-title {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}
.apk-desc {
  font-size: 10px !important;
  color: #94a3b8 !important;
}
.btn-download-apk-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #0084b4 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   DESKTOP STYLES
   ========================================================================== */
.desktop-container { max-width: 1060px; margin: 0 auto; padding: 0 10px; }
.desktop-head-mid { padding: 8px 0; }
.desktop-head-flex { display: flex; justify-content: space-between; align-items: center; }
.desktop-logo img { height: 48px; width: auto; }
.desktop-header-right-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.desktop-topmenu-list { display: flex; list-style: none; gap: 16px; font-size: 11px; }
.desktop-topmenu-list a { color: #fff; text-decoration: none; }
.desktop-topmenu-list a:hover { color: #ff5722; }
.text-warning-custom { color: #f0ad4e !important; }
.desktop-login-form { display: flex; align-items: center; gap: 6px; }
.desktop-input-wrap { position: relative; }
.desktop-input-wrap input { height: 28px; background-color: #ffffff; border: 1px solid #ccc; color: #000; padding: 2px 8px; border-radius: 2px; font-size: 12px; width: 130px; }
.desktop-toggle-pass { position: absolute; right: 6px; top: 7px; color: #555; cursor: pointer; font-size: 12px; }
.btn-masuk-dt {
  background-color: transparent !important;
  border: 1.5px solid #ff6a00 !important;
  color: #fff !important;
  padding: 5px 14px;
  font-weight: 800;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
}
.btn-daftar-dt {
  background: linear-gradient(180deg, #ff7a00 0%, #e65100 100%) !important;
  border: 1.5px solid #ff7a00 !important;
  color: #fff !important;
  padding: 5px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  border-radius: 3px;
  display: inline-block;
}

/* NAVBAR UTAMA */
.desktop-navbar-orange {
  background: #ff5722;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.desktop-nav-list {
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
}
.desktop-nav-list li { position: relative; }
.desktop-nav-list a {
  display: block;
  padding: 10px 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.desktop-nav-list a:hover,
.desktop-nav-list a.active {
  background-color: #ffffff;
  color: #ff5722;
}
.ribbon-nav {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 2px;
  color: #fff;
  z-index: 5;
  white-space: nowrap;
}
.ribbon-red { background-color: #d32f2f; }
.ribbon-green { background-color: #2e7d32; }

/* Sub navbar (PROMOSI + REFERRAL) */
.desktop-navbar-sub {
  background: #1a1a1a;
  border-bottom: 1px solid #333;
}
.desktop-navbar-sub .desktop-container {
  display: flex;
  gap: 24px;
  padding: 6px 10px;
}
.desktop-navbar-sub a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.desktop-navbar-sub a:hover { color: #ff5722; }

/* ===== MARQUEE FINAL - DESKTOP + MOBILE ===== */
.ticker-scroll-window {
  flex: 1 !important;
  min-width: 0 !important;
  height: 28px !important;
  overflow: hidden !important;
  position: relative !important;
  white-space: nowrap !important;
}

.ticker-moving-text {
  display: inline-block !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  padding-left: 0 !important;
  animation: marquee-run 30s linear infinite !important;
}

.ticker-moving-text:hover {
  animation-play-state: paused !important;
}

@keyframes marquee-run {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Khusus Mobile biar lebih kuat */
.mobile-marquee-bar {
  display: flex !important;
  align-items: center !important;
  height: 28px !important;
  overflow: hidden !important;
}

.mobile-marquee-bar .ticker-scroll-window {
  flex: 1 !important;
  min-width: 0 !important;
}

.mobile-marquee-bar .ticker-moving-text {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Hero & Banner Desktop */
.desktop-hero-grid {
  display: grid;
  grid-template-columns: 685px 1fr;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.desktop-main-slider {
  position: relative;
  height: 349px;
  background-color: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
}
.desktop-slider-cta {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.btn-slider-dt {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 2px;
  color: #fff;
}
.btn-slider-dt.mainkan { background-color: #c0392b; }
.btn-slider-dt.daftar { background-color: #d35400; }
.slider-dots-mock {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dots-mock .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.slider-dots-mock .dot.active { background: #fff; }
.desktop-side-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-banner-item {
  height: 169.5px;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}
.desktop-misc-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.misc-card {
  height: 115px;
  border-radius: 2px;
  overflow: hidden;
}
.desktop-full-banner {
  margin-bottom: 14px;
  border-radius: 2px;
  overflow: hidden;
}

/* Dropdown Bahasa Desktop */
.dropdown-lang-desktop { position: relative; }
.dropdown-lang-desktop a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-lang-menu {
  display: none;
  position: absolute;
  top: 22px;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  border-radius: 3px;
  min-width: 140px;
  z-index: 2000;
}
.dropdown-lang-menu.show { display: block; }
.dropdown-lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #ccc;
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px solid #222;
}
.dropdown-lang-menu a:hover,
.dropdown-lang-menu a.active {
  background-color: #ff5722;
  color: #fff;
}
.flag-mini {
  width: 16px;
  height: 12px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

/* Desktop Footer */
.desktop-footer-full {
  border-top: 1px solid #1a1a1a;
  padding: 20px 0;
  margin-top: 20px;
}
.desktop-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
}
.footer-divider {
  border: 0;
  border-top: 1px solid #222;
  margin: 15px 0;
}
.desktop-footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #666;
}
.desktop-floating-dock {
  position: fixed;
  right: 20px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.btn-float-arrow {
  width: 36px;
  height: 36px;
  background-color: #222;
  border: 1px solid #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-help-btn {
  position: fixed;
  right: 20px;
  bottom: 15px;
  background: #ff5722;
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 100;
}

/* ==========================================================================
   MOBILE HEADER & TOMBOL
   ========================================================================== */
.mobile-header {
  height: 54px !important;
  width: 100% !important;
  max-width: 480px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.mobile-header-left { display: flex; align-items: center; gap: 12px; }
.hamburger-btn {
  background: none;
  border: none;
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.brand-logo img { height: 32px; width: auto; display: block; }
.mobile-header-right { display: flex; gap: 10px; align-items: center; }

/* TOMBOL BESAR */
.btn-masuk {
  height: 38px !important;
  line-height: 34px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  background-color: transparent !important;
  border: 2px solid #ff6a00 !important;
  color: #ffffff !important;
}
.btn-daftar {
  height: 38px !important;
  line-height: 34px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  background: linear-gradient(180deg, #ff7a00 0%, #e65100 100%) !important;
  border: 2px solid #ff7a00 !important;
  color: #ffffff !important;
}
.mobile-marquee-bar {
  height: 28px;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  overflow: hidden;
}
.marquee-fixed-icon {
  flex-shrink: 0;
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.marquee-fixed-icon i { color: #ffffff; font-size: 12px; }

/* ==========================================================================
   SIDEBAR MOBILE
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}
.sidebar-wrapper {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #111;
  z-index: 100001;
  transition: left 0.3s ease;
  overflow-y: auto;
  border-right: 1px solid #333;
}
.sidebar-wrapper.open {
  left: 0;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
}
.sidebar-logo {
  height: 32px;
  width: auto;
}
.sidebar-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.sidebar-menu {
  list-style: none;
  padding: 10px 0;
}
.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #1f1f1f;
}
.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  background: #ff5722;
  color: #fff;
}
.sidebar-menu li a i {
  width: 20px;
  text-align: center;
}

/* ==========================================================================
   PROVIDER & GAME GRID (NO BORDER & BIGGER LOGO)
   ========================================================================== */
/* Container Utama */
.mobile-provider-slider-container {
  width: 100% !important;
  background-color: #12151a !important; /* Satu warna dasar */
  border-bottom: 1px solid #1f2630 !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
}

/* ========================================================== */
/* MOBILE PROVIDER SCROLL (UTAMAKAN KE SAMPING / HORIZONTAL)  */
/* ========================================================== */
.mobile-provider-slider-container {
  width: 100% !important;
  background-color: #0f1318 !important;
  border-bottom: 1px solid #1f2630 !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
}

/* Mengutamakan deret horizontal ke samping */
.mobile-provider-3rows-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;             /* JANGAN MENUMPUK KE BAWAH */
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;             /* AKTIFKAN SCROLL KE SAMPING */
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 2px 8px !important;
  scrollbar-width: none !important;
}

.mobile-provider-3rows-scroll::-webkit-scrollbar {
  display: none !important;
}

/* Item Kotak Provider */
.prov-slide-box {
  flex: 0 0 85px !important;               /* Lebar tetap per item provider */
  width: 85px !important;
  height: 56px !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: background 0.2s ease !important;
}

/* Provider yang Sedang Aktif Dipilih */
.prov-slide-box.active {
  background-color: #008fa3 !important;    /* Highlight background saat aktif */
}

.prov-slide-box.active .prov-slide-title {
  color: #ffffff !important;
}

/* Gambar Logo Provider */
.prov-slide-img-wrap {
  width: 100% !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.prov-slide-img-wrap img {
  max-width: 90% !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)) !important;
}

/* Nama Provider di Bawah Logo */
.prov-slide-title {
  color: #c5d1de !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
  margin-top: 2px !important;
}
/* SEARCH BAR */
.mobile-game-search-bar {
  display: flex !important;
  margin: 4px !important;
  background-color: #000000 !important;
  border: 1px solid #333333 !important;
  border-radius: 3px !important;
  overflow: hidden;
  height: 38px !important;
}
.search-icon-square {
  width: 40px !important;
  background-color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  border-right: 1px solid #222 !important;
}
.mobile-game-search-bar input {
  flex: 1 !important;
  background-color: #000000 !important;
  border: none !important;
  color: #ffffff !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  outline: none !important;
}

/* GRID GAME 3 KOLOM */
.mobile-game-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
  padding: 4px !important;
  background-color: #000000 !important;
}
.mobile-game-item {
  background-color: #1a1a1a !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
}
.mobile-game-img-box {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  background-color: #000 !important;
}
.mobile-game-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.ribbon-mobile-corner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  color: #fff !important;
  padding: 2px 6px !important;
  border-radius: 0 0 4px 0 !important;
  z-index: 2 !important;
}
.ribbon-mobile-corner.ribbon-eksklusif { background-color: #8e44ad !important; }
.ribbon-mobile-corner.ribbon-promo { background-color: #e74c3c !important; }
.stamp-mobile-topright {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  color: #f1c40f !important;
  font-size: 10px !important;
  z-index: 2 !important;
}
.mobile-game-name-title {
  background-color: #1c1c1c !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 5px 2px !important;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.load-more-wrap {
  text-align: center !important;
  margin: 15px 0 !important;
  width: 100% !important;
}
.btn-load-more {
  background: #ff5722 !important;
  color: #fff !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

/* LOBI GAME GRID 2-KOLOM */
.game-grid-white-gap {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
  padding: 4px !important;
  /* background-color: #000000 !important;  ← hapus atau comment */
}
.game-card {
  background-color: #1a1a1a !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 3px !important;
}
.game-card-img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  background-color: #222 !important;
}
.game-card-title {
  /* warna di-inject dari PHP via style tag */
  color: #ffffff !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 6px 2px !important;
}
.banner-full-white-gap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 0 4px !important;
  background-color: #000000 !important;
}
.banner-full {
  background-color: #1a1a1a !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 3px !important;
  overflow: hidden !important;
}
.banner-title {
  background-color: #222222 !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 2px !important;
}

/* FOOTER & DOCK NAV */
.mobile-footer {
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 54px;
}
.bottom-dock-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 480px !important;
  height: 54px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  z-index: 99999 !important;
}
.dock-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  gap: 3px !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
}
.dock-item:last-child { border-right: none !important; }
.dock-item i { font-size: 16px !important; }
.dock-item.active { background-color: rgba(0,0,0,0.2) !important; }
.floating-wa-btn {
  position: fixed !important;
  bottom: 64px !important;
  left: 12px !important;
  z-index: 9999 !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6)) !important;
}
.floating-wa-btn img {
  width: 100% !important;
  height: 100% !important;
}

/* ==========================================================================
   POPUP MURNI GAMBAR
   ========================================================================== */
.modal-promo-popup-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999999 !important;
  padding: 15px !important;
  cursor: pointer !important;
}
.modal-promo-popup-backdrop.show { display: flex !important; }
.modal-promo-box {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
}
.promo-img-wrap img {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.9) !important;
  display: block !important;
}

/* ==========================================================================
   FORM REGISTER
   ========================================================================== */
.register-page-wrapper {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 10px 8px 30px 8px !important;
  background-color: #ffffff !important;
}
.register-breadcrumb-box {
  background: #ffffff !important;
  padding: 10px 12px !important;
  border-radius: 4px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
  border: 1px solid #e2e8f0 !important;
}
.breadcrumb-left { font-size: 13px !important; font-weight: bold !important; }
.breadcrumb-left a { color: #10b981 !important; text-decoration: none !important; }
.breadcrumb-left span { color: #1e293b !important; }
.breadcrumb-right-tag {
  color: #10b981 !important;
  border: 1.5px solid #10b981 !important;
  font-size: 12px !important;
  font-weight: bold !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
}
.register-card-box {
  background: #ffffff !important;
  border: 1.5px solid #10b981 !important;
  border-radius: 8px !important;
  padding: 16px 14px !important;
}
.form-section-title {
  color: #10b981 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 14px 0 8px 0 !important;
}
.form-section-title:first-child { margin-top: 0 !important; }
.form-field-item { margin-bottom: 12px !important; }
.form-field-item label {
  display: block !important;
  font-size: 12px !important;
  font-weight: bold !important;
  color: #1e293b !important;
  margin-bottom: 5px !important;
}
.required-label::before {
  content: "* " !important;
  color: #f97316 !important;
  font-weight: bold !important;
}
.optional-text {
  font-size: 11px !important;
  color: #94a3b8 !important;
  font-weight: normal !important;
  display: block !important;
}
.form-field-item input,
.form-field-item select {
  width: 100% !important;
  height: 44px !important;
  background-color: #2c3848 !important;
  border: 1px solid #334155 !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  outline: none !important;
}
.phone-input-group {
  display: flex !important;
  align-items: center !important;
  background-color: #2c3848 !important;
  border-radius: 4px !important;
  border: 1px solid #334155 !important;
  overflow: hidden !important;
}
.phone-prefix {
  padding: 0 14px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: bold !important;
  border-right: 1px solid #3d4d61 !important;
}
.phone-input-group input {
  border: none !important;
  border-radius: 0 !important;
}
.password-toggle-box { position: relative !important; width: 100% !important; }
.password-toggle-box input { padding-right: 42px !important; }
.toggle-eye-btn {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #8392a5 !important;
  cursor: pointer !important;
  font-size: 15px !important;
  z-index: 10 !important;
  padding: 4px !important;
}
.password-note-box {
  background-color: #e0f2fe !important;
  border: 1px solid #7dd3fc !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  margin-top: 6px !important;
  color: #0369a1 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}
.note-title {
  font-weight: bold !important;
  color: #0284c7 !important;
  margin-bottom: 3px !important;
}
.captcha-input-group {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
}
.captcha-input-group input {
  flex: 1 !important;
  min-width: 0 !important;
}
.captcha-badge-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.captcha-code-text {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  letter-spacing: 4px !important;
  text-decoration: line-through !important;
  font-style: italic !important;
  white-space: nowrap !important;
  display: inline-block !important;
  user-select: none !important;
}
.captcha-refresh-icon {
  color: #10b981 !important;
  font-size: 18px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
.terms-checkbox-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 16px 0 !important;
}
.terms-checkbox-item input {
  margin-top: 3px !important;
  accent-color: #10b981 !important;
  width: 16px !important;
  height: 16px !important;
}
.terms-checkbox-item label {
  font-size: 11px !important;
  color: #000000 !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}
.terms-checkbox-item a {
  color: #0284c7 !important;
  text-decoration: none !important;
}
.btn-submit-register {
  width: 100% !important;
  height: 44px !important;
  background: linear-gradient(180deg, #10b981 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  font-weight: bold !important;
  cursor: pointer !important;
}

/* MODAL LOGIN */
.modal-login-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100001 !important;
  padding: 15px !important;
}
.modal-login-backdrop.show { display: flex !important; }
.modal-box {
  width: 100% !important;
  max-width: 380px !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  color: #000 !important;
}
.modal-header {
  padding: 14px 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #eee !important;
}
.modal-close {
  background: none !important;
  border: none !important;
  font-size: 26px !important;
  cursor: pointer !important;
  color: #64748b !important;
}
.modal-body { padding: 18px 16px !important; }
.form-group {
  position: relative !important;
  margin-bottom: 12px !important;
}
.form-control {
  width: 100% !important;
  height: 42px !important;
  background: #2c3848 !important;
  border: 1px solid #334155 !important;
  color: #fff !important;
  padding: 0 40px !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  outline: none !important;
}
.input-icon {
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
  color: #8392a5 !important;
  font-size: 14px !important;
}
.pass-toggle {
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;
  color: #8392a5 !important;
  cursor: pointer !important;
  font-size: 14px !important;
}
.modal-footer {
  padding: 12px 16px !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #eee !important;
}

/* =============================================
   FIX FINAL: Sembunyikan mobile di desktop
   ============================================= */

/* Default: SEMUA yang bertanda mobile-only DISEMBUNYIKAN */
.mobile-only,
.mobile-header,
.bottom-dock-nav,
.mobile-download-app-bar,
.mobile-marquee-bar,
.floating-wa-btn {
  display: none !important;
}

/* Hanya tampil di layar kecil (mobile) */
@media (max-width: 991.98px) {
  .mobile-only {
    display: block !important;
  }

  /* Header mobile pakai flex */
  .mobile-header.mobile-only,
  header.mobile-header {
    display: flex !important;
  }

  /* Bottom dock pakai grid */
  .bottom-dock-nav.mobile-only,
  nav.bottom-dock-nav {
    display: grid !important;
  }

  /* Download APK bar */
  .mobile-download-app-bar {
    display: flex !important;
  }

  /* Marquee */
  .mobile-marquee-bar {
    display: flex !important;
  }

  /* Floating WA */
  .floating-wa-btn {
    display: flex !important;
  }
}

/* Desktop tetap aman */
@media (min-width: 992px) {
  .mobile-only,
  .mobile-header,
  .bottom-dock-nav,
  .mobile-download-app-bar,
  .mobile-marquee-bar,
  .floating-wa-btn {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* =====================================================
   MOBILE SLIDER - TOMBOL DI POJOK KANAN BAWAH
   ===================================================== */
.mobile-slider-framed {
  padding: 0 4px;
  margin-top: 6px;
}

.slider-inner-frame {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

.slider-inner-frame img.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slider-cta {
  position: absolute;
  bottom: 12px;
  right: 12px;                 /* pojok kanan */
  left: auto;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  z-index: 10;
}

.slider-cta .btn {
  padding: 8px 20px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
  height: auto !important;
  line-height: 1.2 !important;
  min-width: 90px;
  text-align: center;
}

.slider-cta .btn-masuk {
  background: #c0392b !important;
  border: none !important;
}

.slider-cta .btn-daftar {
  background: linear-gradient(180deg, #ff7a00, #e65100) !important;
  border: none !important;
}

/* =====================================================
   FIX TOMBOL LOGIN DI MODAL
   ===================================================== */
.modal-login-backdrop .btn-masuk,
.modal-box .btn-masuk,
#form-login .btn-masuk {
  width: 100% !important;
  height: 44px !important;
  background: linear-gradient(180deg, #ff7a00 0%, #e65100 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 8px !important;
}

.modal-login-backdrop .btn-masuk:hover {
  background: linear-gradient(180deg, #ff8c1a 0%, #f05700 100%) !important;
}



/* Badge di sidebar */
.sb-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  margin-left: 4px;
}
.badge-red { background: #e53935; }
.badge-green { background: #43a047; }

.sidebar-divider {
  height: 1px;
  background: #333;
  margin: 8px 0;
  list-style: none;
}

/* Pilih Bahasa */
.sidebar-lang {
  padding: 14px 16px;
  border-top: 1px solid #333;
}
.sidebar-lang-title {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
}
.sidebar-lang-flags {
  display: flex;
  gap: 12px;
}
.sidebar-lang-flags a {
  opacity: 0.6;
  transition: 0.2s;
}
.sidebar-lang-flags a.active,
.sidebar-lang-flags a:hover {
  opacity: 1;
  transform: scale(1.1);
}
.sidebar-lang-flags img {
  border-radius: 3px;
}

/* Tombol Masuk/Daftar di sidebar */
.sidebar-auth-btns {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
}
.sidebar-auth-btns .btn-masuk,
.sidebar-auth-btns .btn-daftar {
  flex: 1;
  height: 40px !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sidebar-copyright {
  padding: 12px 16px 20px;
  font-size: 10px;
  color: #666;
  line-height: 1.4;
  text-align: center;
  border-top: 1px solid #222;
}



.sidebar-menu a .sb-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
}

.sidebar-menu a i {
  width: 20px;
  text-align: center;
  margin-right: 12px;
  font-size: 16px;
  vertical-align: middle;
}

/* ==========================================================================
   DESKTOP SLOTS LAYOUT
   ========================================================================== */

/* 1. Pembungkus Utama Desktop */
.desktop-slots-page-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 10px 40px;
  box-sizing: border-box;
}

/* Header Breadcrumb & Bar Judul */
.slots-page-header-desktop {
  margin-bottom: 15px;
}

.breadcrumb-bar-slots {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.breadcrumb-bar-slots a {
  color: #00bcd4;
  text-decoration: none;
}

.slots-header-title-bar {
  background: #111419;
  color: #fff;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 700;
  border-left: 4px solid #ff5722;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================== */
/* SIDEBAR PROVIDER STICKY (DIAM SAAT GAME DI-SCROLL)         */
/* ========================================================== */

/* 1. Layout Flex Utama harus sejajar atas */
.desktop-slots-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important; /* WAJIB flex-start agar sticky bekerja */
  gap: 15px !important;
  width: 100% !important;
}

/* 2. Sidebar dibuat Sticky */
.desktop-slots-sidebar {
  width: 260px !important;
  min-width: 260px !important;
  background: #161b22;
  border-radius: 4px;
  border: 1px solid #232b35;
  overflow: hidden;
  
  /* INI KUNCI AGAR SIDEBAR DIAM SAAT HALAMAN DI-SCROLL */
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 20px !important; /* Jarak dari batas atas layar saat sticky */
  z-index: 10;
}

/* 3. List Menu Provider punya scroll sendiri jika terlalu panjang */
.provider-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  
  /* Batasi tinggi menu sesuai tinggi layar laptop/PC */
  max-height: calc(100vh - 120px) !important; 
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Custom Scrollbar Tipis & Elegan untuk List Provider */
.provider-sidebar-menu::-webkit-scrollbar {
  width: 5px;
}
.provider-sidebar-menu::-webkit-scrollbar-track {
  background: #0f1318;
}
.provider-sidebar-menu::-webkit-scrollbar-thumb {
  background: #232b35;
  border-radius: 3px;
}
.provider-sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: #00bcd4;
}

.provider-sidebar-menu::-webkit-scrollbar {
  width: 5px;
}
.provider-sidebar-menu::-webkit-scrollbar-thumb {
  background: #2a3441;
  border-radius: 3px;
}

.provider-sidebar-menu li {
  border-bottom: 1px solid #1f2630;
}

.provider-sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: #c5d1de;
  text-decoration: none;
  transition: all 0.2s ease;
}

.provider-sidebar-menu li:hover a,
.provider-sidebar-menu li.active a {
  background: #008fa3;
  color: #ffffff;
}

.prov-flex-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.prov-sidebar-img-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.prov-name-text {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-promo-badge {
  background: #e74c3c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

/* 4. AREA GAME KANAN */
.desktop-slots-game-area {
  flex: 1 !important;
  min-width: 0 !important; /* Mencegah overflow flex */
  box-sizing: border-box;
}

/* Grid Kartu Game Desktop (4 Kolom Sempurna) */
.desktop-game-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Banner Promosi Game Terbaru */
.card-special-game-terbaru {
  grid-column: span 1;
  background: linear-gradient(135deg, #ff5722, #e64a19);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 15px;
  min-height: 180px;
}

.card-special-game-terbaru h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 5px;
  line-height: 1.1;
}

.card-special-game-terbaru span {
  font-size: 10px;
  background: rgba(0,0,0,0.25);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* Item Kotak Game */
.desktop-game-item {
  background: #161b22;
  border-radius: 6px;
  border: 1px solid #232b35;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.desktop-game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  border-color: #00bcd4;
}

/* Gambar Game */
.game-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}

.game-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ribbon & Badge Game */
.ribbon-overlay-topleft {
  position: absolute;
  top: 0;
  left: 0;
  background: #e74c3c;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 0 0 4px 0;
  z-index: 2;
}

.badge-baru-bottomleft {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: #27ae60;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  z-index: 2;
}

.provider-logo-stamp {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #f1c40f;
  font-size: 11px;
  z-index: 2;
}

/* Judul Game Desktop */
.game-title-bar-desktop {
  background: #111419;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 8px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tombol Load More Desktop */
.load-more-wrap {
  width: 100%;
  text-align: center;
  margin-top: 25px;
}

.btn-load-more {
  background: #ff5722;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-load-more:hover {
  background: #e64a19;
}

/* Sembunyikan Elemen Sesuai Device */
@media (min-width: 992px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
}
@media (max-width: 991px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}
.sidebar-auth-btns {
  display: flex !important;
  gap: 8px !important;
  padding: 12px 15px !important;
  box-sizing: border-box !important;
}

/* Tombol Keluar (Abu-abu) */
.btn-sidebar-keluar {
  flex: 1 !important;
  background-color: #8c939d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-align: center !important;
  padding: 9px 0 !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  display: block !important;
}

/* Tombol Deposit (Hijau) */
.btn-sidebar-deposit {
  flex: 1 !important;
  background-color: #43a047 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-align: center !important;
  padding: 9px 0 !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  display: block !important;
}

/* Garis pembatas list */
.sidebar-divider {
  height: 1px !important;
  background-color: #232b35 !important;
  margin: 6px 0 !important;
}
/* ========================================================== */
/* MOBILE HEADER USER LOGGED IN                               */
/* ========================================================== */
.mobile-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 50px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
}

.mobile-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mobile-header-left .brand-logo img {
  height: 28px !important;
  width: auto !important;
  display: block !important;
}

.mobile-header-right {
  display: flex !important;
  align-items: center !important;
}

/* Wrapper User Sejajar Horizontal */
.mobile-user-logged-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Badge Icon Kotak */
.user-rank-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 30px !important;
  height: 30px !important;
}

.rank-svg-icon {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
}

/* Teks Info Sebelah Kanan Badge */
.user-info-side {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.user-name-line {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  margin-bottom: 2px !important;
}

.user-balance-line {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Warna Link Saldo Cyan & Bergaris Bawah */
.user-balance-line .balance-link {
  color: #00e5ff !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

.user-balance-line i {
  color: #00e5ff !important;
  font-size: 9px !important;
  margin-left: 2px !important;
  vertical-align: middle !important;
}



/* Box saat provider tidak punya game */
.empty-games-box {
  width: 100% !important;
  padding: 60px 20px !important;
  text-align: center !important;
  background: #161b22 !important;
  border-radius: 6px !important;
  border: 1px dashed #30363d !important;
  margin: 15px 0 !important;
  box-sizing: border-box !important;
}

.empty-games-box p {
  color: #8b949e !important;
  font-size: 13px !important;
  margin: 0 !important;
  font-weight: 600 !important;
}



/* Styling Fallback Logo Provider jika Gambar Tidak Tersedia */
.prov-slide-img-wrap {
  width: 100% !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.prov-slide-img-wrap img {
  max-width: 90% !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Kotak Kosong saat Provider Belum Punya Game */
.empty-games-box {
  grid-column: 1 / -1 !important; /* Membentang penuh di grid mobile */
  width: 100% !important;
  padding: 50px 15px !important;
  text-align: center !important;
  background: #111419 !important;
  border-radius: 6px !important;
  border: 1px dashed #232b35 !important;
  margin: 15px 0 !important;
  box-sizing: border-box !important;
}

.empty-games-box i {
  font-size: 36px !important;
  color: #4a5568 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.empty-games-box p {
  color: #a0aec0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}


/* Container Utama */
.mobile-provider-slider-container {
  width: 100% !important;
  background-color: #0f1318 !important;
  border-bottom: 1px solid #1f2630 !important;
  overflow: hidden !important;
  padding: 6px 4px !important;
}

/* ========================================================== */
/* KONDISI 1: JIKA PROVIDER BANYAK (SLOTS, CASINO) -> 3 BARIS */
/* ========================================================== */
.mobile-provider-3rows-scroll {
  display: grid !important;
  grid-template-rows: repeat(3, 56px) !important; /* TETAP 3 BARIS */
  grid-auto-flow: column !important;
  grid-auto-columns: 90px !important;
  gap: 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.mobile-provider-3rows-scroll::-webkit-scrollbar {
  display: none !important;
}

/* ========================================================== */
/* KONDISI 2: JIKA PROVIDER SEDIKIT (<= 3 BIJI) -> 1 BARIS    */
/* ========================================================== */
.mobile-provider-few-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
.mobile-provider-few-scroll::-webkit-scrollbar {
  display: none !important;
}

/* Item Provider */
.prov-slide-box {
  background-color: transparent !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  text-decoration: none !important;
  height: 56px !important;
  width: 90px !important;
  flex: 0 0 90px !important;
  border-radius: 4px !important;
}

.prov-slide-box.active {
  background-color: #008fa3 !important;
}

.prov-slide-img-wrap {
  height: 34px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.prov-slide-img-wrap img {
  max-height: 32px !important;
  max-width: 90% !important;
  object-fit: contain !important;
  display: block !important;
}

.prov-slide-title {
  color: #c5d1de !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
  margin-top: 2px !important;
}