: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: #0a0a0a;
    
    --first-color: #0bffea;
    --second-color: #2d4cfa;
    --third-color: #00c6e9;
    --fourth-color: #e9be00;
    --fifth-color: #2d4cfa;
    --g1: #2d4cfa;
    --g2: #00c6e9;
 }

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, #ffd700 0%, #b8860b 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 #0a0800 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, #3d2c00 0%, #8a6500 100%);
    color: var(--text-first);
}

.btn-play:hover {
    background: linear-gradient(0deg, #ffd700 0%, #684c00 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: #0a0800;
    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('b3523c6cff4e3ad2aeec8e9c65afe27a/download.gif');
}

.hot-game {
    background: url('b3523c6cff4e3ad2aeec8e9c65afe27a/download.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;
}


.running-text {
    background: linear-gradient(0deg, #ffd700 0%, #8a6500 100%);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, #ffd700 0%, #a87c2d 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: 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(0deg, #fff8dc 0%, #ffd700 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,  #ffd700 0%, #a87c2d 100%);
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid #8a6500;
}

.item-nav-bottom {
    background: linear-gradient(0deg, #473400 0%, #d4a017 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, #ffd700 0%, #8a6500 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: #0a0800;
}

.percent-bar{
/* background-color: #ffc107; */
background-image: linear-gradient(45deg,rgba(255,215,0,.15) 25%,transparent 25%,transparent 50%,rgba(255,215,0,.15) 50%,rgba(255,215,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: #fff8dc;
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: #ffd700;
}

.great{
background-color: #d4a017;
}

.bad{
background-color: #8a6500;
}


.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;
    }
}
/* =========================================
   PETIR ZIG-ZAG KUNING PUTIH
   ========================================= */

.lightning {
    position: fixed;
    top: -8%;
    width: 55px;
    height: 70vh;

    pointer-events: none;
    z-index: 99999;

    opacity: 0;

    transform-origin: top center;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.15) 15%,
        #ffd700 30%,
        #fff6a8 42%,
        #ffffff 50%,
        #fff6a8 58%,
        #ffd700 70%,
        rgba(255, 190, 0, 0.15) 85%,
        transparent 100%
    );

    clip-path: polygon(
        44% 0%,
        61% 0%,

        53% 8%,
        70% 12%,

        48% 21%,
        64% 26%,

        38% 37%,
        56% 41%,

        31% 53%,
        50% 57%,

        25% 69%,
        45% 72%,

        14% 88%,
        38% 89%,

        24% 100%,

        2% 100%,
        17% 88%,

        0% 85%,

        27% 68%,
        9% 64%,

        34% 52%,
        17% 47%,

        42% 36%,
        25% 30%,

        51% 20%,
        34% 15%
    );

    filter:
        drop-shadow(0 0 2px #ffffff)
        drop-shadow(0 0 5px #ffffff)
        drop-shadow(0 0 9px #fff4a3)
        drop-shadow(0 0 14px #ffd700)
        drop-shadow(0 0 25px #ffb700);
}


/* =========================================
   CABANG PETIR
   ========================================= */

.lightning::before,
.lightning::after {
    content: "";
    position: absolute;

    width: 35px;
    height: 45%;

    background: linear-gradient(
        90deg,
        transparent,
        #ffd700 25%,
        #ffffff 50%,
        #ffd700 75%,
        transparent
    );

    clip-path: polygon(
        46% 0%,
        65% 0%,

        52% 17%,
        75% 22%,

        45% 43%,
        63% 48%,

        29% 70%,
        52% 73%,

        18% 100%,
        0% 100%,

        30% 68%,
        11% 63%,

        41% 40%,
        24% 34%
    );

    filter:
        drop-shadow(0 0 3px #ffffff)
        drop-shadow(0 0 7px #ffd700)
        drop-shadow(0 0 12px #ffb700);
}


.lightning::before {
    top: 25%;
    left: 8px;

    transform:
        rotate(55deg)
        scale(0.65);
}


.lightning::after {
    top: 49%;
    right: 3px;

    transform:
        rotate(-52deg)
        scale(0.5);
}


/* =========================================
   POSISI PETIR
   ========================================= */

.lightning-1 {
    left: 4%;
    height: 65vh;

    animation: thunder1 5.8s infinite;
}


.lightning-2 {
    left: 17%;
    height: 45vh;

    animation: thunder2 7.1s infinite;
}


.lightning-3 {
    left: 29%;
    height: 72vh;

    animation: thunder3 6.3s infinite;
}


.lightning-4 {
    left: 43%;
    height: 55vh;

    animation: thunder4 7.8s infinite;
}


.lightning-5 {
    left: 57%;
    height: 68vh;

    animation: thunder5 5.5s infinite;
}


.lightning-6 {
    left: 69%;
    height: 48vh;

    animation: thunder6 6.8s infinite;
}


.lightning-7 {
    left: 80%;
    height: 75vh;

    animation: thunder7 7.5s infinite;
}


.lightning-8 {
    left: 92%;
    height: 52vh;

    animation: thunder8 6s infinite;
}


/* =========================================
   ANIMASI PETIR 1
   ========================================= */

@keyframes thunder1 {

    0%, 8% {
        opacity: 0;
        transform:
            rotate(14deg)
            scaleY(0);
    }

    8.5% {
        opacity: 1;

        transform:
            rotate(14deg)
            scaleY(1);
    }

    9% {
        opacity: 0.15;
    }

    9.4% {
        opacity: 1;
    }

    10.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(14deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 2
   ========================================= */

@keyframes thunder2 {

    0%, 20% {
        opacity: 0;

        transform:
            rotate(-17deg)
            scaleY(0);
    }

    20.5% {
        opacity: 0.9;

        transform:
            rotate(-17deg)
            scaleY(1);
    }

    21% {
        opacity: 0;
    }

    21.4% {
        opacity: 1;
    }

    22.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(-17deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 3
   ========================================= */

@keyframes thunder3 {

    0%, 34% {
        opacity: 0;

        transform:
            rotate(9deg)
            scaleY(0);
    }

    34.5% {
        opacity: 1;

        transform:
            rotate(9deg)
            scaleY(1);
    }

    35% {
        opacity: 0.2;
    }

    35.4% {
        opacity: 1;
    }

    36.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(9deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 4
   ========================================= */

@keyframes thunder4 {

    0%, 49% {
        opacity: 0;

        transform:
            rotate(-8deg)
            scaleY(0);
    }

    49.5% {
        opacity: 1;

        transform:
            rotate(-8deg)
            scaleY(1);
    }

    50% {
        opacity: 0;
    }

    50.4% {
        opacity: 0.85;
    }

    51.1% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(-8deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 5
   ========================================= */

@keyframes thunder5 {

    0%, 14% {
        opacity: 0;

        transform:
            rotate(18deg)
            scaleY(0);
    }

    14.5% {
        opacity: 1;

        transform:
            rotate(18deg)
            scaleY(1);
    }

    15% {
        opacity: 0.1;
    }

    15.4% {
        opacity: 1;
    }

    16.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(18deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 6
   ========================================= */

@keyframes thunder6 {

    0%, 62% {
        opacity: 0;

        transform:
            rotate(-14deg)
            scaleY(0);
    }

    62.5% {
        opacity: 1;

        transform:
            rotate(-14deg)
            scaleY(1);
    }

    63% {
        opacity: 0.1;
    }

    63.4% {
        opacity: 0.9;
    }

    64.1% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(-14deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 7
   ========================================= */

@keyframes thunder7 {

    0%, 75% {
        opacity: 0;

        transform:
            rotate(11deg)
            scaleY(0);
    }

    75.5% {
        opacity: 1;

        transform:
            rotate(11deg)
            scaleY(1);
    }

    76% {
        opacity: 0;
    }

    76.4% {
        opacity: 1;
    }

    77.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(11deg)
            scaleY(1);
    }
}


/* =========================================
   ANIMASI PETIR 8
   ========================================= */

@keyframes thunder8 {

    0%, 89% {
        opacity: 0;

        transform:
            rotate(-20deg)
            scaleY(0);
    }

    89.5% {
        opacity: 1;

        transform:
            rotate(-20deg)
            scaleY(1);
    }

    90% {
        opacity: 0.1;
    }

    90.4% {
        opacity: 1;
    }

    91.2% {
        opacity: 0;
    }

    100% {
        opacity: 0;

        transform:
            rotate(-20deg)
            scaleY(1);
    }
}


/* =========================================
   FLASH LAYAR KUNING PUTIH
   ========================================= */

body::after {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 99998;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(255,255,255,0.35),
            rgba(255,240,150,0.18) 30%,
            rgba(255,215,0,0.08) 55%,
            transparent 80%
        );

    opacity: 0;

    animation: thunder-flash 5s infinite;
}


@keyframes thunder-flash {

    0%, 19% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    20.4% {
        opacity: 0;
    }

    20.8% {
        opacity: 0.65;
    }

    21.3% {
        opacity: 0;
    }

    55% {
        opacity: 0;
    }

    56% {
        opacity: 0.8;
    }

    56.4% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}