* {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: whitesmoke;
}

/* HAMBURGER */
:root {
  --accent-color: #dd1717;
  --base-color: black;
}

.ard-sosmed {
  position: fixed;
  bottom:70px;
  left: 300px;
  width: 80px;
  height: 80px;
  background: #000;
  box-shadow: 
    0 0 5px rgb(255, 0, 0),
    0 0 10px rgb(255, 0, 0),
    0 0 20px rgb(255, 0, 0),
    0 0 40px rgb(255, 0, 0);
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  z-index: 1000;
}

.hamburger-icon {
  position: relative;
  width: 50px;
  height: 14px;
  margin: auto;
  display: flex;
  align-items: center;
  transform: rotate(0);
  transition: 1s;
  cursor: pointer;
}


.ard-sosmed.open .hamburger-icon {
  transform: rotate(315deg);
} 

.hamburger-icon span {
  position: absolute;
  display: block;
  height: 10px; /* ukuran garis, ngaruh ke turunannya */
  background: linear-gradient(45deg, rgb(255, 0, 0), #000);
  border: 1px solid #4b1414;
  border-radius: 30px;
  box-shadow: 
      0 0 5px #4b1414,
      0 0 10px #4b1414;
  transition: .3s;
/*  transition-delay: 1s; */
}

.hamburger-icon span:nth-child(1) {
  top: -19px;
  left: 0px;
  width: 50%;
  transform: translateY(0);
}

.ard-sosmed.open span:nth-child(1){
  width: 100%;
  transform: translateY(20px);
}

.hamburger-icon span:nth-child(2) {
  width: 100%;
  transform: scaleX(1);
  opacity: 1;
}

.ard-sosmed.open span:nth-child(2){
  transform: scaleX(0);
  opacity: 0;
}

.hamburger-icon span:nth-child(3) {
  bottom: -19px;
  right: 0px;
  width: 50%;
  transform: rotate(0);
}

.ard-sosmed.open span:nth-child(3) {
  width: 100%;
  transform: rotate(90deg);
  bottom: 3px;
}


.ard-sosmed ul {
margin: 0;
padding: 0;
}

.ard-sosmed ul li {
position: absolute;
text-decoration: none;
list-style: none;
transform: translate(-150px, 0px) rotate(360deg);
transition: all .5s ease;
opacity: 0;
}

.ard-sosmed.open ul li {
  opacity: 1;
}
/* HAMBURGER */


/* POSISI ICON */
.ard-sosmed.open ul li:nth-child(1) {
  transform: translateY();
  transition-delay: .20s;
  opacity: 1;
}
.ard-sosmed.open ul li:nth-child(2) {
transform: translate(-18px,-60px);
transition-delay: .12s;
opacity: 1;
}

.ard-sosmed.open ul li:nth-child(3) {
transform: translate(-100px,-60px);
transition-delay: .04s;
opacity: 1;
}

.ard-sosmed.open ul li:nth-child(4) {
  transform: translate(20px, 0px);
  transition-delay: .04s;
  opacity: 1;
}
/* POSISI ICON */

.ard-sosmed ul li a img {
width: 90%;
height: auto;
}

.ard-sosmed ul li a {
display: flex;
width: 50px;
height: 50px;
border: solid 2px var(--accent-color);
border-radius: 10px;
justify-content: center;
align-items: center;
background-color: black;
}

/* AUTO SLIDE */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  /* Ensure the container has a defined size, or consider setting a specific height if needed */
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: auto;
  padding: 14px;
  margin-top: -22px;
  color: var(--accent-color); /* Using the accent color variable you've defined */
  font-weight: bold;
  font-size: 24px; /* Adjust according to your design */
  transition: 0.6s ease;
  z-index: 10; /* Ensure the buttons are above other content */
  user-select: none;
}

.prev {
  left: 20px; /* Adjust for spacing from the left edge */
  border-radius: 3px 0 0 3px; /* Rounded corners for a nicer look */
}

.next {
  right: 20px; /* Adjust for spacing from the right edge */
  border-radius: 0 3px 3px 0; /* Rounded corners for a nicer look */
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8); /* Darker background on hover for better visibility */
  color: white; /* Change text color on hover for better contrast */
}

.slider-container .dot-container {
  position: absolute;
  bottom: -10px;
  width: 100%;
  text-align: center;
  padding-bottom: 20px; /* Adjust the padding to move dots up from the absolute bottom if needed */
}
/* Style adjustments for dots to integrate with the navigation scheme */
.dot {
  cursor : pointer;
  height: 15px;
  width: 15px;
  margin: 0px 8px ;
  background-color: #58065f;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: #13f0a6; /* Keeps your accent color for active/hover states */
}


.slider {
  display: flex;
  transition: transform 0.5s ease-out;
}

