﻿@media only screen and (min-width: 768px) { /* Desktop View */
    .carousel {
        width: 100%;
        margin: 0 auto;
    }

    .carousel-item {
        height: fit-content;
        transition: all 0.3s ease;
    }

    .slide-con {
        width: 100%;
        aspect-ratio: 16/9;
    }

        .slide-con .banner-img {
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: -1;
        }

            .slide-con .banner-img img {
                width: 100%;
                height: 100%;
                border-radius: 25px;
                object-fit: cover;
            }

            .slide-con .banner-img .overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 50%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
                border-radius: 25px;
                pointer-events: none;
                transition: 0.3s all ease;
            }

        .slide-con:hover .banner-img .overlay {
            height: 65%;
        }

        .slide-con .content {
            bottom: 0;
            position: absolute;
            margin: 0 0 3% 3%;
            width: 100%;
        }

            .slide-con .content .category {
                font-size: 14px;
                line-height: 1.3;
            }

            .slide-con .content .name {
                font-size: 50px;
                line-height: 1.3;
                font-weight: 800;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 95%;
                transition: 0.3s all ease;
            }

        .slide-con:hover .content .name {
            letter-spacing: 1px;
        }

        .slide-con .content .vmbtn-con {
            margin: 30px 0 0;
        }

            .slide-con .content .vmbtn-con .vm-button {
                border-radius: 25px;
                background-color: white;
                border: 1px solid white;
                padding: 10px 30px;
                font-weight: 500;
                transition: all 0.3s ease;
                color: black;
            }

                .slide-con .content .vmbtn-con .vm-button:hover {
                    background-color: #00ffd1;
                    border: 1px solid #00ffd1;
                }

                .slide-con .content .vmbtn-con .vm-button:active {
                    backdrop-filter: blur(4px);
                    background-color: rgba(0,0,0,0.4);
                    color: #00ffd1;
                    border: 1px solid #00ffd1;
                }

    /* Newest Games */
    .games-container .top {
        margin: 5% 0 1em
    }

    .games-container .top,
    .games-container .bottom {
        width: 100%;
        justify-content: space-between;
        display: flex;
    }


        .games-container .top .title {
            font-size: 24px;
            font-weight: 700;
        }

        .games-container .top .vm-button {
            padding: 8px 35px;
            background-color: transparent;
            border-radius: 25px;
            border: 1px solid white;
            color: white;
            transition: all 0.3s ease;
        }

            .games-container .top .vm-button:hover {
                background-color: #001f1c;
                color: #00ffd1;
                border: 1px solid #00ffd1;
            }

            .games-container .top .vm-button:active {
                background-color: #00ffd1;
                border: 1px solid #00ffd1;
                color: black;
            }

        .games-container .bottom .new-game {
            width: 23.5%;
            height: clamp(253px, 31.25vw, 380px);
            position: relative;
        }

            .games-container .bottom .new-game .banner {
                width: 100%;
                height: 100%;
                border-radius: 25px;
                position: absolute;
                z-index: -1;
            }

                .games-container .bottom .new-game .banner img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 25px;
                }

                .games-container .bottom .new-game .banner .overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 50%;
                    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
                    border-radius: 25px;
                    pointer-events: none;
                    transition: 0.3s all ease;
                }

            .games-container .bottom .new-game:hover .banner .overlay {
                height: 100%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            }

            .games-container .bottom .new-game .game-vm-button {
                position: absolute;
                margin: 0 0 25px 25px;
                bottom: 0;
                padding: 5px 25px;
                background-color: white;
                border-radius: 25px;
                border: 1px solid white;
                font-weight: 500;
                color: black;
                transition: all 0.3s ease;
            }

                .games-container .bottom .new-game .game-vm-button:hover {
                    background-color: #00ffd1;
                    border: 1px solid #00ffd1;
                }

                .games-container .bottom .new-game .game-vm-button:active {
                    backdrop-filter: blur(4px);
                    background-color: rgba(0,0,0,0.4);
                    color: #00ffd1;
                    border: 1px solid #00ffd1;
                }
        /* End Newest Game - Desktop */

        /* Mobile Game - desktop */
        .games-container .bottom .mobile-game {
            width: clamp(233px, 32%,456px);
            height: 300px;
            position: relative;
        }

            .games-container .bottom .mobile-game .banner {
                width: 100%;
                height: 250px;
                position: absolute;
                z-index: -1;
            }

                .games-container .bottom .mobile-game .banner .overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    border-radius: 25px;
                    pointer-events: none;
                    transition: all 0.3s ease;
                    background: transparent;
                }

            .games-container .bottom .mobile-game:hover .banner .overlay,
            .games-container .bottom .mobile-game:active .banner .overlay {
                background: rgba(0, 0, 0, 0.4);
            }

            .games-container .bottom .mobile-game .banner img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 25px;
            }

    /*.games-container .bottom .mobile-game .game-details {
                display: flex;
                bottom: 0;
                position: absolute;
                align-items: end;
                width: 100%;
            }

                .games-container .bottom .mobile-game .game-details .icon {
                    width: clamp(60px, 20%,136px);
                    height: 100%;
                }

                    .games-container .bottom .mobile-game .game-details .icon img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }

                .games-container .bottom .mobile-game .game-details .content {
                    width: clamp(200px,80%,310px);
                    height: 100%;
                    padding: 0 10px;
                }

                    .games-container
                    .bottom
                    .mobile-game
                    .game-details
                    .content
                    .appstorebtn-con {
                        display: flex;
                        margin: 0 0 4%;
                    }

                        .games-container
                        .bottom
                        .mobile-game
                        .game-details
                        .content
                        .appstorebtn-con a {
                            margin: 0 10px 0 0;
                            max-width: clamp(74px,7.448vw,143px)
                        }

                    .games-container .bottom .mobile-game .game-details .content .sub-title {
                        font-size: .9em;
                    }

                    .games-container .bottom .mobile-game .game-details .content .title {
                        font-size: 1em;
                        line-height: 24px;
                    }*/
    /* End Mobile Game - desktop */
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .games-container .bottom .mobile-game {
        height: 178px;
    }

        .games-container .bottom .mobile-game .banner {
            height: 150px;
        }

        .games-container .bottom .mobile-game .game-details .content .sub-title {
            font-size: 8px;
        }

        .games-container .bottom .mobile-game .game-details .content .title {
            font-size: 12px;
            line-height: 14px;
        }
}

