.movie-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Space between inline-block elements */
    margin-top: 1.1vh;
    background-color: #efefef;
    padding: 1.5% 1.2%;
}


.single-game-box {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3sease;
    overflow: hidden;
    cursor: pointer;
    justify-content: center;
    margin: 10px;
}


.single-game-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.single-game-box:hover {
    transform: scale(1.05);
}


.single-game-box .single-game-box-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background: rgba(180, 171, 3, 0.544);
    text-align: center !important;
    display: block;
}

.single-game-box .single-game-box-text p {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 7px;
    text-transform: capitalize;
}



@media (max-width: 320px) {

    /* Adjust for mobile devices */
    .single-game-box-text p{
        font-size: 12px!important;
    }
}


.card-text,
.view-gmae {
    display: inline-block;
    /* Ensures elements are inline-block */
    margin: 0;
    text-align: center;
    padding: 5px;
}


/* ===================== */


#section_one .game-carousel,
#section_two .game-carousel {
    padding: 0px;
    ;
}

#section_one .two_carousel,
#section_two .two_carousel {
    padding: 0px;
}

#section_two .card-body {
    padding: 0px;
}

div#three_carousel {
    margin-bottom: 12vh;
    margin-top: 2vh;
}

.play-gmae-name {
    text-align: center;
    font-size: 1rem;

    text-align: center;
    margin-bottom: 0rem;
    background-color: red;
    overflow: hidden;
    height: 4vh;
}

.play-gmae-name a {
    color: #fff;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 3vh;
}

.game-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .game-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .game-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

.game-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.image-container {
    position: relative;
    aspect-ratio: 16/9;
}

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

.card-content {
    /* padding: 1rem; */
    background-color: #efef;
}

.game-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.game-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.game-title a:hover {
    color: #2563eb;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4b5563;
}

.players,
.countdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.players svg,
.countdown svg {
    width: 1rem;
    height: 1rem;
}

.countdown.expired {
    color: #ef4444;
    font-weight: 500;
}

.timer {
    display: flex;
    gap: 0.25rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

#banner .owl-nav,
#banner .owl-dots {
    display: none !important;
}

/* ========================== Navigation ========================== */


#category-part {
    position: relative;
}

.custom-nav {
    position: absolute;
    top: 55%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-prev,
.custom-next {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .custom-nav {

        width: 96%;

    }
}

@media (max-width: 480px) {
    .custom-nav {

        width: 93%;

    }
}

.custom-prev:hover,
.custom-next:hover {
    background-color: #333;
    color: #fff;
}

.custom-prev {
    position: absolute;
    left: -20px;
}

.custom-next {
    position: absolute;
    right: 0px;
}

/* ------------------ */
.all-games-part {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

@media (max-width: 768px) {
    .all-games-part {
        grid-template-columns: repeat(3, 1fr);
    }
}
