*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#031d08;
    color:white;
    max-width:430px;
    margin:auto;
    min-height:100vh;

    padding-top:65px;
    padding-bottom:90px;
}

/* HEADER */
header{
    position:fixed;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:430px;
    z-index:999;
    background:linear-gradient(to right,#003000,#002000);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:5px;
}

.logo{
    width: 180px; /* area logo */
}

.logo img{
    width: 50%;
    height: auto;
    display: block;
}

.logo h2{
    color:#b6ff00;
    font-size:28px;
    font-weight:bold;
}

.btn-box{
    display:flex;
    gap:10px;
}

.btn-box button{
    border:none;
    padding:12px 18px;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}

.login{
    background:transparent;
    color:white;
}

.register{
    background:#66ff5a;
    color:black;
}

/* SEARCH */
.search-box{
    background:#05240a;
    padding:15px;
    display:flex;
    align-items:center;
    gap:10px;
}

.search-box i{
    color:#66ff5a;
    font-size:24px;
}

.search-box input{
    flex:1;
    height:50px;
    border:none;
    outline:none;
    border-radius:12px;
    background:#0b2b0f;
    color:white;
    font-size:18px;
    padding:0 15px;
}

/* MENU */
.menu{
    display:flex;
    justify-content:space-around;
    background:#04210a;
    padding:18px 10px;
    width: 100%;
}

.menu-item{
    text-align:center;
    color:white;
    font-size:14px;
}

.menu-item i{
    color:#5cff53;
    font-size:28px;
    margin-bottom:8px;
}

/* TITLE */
.section-title{
    font-size:22px;
    font-weight:bold;
    padding:20px 15px 10px;
}

/* GAME CARD */
.games{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    padding:10px;
}

.card{
    background:#0d3b15;
    border-radius:16px;
    overflow:hidden;
}

.card img{
    width: 100%;
    height:122px;
    object-fit:cover;
}

.card-content{
    text-align:center;
    padding:10px;
}

.card-content h3{
    font-size:12px;
}

.card-content p{
    color:#9d9d9d;
    margin-top:5px;
}

/* FOOTER */
footer{
    position:fixed;
    bottom:0;
    width:100%;
    max-width:430px;
    background:#04210a;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:12px 0;
    border-top:none;
}

/* tombol footer */
.footer-item{
    text-decoration:none; /* hilangin garis putih */
    color:#ffffff;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:none;
    outline:none;
}

/* icon */
.footer-item i{
    color:#66ff5a;
    font-size:17px;
    margin-bottom:6px;
}

/* tulisan */
.footer-item p{
    margin:0;
    font-size:14px;
    text-decoration:none;
}

/* hilangin efek link */
.footer-item:visited,
.footer-item:hover,
.footer-item:active{
    color:white;
    text-decoration:none;
}

.register-page{
    padding:20px;
}

.register-page input{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#0b2b0f;
    color:white;
    outline:none;
    font-size:16px;
}

.register-page button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
}

.transaction-box{
    border-radius:16px;
    padding:16px;
    margin:15px;
}

.bank-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.bank-item{
    background:#0b2b0f;
    border-radius:17px;
    padding:14px;
    display:flex;
    align-items:center;
    gap:10px;
    position:relative;
    overflow:hidden;
}

/* logo samar */
.bank-logo{
    width:95%;
    height:30px;
    object-fit:contain;
    opacity:0.55; /* agak transparan */
}

/* tulisan */
.bank-item span{
    color:rgba(255,255,255,0.8);
    font-size:14px;
}

/* indikator kanan */
.status{
    width:10px;
    height:10px;
    border-radius:50%;
    position:absolute;
    right:12px;
}

/* online */
.online{
    background:#32ff5c;
    box-shadow:0 0 8px #32ff5c;
}

/* offline */
.offline{
    background:#ff4040;
    box-shadow:0 0 8px #ff4040;
}

.transaction-box h3{
    margin-top:-10px;
    margin-bottom:18px;
}

input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;

  margin: 10px 0;
  padding-left: 12px;
  margin-top: 14px;
}

.section-title i {
  color: #ff3b30;
  animation: pulseGlow 1.2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    text-shadow: 0 0 5px #ff3b30;
  }

  50% {
    transform: scale(1.2); /* 🔥 zoom out */
    text-shadow: 0 0 15px #ff3b30, 0 0 25px #ff3b30;
  }

  100% {
    transform: scale(1);
    text-shadow: 0 0 5px #ff3b30;
  }
}

