:root {
    --white-color: #ffffff;
    --cart-bg-color: #212529;
}

.section__gaps {
    margin-top: 80px;
}

.d_flex {
    display: flex;
    align-items: center;
}

/* ------------------------------------------------------
    new__home__search
-------------------------------------------------------- */
.new__home__search {
    overflow: hidden;
    background: #191a1d;
    padding: 15px 0;
}

.new__home__search button {
    padding: 10px 20px;
}

/* ------------------------------------------------------
    recently__played
-------------------------------------------------------- */

.recently__played h3 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    word-spacing: 5px;
    letter-spacing: 1px;
}

.recently__played h3 img {
    height: 32px;
}

.recently__played .recently__played__item {
    background: var(--cart-bg-color);
    border-radius: 10px;
    transition: all linear 0.3s;
    margin-top: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recently__played .recently__played__item:hover {
    transform: translateY(-3px);
}

.recently__played .recently__played__item .img {
    position: relative;
}

.recently__played .recently__played__item .img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 20px; */
    opacity: 0;
    transition: all linear 0.2s;
}

.recently__played .recently__played__item .img .overlay a {
    width: 100%;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    box-shadow:
        rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    color: var(--white-color);
    font-weight: 600;
    text-transform: uppercase;
    transform: translateY(-20px);
}

.recently__played .recently__played__item .img .overlay a.demo {
    background: #0d6efd;
    transform: translateY(20px);
}

.recently__played .recently__played__item:hover .img .overlay {
    opacity: 1;
}

.recently__played .recently__played__item:hover .img .overlay a {
    transform: translateY(0px);
}

.recently__played .recently__played__item:hover .img .overlay a.demo {
    background: #0d6efd;
    transform: translateY(0px);
}

.recently__played .recently__played__item img {
    width: 100%;
    border-radius: 10px 10px 0 0;
    height: 150px;
    object-fit: cover;
}

.welcome__bonus .recently__played__item {
    background: transparent;
    height: auto;
    display: block;
}

.welcome__bonus .recently__played__item img {
    height: auto;
    border-radius: 10px;
    transition: all linear 0.2s;
    display: block;
}

.recently__played .recently__played__item:hover .img img {
    filter: blur(5px);
}

.recently__played.welcome__bonus .recently__played__item:hover .img img {
    filter: unset;
}

.welcome__bonus .Mobile__bonus {
    display: none;
}

.recently__played.bounsesPromotions__section
    .recently__played__item:hover
    .img
    img {
    filter: unset;
}

.recently__played .recently__played__item .text {
    padding: 15px 10px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 60px;
    height: 60px;
}

.recently__played .recently__played__item h4 {
    font-size: 1.05rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: var(--white-color);
    width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.recently__played .recently__played__item .heart {
    width: 12%;
    cursor: pointer;
}

.recently__played .recently__played__item .heart img {
    border-radius: 0;
    height: auto;
}

.recently__played .view__all {
    margin-top: 50px;
    text-align: center;
}

.recently__played .view__all a {
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid var(--secondaryColor);
    color: var(--white-color);
    transition: all linear 0.2s;
    font-size: 18px;
    line-height: 30px;
    word-spacing: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
}

.recently__played .view__all a:hover {
    background: var(--secondaryColor);
}

/* For Load More Games */
.load__more {
    margin-top: 50px;
    text-align: center;
}

.load__more button {
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid var(--secondaryColor);
    color: var(--white-color);
    background: transparent;
    transition: all 0.2s linear;
    font-size: 18px;
    line-height: 30px;
    word-spacing: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
}

/* Hover effect for the button */
.load__more button:hover {
    background: var(--secondaryColor);
    color: var(--white-color); /* Ensure text color remains white on hover */
    cursor: pointer; /* Change cursor to pointer */
}

/* Optional: Focus state for accessibility */
.load__more button:focus {
    outline: none;
    box-shadow: 0 0 5px var(--secondaryColor);
}

/* For Category into small screen */
/* Container that holds the categories */
.category-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: nowrap; /* Prevent wrapping to the next line */
    overflow-x: auto; /* Allow horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding: 0 10px; /* Padding for better spacing */
}
/* Hide horizontal scrollbar */
.category-container::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

