/* ===== GLOBAL ===== */

body{
  background:url('/assets/img/bg-casino-green.jpg') center/cover fixed,
             radial-gradient(circle,#004400,#001800);
  color:#fff;
  font-family:'Segoe UI',sans-serif;
}


/* ===== HEADER LOGIN BAR ===== */
.top-login-bar{background:#071505;}
.login-input{width:220px;border-radius:45px!important;padding-left:22px;height:46px;font-size:.95rem;}
.btn-login{width:120px;border-radius:45px;font-weight:700;color:#000;
  background:radial-gradient(circle at 50% 50%,#d6ff5b 0%,#57ff00 35%,#00a300 90%);
  box-shadow:0 0 12px #a1ff41,0 0 25px #57ff00;}
.btn-login:hover{opacity:.9}
.promo-strip{background:#00d52e;font-weight:700;letter-spacing:.3px;font-size:.9rem;}
.welcome-strip{border-top:1px solid #fff;font-size:.85rem;}

/* ===== DESKTOP BODY LAYOUT ===== */
.desktop-body{padding:0;}
.side-menu{width:260px;}
.menu-btn{color:#fff;font-weight:600;border:2px solid #fff;border-radius:45px;
  padding:.55rem 1.25rem;margin-bottom:.7rem;background:rgba(0,0,0,.55);}
.menu-btn:hover{background:#00d52e;border-color:#00ff52;color:#000;}
.btn-register{background:linear-gradient(90deg,#00ff52,#00aa1c);
  border:none;border-radius:45px;font-weight:700;}

.last-result{background:rgba(0,0,0,.6);border:2px solid #00ff52;color:#fff;}
.last-result thead th{background:#00d52e;color:#000;font-weight:700;}
.last-result tbody td{padding:.35rem .75rem;}

.provider-card{background:url('/assets/img/frame-provider.png') center/contain no-repeat;
  height:180px;display:flex;justify-content:center;align-items:center;}

/* ===== RESPONSIVE HIDES ===== */
@media (max-width:991.98px){ .desktop-header{display:none} }
@media (max-width:1199.98px){ .desktop-body{display:none} }
/* ===== WRAPPING CONTAINER EFFECT ===== */
.section .container{
  background:#0a0808c2 !important;    /* hitam transparan 76% */
  box-shadow:
      rgb(0 0 0 / 100%) 0 32px 62px -2px,
      rgb(2 87 11 / 45%) 0 30px 32px -3px !important;
  border-radius:12px;                 /* opsional: sudut lembut */
}

/* Hilangkan background pada elemen dalam agar efek transparan terlihat */
.section .container *{
  background-image:none !important;
}
.section .container{
  backdrop-filter:blur(4px);
}
@media (max-width:991.98px){ .desktop-header{display:none} }
@media (max-width:1199.98px){ .desktop-body{display:none} }
/* ===== MOBILE LAYOUT ===== */
.mobile-body{background:#001a08;padding-bottom:70px;}      /* hijau gelap */
.mobile-box{
  background:rgba(255,255,255,.05);
  border:1px solid #00ff52;
  border-radius:12px;
  height:110px;
  color:#fff;
  text-decoration:none;
  transition:.2s;
}
.mobile-box:hover{background:#00c14a;color:#000;}
.provider-strip{background:#000;border-top:1px solid #00ff52;}
.mobile-footer{background:#000;font-size:.8rem;color:#888;}
/* --- HEADER --- */
.btn-chat{
  background:#00e44d;
  color:#000;font-weight:600;padding:4px 12px;border-radius:4px;
}

/* --- INFO STRIP --- */
.info-strip{background:#008f2a;color:#fff;font-size:.85rem;}

/* --- MENU IKON --- */
.menu-icon{
  background:#003e0f;border:1px solid #00ff52;border-radius:12px;color:#00ff52;
  height:96px;justify-content:center;text-decoration:none;font-size:.72rem;
}
.menu-icon span{line-height:1.1}
.menu-icon:hover{background:#00ff52;color:#003e0f;}

/* 5-kolom di grid */
@media (min-width:576px){
  .col-md-2-4{flex:0 0 20%;max-width:20%;}
}

/* --- TOMBOL GRADASI --- */
.btn-download{
  background:linear-gradient(180deg,#00ff52 0%,#008c2a 100%);
  font-weight:700;color:#fff;border-radius:6px;
}

/* ===== TOMBOL HIJAU GLOW ===== */

/* tombol berisi (LOG IN) */
.btn-green{
  background:linear-gradient(180deg,#39ff72 0%,#009c28 100%);
  color:#000;
  font-weight:700;
  border:none;
  border-radius:6px;
  box-shadow:0 0 10px 2px #36ff66, 0 0 25px 4px #24ff55;
  transition:.15s;
}
.btn-green:hover{filter:brightness(1.1);}

/* tombol outline (DAFTAR, LINK, PROMOSI) */
.btn-green-outline{
  background:rgba(0,0,0,.4);
  border:2px solid #36ff66;
  color:#36ff66;
  font-weight:700;
  border-radius:6px;
  box-shadow:0 0 6px 1px #36ff66 inset, 0 0 12px 2px #24ff55;
  transition:.15s;
}
.btn-green-outline:hover{
  background:#36ff66;
  color:#003e11;
  box-shadow:0 0 12px 2px #36ff66, 0 0 28px 6px #24ff55;
}


/* --- PROVIDER STRIP & FOOTER --- */
.provider-strip{background:#001409;border-top:1px solid #00ff52;}
.mobile-footer{background:#000;font-size:.8rem;color:#888;}

/* ================= CAROUSEL STYLE ================= */
.menu-wrap{background:#1ea148;border-radius:4px;}

.menu-scroll{
  scroll-behavior:smooth;
  scrollbar-width:none;          /* Firefox */
  -ms-overflow-style:none;       /* IE */
}
.menu-scroll::-webkit-scrollbar{display:none;}

/* === PERBAIKI POSISI TEKS === */
.menu-item{                       /* kotak merah */
  display:flex;                   /* ① aktifkan flexbox */
  flex-direction:column;          /* ② vertikal: ikon lalu teks */
  align-items:center;             /* tengahkan horizontal */
  justify-content:center;         /* tengahkan vertikal */
  width:90px;
  padding:12px 6px;
  color:#000000;
  text-decoration:none;
  border-right:1px solid #FFFF;
}
.menu-item img{width:38px;height:38px;filter:invert(1);}
.menu-item small{
  margin-top:6px;                 /* jarak ikon-teks */
  font-size:.72rem;
  font-weight:600;
  line-height:1.15;
}


/* panah */
.menu-arrow{
  width:var(--arrow-w);
  height:100%;
  position:absolute;top:0;z-index:2;
  background:#008f2a;border:0;color:#fff;
}
.menu-arrow.prev{left:0;border-radius:4px 0 0 4px;}
.menu-arrow.next{right:0;border-radius:0 4px 4px 0;}
:root{ 
    --arrow-w:32px; 
} 
/* jalur scroll */
.menu-scroll{
  scroll-behavior:smooth;
  padding-left:var(--arrow-w);   /* ruang di kiri */
  padding-right:var(--arrow-w); /* ruang di kanan */
  scrollbar-width:none;-ms-overflow-style:none;
}
.menu-scroll::-webkit-scrollbar{display:none;}

/* ===== CARD MENU DESKTOP ===== */
.menu-card{
  background:#008f2a;
  border:1px solid #00ff5d;
  border-radius:12px;
  box-shadow:0 0 10px #00ff5d55;
  transition:.15s;
}
.menu-card:hover{
  background:#008f2a;
  color:#000;
  box-shadow:0 0 18px #00ff5d, 0 0 32px #00ff5d;
}
.menu-card img{filter:invert(1);}
.menu-card:hover img{filter:none;}

/* ===== KARTU INFO ===== */
.dash-card{
  background:#0e0e0e;
  border:1px solid #00ff5d;
  border-radius:6px;
  box-shadow:0 0 10px #00ff5d40;
}
.dash-card .card-title{
  background:#006b22;
  padding:.35rem .75rem;
  border-radius:4px;
  margin:-1rem -1rem .75rem;
  color:#fff;font-size:.8rem;font-weight:700;
}

/* ===== NAV ICON ===== */
.nav-icon-bar{
  background:#00280d;
  border:1px solid #00ff5d;
  border-radius:6px;
  padding:.5rem 0;
  box-shadow:0 0 8px #00ff5d40 inset;
}

@media (max-width: 576px) {
  .dash-card {
    font-size: 0.85rem; /* kecilkan semua teks dalam card */
  }
  .dash-card .card-title {
    font-size: 0.95rem;
  }
}

.nav-icon{
  width:80px;
  color:#fff;               /* teks putih */
  text-decoration:none;
}

/* semua ikon jadi putih */
.nav-icon img{
  width:38px;height:38px;
  filter:brightness(0) invert(1);   /* ← hitam → putih */
  transition:.15s;
}

.nav-icon:hover{
  color:#00ff5d;            /* teks hijau saat hover */
}
.nav-icon:hover img{
  filter:none;              /* ikon kembali warna asli saat hover (opsional) */
}

/* ============ TOMBOL GRID 4 KOLOM ============ */
.btn-green{
  background:linear-gradient(180deg,#39ff72 0%,#009c28 100%);
  color:#000 !important;                /* teks hitam */
  font-weight:400;
  border:none;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active{
  color:#000 !important;                /* tetap hitam pada hover / aktif */
}

/* outline */
.btn-outline-green{
  background:transparent;
  border:1px solid #00ff5d;
  color:#00ff5d !important;             /* teks hijau */
  font-weight:400;
}
.btn-outline-green:hover,
.btn-outline-green:focus,
.btn-outline-green:active{
  background:#00ff5d;
  color:#003e0f !important;             /* teks gelap saat tombol jadi hijau */
}

/* tambahan agar konten tak keluar */
.btn-green,
.btn-outline-green{
  white-space:normal;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.8rem;
  line-height:1.15;
  padding:.45rem .2rem;
}

.slot-grid-card {
  border-radius: 13px;
  background: #192c39;
  overflow: hidden;
  margin-bottom: 7px;
  transition: transform .13s, box-shadow .13s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid #fff;      /* INI FRAME PUTIH */
  box-sizing: border-box;
}
.slot-grid-card:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px #e73899a6;
}
.row.row-cols-3 { margin-left:0; margin-right:0; }
.row.row-cols-3 > .col { padding: 0; }

.slot-grid-card {
  background: transparent;
  border: none;
  margin-bottom: 7px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.slot-img-box {
  width: 95%;
  aspect-ratio: 1/1;
  border: 2.5px solid #fff;   /* FRAME PUTIH */
  border-radius: 13px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.slot-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* FULL kotak, crop kalau beda rasio */
  display: block;
  border-radius: 11px;
  margin: 0;
  padding: 0;
}
.provider-title {
  font-size:0.92em; letter-spacing:0.5px; min-height:2.3em;
  display:flex; align-items:center; justify-content:center;
  margin-top: 7px;
}

.nav-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Batasi lebar setiap nav-icon */
.nav-icon-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.nav-icon {
  flex: 1 1 calc(100% / 6); /* 6 ikon per baris */
  max-width: calc(100% / 6);
  text-align: center;
}

.nav-icon img {
  max-width: 32px;
  width: 100%;
  height: auto;
}

.provider-item,
.game-item {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.provider-item:hover,
.game-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Text truncate biar rapi */
.provider-item .fw-semibold,
.game-item .fw-semibold {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 450px) {
  .row-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
}