.slide {
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.grabbing {
  cursor: grabbing !important;
}

/* AUTO SLIDE */


/*NAVBAR PROVIDER*/
.navbar {
  display: flex;
  box-sizing: border-box;
  background-color: #000000;
  margin: 30px 0;
  padding: 10px 0;
}

.provider {
  display: flex;
  flex-grow: 1;
  overflow: auto;
  justify-content: space-between;
  scroll-behavior: smooth;
  margin-top: 20px;
}

body {
  background: #0a0a0a;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-size: contain;
  background-color: #0A0A0A;
  background-size: 100%;
  color: whitesmoke;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
}
/* HEADER RTP GACOR KANG */
.header {
  background: url() no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.header .headtitle, .header .h2title {
  margin: 0;
}

/* bodywrap provider dan games */
#bodywrapper {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.provider a {
  display: flex;
  min-width: 100px;
  flex-basis: 16.6666666667%;
  flex-direction: column;
  scroll-behavior: smooth;
  margin: 0 10px;
  background-color: #0A0A0A;
}

/*slider ilang*/
.provider::-webkit-scrollbar {
  width: 0;
}

.navbar [type=button] {
  background-color: #1b1b1b;
  border: 0;
  color: white;
  font-weight: bold;
}

/* PERSENAN GAME */
.percent {
  height: 27px;
  display: flex;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #e9ecef;
  /* border-radius: .25rem; */
  position: relative;
  z-index: 1;
  border-radius: 18px;
  width: 90%;
  margin: 0 auto;
}

.percent p {
  z-index: 15;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  transform: translateY(14px);
  color: black;
}

.percent-bar {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: transparent;
  text-align: center;
  white-space: nowrap;

  /* background-color: #007bff; */
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  transition: width 0.6s ease;
  animation: progress-bar-stripes 1s linear infinite;
  background-size: 1rem 1rem;
  /* animation: ; */
  z-index: 10;
}

.green {
  background-color: #28a745;
}

.yellow {
  background-color: rgb(255, 193, 7);
}

.red {
  background-color: red;
}

/* HOVER CARD EFFECTS */
.hovercard {
  position: absolute;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  transition: all 0.1s ease-in-out;
  z-index: 10;
  width: 100%;
  height: 45%;
}

.hovercard:hover {
  opacity: 100%;
}

.maincard {
  font-size: 15px;
  text-decoration: none;
  color: white;
  text-align: center;
  align-items: center;
  margin: 33% 30px;
  color: #fff;
  transition: all 0.3s ease;
}

.maincardm {
  font-size: 12px;
  color: white;
  text-align: center;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease;
  width: 100%;
}

/* TOMBOL DEMO & MAIN PAS HOVER */
.main {
  background: linear-gradient(to bottom, #b44dd3 0%, #303131 88%);
  padding: 8px;
  display: block;
  margin: 5px 0;
  border-radius: 18px;
}

.main1 {
  margin: 42% 30px 42% 30px;
}

.main:hover {
  background: linear-gradient(to top, #aaff95 0%, #29b816 88%);
  color: black;
}

/*       LINK        */
.mainm {
  background-color: #6e1b8a;
  display: none;
  color: #44ED12;
}

.demom {
  background: linear-gradient(#c300ff,#16b882);
  display: none;
  color: #ffffff;
}

.mainm {
  margin: 5px 0;
  padding: 3px 0;
}

.demom {
  padding: 8px;
  margin: 0 11px;
  border-radius: 18px;
}

.wrapslot {
  background-color: #0d0d0d;
}

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }
  to {
    background-position: 0 0;
  }
}

.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

/* BORDER GAME */
.imgslot {
  border-radius: 5px;
}

.card {
  background-color: transparent;
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  position: relative;
  float: left;
  width: 18%;
  margin: 1%;
}

.wrapslot {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* JAM GACOR */
.jam {
  margin: 8px 0;
}

.jamgacor {
  border-radius: 6px 6px 0 0;
  border: 0.1px solid rgb(20, 20, 20);
}

/* POLA GACOR */
.pola {
  border-radius: 0 0 12px 12px;
  border: 0.1px solid black;
}

.pola.jamBg {
  height: 100px;
  line-height: 1;
}

.slot h1, .slot h2, .slot h3, .slot h4, .slot h5, .slot h6 {
  margin: 0.5rem;
}

.pola1, .pola2, .pola3, .pola4{
  margin-bottom: 8px;
  display: flex;
  margin-left: 5px;
  font-size: 14px !important;
}


/* MEDIA ADJUSTMENT */

@media (max-width: 1200px) {
  .ard-sosmed{
    left: 30px;
  }
}

@media (max-width: 700px) {
  .card {
    width: 30%;
  }

  .jam {
    margin: 40px 6% 0 6%;
    width: 88%;
    word-wrap: wrap;
    font-size: 12px;
  }

  .jamgacor {
    position: relative;
    top: -25px;
    clear: left;
  }

  .pola.jamBg {
    height: 85px;
    position: relative;
    top: -25px;
  }

  .hovercard {
    display: none;
  }
  .main {
    display: none;
  }
  .mainm {
    opacity: 0.8;
    font-weight: bold;
  }
  .mainm, .demom {
    display: block;
    float: left;
    position: relative;
    width: 100%;
    top: -29px;
  }
  .demom {
    margin: 0 6%;
    width: 88%;
  }
  .percent {
    margin-top: -20px;
  }

  /*HAMBURGER*/
  @media (max-width: 768px) {
    .ard-sosmed {
      bottom: 20px;
      left: 30px;
      width: 50px;
      height: 50px;
    }

    .hamburger-icon {
      width: 30px;
      height: 10px;
    }

    .hamburger-icon span {
      height: 6px;
    }

    .hamburger-icon span:nth-child(1) {
      top: -8px;
    }

    .ard-sosmed.open span:nth-child(1){
      transform: translateY(9px);
    }

    .hamburger-icon span:nth-child(3) {
      bottom: -8px;
    }

    .ard-sosmed.open ul li:nth-child(1) {
    transform: translate(-50px, -255px);
    }

    .ard-sosmed.open ul li:nth-child(2) {
    transform: translate(-50px, -75px);
    }
    
    .ard-sosmed.open ul li:nth-child(3) {
    transform: translate(-50px,-135px);
    }
    
    .ard-sosmed.open ul li:nth-child(4) {
      transform: translate(-50px, -198px);
    }

    .dynamic-text-size {
      font-size: 9px;
    }
  }

  
}