:root {
  --smaller-font: 0.7rem;
  --small-font: 0.87rem;
  --normal-font: 1rem;
  --medium-font: 1.1rem;
  --large-font: 1.7rem;
  --x-large-font: 2rem;
  --bg-color: #0d0d0d;
  --text-first: #ffffff;
  --text-second: #0a0a0a;
  --on-primary: #000000;
  --first-color: #ffd900;
  --second-color: #ffe94d;
  --second-color-dark: #e6c200;
  --third-color: #f0b800;
  --fourth-color: #a37c00;
  --fifth-color: #fffbe0;
  --first-color-rgb: 255, 217, 0;
  --g1: var(--first-color);
  --g2: var(--second-color);
}

body {
  background:  #000000;
  color: var(--text-first);
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position-x: center !important;
  background-position-y: center !important;
}

.logo img {
  width: 19rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.register-button,
.login-button {
  text-align: center;
  padding: 15px 20px;
  text-transform: uppercase;
  color: var(--on-primary);
  text-decoration: none;
  font-weight: bold;
  transition: all .4s;
  border-radius: 5px;
  margin-bottom: 10px;
  display: block;
  width: 100%;
}

.register-button {
  background: linear-gradient(var(--first-color), var(--third-color));
  animation: blinking .7s infinite;
}

.login-button {
  background: linear-gradient(var(--second-color), var(--second-color-dark));
  animation: blinkings .7s infinite;
}

@keyframes blinking{
  0%{border:2px solid var(--first-color)}
  100%{border:2px solid #ffffff}
}

@keyframes blinkings{
  0%{border:2px solid #ffffff}
  100%{border:2px solid #000000}
}

.slot {
  display: block;
}

.slot .slot-sidebar {
  padding-right: 10px;
  padding-left: 0;
  margin-top: 5px;
  float: none !important;
  width: 100% !important;
  flex: none !important;
  max-width: 100% !important;
  padding-right: 0 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-provider:hover {
  border: 1px solid #fff;
  background-color: #000000;
}

.slot-sidebar-nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--first-color) transparent;
}

.slot-sidebar-nav::-webkit-scrollbar {
  height: 6px;
}

.slot-sidebar-nav::-webkit-scrollbar-thumb {
  background-color: var(--first-color);
  border-radius: 3px;
}

.slot-sidebar-nav>li {
  border-bottom: 1px solid var(--second-color);
  width: auto;
  flex: 0 0 auto;
  position: relative;
  display: block;
  border-bottom: none;
  padding: 6px 14px;
  background: linear-gradient(to bottom, var(--third-color) 0%, var(--first-color) 88%);
}

@media (max-width: 767px) {
  .slot-sidebar-nav>li {
    padding: 4px 10px;
    flex: 0 0 33.3333%;
    width: 33.3333%;
    box-sizing: border-box;
  }
}

.modal-content {
  background-color: #000000;
  color: #fff;
  font-weight: bold;
  border: 1px solid #fff;
}

.slot-sidebar-nav>li>a {
  color: #fff;
  font-size: 13px;
  padding: 7px 10px;
  display: block;
  background-color: black;
}

.btn-provider {
  text-align: center;
  display: block;
}

.enter {
  display: none;
}

.btn-provider span {
  position: unset;
}

.active {
  background: linear-gradient(to bottom, var(--first-color) 0%, var(--third-color) 88%);
}

.slot-sidebar-nav .btn-provider.active {
  background-color: var(--second-color);
  border: 1px solid #fff;
  box-shadow: 0 0 6px 1px var(--second-color);
}

.next-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to bottom, var(--third-color) 0%, var(--first-color) 88%);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
}

.next-btn:hover {
  background: linear-gradient(to bottom, var(--first-color) 0%, var(--third-color) 88%);
}

.next-btn:active {
  transform: scale(0.95);
}

@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;
  }
  .next-btn {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .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: 36px !important;
  }
  .maintenance p {
    font-size: 5px;
  }
}

.rtp-card {
  background: linear-gradient(0deg, var(--third-color) 0%, var(--first-color) 100%);
  padding: 0.7rem;
  text-align: center;
  width: 24rem;
  max-width: 100%;
  align-self: start;
  border-radius: 5px;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.rtp-card-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.place-img-rtp {
  width: 100%;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-items: center;
  border-radius: 5px;
  box-shadow: 1px 0px 4px 2px #131313 inset;
}

.place-img-rtp:hover {
  cursor: pointer;
}

.btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: none;
  border-radius: 5px;
  padding: 0.3rem;
  width: 12rem;
  font-size: 0.6rem;
  font-weight: bold;
  text-transform: capitalize;
  max-width: 70%;
  border: 2px solid #000000;
  background: linear-gradient(0deg, var(--first-color) 0%, var(--third-color) 100%);
  color: var(--on-primary);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translate(-50%, -40%);
}

.place-img-rtp:hover .btn-play {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  animation: pulseButton 1.5s infinite;
}

.place-img-rtp:hover .rtp-card-img {
  filter: brightness(0.5);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--first-color-rgb), 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.btn-play:hover {
  background: linear-gradient(0deg, var(--second-color) 0%, var(--third-color) 100%);
}

.pola-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  margin-bottom: 0.3rem;
  gap: 0.3rem;
}

