﻿.lgd-title-con {
    width: 100%;
    margin: 30px 0;
}

    .lgd-title-con .title {
        font-size: 24px;
        font-weight: 700;
        text-transform: capitalize;
    }

.lgd-con {
    margin: 30px 0;
    width: 100%;
}

#gameListView {
    background-color: transparent;
    border: none;
    color: #fff;
}

    #gameListView .k-listview-content {
        display: flex;
        flex-wrap: wrap;
    }

.lgd-con .game-item {
    background-color: #000;
    margin-bottom: 30px;
}

    .lgd-con .game-item a {
        text-decoration: none;
        color: #fff;
    }

    .lgd-con .game-item .game-image {
        width: 100%;
    }

        .lgd-con .game-item .game-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .lgd-con .game-item .details {
        padding: 10px;
        align-items: center;
    }

        .lgd-con .game-item .details .ori-price {
            text-decoration: line-through;
        }

        .lgd-con .game-item .details .discount-price {
            font-weight: 700;
            color: #00ffd1;
        }

.custom-pagination {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

    .custom-pagination span {
        margin: 0 5px;
        cursor: pointer;
        color: #808080;
    }

        .custom-pagination span.active {
            color: #fff;
        }

.ads {
    width: 100%;
    aspect-ratio: 18/6;
}

    .ads img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media only screen and (min-width: 768px) { /* Desktop View */
    .lgd-con .game-item .game-image {
        width: 100%;
        height: clamp(170px,15.625vw,300px);
    }

    .lgd-con .game-item {
        width: 32%;
        border-radius: 15px;
    }

        .lgd-con .game-item:nth-child(3n+2) {
            margin: 0 clamp(14px,1.458vw,28px) 30px;
        }

        .lgd-con .game-item .game-image img {
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }

        .lgd-con .game-item .details {
            height: 50px;
            display: flex;
        }

            .lgd-con .game-item .details .discount-price {
                margin-left: 10px;
            }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
}

@media only screen and (max-width: 767px) { /* Mobile View */

    .lgd-con .game-item .game-image {
        width: 100%;
        height: clamp(70px,23.468vw,180px);
    }

    .lgd-con .game-item {
        width: 49%;
        border-radius: 10px;
    }

        .lgd-con .game-item:nth-child(2n+2) {
            margin: 0 0 30px auto;
        }

        .lgd-con .game-item .game-image img {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .lgd-con .game-item .details {
            height: fit-content;
        }
}
