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

    /* VIPERTOTO - electric blue, cyan and black */
    --bg-color: #050b17;
    --text-first: #ffffff;
    --text-second: #000000;

    --first-color: #00bfff;
    --second-color: #00d9ff;
    --third-color: #0879d9;
    --fourth-color: #073c84;
    --fifth-color: #b8f5ff;
    --sixth-color: #0b172b;

    --g1: linear-gradient(
        270deg,
        #06427e 0%,
        #0879d9 12%,
        #00bfff 24%,
        #b8f5ff 36%,
        #32dcff 48%,
        #0566b5 62%,
        #7ceaff 75%,
        #00bfff 88%,
        #06427e 100%
    );

    --g2: #00bfff;
    --g3: #0879d9;
    --g4: #073c84;
}

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 #00bfff,
        inset 0 2px 0 0 #b8f5ff,
        inset 0 0 0 2px #06427e,
        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 #050b17 inset,
        0 0 5px rgba(0, 191, 255, .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 #0879d9;
}

.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: #0b172b;
    border-radius: 50%;
    padding: 0.6rem;
    border: 1px solid #0879d9;
}

.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, #050b17 0%, #0b172b 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 #0879d9,
        inset 0 2px 0 0 #b8f5ff,
        inset 0 0 0 2px #06427e,
        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 #0879d9,
        inset 0 2px 0 0 #b8f5ff,
        inset 0 0 0 2px #06427e,
        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: #0b172b;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #0879d9;
}

.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: #00bfff;
    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: #00bfff; }
.great { background-color: #00d9ff; }
.bad { background-color: #073c84; }

/* HOME CONTENT */
.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: #0b172b;
    color: #ffffff;
    border: 1px solid #0879d9;
}

/* 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 brand 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;
    }
}
