: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: #131313;
    --text-first: #ffffff;
    --text-first1: #ffffff;
    --text-second: #0a0a0a;
    --text-tiga: rgb(255, 255, 255);
    --rtpicon-color: #008cff;
    --first-color: #020f3b;
    --second-color: #ffffff;
    --third-color: #002faf;
    --fourth-color: #002da8;
    --fifth-color: #003cff;
    --g1: #002faf;
    --g2: #003cff;
    --g3: #000000;
    --g5: #ffffff;
 }





body {
    background: var(--bg-color);
    color: var(--text-first);
}

.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 10pxrem;
    max-width: 600px;
}

.rtp-card {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--fifth-color) 100%);
    padding: 0.8rem;
    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;
    opacity: 0;                      /* TAMBAHKAN INI */
    visibility: hidden;              /* TAMBAHKAN INI */
    transition: all 0.3s ease;       /* TAMBAHKAN INI */
    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-first);
}

.place-img-rtp:hover .btn-play {   /* TAMBAHKAN RULE INI */
  opacity: 1;
  visibility: visible;
}

.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;
    margin-bottom: 0 !important;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--rtpicon-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;
    z-index: 2;
    height: 2.9rem;
    left: 0.4rem;
}

.top-game {
    background: url('https://imagestaticcontent.com/default/rtp-img/top.gif');
}

.hot-game {
    background: url('https://imagestaticcontent.com/default/rtp-img/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-img {
    width: 100rem;
    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);
}

.running-text {
    background: var(--g1);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-first1);
    padding: 0.1rem;
}

.icon-prov {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible !important;
}

.icon-prov p {
    margin: 0 !important;
}

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    .icon-prov {
        justify-content: space-between !important;
    }
}

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

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: var( --g5);
    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(0deg, var(--g1) 0%, var(--g2) 100%);
    padding: 0.6rem;
    color: var(--text-second);
    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 var(--second-color);
}

.item-nav-bottom {
    background: linear-gradient(0deg, var(--g2) 0%, var(--first-color) 100%);
    color: var(--text-second);
    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(--g2) 100%);
    cursor: pointer;
}

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

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

/* 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-color: #ffa407;
}

.great{
    background-color: #00c22d;
}

.bad{
    background-color: #c11526;
}

.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;
    }
}
.content-home {
    color: rgb(211, 209, 209);
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    background-color: black;
    padding: 10px;
    margin-top: 15px;
    border: 2px solid #0066ffcb;
    border-radius: 15px;
    box-shadow: 0 0 6px 2px #042c99;
  }

  .content-home a {
    color: rgb(0, 81, 255);
    text-decoration: none;
  }

  .content-home h2,h3 {
    color: rgb(0, 81, 255);
}
   .content-home p, ol,ul {
    text-align: justify;
   }

.table-header-style {
        background-color: #ffffff;
        text-align: center;
        border: 1px;
        border-style: solid;
        border-color: #333;
        background: linear-gradient(195deg, #013dc0 11%, #0053ee 21%, #001d7e 33%, #051149 30%, #062fa1 60%, #0529ca 73%, #f7f7f7 85%, #f7f7f7 100%);
        background-size: 400% 400%;
        animation: gradient 5s ease infinite;
        box-shadow: inset 0 0 5px 3px #004e00, inset 0 2px 0 0 #fff, inset 0 0 0 2px #2e3adf, 3px 3px 3px 1px rgba(0, 0, 0, .2);
        border: 1px solid #0051ff !important;
        color: #FFFFFF;
        display: flex !important;
        justify-content: center !important;  
        align-items: center !important;  
        text-transform: uppercase; 
        font-weight: bold;
}
.table-row-style{
        text-transform: uppercase; 
        font-size: 14px;
}

.logo {
    width: auto;
    margin: 10px;

}
footer{
    margin-top: 15px;
}

/* Dropdown Provider */
.provider-dropdown {
  position: relative;
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.provider-btn {
  appearance: none;
  border: 1px solid #d0d7de;
  background: #fff;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.provider-btn:focus {
  outline: 2px solid #0969da;
  outline-offset: 2px;
}

.caret {
  font-size: 12px;
  opacity: 0.8;
  margin-left: auto;
}

.provider-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: none;            /* default tertutup */
  z-index: 999;
}

.provider-menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

.provider-menu a:hover,
.provider-menu a:focus {
  background: #f6f8fa;
  outline: none;
}

/* Dibuka lewat JS */
.provider-dropdown.is-open .provider-menu {
  display: block;
}
