@import url('https://fonts.googleapis.com/css2?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');

:root {
    --black: #000000;
    --buram: #2d2d2d;
    --gradient-red: linear-gradient(rgba(177, 20, 20, 1) 0%, rgba(255, 0, 0, 1) 100%);
    --gradient-green: linear-gradient(rgba(7, 143, 0, 1) 0%, rgba(10, 198, 0, 1) 100%);
    --gradient-red_hover: linear-gradient(rgba(255, 0, 0, 1) 0%, rgba(177, 20, 20, 1) 100%);
    --gradient-green_hover: linear-gradient(rgba(10, 198, 0, 1) 0%, rgba(7, 143, 0, 1) 100%);
}

* {
    font-family: 'Poppins', sans-serif;
}

html,
body {
    background-color: var(--black);
    font-family: 'Poppins', sans-serif;
}

header {
    display: block;
    position: relative;
}

header .logo {
    max-height: 100px;
    max-width: 100%;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    margin-bottom: 10vh;
}

footer {
    display: block;
    position: relative;
}

.btn-group-justified {
    display: flex;
}

.btn-group-justified .btn {
    flex-grow: 1;
}

.bg-buram {
    background: var(--buram);
}

.bg-gradient-red {
    background: var(--gradient-red);
}

.bg-gradient-red:hover {
    background: var(--gradient-red_hover);
}

.bg-gradient-green {
    background: var(--gradient-green);
}

.bg-gradient-green:hover {
    background: var(--gradient-green_hover);
}

.container {
    max-width: 1024px;
    color: var(--white);
}

marquee {
    border-top-left-radius: calc(.5rem - 1px) !important;
    border-top-right-radius: calc(.5rem - 1px) !important;
}

.banner_partner img {
    display: block;
    width: 100%;
}

.progress {
    height: 1.8em;
    border-radius: 20px;
}

.progress p {
    /* position: absolute; */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: black;
    z-index: 15;
}

.yellow {
    background-color: var(--yellow);
}

.green {
    background-color: var(--green);
}

.red {
    background-color: var(--red);
}

#xpola span {
    display: block;
    font-size: 1.2vw;
}

.card-game {
    background: var(--gradient-red);
}

.card-game .card-body {
    border-radius: calc(.5rem - 1px) !important;
    box-shadow: inset 0 0 15px var(--black);
    -moz-box-shadow: inset 0 0 15px var(--black);
    -webkit-box-shadow: inset 0 0 15px var(--black);
}

.card-img,
.card-img-top {
    /* position: relative; */
    width: 100%;
    margin: auto;
    display: block;
    max-height: 22vh;
    transition: transform .3s;
    z-index: -1;
}

.card-body {
    margin: 5px;
    color: #fff;
    font-size: 12px;
    border: none;
    overflow: hidden;
    position: relative;
    justify-content: center;
}

.card-body .subscript {
    position: relative;
    top: 0px;
    width: 100%;
}

.card-body .subscript .hot {
    position: absolute;
    background: url('../img/hot.gif');
    background-size: cover;
    background-position: center center;
    top: 0;
    left: .5vw;
    width: 3vw;
    height: 3vw;
    -webkit-filter: drop-shadow(0px 3px 1px var(--black));
    filter: drop-shadow(0px 3px 1px var(--black));
}

.card-body .subscript .top {
    position: absolute;
    background: url('../img/top.gif');
    background-size: cover;
    background-position: center center;
    top: 0;
    right: .5vw;
    width: 3vw;
    height: 3vw;
    -webkit-filter: drop-shadow(0px 3px 1px var(--black));
    filter: drop-shadow(0px 3px 1px var(--black));
}

.tab-content>.active {
    border-top-left-radius: calc(.5rem - 1px) !important;
    border-top-right-radius: calc(.5rem - 1px) !important;
}

.hover-btn {
    position: absolute;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.1s ease-in-out;
    z-index: 10;
    padding: 10px;
    width: 100%;
    height: 100%;
    border-radius: calc(.5rem - 1px) !important;
}

.hover-btn:hover {
    opacity: 100%;
    cursor: pointer;
}

.hover-btn:hover~.img-zoom {
    position: relative;
}

.card-game:hover .card-img-top {
    transform: scale(1.3);
}

.play-btn {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    text-align: center;
    align-items: center;
    padding: 8px;
    display: block;
    margin-top: 22%;
    border-radius: 18px;
    background: var(--gradient-red);
    transition: all .3s ease;
    ;
}

.play-btn:hover {
    color: #ddd;
    background: var(--gradient-red_hover);
}

ul.navbar-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: center;
    left: 0;
    right: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

