: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: #002137;
    --text-first: #fafafa;
    --text-second: #fafafa;
    --first-color: #088fec;
    --second-color: #54d4ff;
    --third-color: #7e0000;
    --fourth-color: #790000;
    --fifth-color: #00bfff;
    --sixth-color: #000000;
    --g1: #006f94;
    --g2: #33ccff;
    --marquee: #33ccff;
}

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;
}

#popup-auto {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.popup-auto-inner {
    background: rgba(0.3, 0.3, 0.3, 0.3);
    border-radius: 22px;
    padding: 16px 16px 24px 16px;
    box-shadow: 0 6px 30px #0008;
    position: relative;
    max-width: 95vw;
    width: 100%;
    height: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    /*  align-items: center;*/
    justify-content: center;
}

.popup-auto-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: #FFD600;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    font-weight: bold;
    color: #171717;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 1px 8px #0004;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
}

.popup-auto-close:hover {
    background: #fff600;
}

.popup-img {
    display: block;
    margin: 0 auto 22px auto;
    max-width: 80vw;
    /* Desktop: max 80% layar */
    max-height: 70vh;
    /* Biar nggak kepanjangan */
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 2px 16px #0005;
}

.popup-auto-btn {
    display: block;
    margin: 10px auto 0 auto;
    background: #FFD600;
    border: none;
    border-radius: 8px;
    padding: 12px 48px;
    font-weight: bold;
    color: #222;
    font-size: 18px;
    box-shadow: 0 1px 8px #0004;
    cursor: pointer;
}

/*.popup-auto-btn:hover { background: #ffc400; }*/
@media (max-width: 600px) {
    #popup-auto {
        height: 100%;
        left: 0;
    }

    .popup-auto-inner {
        max-width: 98vw;
        padding: 6vw 2vw 24px 2vw;
    }

    .popup-img {
        max-width: 96vw;
        max-height: 62vh;
    }

    .popup-auto-btn {
        width: 90%;
        font-size: 17px;
        padding: 12px 0;
    }
}


.rtp-card {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--fifth-color) 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;
    min-height: 100px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 5px;
    box-shadow: 1px 0px 4px 2px #131313 inset;
    align-items: center;
    justify-content: center;
}

.place-img-rtp:hover {
    cursor: pointer;
}

.game-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

.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(0deg, var(--g1) 0%, var(--g2) 100%);
    color: var(--text-first);
    margin-top: 10px;
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.pola-wrapper {
    background: var(--sixth-color);
    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: var(--g2);
}

.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: 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%;
    border-bottom: 1px dashed var(--first-color);
}

.running-text {
    background: var(--marquee);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-second);
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 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-login {
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
}

.btn-login:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.btn-daftar {
    background: linear-gradient(0deg, #5c4d04 0%, #fff204 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
}

.btn-daftar:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.nav-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 999;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--second-color);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 0 8px #0002;
}

.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;
}

.btn-up {
    display: flex;
    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-color: #ffc107;
}

.great {
    background-color: #28a745;
}

.bad {
    background-color: #dc3545;
}

.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;
    }
}