.pola-title-row h4 {
  font-size: 0.65rem;
  font-size: clamp(0.65rem, 5.8cqw, 1.05rem);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pola-title-row .icon-providers {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pola-title-row .icon-providers img {
  width: 1.25rem;
  width: clamp(1.25rem, 11.5cqw, 2.1rem);
  height: auto;
  display: block;
}

.pola-wrapper {
  background: var(--text-second);
  padding: 0.6rem 0.7rem;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  position: relative;
  container-type: inline-size;
}

.pola-wrapper hr {
  margin: 0.4rem 0;
}

.pola-wrapper h5 {
  font-size: 0.6rem;
  font-size: clamp(0.6rem, 5cqw, 0.95rem);
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
  color: #000000;
}

.jam-wrapper {
  background: #131313;
  border-radius: 50%;
  padding: 0.6rem;
}

.table-pola {
  max-width: 100%;
  width: 100%;
  table-layout: fixed;
}

.table-pola tr td {
  text-align: center;
  font-size: 0.6rem;
  font-size: clamp(0.6rem, 5cqw, 0.95rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.15rem 0.1rem;
}

.table-pola tr td:first-child {
  text-align: left;
  width: 40%;
}

@media (min-width: 992px) {
  .percent {
    height: 24px;
  }

  .percent p {
    font-size: 16px;
  }
}

.top-game, .hot-game {
  background-repeat: no-repeat !important;
  position: absolute;
  width: 3rem;
  top: 0rem;
  height: 2.9rem;
  left: 0.4rem;
  z-index: 2;
}

.top-game {
  background: url('../img/top.gif');
}

.hot-game {
  background: url('../img/hot.gif');
}

.icon-providers img {
  width: 1.7rem;
}

.slider, .swiper {
  width: 100%;
  max-width: 100%;
}

.slider-img {
  width: 100%;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slider-wrapper {
  background: linear-gradient(0deg, var(--text-second) 0%, var(--text-second) 100%);
  height: 100%;
}

.bg-theme {
  background: var(--bg-color);
  padding: 0.5rem;
}

.running-text {
  background: #000000;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text-first);
  padding: .2rem .8rem .5rem;
  border-radius: 5px 5px 0 0;
}

.running-text marquee {
  line-height: 1;
  font-weight: bold;
}

.icon-prov {
  background: linear-gradient(0deg, var(--third-color) 0%, var(--first-color) 100%);
  display: flex;
  justify-content: center;
  position: relative;
  overflow: auto !important;
}

.icon-card-bg {
  cursor: pointer;
  padding: 0.1rem !important;
  color: var(--on-primary);
}

.icon-card-bg p {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--on-primary);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.img-prov {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.item-prov {
  padding: 0 0.5rem;
}

.btn-credit {
  background: linear-gradient(to right top, #ffffff, #000000, var(--second-color), var(--first-color), #ffffff);
  box-shadow: 0px 0px 0px 1px #000000, inset 0px 2px 0px 0px #000000, inset 0px 0px 0px 2px #000000, 3px 3px 3px 1px rgb(0 0 0 / 20%);
  padding: 0.6rem;
  color: var(--text-first);
  border: none;
  font-weight: bold;
  border-right: 1px solid #000000;
}

.btn-credit:hover {
  background: linear-gradient(0deg, var(--third-color) 0%, var(--first-color) 100%);
}

.nav-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 11;
  overflow: hidden;
  width: 100%;
  border-top: 3px solid var(--third-color);
}

.item-nav-bottom {
  background: linear-gradient(0deg, var(--third-color) 0%, var(--first-color) 100%);
  color: var(--on-primary);
  font-weight: bold;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.3rem;
}

.item-nav-bottom:hover {
  background: linear-gradient(0deg, var(--first-color) 0%, var(--second-color) 100%);
  cursor: pointer;
}

.item-nav-bottom p {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.btn-up {
  display: none;
  position: fixed;
  bottom: 3.8rem;
  right: 0;
  z-index: 99;
  font-size: 0.9rem;
}

.btn-up.btn-danger,
.btn-up.btn-danger:hover,
.btn-up.btn-danger:focus {
  background-color: var(--first-color);
  border-color: var(--third-color);
  color: var(--on-primary);
}

.game-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--fourth-color) 0%, var(--third-color) 100%);
  color: var(--on-primary);
  font-size: 0.7rem;
  font-weight: bold;
  text-align: center;
}

.game-img-placeholder::after {
  content: "Gambar tidak tersedia";
  padding: 0.3rem;
}

.percent{
  height: 19px;
  margin-top: 10px !important;
  display: flex;
  overflow: hidden;
  font-size: .75rem;
  background-color: #e9ecef;
  position: relative;
  z-index: 1;
  border-radius: 5px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.percent p{
  z-index: 15;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 13px;
  top: -15px;
  font-weight: bold;
  transform: translateY(14px);
  color: black;
}

.percent-bar{
  background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.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 .6s ease;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
  z-index: 10;
}

.good{
  background-color: #ffe600;
}

.great{
  background-color: #28a745;
}

.bad{
  background-color: #dc3545;
}

.content-home {
  padding: 1rem;
  margin-bottom: 4rem;
  background: var(--text-first);
  color: var(--text-second);
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
  width: 100% !important;
  max-width: 1100px !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}