.trending-title span {
  line-height: 1;
}

.title-transaksi {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.title-transaksi i {
  color: #4a90e2;
}

.login-page {
  padding: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 15px;
}

.login-form input {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #0b2b0f;
  color: white;
  font-size: 15px;
  outline: none;
}

.login-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #66ff5a;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.login-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.login-footer a {
  color: #66ff5a;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
}

.login-footer a:hover {
  text-decoration: underline;
}

.register-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.register-footer a {
  color: #66ff5a;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
}

.register-footer a:hover {
  text-decoration: underline;
}

.login-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
}

.menu-item {
  text-decoration: none;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

 .offcanvas {
 width: 30%!important;
 }
 
 @media (max-width: 768px) {
 .offcanvas {
 width: 90%!important;
 }
 
 }
 
 .logo-footer {
  width: 120px;   /* kecilkan biar tidak sama kayak header */
  height: auto;
  display: block;
}

.divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* PROVIDER */
.provider-box {
  text-align: center;
}

.provider-img {
    width: 100%;
    max-width: 500px; /* ini yang bikin lebih besar */
    height: auto;
    display: block;
    margin: 10px auto;
}

/* khusus mobile kalau mau sedikit beda */
.provider-img.mobile {
    max-width: 420px;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
  .provider-img {
    display: none;
  }

  .provider-img.mobile {
    display: block;
  }
}

/* LICENSE */
.license-box {
  text-align: center;
}

.license-box img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: auto;
}

/* BRAND */
.footer-brand {
  text-align: center;
  padding: 15px 0;
}

.footer-brand a {
  color: gold;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.footer-brand a:hover {
  text-decoration: underline;
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px;
}

/* sembunyikan scrollbar */
.slider::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 140px;
  background: #0d3b15;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

/* FIX GAMBAR BIAR RAPIH */
.card img {
  width: 100%;
  height: 140px;      /* penting: samakan tinggi */
  object-fit: cover;  /* biar tidak gepeng / tetap penuh */
  display: block;
}

.card-content {
  text-align: center;
  padding: 10px;
}

/* tombol kiri kanan */
.nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 24px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.nav.left {
  left: 5px;
}

.nav.right {
  right: 5px;
}

.footer-wrapper {
  padding: 15px 1px;
  max-width: 430px;
  margin: auto;
}

.footer {
  background: #04210a;
  padding: 20px 15px;
}

/* bikin bagian atas footer lebih rapat */
.footer .container {
  padding: 0;
}

/* logo + text lebih dekat */
.footer .logo-footer {
  width: 100px;
  height: auto;
  margin-bottom: 5px;
}

.footer .fs-sm {
  margin-top: 5px !important;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ===== CONTAINER ===== */
#splide-trending-casino {
  width: 100%;
}

/* ===== TRACK / WRAPPER ===== */
#splide-trending-casino .splide__track {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 10px;
}

/* sembunyikan scrollbar */
#splide-trending-casino .splide__track::-webkit-scrollbar {
  display: none;
}

/* list jadi horizontal */
#splide-trending-casino .splide__list {
  display: flex;
  gap: 10px;
}

/* ===== CARD SIZE (KECIL & RAPI) ===== */
#splide-trending-casino .splide__slide {
  flex: 0 0 auto;
  width: 110px;   /* ukuran kecil */
}

/* ===== BOX GAME ===== */
.box-game {
  background: #0d3b15;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s;
}

.box-game:active {
  transform: scale(0.97);
}

/* ===== GAMBAR ===== */
.game-img {
  position: relative;
}

.img-casino {
  width: 100%;
  height: 100px;   /* kecil */
  object-fit: cover;
  display: block;
}

/* rank */
.game-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 6px;
}

/* ===== TEXT ===== */
.game-body {
  padding: 6px;
  text-align: center;
}

.game-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.game-provider {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

/* ===== TITLE ===== */
.trending-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 15px 10px;
}

.casino-title {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 18px;   /* 🔥 lebih kecil dikit */
  font-weight: 600;

  margin: 15px 0 0 18px; /* 🔥 dorong ke kanan */
}

.casino-title i {
  font-size: 18px;  /* icon ikut kecil */
  color: #ff3b30;
  animation: pulseGlow 1.2s infinite ease-in-out;
}

.menu-box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -300px;
    background: #fff;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    z-index: 9999;
}

