/* === C1: home.php inline styles === */
.up_trend {
    color: #0ff !important
}

.down_trend {
    color: #ff1493 !important
}

.normal_trend {
    color: #fff !important
}

.carousel-showmanymoveone .carousel-control {
    width: 5%;
    background-image: none
}

.carousel-showmanymoveone .carousel-control.left {
    opacity: 1
}

.carousel-showmanymoveone .carousel-control.right {
    right: -25px;
    width: 7%;
    opacity: 1
}

.carousel-showmanymoveone .cloneditem-1,
.carousel-showmanymoveone .cloneditem-2,
.carousel-showmanymoveone .cloneditem-3 {
    display: none
}

.carousel .item .col-xs-12 {
    padding: 0
}

.carousel-showmanymoveone .carousel-inner {
    position: relative;
    width: 100%
}

.carousel-showmanymoveone .carousel-inner .cloneditem-1 {
    display: block
}

.category-header {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    margin: 0;
    text-transform: uppercase
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.d-flex {
    display: flex
}

.justify-content-between {
    justify-content: space-between
}

.align-items-center {
    align-items: center
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-content: space-between
}

.categories-container .img-icon {
    position: absolute;
    width: 57px;
    height: 57px;
    top: 6px;
    right: 6px;
}

.categories-container .category-card {
    display: block;
    width: 175px;
    height: 259px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    text-decoration: none
}

.categories-container .category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.categories-container .jackpot {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    padding: 4px 10px;
    font-family: Roboto;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center
}

.categories-container .jackpot .flag-money {
    width: 18px;
    height: 18px;
    margin-right: 5px
}

.categories-container .game-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px 10px;
    background: #21232a38;
    color: #fff;
    text-align: center;
    font-weight: 900;
    font-size: 17px;
    text-transform: uppercase;
    line-height: 24px;
    backdrop-filter: blur(5px)
}

.bank-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px;
    margin: 0;
    padding: 0
}

.bank-list ul li {
    flex: 1 1 calc(100% / 8);
    border-radius: 4px
}

.bank-list li img {
    width: 100%;
    height: auto;
    display: block
}

.jackpots-list .jackpots-item {
    flex: none;
    max-width: none;
    padding: 0 6px
}

.jackpots-item-link {
    border-radius: 4px;
    background: #40434d;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .16)
}

.col-xs-3.jackpots-item {
    width: 20%
}

.jackpots {
    width: 1200px;
    padding: 20px 25px
}

.img-container {
    width: 175px;
    height: 259px;
    overflow: hidden;
    position: relative
}

.img-container img {
    width: 100%;
    height: auto;
    transition: transform .2s ease
}

.category-card:hover .img-container img {
    transform: scale(1.07)
}

.categories-container .category-card:hover .game-footer {
    color: #ffb700
}

.carousel-showmanymoveone.jackpots-list.no-js {
    overflow: hidden;
    height: 75px
}

.carousel-showmanymoveone.jackpots-list.no-js .carousel-inner>.item {
    display: block
}

@media (min-width:1270px) {
    .jackpots {
        width: 1260px;
        padding: 20px 50px
    }

    .carousel-showmanymoveone .carousel-inner {
        position: relative;
        width: 100%
    }

    .carousel-showmanymoveone .carousel-control.right {
        right: -5px;
        width: 24px
    }
}

@media all and (min-width:300px) {

    .carousel-showmanymoveone .carousel-inner>.active.left,
    .carousel-showmanymoveone .carousel-inner>.prev {
        left: 20%
    }

    .carousel-showmanymoveone .carousel-inner>.active.right,
    .carousel-showmanymoveone .carousel-inner>.next {
        left: 20%
    }

    .carousel-showmanymoveone .carousel-inner>.active,
    .carousel-showmanymoveone .carousel-inner>.left,
    .carousel-showmanymoveone .carousel-inner>.prev.right {
        left: 0
    }

    .carousel-showmanymoveone .carousel-inner .cloneditem-2,
    .carousel-showmanymoveone .carousel-inner .cloneditem-3 {
        display: block;
        overflow: hidden
    }
}

