@import url(https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
@import url(https://fonts.cdnfonts.com/css/druk-wide-bold);
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap);

:root {
    --text-primary-dl: var(--bs-light);
    --mobile-navbar-background-gradient: #353535;
    --button-primary-border: #Ba0630;
    --button-primary-background: #Ba0630;
    /* --primary-color: #Ba0630; */
    --primary-color: #930300;
    --btn-primary-color-border: #920300;
    --color-wow: #AEFF92;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem
    }
}

.b-example-divide r {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a, inset 0 .125em .5em #00000026
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh
}

.bi {
    vertical-align: -.125em;
    fill: currentColor
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8
}

.bd-mode-toggle {
    z-index: 1500
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important
}

/*custom */

.btn-primary {
    background-color: var(--button-primary-background);
    border-color: var(--button-primary-border);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--btn-primary-color-border);
}

body {
    background: rgb(14, 25, 24);
    font-family: "Poppins", serif;
    padding-top: 120px;
    /* padding-top: 4.5rem; */
}

.header-category__menu-item-link,
.user-referral__menu-item-link,
.game-promotions__menu-item-link,
.user-transactions__menu-item-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid transparent;
    display: flex;
    transition: all ease 0.3s;
    align-items: center;
    font-size: 16px;
    padding: 4px 8px 4px 8px;
    border-radius: 6px;
    gap: 3px;
}

.header-category__menu-item-img,
.user-referral__menu-item-img,
.game-promotions__menu-item-img,
.user-transactions__menu-item-img {
    width: 22px;
    max-height: 22px;
    /* margin-right: 6px; */
    margin-right: 3px;
}

.header-logo__img {
    height: 23px;
}

.app-main {
    position: relative;
}

.content-background-radial-bg {
    position: absolute;
    width: 1440px;
    height: 324px;
    left: 0px;
    /* top: 68px; */
    width: 100%;
    z-index: -1;
}

.content-background-radial__subtract {
    position: absolute;
    width: calc(100vw - 16px);
    height: 1503.53px;
    left: calc(50% - 100vw / 2 + 0.35px);
    top: -896px;
    background: #0B1918;
    /* background: radial-gradient(circle, rgba(19, 128, 96, 0) 0%, rgba(11, 25, 24, 1) 70%, rgba(19, 128, 96, 0) 100%); */
    filter: blur(140px);
    z-index: 1;
}

.content-background-radial__rectangle {
    position: absolute;
    width: 100vw;
    height: 324px;
    left: 0px;
    top: 0px;
    background: linear-gradient(180deg, #138060 0%, rgba(19, 128, 96, 0) 100%);
    width: 100%;
}

/* .splide-game-default__img {
    margin-right: 15px;
    width: calc(50% - 7.5px);
} */

.splide__list {
    min-height: 200px;
}

.splide-home-main__img {
    border-radius: .8rem;
    max-width: 100%;
    height: 100%;
}

.splide-home-main .splide__arrow--prev {
    left: -1rem;
}

.splide-home-main .splide__arrow--next {
    left: calc(100% - 1rem);
}

.marquee {
    background: #152727;
    /* font-size: 17px; */
    /* font-weight: bold; */
    position: relative;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 5px;
    margin-top: 20px;
}

.marquee__msg {
    color: #fff;
    width: 100%;
    padding: 12px;
    /* overflow: hidden; */
    /* float: left; */
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

/* .marquee__msg .marquee_prim {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee__msg .marquee_sec {
    display: inline-block;
    padding-left: 100%;
    animation: marquee2 40s linear infinite;
    animation-delay: 10s;
} */

@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes marquee2 {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-200%);
    }
}


.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    color: var(--bs-light);
    /* Or flexbox for multiple items */
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    padding: 12px;
    /* Adjust duration as needed */
}

.rounded-top {
    border-top-left-radius: 1.25rem !important;
    border-top-right-radius: 1.25rem !important;
}

.rounded-bottom {
    border-bottom-left-radius: 1.25rem !important;
    border-bottom-right-radius: 1.25rem !important;
}

.rounded {
    border-radius: 1.25rem !important;
}

.game-section {
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(250, 57, 80, 0.5) 100%);
    min-height: 400px;
}

.game-section.red {
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 70%, rgba(250, 57, 80, 0.5) 100%);
}

.game-section .game-category-title {
    /* font-size: 24px; */
    font-family: "Druk Wide Bold", sans-serif;
    color: var(--bs-light);
    text-shadow: 0px 2px 0px rgba(245, 249, 255, 0.4);
}

.game-section .game-category-title.h3 {
    font-size: 1.2rem;
    font-family: "Druk Wide Bold", sans-serif;
    color: var(--bs-light);
    text-shadow: 0px 2px 0px rgba(245, 249, 255, 0.4);
}

.content-provider__item {
    text-align: center;
    margin-bottom: 1rem;
}

.content-provider__item span {
    font-size: .7em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-provider__item a {
    text-decoration: none;
    color: var(--bs-light)
}

.content-provider__item-img-wrapper {
    text-align: center;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
        /* Adjust based on content duplication */
    }
}

/*game style*/
.game-container {
    width: 100%;
    padding-bottom: 1.8rem;
    position: relative;
    background-color: var(--bs-dark);
    /* background-color: rgba(0, 0, 0, .4); */
    border-radius: .5rem;
    overflow: hidden;
}

.game-img {
    aspect-ratio: 1/1;
}

