
:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;

    /* Background and text colors */
    --bg-color: #080808;
    --text-first: #ffffff;
    --text-second: #000000;

    /* Primary KINGCOBRATOTO colors */
    --first-color: #FFD700;
    --second-color: #FFBF00;
    --third-color: #DAA520;
    --fourth-color: #996515;
    --fifth-color: #FFF2A6;
    --sixth-color: #17120A;

    /* Metallic gold gradients */
    --g1: linear-gradient(
        270deg,
        #8B6508 0%,
        #D4A017 12%,
        #FFD700 24%,
        #FFF4B8 36%,
        #FFDF45 48%,
        #B8860B 62%,
        #FFE77A 75%,
        #FFD700 88%,
        #8B6508 100%
    );

    --g2: #FFD700;
    --g3: #B8860B;
    --g4: #664600;
}

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 */

.rtp-card {
    background: var(--g1);
    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;

    box-shadow:
        inset 0 0 5px 3px #FFD700,
        inset 0 2px 0 0 #FFF4B8,
        inset 0 0 0 2px #8B6508,
        3px 3px 8px 1px rgba(0, 0, 0, .5);
}

.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 #080808 inset,
        0 0 5px rgba(255, 215, 0, .35);
}

.place-img-rtp:hover {
    cursor: pointer;
}

.btn-play {
    border-radius: 5px;
    padding: 0.3rem;
    width: 100%;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: capitalize;

    border: 2px solid var(--g4);
    background: linear-gradient(
        0deg,
        var(--g3) 0%,
        var(--g2) 100%
    );

    color: #000000;
    margin-top: 10px;
}

.btn-play:hover {
    background: linear-gradient(
        0deg,
        var(--g2) 0%,
        var(--g3) 100%
    );
    color: #000000;
}

/* POLA WRAPPER */

.pola-wrapper {
    background: var(--sixth-color);
    padding: 0.9rem;
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
    border: 1px solid #8B6508;
}

.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: #17120A;
    border-radius: 50%;
    padding: 0.6rem;
    border: 1px solid #B8860B;
}

.table-pola {
    max-width: 100%;
    width: 100%;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.6rem;
}

/* GAME LABELS */

.top-game,
.hot-game {
    background-repeat: no-repeat !important;
    position: absolute;
    width: 3rem;
    top: 0rem;
    z-index: 2;
    height: 2.9rem;
    left: 0.4rem;
}

/* Original GIF assets preserved */

.top-game {
    background: url('../assets/top.gif');
}

.hot-game {
    background: url('../assets/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 */

.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,
        #080808 0%,
        #17120A 100%
    );
    height: 100%;
    border-bottom: 1px dashed var(--first-color);
}

/* RUNNING TEXT */

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

/* PROVIDERS */

.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;
}

/* LOGIN BUTTON */

.btn-login {
    background: var(--g1);
    padding: 0.6rem;
    color: #000000;
    border: none;
    font-weight: bold;

    background-size: 200% 200%;
    animation: gradient 5s ease infinite;

    box-shadow:
        inset 0 0 5px 3px #D4A017,
        inset 0 2px 0 0 #FFF4B8,
        inset 0 0 0 2px #8B6508,
        3px 3px 3px 1px rgba(0, 0, 0, .4);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-login:hover {
    background: var(--g2);
    color: #000000;
}

/* REGISTER BUTTON */

.btn-daftar {
    background: var(--g2);
    padding: 0.6rem;
    color: #000000;
    border: none;
    font-weight: bold;

    box-shadow:
        inset 0 0 5px 3px #D4A017,
        inset 0 2px 0 0 #FFF4B8,
        inset 0 0 0 2px #8B6508,
        3px 3px 3px 1px rgba(0, 0, 0, .4);
}

.btn-daftar:hover {
    background: linear-gradient(
        0deg,
        var(--g3) 0%,
        var(--g4) 100%
    );
    color: #ffffff;
}

/* BOTTOM NAVIGATION */

.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: #000000;
    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(--g3) 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: #17120A;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #8B6508;
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: #000000;
}

.percent-bar {
    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: #000000;
    text-align: center;
    white-space: nowrap;
    background-color: #FFD700;
    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: #FFD700;
}

.great {
    background-color: #D4AF37;
}

.bad {
    background-color: #8B6508;
}

/* HOME CONTENT */

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: #17120A;
    color: #ffffff;
    border: 1px solid #B8860B;
}

/* CONTACT MODAL */

.modal.modal-contact .modal-dialog {
    max-width: 300px !important;
}

.social-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
}

/* Social platform colors preserved */

.social-box.tg {
    background-color: #0089d1;
}

.social-box.wa {
    background-color: #4caf50;
}

.social-box.lc {
    background-color: #ff0000;
}

.social-box .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 8px 0 0 8px;
}

.social-box.tg .icon {
    background-color: #0046ae;
}

.social-box.wa .icon {
    background-color: #005806;
}

.social-box.lc .icon {
    background-color: #790000;
}

.social-box .icon img {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
}

.social-box .text {
    display: block;
    position: relative;
    padding-right: 10px;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-weight: 500;
}

/* DESKTOP CONTAINER */

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1100px !important;
    }
}
