/* desktop-home.css v3 — disesuaikan dengan struktur HTML halaman ONG39 */
@media (min-width: 992px) {
  html, body {
    background-color: #0b0d10 !important;
    overflow-x: hidden;
  }

  /* Wadah utama di tengah layar desktop */
  body > div[style*="margin-top: 50px"] {
    max-width: 1240px;
    margin: 50px auto 0 auto !important;
    background-color: #09090b;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.75);
    padding-bottom: 40px;
  }

  /* Top bar */
  body > div[style*="height: 50px"][style*="position: fixed"] > table {
    max-width: 1240px;
    width: 100% !important;
  }

  /* Slider / Banner agar proporsional di desktop */
  .slider #carousel-example-generic .carousel-inner > .item > img {
    width: 100% !important;
    max-height: 440px;
    object-fit: cover;
    border-radius: 10px;
  }

  .slider table {
    width: 100% !important;
  }

  /* Baris tombol MASUK & DAFTAR */
  body > div[style*="margin-top: 50px"] > div[style*="background-color: #000; display: flex;"] {
    justify-content: center !important;
    gap: 16px;
    padding: 14px 0 !important;
  }

  body > div[style*="margin-top: 50px"] > div[style*="background-color: #000; display: flex;"] > div.glowing {
    margin: 0 !important;
    width: 180px !important;
    padding: 10px 0 !important;
    font-size: 15px;
    cursor: pointer;
  }

  /* Menu kategori utama */
  #main_menu_outer_container.active-menu-scroll {
    top: 50px;
    max-width: 1240px;
    margin: 0 auto;
  }

  .main-menu-outer-container > main > a {
    min-width: 115px !important;
    font-size: 13px !important;
    padding: 12px 8px !important;
  }

  .main-menu-outer-container > main > a > img {
    width: 38px !important;
  }

  /* Section header kategori & carousel provider */
  body > div[style*="margin-top: 50px"] > div[style*="width: 90%; margin: 0 auto;"] {
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .main-menu-outer-container > main > a[href*="provider"] img,
  .main-menu-outer-container > main > a[style*="cursor: not-allowed"] img {
    width: 165px !important;
    border-radius: 8px !important;
  }

  /* Jackpot progresif */
  div[style*="jackpot-mobile.jpg"] {
    max-width: 760px;
    margin: 0 auto 28px auto !important;
    border-radius: 10px;
    height: 82px !important;
  }

  /* Drawer kanan lebih lebar di desktop */
  #right-column {
    width: 380px !important;
    right: -400px;
  }

  /* Footer: ubah list 33% menjadi grid multi-kolom yang rapi */
  .footer-bg {
    padding: 32px 24px !important;
    box-sizing: border-box;
  }

  .footer-bg > div[style*="margin-left: 15px"] {
    margin-left: 0 !important;
  }

  .footer-bg ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 10px !important;
    padding-top: 14px !important;
    margin-bottom: 28px !important;
  }

  .footer-bg ul > li {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .footer-bg ul > li img {
    max-height: 36px;
    width: auto !important;
    max-width: 85%;
    object-fit: contain;
  }

  .footer-bg footer > div:last-child {
    padding-bottom: 20px !important;
  }

  /* Sembunyikan bottom navigation bar khusus mobile di layar desktop */
  body > div[style*="position: fixed"][style*="bottom: 0"][style*="z-index: 5"] {
    display: none !important;
  }

  /* Notif WD popup posisi desktop */
  .popup .popuptext {
    top: 70px;
    left: auto;
    right: 24px;
    margin-left: 0;
  }
}