.game-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--mobile-navbar-background-gradient);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: initial;
    line-height: 3;
    padding-left: .5rem;
    padding-right: .5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-primary-dl);
    font-size: .8rem;
    z-index: 11;
}

.game-title span {
    display: flex;
    /* color:  */
}

.game-title img {
    width: .8rem;
}

.game-provider-badge {
    position: absolute;
    width: 30%;
}

.game-play-container {
    /* display: none; */
    background-color: rgba(0, 0, 0, .6);
    width: 100%;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0;
    z-index: 10;
    opacity: 0;
}

.game-play-container:hover {
    opacity: 1;
}

.game-play-container button {
    position: relative;
    top: calc(50% - 1rem);
}

.provider-bar {
    background-color: var(--mobile-navbar-background);
}


@media (min-width: 992px) {
    .col-lg-20 {
        width: 20%;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 0;
    }

    .splide-home-main .splide__arrow--prev {
        left: -.5rem;
    }

    .splide-home-main .splide__arrow--next {
        left: calc(100% - 1.5rem);
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
}

.main-banner .carousel-item img {
    aspect-ratio: 32/9;
}


.nav-bar {
    /* border: unset; */
    background-color: var(--mobile-navbar-background-gradient);
    /* background-color: var(--nav-bar-color); */
    color: #fff;
}

.nav-bar .nav-link {
    text-transform: uppercase;
    color: var(--text-primary-dl);
    text-decoration: none;
    border-bottom-width: 0px;
    /* border-right: 1px solid var(--topup-btn); */
    /* padding: 0; */
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    font-weight: 500;
}

.nav-bar .nav-link:hover,
.nav-bar .nav-link.active {
    color: var(--topup-btn);
    text-decoration: none;
    /* border-bottom-width: 5px; */
}

.nav-link {
    color: var(--text-primary-dl);
}

.nav-slot-mobile {
    border-bottom: 1px solid rgba(200, 200, 200, .4);
    ;
}

.nav-slot-mobile:hover {
    background-color: #171717;
    text-decoration: none;

}

.nav-link:hover {
    color: var(--text-primary-dl);
}

.nav-link:focus {
    color: var(--text-primary-dl);
}

.login-container {
    position: relative;
}

.forgot-password-container {
    position: absolute;
    color: var(--text-primary-dl);
    bottom: -.8rem;
}

.forgot-password-container a {
    font-size: .8rem;
    line-height: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

.login-container .form-control {
    max-width: 170px;
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
    }

    .form-container {
        width: 100%;
        border-radius: 0;
    }

    body,
    html {
        font-size: 12px;
    }

    .games-container {
        border-radius: 0;
    }

    .game-col {
        padding: 1.5px;
    }

    .game-container {
        border-radius: .3rem;
    }

    .game-title {
        font-size: .75em;
    }

    .main-banner .carousel-item img {
        aspect-ratio: 27/9;
    }

    .banner-bar {
        margin-top: calc(57px - 2em);
    }

    #main-container {
        padding-top: 27px;
        /* margin-bottom: calc(60px + 1.5rem); */
    }

    footer {
        padding-bottom: calc(60px + 1.5rem);
    }
}

@media (max-width: 575px) {
    .nav-bar .nav-link {
        font-size: 1rem;
    }

    .nav-underline {
        gap: 0;
    }

    .nav-bar .nav-link {
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-inline-start: .7rem;
        padding-inline-end: .7rem;
    }

    .nav-underline {
        border-width: 0;
    }

    .main-banner .carousel-item img {
        aspect-ratio: 21/9;
    }

    .banner-bar {
        margin-top: calc(57px - 2em);
    }
}

.nav-image {
    background: url(../img/bg-nav.jpeg);
    background-size: 100% auto !important;
    background-position: top center;
}

.nav-image-row {
    background: rgba(0, 0, 0, .8);
}

.nav-image svg {
    fill: #BFBFBF;
}

.nav-image-item {
    line-height: .7;
    width: 20%;
    min-width: 64px
}

.nav-image-item a:hover {
    text-decoration: none;
}

.nav-image-item a:hover svg,
.nav-image-item a.active svg {
    fill: var(--button-primary-background);
}

.nav-image-item p {
    line-height: 1;
    font-weight: 700;
}

.nav-image-item a:hover p,
.nav-image-item a.active p {
    color: var(--button-primary-background);
}

.game-section {
    color: var(--bs-light);
}

/* === PANEL MENU === */
.menu-panel {
    position: fixed;
    top: 56px;
    /* tinggi navbar */
    right: 0;
    width: 300px;
    height: calc(100% - 56px);
    background-color: #111114;
    /*#1c1c1c; */
    color: white;
    padding: 15px;
    border-left: 2px solid var(--button-primary-background);
    overflow-y: auto;
    z-index: 999;

    /* animasi awal */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.35s ease;
    pointer-events: none;
}

.menu-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* === BACKDROP === */
.menu-backdrop {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    /*calc(100% - 300px);*/
    height: calc(100% - 56px);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* === ICON GRID === */
.menu-icon {
    text-align: center;
    padding: 10px;
}

.menu-icon i {
    font-size: 28px;
    color: var(--button-primary-background);
}

.nav-link-panel svg {
    fill: var(--button-primary-background);
    width: 40px;
    height: 40px;
}

.menu-icon p {
    margin-top: 5px;
    font-size: 14px;
}

.btn-custom {
    width: 48%;
}

.menu-list li {
    padding: 8px 0;
    cursor: pointer;
}

.menu-list li:hover {
    color: var(--button-primary-background);
}