/* =============================================================================
   Frontend web game — CSS kustom (diekstrak dari layouts/app.blade.php).
   Nilai warna dinamis (header/sidebar/footer/navbar/utama) diatur dari panel
   melalui CSS variable pada :root yang ditulis inline di <head>.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   CATATAN: Blok di bawah SENGAJA menimpa sejumlah kelas utility Bootstrap
   (.text-white, .text-muted, .p-2, .btn-primary, dst.) sesuai desain tema situs
   (teks gelap di atas latar emas, tombol bergaya kustom). Ini bukan bug —
   seluruh view mengandalkan perilaku hasil override ini. Jangan me-rename tanpa
   memperbarui seluruh view terkait.
   -------------------------------------------------------------------------- */
.text-white { color: #000000 !important; }
.fw-normal { font-weight: 600 !important; color: #fefb00 !important; }
.offcanvas-body img { filter: grayscale(100%) brightness(0); }
.bg-black { background: linear-gradient(to bottom, #ffb100 0%, #faea9f 50%, #ffb100 100%); }
.text-muted { color: #ffffff !important; }
.card { --bs-card-bg: #ffffff00 !important; }
.input-group-text { font-weight: 600 !important; }
.text-center { width: 95% !important; }
.m-3 { margin: 1em !important; }
.p-2 { padding: .2rem !important; }
.p-3 { padding: 0.5rem !important; }
.col-7 { width: auto; }
.row { justify-content: center; }

/* -----------------------------------------------------------------------------
   Font & dasar
   -------------------------------------------------------------------------- */
@font-face { font-family: "Barlow", sans-serif; font-weight: 400; font-style: normal; }
@font-face { font-family: advanced_dot_digital7; src: url(../fonts/advanced_dot_digital7.woff2); }
body { background: #000000; color: #FFFFFF; font-family: "Barlow", sans-serif; font-weight: 400; font-size: 12px; }
a { color: #ffffff; text-decoration: none; }
a:hover { color: #00e5ff !important; }

/* -----------------------------------------------------------------------------
   Komponen tampilan
   -------------------------------------------------------------------------- */
.buttonjoin { width: 100%; cursor: pointer; transition: all 5s ease; animation: borderPulse 1.5s infinite ease-out; }
.container-3box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; padding: 10px; width: 100%; }
.box3 { margin-top: 30px; background-color: #090909; color: white; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 12px; padding: 40px 20px 20px; position: relative; overflow: visible; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); font-size: 1.4em; }
.icon-wrapper3 { width: 80px; height: 80px; margin-bottom: -40px; position: absolute; top: -40px; display: flex; justify-content: center; align-items: center; background-color: transparent; }
.icon-blue { animation: glowBlue 2s infinite alternate; }
.icon-yellow { animation: glowYellow 2s infinite alternate; }
.icon-red { animation: glowRed 2s infinite alternate; }
@keyframes glowBlue { from { filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.8)); } to { filter: drop-shadow(0 0 20px rgba(0, 123, 255, 1)); } }
@keyframes glowYellow { from { filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.8)); } to { filter: drop-shadow(0 0 20px rgba(255, 193, 7, 1)); } }
@keyframes glowRed { from { filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.8)); } to { filter: drop-shadow(0 0 20px rgba(220, 53, 69, 1)); } }
.box3 h3 { font-size: 1.5em; margin: 10px 0; }
.box3 p { font-size: 1em; margin-top: 10px; }
@media (max-width: 768px) { .container-3box { grid-template-columns: 1fr; } .icon-wrapper3 { width: 60px; height: 60px; top: -30px; } .box3 h3 { font-size: 1.3em; } .box3 p { font-size: 0.9em; } }
.row2 { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: calc(-1* var(--bs-gutter-y)); margin-right: calc(-.5* var(--bs-gutter-x)); margin-left: calc(-.5* var(--bs-gutter-x)); }
.modal-body { display: flex; justify-content: center; }
.text-center2 { justify-content: center; }
.modal-dialog { top: 7rem; }
.modal-header { display: none !important; }
.btn-utama { background: linear-gradient(to bottom, #b78a2c 0%, #faea9f 50%, #b78a2c 100%); color: #000000; text-align: center; }
.bg-utama { background-color: var(--warna-utama, #f0a500); }
.text-utama { color: var(--warna-utama, #f0a500) !important; }
.container-usd-jackpot-counter { background: center no-repeat; background-size: contain; display: flex; justify-content: center; align-items: center; height: 120px; padding-top: 10px; }
.usd-jackpot-counter { color: #FFFFFF; font-size: 2em; font-family: 'advanced_dot_digital7'; padding-bottom: 8px; }
.owl-dots { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) !important; }
.owl-theme .owl-dots .owl-dot span { margin: 1px !important; background: none !important; border: 1px solid #FFFFFF !important; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: #FFFFFF !important; }
.container-title { display: flex; justify-content: flex-start; }
.container-title h1 { display: none; color: #fff; background-color: #0022e6; position: relative; margin: 0; padding-right: 30px; padding-left: 10px; }
.container-title h1::after { background-color: #0022e6; content: ''; position: absolute; top: 0; right: 0; width: 20px; height: 100%; transform-origin: 100% 0; transform: skew(25deg); }
.container-populer { border: 0px solid #0022e6 !important; width: 90%; margin: 0 auto; }
.icon-container { width: 4em; height: 4em; border-radius: 50px; background: linear-gradient(180deg,#818181,#000); display: flex; place-content: center; place-items: center; font-size: 20px; margin-left: auto; margin-right: auto; }
.icon-content { background-color: #212529; width: 95%; height: 95%; border-radius: 50px; display: flex; place-content: center; place-items: center; }
.container-masuk-daftar { display: flex; margin: 8px; cursor: pointer; transition: all 5s ease; animation: borderPulse 1.5s infinite ease-out; }
.container-masuk-daftar.button-blue { padding: 10px 26px; display: block; line-height: 22px; box-shadow: inset 0 -2px 0 rgb(211, 172, 0); background-image: linear-gradient(195deg, rgb(2, 40, 255) 11%,rgb(2, 40, 255) 21%, rgb(2, 40, 255) 33%,rgb(2, 40, 255) 30%,rgb(2, 40, 255) 60%, rgb(58, 242, 255) 73%, rgb(2, 40, 255) 85%, rgb(2, 40, 255) 100%); border: 1px solid #d5d000 !important; animation: background-gold 3s infinite; background-size: 300% 300%; color: #fff; border-width: 0; border-radius: 10px; font-weight: 700; font-size: 18px; text-align: center; text-shadow: 2px 1px 9px rgb(0 0 0 / 70%); margin-bottom: 12px; margin-top: 15px; }
@keyframes background-gold { 0% { background-position: 0% 82%; } 50% { background-position: 100% 0%; } 100% { background-position: 0% 82%; } }
.container-masuk-daftar a { flex-basis: 50%; padding: 6px 12px; text-align: center; line-height: 21px; text-decoration: none; text-transform: uppercase; font-family: 'Arial'; font-size: 14px; color: #fff !important; padding: 8px; }
.img-pembayaran { position: relative; }
.img-pembayaran:before { content: ''; position: absolute; top: 0; left: -10px; bottom: 0; width: 5px; border-radius: 2px; background-color: #00FF00; }
.hub-intro { color: #b9b9b9; font-size: 14px; margin: 0 0 16px; }
.hub-kami { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hub-kami>a { position: relative; color: #FFFFFF; width: 100%; background-size: cover; background-position: center; min-height: 170px; padding: 20px 16px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border-radius: 14px; border: 1px solid rgba(240, 165, 0, .35); overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.hub-kami>a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .8) 100%); z-index: 0; }
.hub-kami>a:hover { transform: translateY(-2px); border-color: var(--warna-utama, #f0a500); }
.hub-kami>a>h3 { position: relative; z-index: 1; font-size: 16px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; }
.hub-kami>a>h6 { position: relative; z-index: 1; font-size: 12px; margin: 0; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; color: var(--warna-utama, #f0a500); font-weight: 700; }
.hub-kami>a>h6>i { font-size: 18px; font-weight: 800; }
@media (max-width: 767px) { .hub-kami { grid-template-columns: 1fr; } }
.user-menu { background-color: #4A0A0A; background-image: linear-gradient(180deg, #fed569, #b97d00); display: flex; justify-content: space-around; font-size: 10px; overflow: hidden; }
.user-menu .user-menu-item { flex-basis: initial; flex: 1; margin: 10px 0; padding: 0 10px; flex-basis: 22%; }
.user-menu .user-menu-item>a { color: #FFFFFF; text-decoration: none; display: flex; justify-content: space-evenly; align-items: center; flex-direction: column; height: 100%; white-space: nowrap; }
.user-menu .user-menu-item>a>img { width: 20px; height: 20px; margin-bottom: 5px; vertical-align: middle; border: 0; }
.deposit-note { color: #999999; display: flex; align-items: stretch; line-height: 19px; margin-bottom: 15px; }
.deposit-note-icon { flex-basis: 20%; display: flex; justify-content: center; align-items: center; border-top-left-radius: 5px; border-bottom-left-radius: 5px; padding: 10px; background: linear-gradient(to bottom,#787880,#42424f); }
.deposit-note-icon img { width: 35px; }
.deposit-note-content { flex-basis: 80%; background-color: #CBCBCB; color: #363565; padding: 10px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.kotak-pembayaran { background-color: #CBCBCB; color: #000000; cursor: pointer; }
.kotak-pembayaran-aktif { background-color: #fed569; background-image: linear-gradient(180deg, #fed569, #b97d00); cursor: pointer; }
.kotak-pembayaran-aktif img { filter: brightness(0) invert(1); }
.bank-info { background-color: #919197; background-image: linear-gradient(to bottom,#919197 0%,#444352 100%); }
.bank-info hr { border-top: 1px solid #000000; border-bottom: 1px solid #393939; margin: 10px 0; width: 100%; }
.floating-whatsapp { text-decoration: none; position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px; z-index: 9999; }
.floating-whatsapp:before { content: ""; background-repeat: no-repeat; background-size: 34px 34px; background-position: center center; width: 50px; height: 50px; background-image: url("data:image/svg+xml;charset=utf8,%3csvg viewBox='0 0 24 24' width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cg%3e%3cpath style='fill:%23ffffff' d='M16.75,13.96C17,14.09 17.16,14.16 17.21,14.26C17.27,14.37 17.25,14.87 17,15.44C16.8,16 15.76,16.54 15.3,16.56C14.84,16.58 14.83,16.92 12.34,15.83C9.85,14.74 8.35,12.08 8.23,11.91C8.11,11.74 7.27,10.53 7.31,9.3C7.36,8.08 8,7.5 8.26,7.26C8.5,7 8.77,6.97 8.94,7H9.41C9.56,14 9.77,6.94 9.96,7.45L10.65,9.32C10.71,9.45 10.75,9.6 10.66,9.76L10.39,10.17L10,10.59C9.88,10.71 9.74,10.84 9.88,11.09C10,11.35 10.5,12.18 11.2,12.87C12.11,13.75 12.91,14.04 13.15,14.17C13.39,14.31 13.54,14.29 13.69,14.13L14.5,13.19C14.69,12.94 14.85,13 15.08,13.08L16.75,13.96M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C10.03,22 8.2,21.43 6.65,20.45L2,22L3.55,17.35C2.57,15.8 2,13.97 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.72 4.54,15.31 5.46,16.61L4.5,19.5L7.39,18.54C8.69,19.46 10.28,20 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e"); background-color: #00C853; position: absolute; top: 0; left: 0; border-radius: 100%; box-shadow: 0 1px 1.5px 0 rgb(0 0 0 / 12%), 0 1px 1px 0 rgb(0 0 0 / 24%); }
.floating-lainnya { position: fixed; bottom: 150px; left: 5px; z-index: 10; }
.my-navbar { height: 68px; padding: 0 2px; width: 100%; background: #161616; position: fixed; bottom: 0; z-index: 1100; display: flex; align-items: stretch; border-top: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.5); }
.my-navbar a { color: #8f8f8f; font-weight: 600; text-decoration: none; }
.navbar-item { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: color .15s ease; }
.navbar-item-content { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.navbar-item-content > svg { width: 29px; height: 29px; display: block; }
.navbar-item-content > label { font-size: 13px; line-height: 1; letter-spacing: .2px; pointer-events: none; }
.navbar-item.aktif { color: var(--warna-utama, #f0a500); }
.navbar-item.aktif label { color: var(--warna-utama, #f0a500); }

/* -----------------------------------------------------------------------------
   Menu drawer mobile (sidebar hamburger / #menunya2)
   Navbar bawah (z-index 1100) menimpa isi drawer — naikkan drawer + beri
   padding bawah agar "Keluar" bisa di-scroll penuh di HP pendek.
   -------------------------------------------------------------------------- */
.menu-drawer {
  width: 80% !important; max-width: 340px;
  background: #0d0d0d !important; color: #fff;
  z-index: 1200 !important;
  height: 100% !important; height: 100dvh !important;
  display: flex !important; flex-direction: column;
  overflow: hidden !important;
}
body:has(#menunya2.show) .offcanvas-backdrop { z-index: 1190; }
body:has(#menunya2.show) .my-navbar { z-index: 1100; }
.menu-drawer .md-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-drawer .md-head img { height: 42px; display: block; }
.menu-drawer .md-close { background: none; border: 0; color: var(--warna-utama, #f0a500); font-size: 28px; line-height: 1; padding: 0; cursor: pointer; }
.menu-drawer .md-body {
  flex: 1 1 auto; min-height: 0;
  padding: 16px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.menu-drawer .md-tele { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(90deg, #1c2b3a 0%, #2a4a6b 50%, #1c2b3a 100%); border: 1px solid #2f4d6e; border-radius: 10px; padding: 12px; margin-bottom: 16px; text-decoration: none; }
.menu-drawer .md-tele-icon { color: #2ca5e0; font-size: 22px; line-height: 1; }
.menu-drawer .md-tele-text { color: #e9f3fb; font-weight: 700; font-size: 14px; }
.menu-drawer .md-saldo { border: 1px solid #333; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 16px; }
.menu-drawer .md-saldo b { color: var(--warna-utama, #f0a500); }
.menu-drawer .md-btn { display: block; width: 100%; text-align: center; padding: 15px 10px; border-radius: 8px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .3px; text-decoration: none; margin-bottom: 12px; }
.menu-drawer .md-btn-masuk { background: linear-gradient(to bottom, #fedb37 0%, #d4971c 100%); color: #111; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.menu-drawer .md-btn-daftar { background: transparent; border: 1px solid #d4971c; color: var(--warna-utama, #f0a500); }
.menu-drawer .md-list { list-style: none; margin: 6px 0 0; padding: 0; }
.menu-drawer .md-list li > a, .menu-drawer .md-list li > .md-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; color: #e6e6e6; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 15px; font-weight: 500; }
.menu-drawer .md-list li:last-child > a { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.menu-drawer .md-list svg { width: 22px; height: 22px; color: #9a9a9a; flex: 0 0 auto; }
.menu-drawer .md-list .md-ic { width: 22px; font-size: 22px; line-height: 1; color: #b9b9b9; text-align: center; flex: 0 0 auto; }
.menu-drawer .md-list li > a:active { color: var(--warna-utama, #f0a500); }
.menu-drawer .md-chevron { margin-left: auto; color: #6f6f6f; font-size: 20px; }

/* Header ringkas member di dalam drawer (setelah login) */
.menu-drawer .md-stats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.menu-drawer .md-stat { display: flex; align-items: center; gap: 8px; background: #161616; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px 12px; }
.menu-drawer .md-stat span { color: #cfcfcf; font-size: 13px; font-weight: 700; }
.menu-drawer .md-stat b { margin-left: auto; font-size: 15px; font-weight: 800; color: #fff; }
.menu-drawer .md-stat-bal b { color: #22c55e; }
.menu-drawer .md-tag { color: #111 !important; border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 800; }
.menu-drawer .md-tag-lp { background: var(--warna-utama, #f0a500); }
.menu-drawer .md-tag-exp { background: #8a8a8a; }

/* Baris aksi Deposit / Penarikan / Penukaran */
.menu-drawer .md-actions { display: flex; background: #161616; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.menu-drawer .md-actions a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; color: #d8d8d8; text-decoration: none; font-size: 11px; font-weight: 600; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.menu-drawer .md-actions a:first-child { border-left: none; }
.menu-drawer .md-actions a i { font-size: 24px; color: var(--warna-utama, #f0a500); }
.menu-drawer .md-actions a:active { color: var(--warna-utama, #f0a500); }

/* -----------------------------------------------------------------------------
   Popup Masuk & Daftar (auth modal)
   -------------------------------------------------------------------------- */
/* Batalkan offset global `.modal-dialog { top: 7rem }` agar modal login/daftar center vertikal */
.auth-modal .modal-dialog { top: 0; }
.auth-modal .modal-content { background: #111; color: #fff; border: 1px solid #262626; border-radius: 12px; }
.auth-modal .am-head { position: relative; display: flex; align-items: center; justify-content: center; padding: 16px 44px; }
.auth-modal .am-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.auth-modal .am-x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; padding: 0; cursor: pointer; }
.auth-modal .am-divider { height: 1px; background: rgba(255, 255, 255, 0.15); margin: 0 22px; }
.auth-modal .am-body { padding: 20px 22px 24px; }
.auth-modal .am-scroll { max-height: 74vh; overflow-y: auto; }
.auth-modal .am-field { margin-bottom: 14px; }
.auth-modal .am-field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #f2f2f2; }
.auth-modal .am-req { color: #ff4d4d; }
.auth-modal .am-input { width: 100%; background: #1b1b1b; border: 1px solid #313131; border-radius: 8px; color: #fff; padding: 12px 14px; font-size: 14px; outline: none; }
.auth-modal .am-input::placeholder { color: #7a7a7a; }
.auth-modal .am-input:focus { border-color: #d4971c; }
.auth-modal select.am-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.auth-modal select.am-select option { background: #1b1b1b; color: #fff; }
.auth-modal .am-pass { position: relative; }
.auth-modal .am-pass .am-input { padding-right: 44px; }
.auth-modal .am-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #9a9a9a; cursor: pointer; font-size: 18px; }
.auth-modal .am-forgot { text-align: right; margin: -4px 0 16px; }
.auth-modal .am-forgot a { color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
.auth-modal .am-btn-gold { display: block; width: 100%; border: 0; border-radius: 8px; padding: 14px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: #111; background: linear-gradient(to bottom, #fedb37 0%, #d4971c 100%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); cursor: pointer; }
.auth-modal .am-switch { text-align: center; color: #8f8f8f; font-size: 13px; margin: 16px 0; }
.auth-modal .am-link-gold, .auth-modal .am-terms-link a { color: #f0a500; text-decoration: none; font-weight: 700; }
.auth-modal .am-or { display: flex; align-items: center; gap: 12px; color: #8f8f8f; font-size: 13px; margin: 6px 0 16px; }
.auth-modal .am-or::before, .auth-modal .am-or::after { content: ""; height: 1px; flex: 1; background: rgba(255, 255, 255, 0.15); }
.auth-modal .am-btn-telegram { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #1b1b1b; border: 1px solid #313131; border-radius: 8px; padding: 13px; color: #fff; font-weight: 600; text-decoration: none; }
.auth-modal .am-tele-ic { color: #2ca5e0; font-size: 20px; line-height: 1; }
.auth-modal .am-section { background: linear-gradient(to bottom, #b8891f, #8a6a1e); color: #fff; text-align: center; font-weight: 800; padding: 9px; border-radius: 4px; margin: 10px 0 16px; }
.auth-modal .am-wa { display: flex; align-items: center; gap: 8px; }
.auth-modal .am-wa-flag img { width: 26px; height: auto; display: block; border-radius: 2px; }
.auth-modal .am-wa-code { color: #cfcfcf; font-size: 14px; }
.auth-modal .am-wa-input { flex: 1; }
.auth-modal .am-referral-toggle { background: none; border: 0; color: #fff; font-weight: 700; padding: 0 0 14px; display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 14px; }
.auth-modal .am-referral-toggle i { transition: transform .2s ease; font-size: 18px; }
.auth-modal .am-referral-toggle.open i { transform: rotate(90deg); }
.auth-modal .am-method { display: flex; align-items: center; gap: 10px; background: #1b1b1b; border: 1px solid #313131; border-radius: 8px; padding: 12px 14px; font-weight: 600; }
.auth-modal .am-methods { display: flex; gap: 8px; }
.auth-modal .am-method-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 12px 8px; border-radius: 8px; background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, .08); color: #cfcfcf; font-size: 13px; font-weight: 700;
  cursor: pointer; text-transform: uppercase;
}
.auth-modal .am-method-opt i { font-size: 22px; line-height: 1; }
.auth-modal .am-method-opt.aktif {
  background: linear-gradient(to bottom, #fedb37 0%, #d4971c 100%);
  color: #111; border-color: #d4971c;
}
.auth-modal .am-method-opt:not(.aktif):hover { border-color: rgba(255, 255, 255, .25); color: #fff; }
.auth-modal .am-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #2b7de9; display: inline-flex; align-items: center; justify-content: center; }
.auth-modal .am-radio > span { width: 8px; height: 8px; border-radius: 50%; background: #2b7de9; }
.auth-modal .am-alert { background: rgba(255, 60, 60, 0.12); border: 1px solid rgba(255, 60, 60, 0.4); color: #ff8080; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.auth-modal .am-terms { color: #8f8f8f; font-size: 12.5px; text-align: center; line-height: 1.6; margin: 16px 0 8px; }
.auth-modal .am-terms-link { text-align: center; }
.auth-modal .am-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Halaman /masuk & /daftar berdiri sendiri: pakai gaya popup auth sebagai kartu tengah */
.auth-page { display: flex; justify-content: center; padding: 34px 16px 64px; }
.auth-page .auth-standalone { width: 100%; max-width: 440px; }
.auth-page .auth-standalone .modal-content { box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.auth-page .auth-standalone .am-body { max-height: none; }

.licenses-item { width: 90%; }
.image-grid-container { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 5px; width: 100%; max-width: 1200px; margin: 0 auto; }
.image-item { position: relative; width: 100%; padding-bottom: 100%; overflow: hidden; border-radius: 10px; }
.image-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media only screen and (max-width: 768px) { .licenses-item { width: 100%; } .image-grid-container { grid-template-columns: repeat(4, 1fr); } .usd-jackpot-counter { font-size: 1.4em; } }
@media screen and (min-width: 768px) and (max-width: 991.98px) { .text-center { width: 65%; margin: auto !important; padding-bottom: 3rem; } .pb-2 { max-width: 70%; margin: auto !important; padding-top: 0.5rem !important; } .px-4 { padding-right: 10rem !important; padding-left: 10rem !important; } }

/* -----------------------------------------------------------------------------
   Transaksi (deposit/withdraw)
   -------------------------------------------------------------------------- */
.transaksi-group { display: grid; grid-template-columns: 1fr; grid-template-areas: "transaksi-bank" "transaksi-other"; gap: 16px; }
.transaksi-header { font-size: 1.1rem; height: 36px; }
.transaksi-list-bank { grid-template-columns: repeat(4, 1fr); }
.transaksi-list-other { grid-template-columns: repeat(4, 1fr); }
.transaksi-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.transaksi-item { width: 100%; }
.transaksi-title-group { justify-content: center; padding: 16px 0; }
.transaksi-name { font-size: 1.3rem; text-align: center; }
.transaksi-wrapper { width: 100%; max-width: 100% !important; gap: 1rem; }

/* Tombol bergaya kustom (menimpa .btn-danger/.btn-success/.btn-primary Bootstrap secara sengaja). */
.btn-danger { padding: 10px 26px; display: block; line-height: 22px; box-shadow: inset 0 0 5px 3px #001680, inset 0 2px 0 0 #fff, inset 0 0 0 2px #110080, 3px 3px 3px 1px rgba(0, 0, 0, .2); background-image: linear-gradient(195deg, rgb(2, 40, 255) 11%,rgb(58, 242, 255) 21%, rgb(2, 40, 255) 33%,rgb(2, 40, 255) 30%,rgb(2, 40, 255) 60%, rgb(58, 242, 255) 73%, rgb(2, 40, 255) 85%, rgb(2, 40, 255) 100%); border: 1px solid #0068ff !important; animation: background-gold 3s infinite; background-size: 300% 300%; color: #fff; border-width: 0; border-radius: 10px; font-weight: 700; font-size: 18px; text-align: center; text-shadow: 2px 1px 9px rgb(0 0 0 / 80%); margin-bottom: 12px; margin-top: 15px; }
.btn-success { padding: 10px 26px; display: block; line-height: 22px; box-shadow: inset 0 0 5px 3px #bc9800, inset 0 2px 0 0 #fff, inset 0 0 0 2px #d1c300, 3px 3px 3px 1px rgba(0, 0, 0, .2); background-image: linear-gradient(195deg, rgb(255 202 2) 11%,rgb(255, 240, 33) 21%, rgb(255 202 2) 33%,rgb(255 202 2) 30%,rgb(255 202 2) 60%, rgb(255, 240, 33) 73%, rgb(255 202 2) 85%, rgb(255 202 2) 100%); border: 1px solid #d5d000 !important; animation: background-gold 3s infinite; background-size: 300% 300%; color: #fff; border-width: 0; border-radius: 10px; font-weight: 700; font-size: 18px; text-align: center; text-shadow: 2px 1px 9px rgb(0 0 0 / 80%); margin-bottom: 12px; margin-top: 15px; }
.btn-primary { padding: 10px 26px; display: block; line-height: 22px; box-shadow: inset 0 0 5px 3px #258000, inset 0 2px 0 0 #fff, inset 0 0 0 2px #29eb00, 3px 3px 3px 1px rgba(0, 0, 0, .2); background-image: linear-gradient(195deg, rgb(22, 190, 0) 11%,rgb(0, 238, 0) 21%, rgb(22, 190, 0) 33%,rgb(22, 190, 0) 30%,rgb(22, 190, 0) 60%, rgb(0, 238, 0) 73%, rgb(22, 190, 0) 85%, rgb(22, 190, 0) 100%); border: 1px solid #23d500 !important; animation: background-gold 3s infinite; background-size: 300% 300%; color: #fff; border-width: 0; border-radius: 10px; font-weight: 700; font-size: 18px; text-align: center; text-shadow: 2px 1px 9px rgb(0 0 0 / 70%); margin-bottom: 12px; margin-top: 15px; }

/* -----------------------------------------------------------------------------
   Warna tampilan dinamis (nilai variabel di-set inline dari panel).
   -------------------------------------------------------------------------- */
.app-header-bg { background-color: var(--warna-header, #000000) !important; }
.app-sidebar-bg { background-color: var(--warna-sidebar, #000000) !important; }
/* Warna ikon header (menu kiri & login kanan) — bisa diatur dari panel. */
.header-icon { color: var(--warna-ikon-header, #f0a500) !important; }

/* -----------------------------------------------------------------------------
   Popup notifikasi ber-CSS (pengganti alert bawaan browser).
   -------------------------------------------------------------------------- */
.sct-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.sct-popup-overlay.show { display: flex; animation: sctFade .18s ease; }
.sct-popup-box { background: #141414; border: 1px solid #b78a2c; border-radius: 14px; max-width: 340px; width: 100%; padding: 24px 20px; text-align: center; color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.5); animation: sctPop .22s ease; }
.sct-popup-icon { font-size: 48px; line-height: 1; margin-bottom: 6px; }
.sct-popup-msg { font-size: 15px; line-height: 1.5; margin-bottom: 18px; word-break: break-word; white-space: pre-line; }
.sct-popup-btn { background: linear-gradient(to bottom, #b78a2c 0%, #faea9f 50%, #b78a2c 100%); color: #000; font-weight: 700; border: 0; border-radius: 8px; padding: 9px 34px; cursor: pointer; min-width: 120px; }
.sct-popup-btn:active { transform: translateY(1px); }
.sct-popup-box.sct-success .sct-popup-icon { color: #25c26e; }
.sct-popup-box.sct-error .sct-popup-icon { color: #ff4d4f; }
.sct-popup-box.sct-warning .sct-popup-icon { color: #ffb100; }
.sct-popup-box.sct-info .sct-popup-icon { color: #3ac0ff; }
@keyframes sctFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sctPop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }

/* =============================================================================
   Halaman Deposit — tata letak rapi berbasis kartu (mobile & desktop)
   ========================================================================== */
.dep-page { max-width: 560px; margin: 0 auto; padding: 6px 14px 28px; color: #e6e6e6; }
.dep-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.dep-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 8px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .07); color: #cfcfcf; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; font-size: 14px; }
.dep-tab i { font-size: 20px; }
.dep-tab.aktif { background: linear-gradient(to bottom, #c9a24a 0%, #8a6d24 100%); color: #fff; border-color: #c9a24a; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.dep-tab:not(.aktif):hover { color: #fff; background: #242424; }

.dep-field { margin-bottom: 16px; }
.dep-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #e6e6e6; }
.dep-label em { color: #e0322f; font-style: normal; }
.dep-opt { color: #8a8a8a; font-weight: 400; font-size: 12px; }

.dep-methods { display: flex; gap: 8px; }
.dep-method { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 4px; border-radius: 8px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .08); color: #cfcfcf; text-decoration: none; font-size: 12px; font-weight: 600; }
.dep-method i { font-size: 24px; }
.dep-method span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dep-method.aktif { background: linear-gradient(to bottom, #fedb37 0%, #d4971c 100%); color: #111; border-color: #d4971c; }
.dep-method:not(.aktif):hover { border-color: rgba(255, 255, 255, .2); color: #fff; }

.dep-subrow { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 4px; }
.dep-history { display: inline-flex; align-items: center; gap: 6px; color: #cfcfcf; font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; transition: all .15s ease; }
.dep-history i { font-size: 15px; }
.dep-history:hover { color: var(--warna-utama, #f0a500); border-color: var(--warna-utama, #f0a500); text-decoration: none; }
.dep-saldo { font-size: 14px; color: #cfcfcf; }
.dep-saldo b { color: #f0a500; margin-left: 4px; }
.dep-hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 8px 0 18px; }

.dep-amount { display: flex; align-items: center; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; padding: 0 14px; height: 54px; }
.dep-amount-cur { color: #cfcfcf; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.dep-amount-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--warna-utama, #f0a500); text-align: right; font-size: 18px; font-weight: 800; padding: 0 6px; -moz-appearance: textfield; }
.dep-amount-input::-webkit-outer-spin-button, .dep-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dep-amount-input::placeholder { color: #6f6f6f; }
.dep-amount-suf { color: var(--warna-utama, #f0a500); font-weight: 800; flex: 0 0 auto; }
.dep-hint { font-size: 12px; color: #8a8a8a; margin-top: 6px; }
.dep-error { color: #ff6b6b; font-size: 12px; margin-top: 6px; }

.dep-select, .dep-input { width: 100%; height: 54px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; color: #e6e6e6; padding: 0 14px; font-size: 14px; }
.dep-select:focus, .dep-input:focus { outline: none; border-color: var(--warna-utama, #c9a24a); }
.dep-input::placeholder { color: #6f6f6f; }
.dep-select-add { display: flex; gap: 10px; }
.dep-select-add .dep-select { flex: 1; min-width: 0; }
.dep-add { flex: 0 0 54px; width: 54px; display: grid; place-items: center; background: #2a2a2a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; color: #fff; font-size: 26px; text-decoration: none; }
.dep-add:hover { background: #363636; color: var(--warna-utama, #f0a500); }

.dep-bank { background: #1e1e1e; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.dep-bank-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dep-bank-name { font-size: 16px; font-weight: 700; color: #fff; text-transform: uppercase; }
.dep-bank-num { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }
.dep-copy { background: none; border: 0; color: #bdbdbd; font-size: 18px; cursor: pointer; padding: 0; line-height: 1; }
.dep-copy:hover { color: var(--warna-utama, #f0a500); }
.dep-bank-line { height: 1px; background: rgba(255, 255, 255, .1); margin: 14px 0; }
.dep-bank-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dep-bank-fee { color: #f0a500; font-weight: 700; font-size: 14px; }
.dep-bank-logo { color: #fff; font-weight: 800; font-size: 16px; text-transform: uppercase; }

.dep-bonus { border: 1px solid #7a5f1f; border-radius: 8px; margin-bottom: 16px; overflow: hidden; background: #241c0e; }
.dep-bonus-head { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; padding: 16px; font-size: 15px; font-weight: 700; cursor: pointer; text-align: left; }
.dep-bonus-head > i { margin-left: auto; font-size: 22px; color: #cfcfcf; transition: transform .2s ease; }
.dep-bonus.open .dep-bonus-head > i { transform: rotate(90deg); }
.dep-bonus-sel { color: var(--warna-utama, #f0a500); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.dep-bonus-body { display: none; padding: 0 16px 16px; }
.dep-bonus.open .dep-bonus-body { display: block; }
.dep-bonus-info { font-size: 12px; color: #d0b300; margin-top: 8px; }
.dep-bonus-empty { color: #9a9a9a; font-size: 13px; }

.dep-transfer { display: flex; align-items: center; justify-content: space-between; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.dep-transfer span { font-size: 15px; color: #e6e6e6; }
.dep-transfer b { color: #f0a500; font-size: 16px; font-weight: 800; }

.dep-submit { display: block; width: 100%; border: 0; border-radius: 8px; padding: 16px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #111; background: linear-gradient(to bottom, #fedb37 0%, #d4971c 100%); cursor: pointer; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.dep-submit:hover { filter: brightness(1.05); }
.dep-submit:disabled { background: #3a3a3a; color: #8a8a8a; cursor: not-allowed; box-shadow: none; filter: none; }

/* Peringatan turnover (halaman penarikan) */
.dep-turnover { background: #241c0e; border: 1px solid #7a5f1f; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.dep-turnover-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dep-turnover-title { color: #f0a500; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.dep-turnover-pct { color: #f0a500; font-size: 12px; font-weight: 700; }
.dep-turnover-bar { height: 8px; background: #000; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.dep-turnover-bar i { display: block; height: 100%; background: linear-gradient(90deg, #fedb37, #d4971c); }
.dep-turnover-note { color: #b9b9b9; font-size: 12px; }

/* Kotak QRIS di dalam halaman deposit baru */
.dep-page .deposit-note { background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.dep-page .deposit-note h4 { color: #fff; font-size: 16px; }
.dep-page .deposit-note p { color: #b9b9b9; font-size: 13px; }

/* Halaman konten statis (Tentang, Responsible Gaming, S&K, Pusat Bantuan) */
.content-page { max-width: 960px; margin: 0 auto; padding: 24px 16px 8px; color: #e6e6e6; }
.content-card { background: #111; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; overflow: hidden; }
.content-head { display: flex; align-items: center; gap: 10px; background: linear-gradient(90deg, #8a6d24, #5f4a18); color: #fff; font-weight: 800; letter-spacing: .5px; padding: 14px 18px; font-size: 15px; text-transform: uppercase; }
.content-head i { font-size: 20px; }
.content-body { padding: 20px 22px; }
.content-prose { color: #cfcfcf; font-size: 14px; line-height: 1.7; }
.content-prose h1, .content-prose h2, .content-prose h3, .content-prose h4, .content-prose h5 { color: #fff; margin: 18px 0 10px; line-height: 1.35; }
.content-prose h1 { font-size: 22px; }
.content-prose h2 { font-size: 19px; }
.content-prose h3 { font-size: 17px; }
.content-prose h4, .content-prose h5 { font-size: 15px; }
.content-prose p { margin: 0 0 12px; }
.content-prose a { color: var(--warna-utama, #f0a500); text-decoration: none; }
.content-prose a:hover { text-decoration: underline; }
.content-prose ul, .content-prose ol { padding-left: 22px; margin: 0 0 12px; }
.content-prose li { margin-bottom: 6px; }
.content-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.content-prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13px; }
.content-prose th, .content-prose td { border: 1px solid rgba(255, 255, 255, .12); padding: 8px 10px; text-align: left; }
.content-prose th { background: #1c1c1c; color: #fff; }
.content-prose hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 16px 0; }
.content-prose strong, .content-prose b { color: #fff; }
.content-prose blockquote { border-left: 3px solid var(--warna-utama, #f0a500); margin: 0 0 12px; padding: 6px 14px; color: #b9b9b9; background: #161616; border-radius: 0 8px 8px 0; }
@media (max-width: 767px) { .content-page { padding: 14px 10px 4px; } .content-body { padding: 16px; } }

/* Marquee pengumuman (mobile) — tepat di bawah nav, full width tanpa box */
.mq-announce { display: none; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; width: 100%; background: #0b0f16; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #eaeaea; font-size: 13px; font-weight: 500; overflow: hidden; }
.mq-announce-ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: var(--warna-utama, #f0a500); font-size: 20px; line-height: 1; }
.mq-announce-text { flex: 1 1 auto; min-width: 0; }
@media (max-width: 991.98px) { .mq-announce { display: flex; } }

/* Filter tanggal (halaman riwayat) */
.dep-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.dep-filter .dep-field { margin-bottom: 0; }
.dep-filter .dep-submit { grid-column: 1 / -1; }

/* Tabel riwayat transaksi */
.dep-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); -webkit-overflow-scrolling: touch; }
.dep-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #141414; margin: 0; }
.dep-table thead th { background: linear-gradient(90deg, #8a6d24, #5f4a18); color: #fff; font-weight: 700; text-align: left; padding: 12px 14px; white-space: nowrap; font-size: 12px; }
.dep-table tbody td { padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, .06); color: #e0e0e0; white-space: nowrap; vertical-align: middle; }
.dep-table tbody tr:nth-child(even) td { background: #1a1a1a; }
.dep-table .dep-code { font-weight: 700; color: #fff; }
.dep-table .dep-amt-cell { color: #22c55e; font-weight: 700; }
.dep-status { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.dep-status-wait { background: rgba(240, 165, 0, .15); color: #f0a500; }
.dep-status-ok { background: rgba(34, 197, 94, .15); color: #22c55e; }
.dep-status-no { background: rgba(224, 50, 47, .18); color: #ff6b6b; }
.dep-empty { text-align: center; color: #8a8a8a; padding: 26px 10px; font-size: 13px; }
.dep-pagination { display: flex; justify-content: center; margin-top: 14px; }
.dep-pagination .pagination { margin: 0; gap: 4px; flex-wrap: wrap; }
.dep-pagination .page-link { background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .12); color: #cfcfcf; border-radius: 6px; }
.dep-pagination .page-item.active .page-link { background: var(--warna-utama, #f0a500); border-color: var(--warna-utama, #f0a500); color: #111; }
.dep-pagination .page-item.disabled .page-link { background: #141414; color: #555; }
