/* =========================================================
   UW88 RTP BODY
   ========================================================= */


/* =========================================================
   BODY AREA
   ========================================================= */

.uw88-rtp-body {
    width: 100%;

    position: relative;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(181, 118, 10, 0.20),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #100d06 0%,
            #050505 40%,
            #080704 100%
        );

    color: #ffffff;

    padding:
        18px
        0
        0;

    overflow: hidden;
}


/* GOLD LIGHT BACKGROUND */

.uw88-rtp-body::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            ellipse at 20% 15%,
            rgba(255, 181, 35, 0.10),
            transparent 25%
        ),

        radial-gradient(
            ellipse at 80% 20%,
            rgba(255, 181, 35, 0.08),
            transparent 28%
        );

    opacity: .9;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.rtp-body-container {
    width: 95%;

    max-width: 1900px;

    margin: 0 auto;

    position: relative;

    z-index: 2;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.rtp-toolbar {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    margin-bottom: 14px;
}


/* =========================================================
   CATEGORY CONTAINER
   ========================================================= */

.rtp-categories {
    flex: 1;

    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        1.1fr
        1.1fr
        1fr
        1fr;

    gap: 12px;
}


/* =========================================================
   CATEGORY BUTTON
   ========================================================= */

.rtp-category {
    height: 52px;

    padding:
        0
        16px;

    border:
        1px solid
        rgba(255, 215, 107, 0.30);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            #191919 0%,
            #080808 100%
        );

    color: #eeeeee;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 4px 10px rgba(0,0,0,.45);

    transition:
        transform .20s ease,
        border-color .20s ease,
        color .20s ease,
        box-shadow .20s ease;
}


.rtp-category:hover {
    transform:
        translateY(-2px);

    border-color:
        #d6a82e;

    color:
        #ffd85b;

    box-shadow:
        0 0 14px
        rgba(224, 168, 31, .22);
}


/* ACTIVE CATEGORY */

.rtp-category.active {
    color: #090909;

    border-color:
        #ffe07a;

    background:
        linear-gradient(
            180deg,
            #ffe998 0%,
            #f4c84e 42%,
            #c78b17 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.70),
        0 0 15px rgba(244,190,52,.30);
}


.category-icon {
    font-size: 20px;

    line-height: 1;
}


/* =========================================================
   SEARCH
   ========================================================= */

.rtp-search-box {
    width: 320px;

    height: 44px;

    flex-shrink: 0;

    position: relative;

    display: flex;

    align-items: center;

    border:
        1px solid
        #b68a1c;

    border-radius: 10px;

    background:
        rgba(0,0,0,.72);

    overflow: hidden;

    box-shadow:
        inset 0 0 12px
        rgba(0,0,0,.8);
}


.rtp-search-icon {
    width: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        #e6b834;

    font-size: 22px;
}


.rtp-search-box input {
    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    padding:
        0
        15px
        0
        0;

    font-size: 13px;
}


.rtp-search-box input::placeholder {
    color:
        #a99b76;
}


/* =========================================================
   PROVIDER GRID
   ========================================================= */

.provider-grid {
    width: 100%;

    display: grid;

    /*
     * Desktop besar:
     * 9 card per baris.
     */

    grid-template-columns:
        repeat(9, minmax(0, 1fr));

    gap:
        13px
        12px;
}


/* =========================================================
   PROVIDER CARD
   ========================================================= */

.provider-card {
    min-width: 0;

    position: relative;

    overflow: hidden;

    border:
        2px solid
        #c99b29;

    border-radius: 12px;

    background:
        #070707;

    box-shadow:
        inset 0 0 15px rgba(0,0,0,.70),
        0 3px 10px rgba(0,0,0,.55);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


/* HOVER */

.provider-card:hover {
    transform:
        translateY(-4px);

    border-color:
        #ffe273;

    box-shadow:
        0 0 18px
        rgba(244,190,52,.38),
        0 7px 15px
        rgba(0,0,0,.65);
}


/* =========================================================
   PROVIDER IMAGE
   ========================================================= */

.provider-picture {
    width: 100%;

    /* Rasio gambar asli 400 x 260 */
    aspect-ratio: 400 / 260;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #101010,
            #050505
        );
}


.provider-picture::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 40%;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,.40)
        );
}


