: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: #fafafa;
    --text-second: #000000;
    --first-color: #4d5157;
    --second-color: #838c96;
    --third-color: #a1a6ac;
    --fourth-color: #4d586d;
    --fifth-color: #aebedb;
    --g1: #29313A;
    --g2: #656c72;
 }

body {
    background: var(--bg-color);
    color: var(--text-first);
}

.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, #421212 0%, #710303 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 #8a9cce inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

@keyframes btnPlayGradient {
    0%   { background-position:   0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position:   0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-play { animation: none !important; }
}

.btn-play {
    border-radius: 5px;
    padding: 0.3rem;
    width: 100%;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: capitalize;
    border: 2px solid var(--first-color);
    background: linear-gradient(135deg, #c2cacf, #716d6d, #cecaca);
    background-size: 250% 250%;
    background-position: 0% 50%;
    animation: btnPlayGradient 6s ease-in-out infinite;
    color: var(--text-first);
    margin-top: 10px;
    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.35),
        inset -1px -1px 1px rgba(3, 31, 122, 0.25),
        0 3px 10px rgba(0, 89, 255, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
    will-change: background-position, transform;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;    
}

.btn-play:hover {
    animation-duration: 3.5s;
    background-position: 100% 50%;
    box-shadow:
        inset 0 1px 2px rgba(0, 89, 255, 0.45),
        inset -2px -2px 3px rgba(0, 17, 255, 0.35),
        0 5px 14px rgba(172, 205, 255, 0.35);
    transform: translateY(-1px);
}

.btn-play:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

@media (hover: none) {
    .btn-play { animation-duration: 7s; } /* sedikit lebih tenang di mobile */
}

.pola-wrapper {
    background: var(--text-second);
    padding: 0.9rem;
    width: 100%;
    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: #fff22b;
}

.jam-wrapper {
    background: #131313;
    border-radius: 50%;
    padding: 0.6rem;
}

.table-pola {
    max-width: 100%;
    width: 100%;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.6rem;
}

.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('../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: 100%;
    max-width: 100%;
}

.slider-img {
    width: 70%;
    max-width: 70%;
    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: #cd0d0d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: #ffffff;
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, #591e1e 0%, #330707 100%);
    display: flex;
    position: relative;
    overflow: auto !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: #fff;
    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;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

@media (prefers-reduced-motion: reduce) {
  .btn-credit, .btn-1credit { animation: none !important; }
}

.btn-credit {
    background: linear-gradient(145deg,#d4af37 0%,#a59017 30%,#f5d76e 50%,#9b8923 70%,#d4af37 100% );
    background-size: 200% 200%;
    background-position: 0% 50%;
    padding: 0.7rem 1.6rem;
    color: #2c2c2c;
    border: 1px solid #aaa;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.6),
                inset -1px -1px 1px rgba(0,0,0,0.3),
                0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    will-change: background-position, transform;
}

.btn-credit:hover {
    background-position: 100% 50%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8),
                inset -2px -2px 4px rgba(0,0,0,0.4),
                0 6px 15px rgba(0,0,0,0.35);
}

.btn-credit:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.btn-1credit {
    background: linear-gradient(145deg,#821313 0%,#b02727 30%,#791010 50%,#8e0f0f 70%,#d43737 100% );
    background-size: 220% 220%;
    background-position: 0% 50%;
    padding: 0.8rem 1.8rem;
    color: #f0f0f0;
    border: 1px solid #267fb5;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.6),
                inset -2px -2px 4px rgba(0,0,0,0.25),
                0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    will-change: background-position, transform;
}

.btn-1credit:hover {
    background-position: 100% 50%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8),
                0 6px 18px rgba(55,162,212,0.6);
}

.btn-1credit:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

@media (hover: none) {
    .btn-credit,
    .btn-1credit {
      animation: gradientMove 6s ease-in-out infinite;
    }
  }

@media (max-width: 360px) {
  .btn-credit, .btn-1credit {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,0.55),
      inset -1px -1px 1px rgba(0,0,0,0.28),
      0 3px 8px rgba(0,0,0,0.22);
  }
}  

.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, #8a0000 0%, #000 100%);
    color: #fee;
    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;
}

.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: #bddbf8;
    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: 11px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: black;
}

.percent-bar{
    background-image: linear-gradient(45deg,rgba(55, 0, 255, 0.15) 25%,transparent 25%,transparent 50%,rgba(17, 0, 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 .6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
}

.good{
    background-color: #ffbd07;
}

.great{
    background-color: #28a745;
}

.bad{
    background-color: #dc3545;
}

.content-home {
    padding: 2rem;
    margin-bottom: 4rem;
    background: #7e0000;
    color: #fff9f9;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}