/* ===== INDEX PAGE SPECIFIC STYLES ===== */
.inner {
    max-width: 1440px;
    margin: 0 auto;
}
/* Marquee */
.marquee-bar {
    background: linear-gradient(90deg, #e8f0fe, #f0f4ff);
    padding: 8px 0;
    overflow: hidden;
    border-bottom: 1px solid #dde4ef;
}
.marquee-bar .inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}
.marquee-icon {
    flex-shrink: 0;
    color: #4a7bf7;
    font-size: 16px;
}
.marquee-wrap {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}
.marquee-text {
    display: inline-block;
    animation: marquee 30s linear infinite;
    color: #555;
    font-size: 13px;
}
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Banner */
.banner {
    position: relative;
    overflow: hidden;
    /* height: 538px; */
    background: linear-gradient(135deg, #1a2a4a, #2a3a5a);
}
.banner-slider {
    display: flex; /*height: 100%;*/
    transition: transform 0.6s ease;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.banner-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.banner-slide:nth-child(1) {
    background: linear-gradient(135deg, #1a2842, #2a4468);
}
.banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #1e3050, #2e4a72);
}
.banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #1a2842, #2a4468);
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}
.banner-dots .dot.active {
    background: #4a7bf7;
}
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-nav.prev {
    left: 20px;
}
.banner-nav.next {
    right: 20px;
}
/* Section title */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
.section-title h2 {
    font-size: 14px;
    color: #e4e4f7;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    /* opacity: 0.7; */
    font-size: 64px;
    font-weight: bolder;
    padding: 0;
    margin: 0;
}
.section-title h3 {
    font-weight: 900;
    color: #404261;
    font-size: 64px;
    margin: 1px 0;
    -webkit-animation: aniLogo01 1.8s infinite;
    animation: aniLogo01 1.8s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-title h3 img {
    width: 100%;
}
.aniLogo01 {
    -webkit-animation: aniLogo01 2.6s infinite;
    -moz-animation: aniLogo01 2.6s infinite;
    -o-animation: aniLogo01 2.6s infinite;
    animation: aniLogo01 2.6s infinite
}

@-webkit-keyframes aniLogo01 {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.01);
        transform: scale(1.01)
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@-moz-keyframes aniLogo01 {
    0% {
        -moz-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -moz-transform: scale(1.01);
        transform: scale(1.01)
    }

    to {
        -moz-transform: scale(1);
        transform: scale(1)
    }
}

@-o-keyframes aniLogo01 {
    0% {
        -o-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -o-transform: scale(1.01);
        transform: scale(1.01)
    }

    to {
        -o-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes aniLogo01 {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.01);
        -moz-transform: scale(1.01);
        -o-transform: scale(1.01);
        transform: scale(1.01)
    }

    to {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1)
    }
}
.section-title h3::before {
    content: "";
    display: inline-block;
    width: 270px;
    height: 50px;
    background-image: url('/assets/images/main/arrow-left.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 10px;
    opacity: 0.4;
}

.section-title h3::after {
    content: "";
    display: inline-block;
    width: 270px;
    height: 50px;
    background-image: url('/assets/images/main/arrow-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 10px;
    opacity: 0.4;
}
.section-title h4 {
    font-size: 13px;
    color: #404261;
    font-weight: 400;
    margin: 0;
    display: none;
}
/* Games section */
.section-games {
    padding: 60px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    background-image: url(/assets/images/main/bg-games.jpg);
    width: 100%;
    background-size: 100%;
    background-position: center center;
    background-repeat: repeat-y;
    padding-top: 48px;
    padding-bottom: 60px;
}
.section-games::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(232, 240, 254, 0.3) 0%, transparent 50%, rgba(232, 240, 254, 0.2) 100%);
}
.games-content {
    display: flex;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.games-sidebar {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    margin-top: 19px;
    background: #f2f6f9;
    background: linear-gradient(180deg, #f2f6f9, #ecf2fe);
    border-radius: 10px;
    align-items: center;
    padding: 23px 20px;
}
.games-sidebar .sidebar-item {
    gap: 10px;
    padding: 15px 16px;
    cursor: pointer;
    margin-bottom: 20px;
    color: #515b7c;
    border-radius: 20px;
    background: #e5ebff;
    background: linear-gradient(127deg, #e5ebff, #c8dcff 34%, #d0ddf5 39%, #c6d8f9 39%, #e9f0fe 65%, #f6f7fb 68%, #e5ebff);
    display: flex;
    align-items: center;
    position: relative;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 1px 3px 13px #2b3d7869;
    transition: .3s all ease-out;
}
.games-sidebar .sidebar-item:before {
    position: absolute;
    top: 5px;
    left: 0;
    box-shadow: 1px 3px 13px #2b3d7869;
    transition: 0.3s all ease-out;
}
.games-sidebar .sidebar-item:hover {
    color: #fff;
    font-weight: 700;
    box-shadow: 0px 6px 1px rgb(68 93 161);
    background: #597ef8;
    position: relative;
}

.games-sidebar .sidebar-item:hover:before {
    content: "";
    position: absolute;   
    background-color: #425eb8; 
    border-radius: 20px;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 1px 3px 13px #2b3d7869;
    transition: .3s all ease-out;
    z-index: -1; 
}
.games-sidebar .sidebar-item:hover .icon-circle {
    font-size: 26px;
    color: #7c8797;
    position: absolute;
    transition: 0.2s all ease-out;
    animation: bouncex-03939838 1.5s ease-in-out infinite;
    box-shadow: 3px 10px 13px rgb(68 93 161);
    border-radius: 20px;
}


.games-sidebar .sidebar-item.active {
    color: #fff;
    font-weight: 700;
    box-shadow: 0px 6px 1px rgb(68 93 161);
    background: #597ef8 !important;
    color: #ffffff;
}
.games-sidebar .sidebar-item.active:before {
    position: absolute;   
    background-color: #425eb8; 
    border-radius: 20px;
    top: 5px;
    left: 0;
    box-shadow: 1px 3px 13px #2b3d7869;
    transition: .3s all ease-out;}
.games-sidebar .sidebar-item.active .icon-circle {
    font-size: 26px;
    color: #7c8797;
    position: absolute;
    transition: 0.2s all ease-out;
    animation: bouncex-03939838 1.5s ease-in-out infinite;
    box-shadow: 3px 10px 13px rgb(68 93 161);
    border-radius: 20px;
}
@-webkit-keyframes bouncex-03939838 {
    0%,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate(-50%, calc(-50% - 10px));
        transform: translate(-50%, calc(-50% - 10px));
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate(-50%, calc(-50% - 6px));
        transform: translate(-50%, calc(-50% - 6px));
    }

    90% {
        -webkit-transform: translate(-50%, calc(-50% - 3px));
        transform: translate(-50%, calc(-50% - 3px));
    }
}

@keyframes bouncex-03939838 {
    0%,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate(-50%, calc(-50% - 10px));
        transform: translate(-50%, calc(-50% - 10px));
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate(-50%, calc(-50% - 6px));
        transform: translate(-50%, calc(-50% - 6px));
    }

    90% {
        -webkit-transform: translate(-50%, calc(-50% - 3px));
        transform: translate(-50%, calc(-50% - 3px));
    }
}
.games-sidebar .sidebar-item .icon-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: absolute;
    right: 13px;
    position: absolute;
    top: 20%;
}

/*.games-sidebar .sidebar-item.active .icon-circle img { filter: brightness(10); }*/
.games-sidebar .sidebar-item .icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.games-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: start;
}
.game-card-new {
    background: linear-gradient(135deg, #eef1f7, #e4e9f2);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.game-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.game-card-new .card-thumb {
    /* aspect-ratio: 4/3; */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.game-card-new .card-thumb img {
    height: 85%;
    object-fit: contain;
}
.game-card-new .card-body {
    padding: 14px 16px;
    display: none;
}
.game-card-new .card-body h5 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 2px;
}
.game-card-new .card-body p {
    font-size: 12px;
    color: #888;
    margin: 0;
}
/* Service section */
.section-service {
    padding: 60px 0;
    background: linear-gradient(180deg, #f0f4fb, #e8ecf5);
    position: relative;
    overflow: hidden;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.service-card {
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e8ecf1;
    transition: all 0.2s;
    background: #f2f6f9;
    background: linear-gradient(180deg, #f2f6f9, #ecf2fe);
    height: 350px;
    box-shadow: 1px 3px 19px #d4deff;
    transition: .3s all ease-out;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.service-card .service-icon {
    width: 60px;
    /* height: 60px; */
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #e8f0fe, #dde6f8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.service-card h5 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px;
}
.service-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}
/* Partner logos */
.partner-logos {
    padding: 16px 0;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
    overflow: hidden;
}
.partner-logos .inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 20px;
    animation: scrollLogos 20s linear infinite;
}
.partner-logos .logo-item {
    font-size: 14px;
    font-weight: 700;
    color: #bbb;
    white-space: nowrap;
    flex-shrink: 0;
}
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Mobile category pills */
.mob-cat-pills {
    display: none;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.mob-cat-pills::-webkit-scrollbar {
    display: none;
}
.mob-cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e0e4ea;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}
.mob-cat-pill img {
    width: 20px;
    height: 20px;
}
.mob-cat-pill.active {
    background: #4a7bf7;
    color: #fff;
    border-color: #4a7bf7;
}
/* Mobile sport cards */
.mob-sport-cards {
    display: none;
    padding: 0 16px;
}
.mob-sport-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eef1f7, #e4e9f2);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 12px;
    min-height: 130px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
}
.mob-sport-card:hover {
    transform: translateY(-2px);
}
.mob-sport-card .sport-info {
    z-index: 1;
    display: none;
}
.mob-sport-card .sport-info h3 {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
}
.mob-sport-card .sport-info p {
    font-size: 13px;
    color: #888;
    margin: 2px 0 0;
}
.mob-sport-card .sport-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 120px;
    width: 100%;
}
/* Responsive */
@media (max-width: 1100px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 960px) {
    .games-sidebar {
        display: none;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .section-games {
        display: none;
    }
    .mob-cat-pills {
        display: flex;
    }
    .mob-sport-cards {
        display: block;
    }
    .section-games,
    .section-service {
        padding: 30px 0;
    }
    .marquee-bar {
        display: none;
    }
}
@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}
.container-games {
    width: 100%;
    overflow: hidden;
}

.games-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
    padding-right: 10px;
}

.swiper {
    width: 100%;
    overflow: hidden;
}
.swiper-wrapper {
    align-items: stretch;
}
.swiper-slide {
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: -15px;
    transform: none;
    z-index: 10;
}
.swiper-button-next {
    right: 10px;
}
.swiper-button-prev {
    right: 50px;
    left: auto;
}
   .nav-buttons {
    display: flex;
    gap: 8px;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    transform: none;
    width: 8px;
    height: 32px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
}
.pc {
    display: block;
}
.mobile {
    display: none;
}
@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .mobile {
        display: block;
    }
    .banner {
        height: 100%;
    }

    .swiper-wrapper {
        height: 100% !important;
    }
    .swiper-slide img {
        object-fit: contain !important;
    }
    
    .section-title h2 {
    font-size: 14px;
}
    .section-title h3 {
    font-size: 26px;
}
    .section-title h3::before {
    width: 100px;
    height: 20px;
}
    .section-title h3::after {
    width: 100px;
    height: 20px;
}
    
}
#bannerSlider .swiper-wrapper {
    height: 425px;
}
.swiper-slide {
    width: 100%;
    height: 100%;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#gamesGrid {}