@media all and (min-width:300px) and (transform-3d),
all and (min-width:300px) and (-webkit-transform-3d) {

    .carousel-showmanymoveone .carousel-inner>.item.active.right,
    .carousel-showmanymoveone .carousel-inner>.item.next {
        -webkit-transform: translate3d(20%, 0, 0);
        transform: translate3d(20%, 0, 0);
        left: 0
    }

    .carousel-showmanymoveone .carousel-inner>.item.active.left,
    .carousel-showmanymoveone .carousel-inner>.item.prev {
        -webkit-transform: translate3d(-20%, 0, 0);
        transform: translate3d(-20%, 0, 0);
        left: 0
    }

    .carousel-showmanymoveone .carousel-inner>.item.active,
    .carousel-showmanymoveone .carousel-inner>.item.left,
    .carousel-showmanymoveone .carousel-inner>.item.prev.right {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        left: 0
    }
}

/* === C3: home-slide.php banner styles === */
/* start giat heo quay 2026 */
.slide-banner-giat-heo-quay-2026 {
    background-color: #9F2200 !important;
}

.slide-banner-giat-heo-quay-2026-body {
    width: 1150px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.slide-banner-giat-heo-quay-2026 .banner-event {
    background: url(/assets/event/giat-heo-quay-2026/herobanner-pc-bg.avif) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-banner-giat-heo-quay-2026 .slide-text {
    aspect-ratio: 950 / 820;
    height: calc(410 / 480 * 100%);
    background: url(/assets/event/giat-heo-quay-2026/herobanner-pc-text.avif?v=2) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: calc(14 / 480 * 100%);
    z-index: 2;
}

.slide-banner-giat-heo-quay-2026 .slider-player {
    aspect-ratio: 1598 / 960;
    height: 100%;
    position: absolute;
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 1;
}

.slide-banner-giat-heo-quay-2026 .slider-player img {
    height: auto;
    width: 100%;
    opacity: 1;
}

/* end giat heo quay 2026 */

/* start freebet ksports */
.slide-banner-freebet-ksports {
    background-color: #9F2200 !important;
}

.slide-banner-freebet-ksports-body {
    width: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.slide-banner-freebet-ksports .banner-event {
    background: url(/assets/event/freebet-ksports/herobanner-pc-bg.avif) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-banner-freebet-ksports .slide-text {
    aspect-ratio: 858 / 684;
    height: calc(342 / 480 * 100%);
    background: url(/assets/event/freebet-ksports/herobanner-pc-text.avif) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: calc(618 / 1920 * 100%);
    top: calc(65 / 480 * 100%);
    z-index: 2;
}

.slide-banner-freebet-ksports .slider-player {
    aspect-ratio: 1210 / 870;
    height: calc(445 / 480 * 100%);
    position: absolute;
    left: auto;
    right: calc(220 / 1920 * 100%);
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 1;
}

.slide-banner-freebet-ksports .slider-player img {
    height: auto;
    width: 100%;
    opacity: 1;
}

/* end freebet ksports */

/* start xac thuc otp */
.slide-banner-xac-thuc-otp {
    background-color: #9F2200 !important;
}

.slide-banner-xac-thuc-otp-body {
    width: 1150px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.slide-banner-xac-thuc-otp .banner-event {
    background: url(/assets/event/xac-thuc-otp/herobanner-pc-bg.avif) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-banner-xac-thuc-otp .slide-text {
    aspect-ratio: 1227 / 628;
    height: calc(250 / 350 * 100%);
    background: url(/assets/event/xac-thuc-otp/herobanner-pc-text.avif) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: calc(26 / 350 * 100%);
    z-index: 2;
}

.slide-banner-xac-thuc-otp .slider-player {
    aspect-ratio: 1600 / 960;
    height: 100%;
    position: absolute;
    left: auto;
    right: -105px;
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 1;
}

.slide-banner-xac-thuc-otp .slider-player img {
    height: auto;
    width: 100%;
    opacity: 1;
}

/* end xac thuc otp */
/* start app intruction */
.slide-banner-app-intruction {
    background-color: #239190 !important;
}

.slide-banner-app-intruction-body {
    width: 1150px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.slide-banner-app-intruction .banner-event {
    background: url(/assets/event/app-intruction/herobanner-pc-bg.avif) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-banner-app-intruction .slide-text {
    aspect-ratio: 1144 / 464;
    height: calc(232 / 460 * 100%);
    background: url(/assets/event/app-intruction/herobanner-pc-text.avif) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.slide-banner-app-intruction .slider-player {
    aspect-ratio: 1428 / 822;
    height: calc(412 / 460 * 100%);
    position: absolute;
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 2;
    transform: translateX(20%);
}

.slide-banner-app-intruction .slider-player img {
    height: auto;
    width: 100%;
    opacity: 1;
}

/* end app intruction */

/* start ksport */
.slide-banner-ksport {
    background-color: #239190 !important;
}

.slide-banner-ksport-body {
    width: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.slide-banner-ksport .banner-event {
    background: url(/assets/event/ksport/herobanner-pc-bg.avif?v=3) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-banner-ksport .slide-text {
    aspect-ratio: 1144 / 793;
    height: calc(396 / 460 * 100%);
    background: url(/assets/event/ksport/herobanner-pc-text.avif?v=3) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: calc(336/1920 * 100%);
    top: calc(40/480 * 100%);
    z-index: 1;
}

.slide-banner-ksport .slider-player {
    aspect-ratio: 1794 / 960;
    height: 100%;
    position: absolute;
    left: auto;
    right: calc(254/1920 * 100%);
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 2;
}

.slide-banner-ksport .slider-player img {
    height: auto;
    width: 100%;
    opacity: 1;
}

/* end ksport */

/* start bao-hiem-cuoc-asean-2026 */
.slide-banner-bao-hiem-cuoc-asean-2026 {
    background-color: #239190 !important;
}

.slide-banner-bao-hiem-cuoc-asean-2026-body {
    width: 100%;
    top: 0;
}
.slide-banner-bao-hiem-cuoc-asean-2026 .banner-event{
    background: url(/assets/event/bao-hiem-cuoc-asean-2026/herobanner-pc-bg.avif?v=1) center center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.slide-banner-bao-hiem-cuoc-asean-2026 .slide-text {
    aspect-ratio: 884 / 757;
    height: calc(378 / 480 * 100%);
    max-width: none;
    background: url(/assets/event/bao-hiem-cuoc-asean-2026/herobanner-pc-text.avif?v=2)  center center no-repeat;
    background-size: contain;
    position: absolute;
    left: calc(303 / 1920 * 100%);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.slide-banner-bao-hiem-cuoc-asean-2026 .slider-player {
    aspect-ratio: 1625 / 941;
    height: calc(470 / 480 * 100%);
    position: absolute;
    left: auto;
    right: calc(285 / 1920 * 100%);
    top: auto;
    bottom: 0;
    display: flex;
    align-items: end;
    z-index: 2;
}
.slide-banner-bao-hiem-cuoc-asean-2026 .slider-player img{
    height: auto;
    width: 100%;
    opacity: 1;
}
/* end bao-hiem-cuoc-asean-2026 */


/* === C4: livestream-quickbet-comp.php styles === */
.livestream-list {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.livestream-list .header-row {
    margin-bottom: 16px;
}

.livestream-list .game-cards-container {
    display: flex;
    gap: 22px;
    align-items: center;
    overflow: hidden;
}

.livestream-list .game-cards-container .swiper-slide {
    width: calc((100% - 48px) / 3);
    margin-right: 24px;
}

.livestream-list .game-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 400 / 270;
    width: 100%;
}

.livestream-list .game-card.quickbet {
    aspect-ratio: 400 / 270;
    width: 100%;
    border-radius: 5px;
}

.livestream-list .game-card.thumb {
    aspect-ratio: 16 / 9;
    height: 100%
}


.livestream-list .game-card img {
    height: auto;
    aspect-ratio: 400 / 270;
    object-fit: fill;
}

.livestream-list .game-info {
    font-size: 16px;
    color: #fff;
    line-height: 24px;
}

.livestream-list .see-more {
    color: #866E43;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-decoration: none;
    font-family: 'Roboto';
}

.livestream-list .see-more:hover {
    text-decoration: underline;
}

.quickbet-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 101;
    background: none;
    border: none;
    box-shadow: none;
}

.livestream-list-nav {
    gap: 16px;
}

.livestream-list-nav-swiper {
    gap: 8px;
}

.swiper-quickbet-nav {
    width: 20px;
    height: 20px;
    background: #E8E9EC;
    color: #808080;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-quickbet-nav.swiper-button-disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.swiper-quickbet-nav:not(.swiper-button-disabled):hover {
    background: #CCCCCC;
    color: #3C3C3D;
}

.swiper-quickbet-next {
    transform: rotate(180deg);
}

.categories-container .category-card {
    overflow: hidden;
}

.categories-container .category-card video {
    width: 100%;
    height: auto;
    object-fit: cover;
}