*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
background:#0b1220;
color:white;
user-select:none;
}

/* HEADER */

header{
position:fixed;
top:0;
width:100%;
background:#0f172a;
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 15px;
z-index:999;
border-bottom:2px solid #0a79f7;
}

.logo{
font-size:22px;
font-weight:bold;
color:#0a79f7;
}

.social{
display:flex;
gap:10px;
}

.social a{
background:#1f2937;
width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
color:white;
font-size:16px;
text-decoration:none;
transition:0.2s;
}

.social a:hover{
background:#0a79f7;
transform:scale(1.1);
}

.social div{
background:#1f2937;
padding:6px 10px;
border-radius:6px;
}

/* MAIN */

.container{
max-width:1400px;
margin:auto;
padding:80px 15px 100px 15px;
}

/* BANNER */

.banner{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
margin-bottom:20px;
}

.banner div{
background:linear-gradient(45deg,#0a79f7,#0d60ce);
padding:20px;
border-radius:10px;
text-align:center;
font-weight:bold;
}

.banner-slider{
position:relative;
width:100%;
height:200px;
overflow:hidden;
border-radius:10px;
margin-bottom:20px;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 0.5s;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
}

.slide.active{
opacity:1;
}

/* tombol */

.prev, .next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
color:white;
border:none;
font-size:20px;
padding:10px;
cursor:pointer;
border-radius:5px;
}

.prev{
left:10px;
}

.next{
right:10px;
}

/* PROVIDER */

.provider{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:center;
  background:#111827;
  padding:10px;
  border-radius:10px;
  margin-bottom:20px;
}

.provider div{
  background:#1f2937;
  padding:8px 15px;
  border-radius:8px;
  font-size:14px;
  cursor:pointer;
}

/* SEARCH */

.search{
margin-bottom:20px;
}

.search input{
width:100%;
padding:12px;
border-radius:8px;
border:none;
background:#1f2937;
color:white;
}

/* GAME GRID */

.game-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
gap:15px;
}

.card{
background:#000000;
border-radius:10px;
overflow:hidden;
border:2px solid #0d60ce;
transition:0.2s;
}

.card:hover{
transform:scale(1.05);
}

.card img{
width:100%;
display:block;
}

/* INFO */

.info{
padding:8px;
font-size:12px;
}

.spin{
display:flex;
justify-content:space-between;
margin-bottom:5px;
}

.green{
color:#00ff59;
}

.red{
color:#ff3b3b;
}

/* RTP BAR */

.rtp{
height:8px;
background:#333;
border-radius:5px;
overflow:hidden;
margin-top:5px;
}

.rtp-bar{
height:100%;
width:80%;
transition:0.3s;
}

.red{
color:#ff3b3b;
}

.yellow{
color:#ffd500;
}

.green{
color:#00ff59;
}

.rtp div{
height:100%;
background:#00ff59;
}

.jam-gacor{
  font-size:13px;
  font-weight:bold;
  color:#00ff88;
  margin-top:3px;
  text-align:center;
}

/* FOOTER */

footer{
position:fixed;
bottom:0;
width:100%;
background:#0f172a;
padding:10px;
display:flex;
gap:10px;
border-top:2px solid #0d60ce;
}

.check{
color:#00ff59;
font-weight:bold;
margin:0 2px;
}

.cross{
color:#ff3b3b;
font-weight:bold;
margin:0 2px;
}

.btn{
flex:1;
padding:12px;
text-align:center;
border-radius:8px;
font-weight:bold;
text-decoration:none;
}

.login{
background:#374151;
color:white;
}

.daftar{
background:#0d60ce;
color:white;
}

.btn-name{
display:flex;
flex:1;
padding:9px;
text-align:center;
justify-content:center;
border-radius:4px;
font-size:14px;
font-weight:bold;
text-decoration:none;
}

.name-provider{
background:#0d60ce;
color:rgb(255, 255, 255);
}

/* RESPONSIVE */

@media(max-width:768px){

.banner{
grid-template-columns:1fr;
}

.game-grid{
grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:480px){

.game-grid{
grid-template-columns:repeat(2,1fr);
}

}