/* ==========================================================
   GLOBAL RESET & STYLING (MERAH-HITAM BERINGAS)
   ========================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: rubik, sans-serif, sans-serif;
  color: #a3a3a3;
  background: radial-gradient(circle at center, #2b0000 0%, #050505 70%, #000000 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  color: #f1f1f1 !important;
}

header {
  background-color: #2a2a2a;
  box-shadow: 0 0 9px 2px hsl(0deg 0% 4% / 48%);
}

header .header-wrapper {
  margin: 0 auto;
  max-width: 960px;
}

header .header-wrapper .logo {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 10px 0;
}

nav {
  background-color: #222;
  border-bottom: 5px solid #ffd700;
}

nav .menu {
  position: relative;
}

nav .menu ul {
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
}

nav .menu ul li {
  color: #fff;
  display: inline-block;
}

nav .menu ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
}

nav .menu ul li a:hover {
  background-color: #ffd700;
  color: #000;
}

a {
  color: #ffd700;
}

a:hover {
  text-decoration: none;
  color: white;
}

.container {
  width: 100%;
  margin: 72px auto 0 auto;
  max-width: 960px;
  text-align: center;
  padding: 20px;
  background: rgba(8, 8, 8, 0.95);
  border-radius: 12px;
  border: 2px solid #ff0000;
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.4), inset 0 0 20px rgba(255, 0, 0, 0.1);
}

img {
  vertical-align: middle;
  border-style: none;
}

.title {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.title h2 {
  margin: 0;
  padding: 0;
}

.title-text {
  color: white;
  font-size: 2.5rem;
}

h1 {
  font-size: 2.0em;
  margin-top: 25px;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.1em;
  font-weight: 600;
}

h4 {
  font-size: 1em;
}

.time {
  font-size: 16px;
  text-align: center;
  color: #b9b9b9;
  margin-bottom: 25px;
}

/* ==========================================================
   SLOT & SIDEBAR STYLING
   ========================================================== */
.slot {
  display: block;
}

.slot .slot-sidebar {
  padding-right: 0 !important;
  padding-left: 0;
  margin-top: -15px;
  background-color: black;
  float: none !important;
  width: 100% !important; 
  flex: none !important;
  max-width: 100% !important;
}

button:hover,
button:focus {
  outline: none;
}

.btn-provider:hover {
  background-color: #398489;
}

.slot-sidebar-nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.slot-sidebar-nav>li {
  width: 100%;
  position: relative;
  display: block;
  border-bottom: none;
  padding: 6px;
  background: #90cace;
}

.slot-sidebar-nav>li>a {
  color: #fff;
  font-size: 13px;
  padding: 7px 10px;
  display: block;
  background-color: #276165;
}

.btn-provider {
  text-align: center;
  display: block;
}

.enter {
  display: none;
}

.btn-provider span {
  position: unset;
}

.active {
  background-color: #ffd700 !important;
  color: #000 !important;
}

.slot .content {
  float: none;
  width: 100%;
  padding: 0;
  flex: 0 0 100%;
  max-width: 100%;
  background-color: #190E2C;
  margin: 5px auto;
}

/* ==========================================================
   CARDS & GRID GAMES
   ========================================================== */