.provider-picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .30s ease;
}


.provider-card:hover
.provider-picture img {
    transform:
        scale(1.04);
}


/* =========================================================
   RTP BOTTOM BAR
   ========================================================= */

.provider-bottom {
    width: 100%;

    height: 36px;

    padding:
        0
        7px
        0
        9px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

    position: relative;

    background:
        linear-gradient(
            180deg,
            #18140a 0%,
            #050505 100%
        );

    border-top:
        1px solid
        rgba(231,182,49,.40);
}


/* =========================================================
   RTP VALUE
   ========================================================= */

.provider-rtp {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 4px;

    color:
        #f5cb4d;

    white-space: nowrap;

    font-size:
        clamp(
            10px,
            .75vw,
            14px
        );
}


.rtp-crown {
    color:
        #ffd84e;

    font-size: 15px;
}


.rtp-word {
    font-weight: 800;
}


.provider-rtp strong {
    color:
        #ffdb59;

    font-size:
        clamp(
            11px,
            .85vw,
            15px
        );
}


/* =========================================================
   PROVIDER ARROW
   ========================================================= */

.provider-arrow {
    width: 24px;

    height: 24px;

    flex:
        0
        0
        24px;

    padding: 0;

    border:
        2px solid
        #e1bd40;

    border-radius:
        50%;

    background:
        #070707;

    color:
        #ffdd56;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.provider-arrow:hover {
    background:
        #e4b82e;

    color:
        #000000;

    transform:
        scale(1.08);
}


/* =========================================================
   EMPTY RESULT
   ========================================================= */