/* Category items */
.category {
    display: inline-block; /* Make each category an inline-block for horizontal alignment */
    white-space: nowrap; /* Prevent text from wrapping */
    min-width: 120px; /* Set a minimum width for each category */
    background-color: #2c2f36; /* Background color for categories */
    border-radius: 5px; /* Rounded corners */
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    padding: 10px; /* Padding inside the button */
    transition: background-color 0.3s ease; /* Smooth transition for background */
    flex-shrink: 0; /* Prevent the category from shrinking */
}

/* Hover effect for categories */
.category:hover {
    background-color: #4f5b63; /* Change background color on hover */
}

.bounsesPromotions__section .header {
    position: relative;
}

.bounsesPromotions__section :where(.swiper-button-next, .swiper-button-prev) {
    position: absolute;
    top: 30px;
    right: 0;
    left: unset;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondaryColor);
}

.bounsesPromotions__section
    :where(.swiper-button-next, .swiper-button-prev):hover {
    background: #e70202;
}

.bounsesPromotions__section .swiper-button-prev {
    right: 50px;
}

.bounsesPromotions__section .swiper-button-next:after,
.bounsesPromotions__section .swiper-button-prev:after {
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
    color: var(--white-color);
}

.recently__played .bounsesPromotions .recently__played__item img {
    height: auto;
    border-radius: 10px;
}

.jackpot__img img {
    width: 100%;
}

@media (max-width: 1399.98px) {
    .recently__played .recently__played__item h4 {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .recently__played .recently__played__item img {
        height: 130px;
    }

    .recently__played h3 {
        font-size: 22px;
        line-height: 35px;
    }

    .recently__played h3 img {
        height: 30px;
    }

    .bounsesPromotions__section
        :where(.swiper-button-next, .swiper-button-prev) {
        width: 35px;
        height: 35px;
    }

    .bounsesPromotions__section .swiper-button-next:after,
    .bounsesPromotions__section .swiper-button-prev:after {
        font-size: 18px;
        line-height: 18px;
    }
}

@media (max-width: 1023.99px) {
    .recently__played .container,
    .new__home__search .container {
        max-width: 95%;
    }

    .recently__played .recently__played__item .heart {
        width: 10%;
    }

    .section__gaps {
        margin-top: 50px;
    }

    .new__home__search__content .row.d_flex {
        gap: 20px;
    }
    .new__home__search button {
        width: 100%;
        padding: 5px 10px;
    }
}

@media (max-width: 580px) {
    .welcome__bonus .Mobile__bonus {
        display: block;
    }

    .welcome__bonus .desktop_bonus {
        display: none;
    }

    .recently__played .container {
        max-width: 95%;
        padding: 0;
    }

    .recently__played h3 {
        font-size: 16px;
        line-height: 24px;
        gap: 10px;
        width: 80%;
    }

    .recently__played h3 img {
        height: 25px;
    }

    .bounsesPromotions__section
        :where(.swiper-button-next, .swiper-button-prev) {
        width: 25px;
        height: 25px;
        top: 25px;
    }

    .bounsesPromotions__section .swiper-button-next:after,
    .bounsesPromotions__section .swiper-button-prev:after {
        font-size: 10px;
        line-height: 18px;
    }

    .bounsesPromotions__section .swiper-button-prev {
        right: 30px;
    }

    .recently__played .view__all a {
        padding: 10px 30px;
        font-size: 16px;
        line-height: 20px;
    }

    .recently__played .view__all {
        margin-top: 35px;
    }

    .recently__played .recently__played__item img {
        height: auto;
    }

    .new__home__search__content button {
        width: 100%;
    }

    .new__home__search .row {
        gap: 0;
        --bs-gutter-x: 0.5rem;
        align-items: center;
    }

    .new__home__search .container {
        width: 100%;
        padding: 0 5px;
    }

    .new__home__search button {
        width: 100%;
        padding: 8px 10px;
        border-radius: 30px;
    }

    .new__home__search select.form-select.rounded-pill {
        font-size: 13px;
    }

    .new__home__search input.form-control.rounded-pill {
        font-size: 13px;
    }
}
