: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: #141421;
    --text-first: #fafafa;
    --text-second: #141421;

    --first-color: #f9d22a; /* Gold */
    --second-color: #e8b81d; /* Darker Gold */
    --third-color: #d59f14; /* Even Darker Gold */
    --fourth-color: #c68e0f; /* Slightly Lighter Dark Gold */
    --fifth-color: #b67a09; /* Lighter Gold */
    --g1: #fafafa; /* Light Gold / off-white */
    --g2: #e8b81d; /* Darker Gold */
 }

.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.9rem;
    margin-bottom: 1rem;
}

.rtp-card {
    background: linear-gradient(0deg, #1b1b2d 0%, #3e3e6b 100%);
    padding: 0.7rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    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%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    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 var(--first-color);
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    color: var(--text-second);
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.pola-wrapper {
    background: var(--text-second);
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
}

.pola-wrapper h4 {
    font-size: 0.9rem;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--first-color);
}

.jam-wrapper {
    background: #131313;
    border-radius: 50%;
    padding: 0.6rem;
}

.table-pola {
    max-width: 100%;
    width: 9rem;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.7rem;
}

.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('../images/top.gif');
}

.hot-game {
    background: url('../images/hot.gif');
}

.icon-providers {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 2rem;
    top: 0.5rem;
    right: 0.5rem;
}

.icon-providers img {
    width: 1.7rem;
}

.slider, .swiper {
    width: 50rem;
    max-width: 100%;
}

.slider {
    padding: 1rem;
}

.slider-img {
    width: 40rem;
    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%;
    border-bottom: 1px dashed var(--first-color);
}

.bg-theme {
    background: var(--bg-color);
    padding: 0.5rem;
}

.running-text {
    background: linear-gradient(to right top, #1b1b2d, #2c2c49, #1b1b2d, #2c2c49, #1b1b2d);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: #ffffff;
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, #1f1f35 0%, #1f1f35 100%);
    display: flex;
    position: relative;
    overflow: auto !important;
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.1rem !important;
    color: var(--text-first);
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-second);
    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, #1b1b2d, #2c2c49, #1b1b2d, #2c2c49, #1b1b2d);
    box-shadow: 0px 0px 0px 1px #1b1b2d, inset 0px 2px 0px 0px #2c2c49, inset 0px 0px 0px 2px #1b1b2d, 3px 3px 3px 1px rgb(0 0 0 / 20%);
    padding: 0.6rem;
    color: #ffffff;
    border: none;
    font-weight: bold;
    border-right: 1px solid var(--first-color);
}

.btn-credit:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid #1b1b2d;
}

.item-nav-bottom {
    background: linear-gradient(0deg, #1b1b2d 0%, #1b1b2d 100%);
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem;
}

.item-nav-bottom:hover {
    background: linear-gradient(0deg, #000000 0%, #000000 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;
}

/* Percentage */
.percent{
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    /* border-radius: .25rem; */
    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-color: #ffc107; */
    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;
    /* background-color: #007bff; */
    transition: width .6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    /* animation: ; */
    z-index: 10;
}

.good{
    background: linear-gradient(to right top, #ffc107, #ffb300, #ff9e00, #e68900, #d47800);
}

.great{
    background: linear-gradient(to right top, #28a745, #1e8e34, #2a7e32, #3b9a42, #557c46);
}

.bad{
    background: linear-gradient(to right top, #dc3545, #c42e3c, #9a2432, #7f1e2a, #631823);

}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--text-first);
    color: var(--text-second);
}

/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}

    /* Styling tombol ngambang */
    .floating-btn {
        position: fixed;
        bottom: 60px;
        left: 20px;
        background: linear-gradient(0deg, #1b1b2d 0%, #3e3e6b 100%);
        color: white;
        padding: 10px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        text-align: center;
        z-index: 1000; /* Menjaga tombol tetap di atas */
      }
  
      .floating-btn:hover {
        background: linear-gradient(0deg, #3e3e6b 0%, #1b1b2d 100%);
      }
  
      /* Menu yang disembunyikan */
      .floating-menu {
        display: none;
        position: fixed;
        bottom: 120px;
        left: 20px;
        background: linear-gradient(0deg, #1b1b2d 0%, #3e3e6b 100%);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 10px;
        border-radius: 8px;
        width: 200px;
        z-index: 999; /* Agar menu tidak tertutup tombol */
      }
  
      .floating-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
  
      .floating-menu ul li {
        margin: 8px 0;
      }
  
      .floating-menu ul li a {
        text-decoration: none;
        color: #ffd500;
      }
  
      .floating-menu ul li a:hover {
        text-decoration: underline;
      }
  
      /* Responsif untuk perangkat mobile */
      @media (max-width: 768px) {
        .floating-btn {
          bottom: 50px; /* Posisi tombol lebih tinggi di perangkat kecil */
          left: 10px;   /* Mengurangi jarak kiri */
          font-size: 14px; /* Ukuran font lebih kecil */
          padding: 8px 16px;
        }
  
        .floating-menu {
          width: 150px; /* Lebar menu lebih kecil di perangkat mobile */
          bottom: 85px; /* Mengatur posisi menu agar tidak terlalu dekat dengan tombol */
        }
      }
  
      @media (max-width: 480px) {
        .floating-btn {
          font-size: 12px; /* Ukuran font lebih kecil di layar sangat kecil */
          padding: 6px 12px;
        }
  
        .floating-menu {
          width: 130px; /* Lebar menu lebih kecil lagi */
        }
      }