.menu-box.active {
    bottom: 70px;
}

.deposit-page{
    padding:15px;
}

.deposit-header{
    text-align:center;
    margin-bottom:15px;
}

.deposit-header h2{
    color:#66ff5a;
    margin-bottom:5px;
}

.deposit-card{
    background:#0b2b0f;
    border-radius:15px;
    padding:15px;
}

.form-group{
    margin-bottom:12px;
}

.form-group label{
    display:block;
    margin-bottom:5px;
    font-size:14px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#16391c;
    color:#fff;
}

.deposit-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#66ff5a;
    color:#000;
    font-weight:bold;
    font-size:16px;
    cursor:pointer;
}

.info-box{
    background:#0b2b0f;
    border-radius:15px;
    padding:15px;
    margin-top:15px;
}

.info-box h3{
    margin-bottom:10px;
    color:#66ff5a;
}

.info-box ul{
    padding-left:20px;
}

.info-box li{
    margin-bottom:8px;
}

/* DEPOSIT TENGAH */
.deposit-center{
    position: relative;
    top: -20px;

    width: 58px;
    height: 58px;

    border-radius: 50%;
    background: linear-gradient(180deg,#7dff72,#32d94b);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow:
      0 0 10px rgba(102,255,90,.6),
      0 0 20px rgba(102,255,90,.4);

    animation: pulseDeposit 1.5s infinite;
}

.deposit-center i{
    color:#000 !important;
    font-size:28px !important;
    margin-bottom:3px;
}

.deposit-center p{
    color:#000;
    font-size:11px;
    font-weight:bold;
}

/* ANIMASI */
@keyframes pulseDeposit {

    0%{
        transform:scale(1);
        box-shadow:
          0 0 10px rgba(102,255,90,.6),
          0 0 20px rgba(102,255,90,.4);
    }

    50%{
        transform:scale(1.08);
        box-shadow:
          0 0 20px rgba(102,255,90,.9),
          0 0 35px rgba(102,255,90,.7);
    }

    100%{
        transform:scale(1);
        box-shadow:
          0 0 10px rgba(102,255,90,.6),
          0 0 20px rgba(102,255,90,.4);
    }
}

.games-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    padding:12px;
}

.box-game{
    background:#0b2b0f;
    border:2px solid rgba(102,255,90,.15);
    border-radius:15px;
    overflow:hidden;

    transition:.25s;
    box-shadow:
    0 2px 8px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.box-game:hover{
    transform:translateY(-3px);
    border-color:#66ff5a;
    box-shadow:
    0 0 15px rgba(102,255,90,.25);
}

.img-casino{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
}

.game-body{
    padding:8px;
    text-align:center;
}

.game-name{
    color:#fff;
    font-size:13px;
    font-weight:600;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.game-provider{
    margin-top:3px;
    color:#8f8f8f;
    font-size:11px;
}

/* Mobile kecil */
@media(max-width:400px){

    .games-grid{
        gap:8px;
        padding:8px;
    }

    .game-name{
        font-size:12px;
    }

    .game-provider{
        font-size:10px;
    }

}

#splide-trending-casino .splide__track{
    overflow:hidden;
}

#splide-trending-casino .splide__list{
    display:flex;
    gap:10px;
    width:max-content;

    animation: autoScroll 25s linear infinite;
}

@keyframes autoScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* berhenti saat disentuh */
#splide-trending-casino:hover .splide__list{
    animation-play-state:paused;
}

#loading-screen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#031d08;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.loader{
    width:50px;
    height:50px;
    border:4px solid rgba(255,255,255,.2);
    border-top:4px solid #66ff5a;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.saldo-box{
    display:flex;
    align-items:center;
    gap:8px;
}

.saldo{
    background:#0b2b0f;
    color:#66ff5a;
    padding:8px 12px;
    border-radius:10px;
    font-size:13px;
    font-weight:bold;
}