ul.navbar-grid li {
    width: 100%;
}

.quick-footer {
    overflow-x: hidden;
    left: 0px;
    bottom: 0px;
    width: 100%;
    position: fixed;
    z-index: 11;
    padding-bottom: 1px;
    border: 1px solid #000;
    background-color: #000;
}

.quick-footer-navbar a {
    color: #ddd;
    background-color: transparent;
    border-color: #333;
    line-height: 2.5;
    padding: 10px 0px 0px 0px;
}

.quick-footer-navbar a.active {
    color: #ffffff;
    background: linear-gradient(rgba(255, 0, 0, 1) 0%, rgba(177, 20, 20, 1) 100%);
}

.quick-footer-navbar li .grid-btn {
    font-size: 11px;
    display: block;
    margin: 0;
    border-right-width: 0;
}

.grid-btn-icon-top {
    padding: 5px 0 0;
}

.grid-btn {
    position: relative;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none !important;
    border-width: 1px;
    border-style: solid;
    text-overflow: initial;
    font-family: inherit;
    text-shadow: none !important;
    box-shadow: none !important;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.grid-btn i {
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}

.game-front-menu {
    margin: 0 auto;
}

.game-front-wrapper {
    background-color: var(--buram);
    padding: 0 20px;
    border-bottom-left-radius: calc(.5rem - 1px) !important;
    border-bottom-right-radius: calc(.5rem - 1px) !important;
}

.game-group-front {
    height: 100%;
    margin-bottom: 0
}

.game-group-front .owl-stage-outer {
    padding: 20px 0
}

.game-group-front .owl-item.active:first-child {
    margin-left: -9px
}

.game-group-front .owl-nav {
    position: absolute;
    width: 100%;
    top: 0;
    margin-top: 0 !important;
    height: 100%;
    font-size: 3rem;
    font-weight: bold;
    z-index: -1
}

.game-group-front .owl-nav button {
    margin: 0 !important;
    width: 40px;
    background: transparent !important
}

.game-group-front .owl-nav button.owl-prev {
    float: left;
    height: 100%;
    margin-left: -20px !important
}

.game-group-front .owl-nav button.owl-next {
    float: right;
    height: 100%;
    margin-right: -20px !important
}

.game-group-front .owl-nav [class*='owl-']:hover {
    background: transparent
}

.game-group-front .nav-link {
    padding: 0px 20px;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    text-decoration: none;
}

.game-group-front .nav-link>img {
    width: 100%;
    display: block;
    max-height: 70.95px;
    transition: transform .3s ease-in-out;
}

.game-group-front .nav-link:hover img {
    transform: scale(1.3);
}

.animate-charcter {
    text-transform: uppercase;
    background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    /* text-fill-color: transparent; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    font-size: 24px;
}

@keyframes textclip {
    100% {
        background-position: 200% center;
    }
}

@media (max-width: 767px) {
    header .logo {
        width: 50vw !important;
    }

    .game-group-front .nav-link {
        padding: 0px;
        width: 95%;
    }

    .play-btn {
        display: none;
    }

    .card-game .card-body {
        margin: 0;
    }

    .progress {
        height: 1.2em;
        border-radius: 10px;
    }

    .progress p {
        line-height: 18px;
        font-size: 12px;
    }

    #jamgacor,
    #xpola span {
        font-size: 2vw;
    }

    .search-box {
        height: 40px !important;
    }

    .search-box.active .search-btn {
        right: 1% !important;
    }

    .search-box .search-btn {
        font-size: 15px !important;
        line-height: 30px !important;
        height: 30px !important;
        width: 30px !important;
        right: 47% !important;
    }

    .search-box input {
        font-size: 14px !important;
    }
}

@media (max-width: 413px) {
    .search-box .search-btn {
        right: 45% !important;
    }
}

/* Search form */
.search-box {
    position: relative;
    height: 45px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box.active {
    width: 100%;
    background: transparent;
}

.search-box.active input {
    opacity: 1;
}

.search-box input {
    height: 100%;
    width: 100%;
    background: #fff;
    border: none;
    font-size: 18px;
    border-radius: 50px;
    padding: 0 10px 0 15px;
    outline: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box .search-btn {
    position: absolute;
    height: 40px;
    width: 40px;
    background: #fff;
    color: #664AFF;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.search-box.active .search-btn {
    height: 35px;
    width: 35px;
    background: #be2f2f;
    color: #fff;
    right: 5px;
    line-height: 40px;
    font-size: 17px;
}

@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 62em) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    #xpola span {
        font-size: .9vw;
    }
}

.loading-overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9;
}

.loading-overlay img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}