.wrapper {
  width: 100%;
  padding: 5px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.card {
  float: left;
  width: 20%;
  background: #111111 !important;
  border: 2px solid #330000 !important;
  text-align: center;
  position: relative;
  margin: 5px 0;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.card:hover {
  border-color: #ff0000 !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
  transform: translateY(-3px);
}

.card-content {
  border-radius: 10px;
  margin: 5px;
  color: #ffffff;
  border: none;
  overflow: hidden;
  position: relative;
  background-color: #d4d4d4;
  box-shadow: rgba(50, 50, 93, .25) 0 6px 12px -2px, rgba(0, 0, 0, .3) 0 3px 7px -3px;
}

.percent {
  height: 27px;
  display: flex;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #acacac;
  position: relative;
  z-index: 1;
  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: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: width 0.6s ease;
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
  z-index: 10;
}

.yellow {
  background-color: #ffd044;
}

.green {
  background-color: #04c431;
}

.red {
  background-color: #ff3e52;
}

.hover-btn {
  position: absolute;
  opacity: 0;
  background-color: rgba(107, 107, 107, 0.8);
  transition: all 0.1s ease-in-out;
  z-index: 10;
  width: 100%;
  height: 51%;
}

.hover-btn:hover {
  opacity: 100%;
}

.maintenance {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  margin: -6px;
}

.maintenance p {
  position: relative;
  top: 40%;
  font-size: 13px;
}

.play-btn {
  font-size: 15px;
  text-decoration: none;
  color: #000;
  text-align: center;
  align-items: center;
  padding: 8px;
  display: block;
  margin: 42% 30px;
  background-image: linear-gradient(90deg,#ff2f2f,#a10000);
  font-weight: bolder;
  border-radius: 18px;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background: #ffb100;
  color: #000;
}

.img-zoom {
  transition: all 0.45s ease-in-out;
  margin: 7px !important;
}

.ygg-img {
  border: 5px solid #2f2f2f;
}

.short {
  display: none;
}

.next-btn {
  background: #90cace;
  width: 15%;
  border: none;
  color: #fff;
}

.mySlides {
  display: none;
}

.progress {
  height: fit-content;
}

.pola {
  width: 100%;
}

.jam {
  margin-bottom: 7px;
  padding: 8px;
  color: #000;
  font-weight: bold;
}

.jam h5 {
  font-size: 1.3em;
  font-weight: bold;
}

.jamBg {
  width: 100%;
  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;
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
  background-size: 1rem 1rem;
}

.text-small {
  font-size: 8pt;
}

.text-dark {
  color: #262626;
}

.text-bold {
  font-weight: bold;
}

.m-1 {
  margin: 0px;
}

.link-container {
  display: flex;
  justify-content: center;
  font-size: var(--x-large-font);
  padding: 0;
  width: 100%;
}

.link-container a {
  width: 50%;
  text-align: center;
  padding: 15px 20px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================
   EXTRA UI (MARQUEE, TOMBOL, HEADER)
   ========================================================== */
.thau {
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #020000;
  text-align: center;
  z-index: 99999;
}

.thau img {
  max-width: 250px;
}

marquee {
  width: 100%;
  height: 35px;
  color: #ffffff;
  background: linear-gradient(90deg, #500000, #ff0000, #ff4d4d, #ff0000, #500000);
  font-size: .9rem;
  line-height: 35px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 2px solid #ff9999;
  border-bottom: 2px solid #ff0000;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px #000000;
}

.arrow {
  background-color: #a46200;
  color: #fff;
  border: none;
}

.pal {
  font-weight: 900;
  color: #ff3333;
  background: linear-gradient(135deg, #2b0000, #0a0a0a);
  border: 2px solid #ff0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 2px 2px 3px #000;
  border-radius: 8px;
  padding: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.tombs {
  width: 130px;
  height: 40px;
  border-radius: 6px;
  margin-bottom: 10px;
  color: white;
  font-weight: bolder;
  border: 0;
}

.login {
  background: linear-gradient(135deg, #cc0000, #400000) !important;
  color: #fff !important;
  border: 2px solid #ff1a1a !important;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.daftar {
  background: linear-gradient(135deg, #ffcc00, #b38600) !important;
  color: #000 !important;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.7);
  border: 2px solid #ffff66 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media only screen and (max-width:720px) {
  .box-games-wrapper {
    justify-content: center;
  }
  .box-games-wrapper .box-games {
    width: 33%;
  }
  .box-games .rtp-box .txt {
    font-size: 12px;
  }
  nav .menu ul li {
    display: block;
    text-align: center;
    border-top: 1px solid #000;
  }
  nav .menu ul li a {
    width: 100%;
  }
  .games-name p {
    font-size: 12px;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .slot-sidebar-nav {
    flex-wrap: nowrap;
  }

  .slot-sidebar {
    float: none !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }

  .content {
    float: none !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
  }

  .card {
    width: 33.3% !important;
  }

  .hover-btn {
    display: none;
  }

  .hover-btn:hover~.img-zoom {
    transform: scale(1);
    position: relative;
  }

  .btn-provider {
    text-align: center;
    display: block;
  }

  .enter {
    display: block;
  }

  .btn-provider span {
    position: unset;
  }

  .btn-provider i {
    margin: 0;
  }

  .slot-sidebar-nav li {
    border-bottom: none;
  }

  .slot-sidebar-nav li a p {
    font-size: 5px;
  }

  .img-zoom {
    height: auto;
  }

  .slot-sidebar-nav li a img {
    height: 17.5px !important;
  }

  .maintenance p {
    font-size: 5px;
  }

  .jamgacor>h5 {
    font-size: 1em;
  }

  .pola>p {
    font-size: 0.8em;
  }

  .text-small {
    font-size: 0.8em;
  }
}

@media (max-width: 600px) {
  .pola>p {
    font-size: 1.8vw;
  }

  .jamgacor>h5 {
    font-size: 3.5vw;
  }

  .game-name {
    font-size: 3vw;
  }
}