.wallet-box,
.account-btn{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#66ff5a;
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.account-menu{
    position:relative;
}

.dropdown-menu{
    display:none;
    position:absolute;
    right:0;
    top:50px;
    width:180px;
    background:#0b2b0f;
    border-radius:12px;
    overflow:hidden;
    z-index:99999;
}

.dropdown-menu.show{
    display:block;
}

.member-info,
.dropdown-menu a{
    display:block;
    padding:12px;
    color:#fff;
    text-decoration:none;
}

.dropdown-menu a:hover{
    background:#16391c;
}

.saldo-wrapper{
    display:flex;
    align-items:center;
    gap:10px;

    background:#0b2b0f;
    border:1px solid #1d5a25;

    padding:6px 10px;
    border-radius:12px;
}

.saldo{
    color:#66ff5a;
    font-size:13px;
    font-weight:bold;
}

.wallet-box{
    width:32px;
    height:30px;

    background:#66ff5a;
    color:#000;

    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;
}

.bank-icon{
    font-size:28px;
    color:#fff;
}

.bank-item span{
    color:#fff;
    font-size:14px;
}

.status{
    width:10px;
    height:10px;
    border-radius:50%;
    position:absolute;
    right:12px;
}

.online{
    background:#32ff5c;
    box-shadow:0 0 8px #32ff5c;
    animation:pulseOnline 1.5s infinite;
}

.offline{
    background:#ff4040;
    box-shadow:0 0 8px #ff4040;
}

@keyframes pulseOnline{
    0%{
        transform:scale(1);
        box-shadow:0 0 5px #32ff5c;
    }

    50%{
        transform:scale(1.4);
        box-shadow:
        0 0 10px #32ff5c,
        0 0 20px #32ff5c;
    }

    100%{
        transform:scale(1);
        box-shadow:0 0 5px #32ff5c;
    }
}

.announcement{
    display:flex;
    align-items:center;
    gap:10px;
    background:#072d0b;
    padding:10px 15px;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
    overflow:hidden;
}

.announcement{
    background: #0c3f12;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.announcement i{
    color: #ffd700;
    font-size: 14px;
    margin-right: 10px;
}

.marquee{
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.marquee span{
    display: inline-block;
    color: #f2f2f2;
    font-size: 15px; /* lebih kecil */
    font-weight: 500;
    letter-spacing: .3px;
    animation: marquee 18s linear infinite;
}

/* Gerak teks */
@keyframes marquee{
    from{
        transform: translateX(100%);
    }
    to{
        transform: translateX(-100%);
    }
}
@keyframes speakerPulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.2);
    }
}

.banner-slider{
    position:relative;
    width:100%;
    overflow:hidden;
}

.slides{
    position:relative;
}

.slide{
    width:100%;
    display:none;
    border-radius:0;
}

.slide.active{
    display:block;
}

.dots{
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:6px;
}

.dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
}

.dot.active{
    background:#66ff5a;
    box-shadow:0 0 8px #66ff5a;
}

.welcome-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:99999;
    display:flex;
    justify-content:center;
    align-items:center;
}

.welcome-box{
    width:95%;
    max-width:420px;
    background:#032d08;
    border-radius:20px;
    overflow:hidden;
    animation:popup .3s ease;
}

@keyframes popup{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.welcome-header{
    padding:20px;
    text-align:center;
}

.welcome-header img{
    width:120px;
    margin-bottom:10px;
}

.welcome-header h2{
    color:white;
}

.welcome-content{
    padding:20px;
    color:white;
    max-height:300px;
    overflow-y:auto;
    line-height:1.8;
}

.agree-btn{
    width:100%;
    border:none;
    padding:18px;
    background:#66ff5a;
    color:#000;
    font-weight:bold;
    font-size:18px;
    cursor:pointer;
}

.auth-container{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
}

.auth-box{
  width:360px;
  padding:20px;
  border-radius:12px;
  color:white;
}

.auth-box h2{
  text-align:center;
}

.form-group{
  margin-top:10px;
}

.form-group label{
  font-size:13px;
}

.form-group input,
.form-group select{
  width:100%;
  padding:10px;
  margin-top:5px;
  border:none;
  border-radius:8px;
  outline:none;
}

.btn-submit{
  width:100%;
  margin-top:15px;
  padding:10px;
  background:#22c55e;
  border:none;
  border-radius:8px;
  color:white;
  cursor:pointer;
}

.btn-submit:hover{
  background:#16a34a;
}

.auth-footer{
  text-align:center;
  margin-top:10px;
  font-size:15px;
  color: #16a34a;
}

.floating-social{
  position:fixed;
  right:15px;
  bottom:80px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:9999;
}

.social-btn{
  width:45px;
  height:45px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  color:white;
  font-size:20px;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,0.3);
  transition:0.3s;
}

.social-btn{
  width:45px;
  height:45px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  color:white;
  font-size:20px;
  text-decoration:none;
  position:relative;
  box-shadow:0 4px 10px rgba(0,0,0,0.3);
  transition:0.3s;
}