@media only screen and (max-width: 767px) { /* Mobile View */
    .carousel {
        width: 100%;
        margin: 0 auto;
    }

    .carousel-item {
        height: fit-content;
    }

    .slide-con {
        width: 100%;
        aspect-ratio: 16/9;
    }

        .slide-con .banner-img {
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: -1;
        }

            .slide-con .banner-img img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .slide-con .content {
            display: none;
        }

    /* Newest Game */
    .m-newest-games-container {
        display: flex;
        flex-direction: column;
    }

        .m-newest-games-container .top {
            margin: 20px 0;
        }

        .m-newest-games-container .title {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
        }

        .m-newest-games-container .bottom {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
        }

            .m-newest-games-container .bottom .games-wrapper {
                display: flex;
                gap: 16px;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                height: clamp(350px, 60.626vw, 465px);
                padding-bottom: 10px;
                -ms-overflow-style: none;
                scrollbar-width: none;
            }

                .m-newest-games-container .bottom .games-wrapper::-webkit-scrollbar {
                    display: none;
                }

            .m-newest-games-container .bottom .new-game {
                flex: 0 0 auto;
                scroll-snap-align: start;
                width: clamp(300px, 46.284vw, 355px);
                border-radius: 25px;
                overflow: hidden;
                background-color: #1a1a1a;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
            }

            .m-newest-games-container .bottom a {
                text-decoration: none;
                color: white;
                height: 100%;
                display: block;
            }

            .m-newest-games-container .bottom .new-game .banner img {
                height: clamp(200px, 39.113vw, 300px);
                width: 100%;
                object-fit: cover;
                border-radius: 25px 25px 0 0;
                display: block;
            }

            .m-newest-games-container .bottom .new-game .details {
                background-color: black;
                height: 150px;
                padding: 16px;
                border-radius: 0 0 25px 25px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

                .m-newest-games-container .bottom .new-game .details span {
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 4;
                    white-space: pre-wrap;
                    font-size: 14px;
                    color: #fff;
                }
    /* End Newest Game */

    /* Topup Game */
    .m-topup-games-container {
        display: flex;
        flex-direction: column;
    }

        .m-topup-games-container .top {
            margin: 20px 0;
        }

        .m-topup-games-container .title {
            font-size: 24px;
            font-weight: bold;
            color: white;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .m-topup-games-container .bottom {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
        }

            .m-topup-games-container .bottom .games-wrapper {
                display: flex;
                gap: 16px;
                height: clamp(350px, 60.626vw, 465px);
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 10px;
                -ms-overflow-style: none;
                scrollbar-width: none;
            }

                .m-topup-games-container .bottom .games-wrapper::-webkit-scrollbar {
                    display: none;
                }

            .m-topup-games-container .bottom .topup-game {
                flex: 0 0 auto;
                scroll-snap-align: start;
                width: clamp(300px, 46.284vw, 355px);
                border-radius: 25px;
                overflow: hidden;
                background-color: #1a1a1a;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
            }

                .m-topup-games-container .bottom .topup-game .banner img {
                    width: 100%;
                    height: clamp(200px, 39.113vw, 300px);
                    object-fit: cover;
                    display: block;
                    border-radius: 25px 25px 0 0;
                }

                .m-topup-games-container .bottom .topup-game .details {
                    background-color: black;
                    padding: 12px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 150px;
                    border-radius: 0 0 25px 25px;
                }

                    .m-topup-games-container .bottom .topup-game .details .title {
                        font-size: 22px;
                        font-weight: bold;
                        color: #fff;
                    }

                    .m-topup-games-container .bottom .topup-game .details .type {
                        font-size: 16px;
                        color: #00ffd1;
                        margin-top: 4px;
                    }

                    .m-topup-games-container .bottom .topup-game .details .topup-button {
                        display: inline-block;
                        width: 100%;
                        text-align: center;
                        background-color: #00ffd1;
                        color: black;
                        font-size: 18px;
                        font-weight: bold;
                        border: none;
                        border-radius: 25px;
                        padding: 6px 0;
                        margin-top: auto;
                    }

                        .m-topup-games-container .bottom .topup-game .details .topup-button:active {
                            background-color: #001f1c;
                            color: #00ffd1;
                            text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2);
                        }

                    .m-topup-games-container .bottom .topup-game .details .unavailable {
                        display: inline-block;
                        width: 100%;
                        text-align: center;
                        background-color: gray;
                        color: white;
                        font-weight: bold;
                        border: none;
                        border-radius: 25px;
                        padding: 10px 0;
                        margin-top: auto;
                    }
    /* End Topup Game */

    /* Dot Container */
    .dot-container {
        display: flex;
        justify-content: center;
        margin-top: 12px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #666;
        border-radius: 50%;
        opacity: 0.5;
        transition: background-color 0.3s, opacity 0.3s;
    }

        .dot.active {
            background-color: #fff;
            opacity: 1;
        }

    /* Festive sales */
    /*.mobile {
        border-top: 2px solid #fff;
        display: flex;
    }

        .mobile .container .top {
            display: flex;
            margin: 2% 0 5%;
            justify-content: space-between
        }

            .mobile .container .top .title {
                font-size: 24px;
            }

            .mobile .container .top button {
                width: clamp(130px, 26.076vw, 200px);
                font-size: 14px;
                background-color: transparent;
                border: 1px solid white;
                border-radius: 25px;
                color: white;
                height: fit-content;
                padding: 5px 0;
                white-space: nowrap;
            }

    .slideshow-container img {
        width: 100%;
        border-radius: 25px 25px 0px 0px;
        height: clamp(200px, 45.632vw, 350px);
        object-fit: cover;
    }

    .slideshow-container {
        position: relative;
        max-width: 100%;
    }

    .slides {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .slide-container {
        height: fit-content;
    }

    .active {
        display: block;
    }

    .dots-container, .dots-container2 {
        display: flex;
        justify-content: center;
        margin: 10px 0 20px;
    }

    .dots, .dots2 {
        height: 10px;
        width: 10px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        margin: 0 3px;
        cursor: pointer;
    }

        .dots.active, .dots2.active {
            background-color: #717171;
        }

    .package-details {
        width: 100%;
        padding: 20px;
        display: flex;
        background-color: black;
        border-radius: 0px 0px 25px 25px;
        justify-content: space-between;
    }

        .package-details .package-details-top {
            display: flex;
            width: clamp(260px, 70%, 490px);
            justify-content: space-between;
            align-items: center;
        }

        .package-details .package-details-bottom {
            width: clamp(110px, 25%, 200px);
            align-content: center;
            display: grid;
        }

        .package-details .percent {
            text-align: center;
            border: 2px solid white;
            border-radius: 15px;
            align-content: center;
            display: grid;
            width: 55px;
            min-width: 55px;
            font-size: 14px;
            height: 55px;
        }

        .package-details .title-price {
            width: clamp(200px, 100%, 410px);
            margin: 0 0 0 15px;
        }

            .package-details .title-price .title {
                font-size: 20px;
            }

            .package-details .title-price .price {
                display: flex;
            }

                .package-details .title-price .price .original-price {
                    text-decoration: line-through;
                    color: grey;
                    white-space: nowrap;
                    width: 80px;
                    align-content: center;
                    display: grid;
                }

                .package-details .title-price .price .discounted-price {
                    color: #02f2ff;
                    font-size: 18px;
                }

        .package-details .add-cart-btn {
            width: 100%;
        }

            .package-details .add-cart-btn button {
                width: 100%;
                background-color: #02f2ff;
                border: none;
                border-radius: 30px;
                padding: 10px 0;
                white-space: nowrap;
            }*/

    /* End Festival Sales */

    /* Top Seller */
    /*.ethrone-row-flex {
        display: flex;
        justify-content: space-between;
        margin: 0 0 20px;
    }

    .ethrone-item {
        width: 49%;
    }

        .ethrone-item .item-image {
            width: 100%;
            height: 200px;
        }

            .ethrone-item .item-image a {
                width: 100%;
                height: 100%;
            }

            .ethrone-item .item-image img {
                border-radius: 25px 25px 0 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .ethrone-item .item-detail {
            border-radius: 0 0 25px 25px;
            background-color: #000;
            display: flex;
            padding: 15px 0 15px 15px;
            justify-content: space-between;
        }

            .ethrone-item .item-detail .price {
                width: 65%;
            }

                .ethrone-item .item-detail .price .original-price {
                    text-decoration: line-through;
                }

                .ethrone-item .item-detail .price .discounted-price {
                    font-size: 20px;
                    color: #02f2ff;
                }

            .ethrone-item .item-detail .percent {
                height: 30px;
                width: clamp(85px, 50%, 100px);
                border-radius: 25px 0 0 25px;
                background-color: #46bc46;
                color: #fff;
                text-align: center;
                font-size: 18px;
                align-content: center;
                display: grid;
            }*/
    /* End top seller mobile */

    /* Top up mobile */
    /*.m-topup-games-container .bottom {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
    }

        .m-topup-games-container .bottom .games-wrapper1 {
            display: flex;
            transition: transform 0.5s ease;
        }

        .m-topup-games-container .bottom .new-game1 {
            display: flex;
            flex-direction: column;
            margin-right: 5%;
        }

        .m-topup-games-container .bottom a {
            text-decoration: none;
            color: white;
        }

        .m-topup-games-container .bottom .new-game1 .banner1 {
            height: 215px;
            width: 215px;
        }

            .m-topup-games-container .bottom .new-game1 .banner1 img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 20px;
            }*/
    /* End Top up mobile */

    /* Mobile game deal mobile */
    /*.m-games-deals-container .bottom {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
    }

        .m-games-deals-container .bottom .games-wrapper2 {
            display: flex;
            transition: transform 0.5s ease;
            width: 100%;
        }

        .m-games-deals-container .bottom .new-game2 {
            width: 390px;
            height: fit-content;
            margin: 0 3% 0 0;
        }

        .m-games-deals-container .bottom a {
            text-decoration: none;
            color: white;
        }

        .m-games-deals-container .bottom .new-game2 .banner2 {
            width: clamp(300px,44.198vw, 339px);
            height: 100%;
        }

    .best-deals-container {
        width: 100%;
        height: 100%;
    }

        .best-deals-container .header {
            display: flex;
            flex-direction: row;
            margin-bottom: 20px;
        }

            .best-deals-container .header h1 {
                font-size: 45px;
                flex: 8;
            }

            .best-deals-container .header button {
                border: 1px solid white;
                border-radius: 25px;
                padding-top: 5px;
                padding-bottom: 5px;
                padding-right: 40px;
                padding-left: 40px;
                background-color: transparent;
                color: white;
                height: 35px;
                margin-top: 10px;
            }

    .deals-container-one {
        width: 100%;
        height: 100%;
    }

    .deals-box1 {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        background-color: rgba(128, 128, 128, 0.4);
        border: 1px solid lightgrey;
        border-radius: 25px;
        padding: 15px 0 15px 15px;
        border-radius: 25px;
    }

        .deals-box1 .img {
            width: 35%;
            aspect-ratio: 4/4;
            border-radius: 20px;
        }

            .deals-box1 .img img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 20px;
            }

        .deals-box1 .deals-content {
            width: 70%;
            margin: 0 0 0 10px;
        }

            .deals-box1 .deals-content .content {
                width: 100%;
            }

                .deals-box1 .deals-content .content .title {
                    font-size: 16px;
                    width: 80%;
                }

                .deals-box1 .deals-content .content .point {
                    width: 95%;
                }

                .deals-box1 .deals-content .content .price-con {
                    width: 100%;
                    display: flex;
                }

                    .deals-box1 .deals-content .content .price-con .price {
                        font-size: 20px;
                        font-weight: 900;
                        width: 80%;
                    }

                    .deals-box1 .deals-content .content .price-con .percentage {
                        background-color: #46bc46;
                        border-radius: 12px 0px 0px 12px;
                        color: white;
                        float: left;
                        height: 20px;
                        width: 5rem;
                        text-align: center;
                    }*/
    /* End mobile game deal mobile*/

    /* Ethrone New mobile */

    .m-news-container .bottom {
        display: flex;
        position: relative;
    }

    #slide1 {
        width: 100%;
    }

    .slideshow-container1 {
        width: 100%;
        height: 450px;
        position: relative;
    }

    .mySlides1 {
        display: none;
    }

        .mySlides1 img {
            height: 450px;
            object-fit: cover;
            width: 100%;
        }

        .mySlides1 .content {
            width: fit-content;
            position: absolute;
            bottom: 0;
            margin: 25px;
        }

            .mySlides1 .content div {
                width: fit-content;
            }

            .mySlides1 .content .title {
                font-size: 24px;
            }

    /* End Ethrone New mobile */

    /* Dot Container mobile*/
    /*.dot-container,
    .dot-container1,
    .dot-container2 {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

        .dot-container .dot,
        .dot-container1 .dot1,
        .dot-container2 .dot2 {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: gray;
            margin: 15px 4px;
            cursor: pointer;
        }

            .dot-container .dot.active,
            .dot-container1 .dot1.active,
            .dot-container2 .dot2.active {
                background-color: white;
            }

    .dot-container3 {
        text-align: center;
        margin: 20px 0;
    }

        .dot-container3 .dot1 {
            cursor: pointer;
            height: 10px;
            width: 10px;
            margin: 0 2px;
            background-color: #bbb;
            border-radius: 100%;
            display: inline-block;
        }

    .active1, .dot1:hover {
        background-color: #717171;
    }*/
    /* End Dot Container mobile*/
}


/*@media only screen and (max-width: 480px) {

    .mobile .container .top {
        margin: 10% 0 5%;
    }

    .package-details {
        width: 100%;
        padding: 20px;
        display: block;
        background-color: black;
        border-radius: 0px 0px 25px 25px;
    }

        .package-details .title-price {
            width: 80%;
        }

        .package-details .package-details-top {
            width: 100%;
        }

        .package-details .package-details-bottom {
            margin: 5% 0 0;
            width: 100%;
        }

    .ethrone-row-flex {
        display: block;
        justify-content: space-between;
    }

    .ethrone-item {
        margin: 0 auto 20px;
        width: 100%;
    }

    .m-topup-games-container .bottom .new-game1 .banner1 {
        height: 210px;
        width: 210px;
    }
}*/