.provider-empty {
    display: none;

    width: 100%;

    padding: 50px 20px;

    text-align: center;

    color:
        #d6b250;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   INFORMATION BAR
   ========================================================= */

.rtp-info-bar {
    width: 100%;

    min-height: 82px;

    margin-top: 16px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr
        2fr;

    align-items: stretch;

    border-top:
        1px solid
        rgba(214,168,46,.55);

    background:
        linear-gradient(
            180deg,
            rgba(14,13,10,.95),
            rgba(4,4,4,.98)
        );
}


/* =========================================================
   INFO ITEM
   ========================================================= */

.rtp-info-item {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        12px
        16px;
}


.rtp-info-icon {
    width: 52px;

    height: 52px;

    flex:
        0
        0
        52px;

    border:
        2px solid
        #d5aa32;

    border-radius:
        50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        #f5cd59;

    font-size: 26px;

    box-shadow:
        0 0 10px
        rgba(213,170,50,.12);
}


.rtp-info-text {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.rtp-info-text strong {
    color:
        #ffffff;

    font-size:
        clamp(
            10px,
            .75vw,
            14px
        );

    line-height: 1.2;
}


.rtp-info-text span {
    color:
        #e5e5e5;

    font-size:
        clamp(
            9px,
            .65vw,
            12px
        );

    line-height: 1.2;
}


/* =========================================================
   UW88 GOLD BOX
   ========================================================= */

.rtp-info-brand {
    min-width: 0;

    margin:
        8px
        0
        8px
        10px;

    padding:
        0
        20px;

    display: flex;

    align-items: center;

    gap: 18px;

    border:
        1px solid
        #f4d16b;

    border-radius:
        12px;

    color:
        #080808;

    background:
        linear-gradient(
            180deg,
            #ffe997 0%,
            #e4ad36 55%,
            #b77a13 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.60),
        0 0 15px rgba(218,161,38,.18);
}


.info-brand-logo {
    font-size:
        clamp(
            27px,
            2vw,
            40px
        );

    font-weight: 900;

    white-space: nowrap;
}


.info-brand-line {
    width: 1px;

    height: 45%;

    background:
        rgba(0,0,0,.40);
}


.info-brand-text {
    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.info-brand-text strong {
    font-size:
        clamp(
            10px,
            .8vw,
            15px
        );
}


.info-brand-text span {
    font-size:
        clamp(
            9px,
            .7vw,
            13px
        );

    font-weight: 700;
}


.info-brand-arrow {
    font-size: 34px;

    font-weight: 700;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1700px) {

    .rtp-body-container {
        width: 94%;
    }

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (max-width: 1500px) {

    .provider-grid {
        grid-template-columns:
            repeat(8, minmax(0, 1fr));
    }

    .rtp-search-box {
        width: 260px;
    }

}


/* =========================================================
   SMALL DESKTOP
   ========================================================= */

@media (max-width: 1250px) {

    .provider-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));
    }


    .rtp-toolbar {
        align-items: stretch;

        flex-direction: column;
    }


    .rtp-search-box {
        width: 100%;
    }


    .rtp-info-bar {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .rtp-info-brand {
        grid-column:
            1 / -1;

        min-height: 70px;

        margin:
            5px
            0
            10px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .rtp-body-container {
        width: 94%;
    }


    .rtp-categories {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .provider-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    .provider-bottom {
        height: 34px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .uw88-rtp-body {
        padding-top: 12px;
    }


    .rtp-body-container {
        width: 94%;
    }


    /* CATEGORY 2 PER BARIS */

    .rtp-categories {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 7px;
    }


    .rtp-category {
        height: 43px;

        padding:
            0
            7px;

        gap: 6px;

        border-radius: 8px;

        font-size: 9px;
    }


    .category-icon {
        font-size: 15px;
    }


    .rtp-search-box {
        height: 42px;
    }


    /* 2 PROVIDER PER BARIS */

    .provider-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .provider-card {
        border-radius: 9px;
    }



    .provider-bottom {
        height: 34px;

        padding:
            0
            5px
            0
            7px;
    }


    .provider-rtp {
        gap: 3px;

        font-size: 10px;
    }


    .provider-rtp strong {
        font-size: 11px;
    }


    .rtp-crown {
        font-size: 12px;
    }


    .provider-arrow {
        width: 21px;

        height: 21px;

        flex-basis: 21px;

        font-size: 18px;
    }


    /* INFO */

    .rtp-info-bar {
        margin-top: 14px;

        grid-template-columns:
            1fr;
    }


    .rtp-info-item {
        min-height: 65px;

        border-bottom:
            1px solid
            rgba(255,255,255,.06);
    }


    .rtp-info-icon {
        width: 44px;

        height: 44px;

        flex-basis: 44px;

        font-size: 21px;
    }


    .rtp-info-brand {
        grid-column: auto;

        min-height: 72px;

        margin:
            8px
            0;

        padding:
            0
            12px;

        gap: 10px;
    }


    .info-brand-logo {
        font-size: 27px;
    }


    .info-brand-arrow {
        font-size: 27px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .rtp-category {
        font-size: 8px;
    }


    .provider-rtp {
        font-size: 9px;
    }


    .provider-rtp strong {
        font-size: 10px;
    }

}

/* =========================================================
   TOMBOL CEK RTP
========================================================= */

.cek-rtp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    height: 30px;

    padding: 0 16px;

    border: 1px solid #f2c230;
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            #ffe67b 0%,
            #e9b62e 50%,
            #bd7d0e 100%
        );

    color: #090909;

    font-size: 12px;
    font-weight: 900;

    text-decoration: none;

    letter-spacing: .5px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.65),
        0 0 8px rgba(231,177,34,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}


/* HOVER */

.cek-rtp-btn:hover {
    transform: translateY(-1px);

    filter: brightness(1.12);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.75),
        0 0 13px rgba(255,199,45,.55);
}


/* KLIK */

.cek-rtp-btn:active {
    transform: translateY(0);
}


/* MOBILE */

@media (max-width: 600px) {

    .cek-rtp-btn {
        min-width: 80px;
        height: 26px;

        padding: 0 10px;

        font-size: 10px;
    }

}

/* =========================================================
   CEK RTP - CENTER
========================================================= */

.provider-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* TOMBOL CEK RTP */

.cek-rtp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 115px;
    height: 30px;

    padding: 0 18px;

    border: 1px solid #ffe16a;
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            #ffe77b 0%,
            #e7b52e 55%,
            #bd7b0d 100%
        );

    color: #080808;

    font-size: 12px;
    font-weight: 900;

    text-decoration: none;
    text-align: center;

    letter-spacing: .5px;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.7),
        0 0 8px rgba(255,194,34,.25);
}


/* HOVER */

.cek-rtp-btn:hover {
    filter: brightness(1.12);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.8),
        0 0 12px rgba(255,194,34,.5);
}