/* === ANIMASI PULSE BACKGROUND === */
.social-btn::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  z-index:-1;
  animation:pulse 1.8s infinite;
  opacity:0.6;
}

@keyframes pulse{
  0%{
    transform:scale(1);
    opacity:0.6;
  }
  70%{
    transform:scale(1.6);
    opacity:0;
  }
  100%{
    transform:scale(1.6);
    opacity:0;
  }
}

/* warna glow masing-masing */
.social-btn.wa::before{
  background:#25D366;
}

.social-btn.tg::before{
  background:#0088cc;
}

.social-btn.fb::before{
  background:#1877f2;
}

/* hover efek tambahan */
.social-btn:hover{
  transform:scale(1.15);
  filter:brightness(1.2);
}

.img-icons{
    width: 100%;
    aspect-ratio: 1 / 1;   /* semua jadi kotak rapi otomatis */
    object-fit: cover;     /* isi penuh tanpa aneh */
    display: block;
    border-radius: 14px;
}

.box-sl {
  background: #0d3b15;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.1s;
}

.box-sl{
    position: relative;
    overflow: hidden;
}

/* BADGE MIRING */
.trend-badge{
    position: absolute;
    top: 10px;
    left: -35px;

    background: linear-gradient(135deg, #ffd000, #ff8c00);
    color: #000;

    font-size: 12px;
    font-weight: bold;

    padding: 4px 40px;
    transform: rotate(-35deg);

    box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);

    animation: hotPulse 1.5s infinite;
}

/* ANIMASI */
@keyframes hotPulse{
    0%{
        transform: rotate(-35deg) scale(1);
        box-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
    }
    50%{
        transform: rotate(-35deg) scale(1.08);
        box-shadow: 0 0 18px rgba(255, 200, 0, 0.9);
    }
    100%{
        transform: rotate(-35deg) scale(1);
        box-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
    }
}

.box-sl{
    position: relative;
    overflow: hidden;
}

/* BADGE MIRING */
.trend-badge{
    position: absolute;
    top: 10px;
    left: -35px;

    background: linear-gradient(135deg, #ffd000, #ff8c00);
    color: #009;

    font-size: 12px;
    font-weight: bold;

    padding: 4px 40px;
    transform: rotate(-35deg);

    box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);

    animation: hotPulse 1.5s infinite;
}

/* ANIMASI */
@keyframes hotPulse{
    0%{
        transform: rotate(-35deg) scale(1);
        box-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
    }
    50%{
        transform: rotate(-35deg) scale(1.08);
        box-shadow: 0 0 18px rgba(255, 200, 0, 0.9);
    }
    100%{
        transform: rotate(-35deg) scale(1);
        box-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
    }
}

.agree-box{
    margin-top:12px;
}

.agree-label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#fff;
    cursor:pointer;
    line-height:1.4;
}

/* checkbox default tetap dipakai (tidak disembunyikan total) */
.agree-label input{
    width:16px;
    height:16px;
    accent-color:#66ff5a;
    cursor:pointer;
    margin-top:1px;
}

.agree-label span{
    position:relative;
    top:-1px; /* biar teks agak naik dan sejajar */
}

.auth-footer{
    text-align:center;
    margin-top:18px;
    font-size:13px;
    color:rgba(255,255,255,0.7);
}

.auth-footer a{
    color:#66ff5a;
    text-decoration:none;
    font-weight:600;

    display:inline-flex;
    align-items:center;
    gap:6px;

    padding:6px 10px;
    border-radius:8px;
    transition:.2s;
}

/* efek hover biar hidup */
.auth-footer a:hover{
    background:rgba(102,255,90,0.12);
    transform:translateY(-1px);
}

/* icon */
.auth-footer i{
    font-size:12px;
}

.box-sl{
    display:block;
    text-decoration:none;
    color:inherit;
    position:relative;
    overflow:hidden;
    cursor:pointer;
    transition:.2s;
}

.box-sl:active{
    transform:scale(0.97);
}

.box-sl{
    display:block;
    text-decoration:none;
    color:inherit;
    border-radius:15px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
    transition:.2s;
}

/* hover effect */
.box-sl:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(0,0,0,.3);
}

/* efek shine */
.box-sl::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.08),transparent);
    transform:translateX(-100%);
}

.box-sl:hover::after{
    animation:shine .8s;
}

@keyframes shine{
    100%{
        transform:translateX(100%);
    }
}

/* ===== LOGIN WRAPPER ===== */
.login-box {
    width: 100%;
    max-width: 380px;
    margin: 80px auto;
    padding: 25px;
    border-radius: 14px
}

/* TITLE */
.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    letter-spacing: 1px;
}

/* INPUT */
.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: none;
    border-radius: 10px;
    outline: none;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
    transition: 0.2s;
}

.login-box input:focus {
    background: #111827;
    border: 1px solid #22c55e;
}

/* BUTTON */
.login-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

/* ERROR MESSAGE */
.login-error {
    background: #dc2626;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

/* SMALL TEXT */
.login-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #9ca3af;
}

.login-footer a {
    color: #22c55e;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
    .login-box {
        margin: 40px 15px;
        padding: 20px;
    }
}

.login-box p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.login-box p a {
    color: #00aaff;
    text-decoration: none;
}

.login-box p a:hover {
    text-decoration: underline;
}

.social-login {
    text-align: center;
    margin-top: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 26px;
    text-decoration: none;
    color: inherit; /* ikut warna default */
}

.social-icons a:hover {
    opacity: 0.7;
    transform: scale(1.1);
    transition: 0.2s;
}

/* warna asli icon */
.social-icons a:first-child i {
    color: #db4437; /* Google */
}

.social-icons a:last-child i {
    color: #0088cc; /* Telegram */
}

.withdraw-box{
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.withdraw-box h2{
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.user-info{
    background: linear-gradient(135deg, #9ca3af, #black);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #e3e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-info p{
    margin: 4px 0;
    font-weight: 500;
}

.withdraw-box .form-group{
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.withdraw-box label{
    margin-bottom: 6px;
    font-size: 14px
}

.withdraw-box button{
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #28a744, #28a744);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.withdraw-box button:hover{
    transform: translateY(-2px);
}

.withdraw-box button:active{
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(255, 59, 48, 0.2);
}

.withdraw-box input[type="text"]{
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.user-info i{
    margin-right: 8px;
    color: #28a745;
    width: 18px;
}

.withdraw-box h2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.withdraw-box h2 i{
    color: #28a745;
}

.success-box{
    max-width:450px;
    margin:60px auto;
    background:#fff;
    padding:25px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,.1);
}

.success-icon{
    font-size:70px;
    color:#28a745;
    margin-bottom:15px;
}

.success-box h2{
    margin-bottom:10px;
}

.success-box p{
    color:#666;
    line-height:1.6;
}

.success-box a{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    background:#28a745;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
}

.withdraw-alert{
    background:#ffebee;
    color:#c62828;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
    text-align:center;
    font-weight:600;
}

.withdraw-note{
    display:block;
    margin-top:6px;
    font-size:12px;
    color:#999;
}

.provider-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px;
}

.provider-item{
    position: relative;
    height: 145px; /* sebelumnya 110px */
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-item img,
.provider-item video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tag{
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    color: white;
    border-bottom-left-radius: 12px;
}

.hot{
    background: #ffb300;
}

.new{
    background: red;
}

.promo-container{
    padding: 16px;
    padding-bottom: 95px;
}

.promo-card{
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

/* Banner */
.promo-banner{
    width: 100%;
    height: auto;
    display: block;
}

/* Header baca selengkapnya */
.promo-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
}

.promo-header i{
    font-size: 14px;
}

/* Isi promo */
.promo-content{
    display: none;
    padding: 0 18px 18px;
    color: #e8e8e8;
    font-size: 12px;
    line-height: 2;
    font-weight: 600;
}

.promo-content.active{
    display: block;
}

.promo-content ol{
    margin: 0;
    padding-left: 22px;
}

.promo-content li{
    margin-bottom: 6px;
}

/* Warna kuning */
.highlight{
    color: #ffc400;
    font-weight: 800;
}

/* Hilangkan efek klik */
*{
    -webkit-tap-highlight-color: transparent;
}

a,
button,
.promo-header,
.promo-card{
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus{
    outline: none;
}

/* LIST GAME */
.games-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    padding-bottom: 90px;
}

.game-card{
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
}

.game-card img{
    width: 100%;
    border-radius: 12px;
    display: block;
}

.game-card h5{
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

/* Biar HP tetap rapi */
@media(max-width:768px){
    .games-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-card h5{
        font-size: 11px;
    }
}
