#casino__main {
    display: flex;
    align-items: flex-start;
}

.sidebar__mob_btn {
    align-items: center;
    background: linear-gradient(270deg, rgb(29, 39, 62), #11182a);
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 183, 255, .5);
    display: none;
    height: 66px;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 110px;
    transition: .3s;
    width: 36px;
    z-index: 91;
}

.sidebar {
    height: 100vh;
    position: sticky;
    top: 40px;
    width: 350px;
}

.sidebar__container {
    background: var(--color-secondary-bg);
    border-radius: 12px;
    border: 1px solid #0b2b44;
    margin-top: 25px;
    overflow: scroll;
    overflow-x: hidden;
    padding: 20px 15px;
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
}

.sidebar__container::-webkit-scrollbar {
    background-color: transparent;
    width: 7px
}

.sidebar__container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 8px
}


.sidebar__close_btn {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    opacity: 1;
    position: absolute;
    right: 5px;
    top: 25px;
    transition: height .2s, opacity .5s;
    width: 30px;
}

.sidebar__close_btn span {
    background-color: #0095ff;
    border-radius: 30px;
    height: 2px;
    transition: .4s;
    width: 30px;
}

.sidebar__close_btn span:first-child {
    transform: translateY(-2px) rotate(45deg);
    transform-origin: left;
}

.sidebar__close_btn span:nth-child(2) {
    transform: translateY(2px) rotate(-45deg);
    transform-origin: left;
}

.sidebar__menu li {
    border-bottom: 1px solid rgba(38, 46, 72, .5);
}

.sidebar__title_category {
    align-items: center;
    color: rgba(115, 136, 182, .5);
    display: flex;
    font-size: 17px;
    margin-bottom: 5px;
    padding: 10px;
}

.sidebar__menu li a {
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    overflow: hidden;
    padding: 10px;
    position: relative;
    z-index: 1;
    line-height: 21px;
    margin-bottom: 5px;
}

.sidebar__menu li a,
.sidebar__menu li a:before {
    display: inline-block;
    height: 100%;
    width: 100%;
}

.sidebar__title_category:after {
    background: linear-gradient(90deg, rgba(92, 100, 116, .459), transparent);
    content: "";
    display: inline-block;
    height: 1px;
    margin-left: 10px;
    width: 100%;
}

.sidebar__menu li a:before {
    background: linear-gradient(90deg, rgba(0, 149, 255, .424), transparent);
    content: "";
    isolation: isolate;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: .2s;
    z-index: -1;
}

.sidebar__menu li:hover a:before {
    opacity: 1;
}

.casino__right {
    /* margin-left was a 20px gap for the inherited sidebar column that
     * neutralize-theme-demo.py already disables (sidebar.php renders
     * nothing). With no sidebar to clear, that margin only pushed every
     * page template's content 20px right of the header/footer/#banners
     * edge (confirmed by computed left offset: 57px here vs 37px for
     * header/#banners on the same page) -- part of the reported page-to-
     * page "walking." Removed so this container's outer edge matches the
     * rest of the page chrome; .casino__right_info's own 1100px max-width
     * + margin:auto is untouched, so the actual table/prose column keeps
     * its exact current width -- only the panel's position shifts. */
    margin-top: 25px;
    width: 100%;

}

.casino__right_info {
    background: var(--color-secondary-bg);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    min-height: calc(100vh - 80px);

}

.casino__right_info:before {
    background-image: var(--green-gradient);
    background-size: 200% auto;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    content: "";
    display: block;
    height: 4px;
    left: 25px;
    position: absolute;
    right: 25px;
    top: 0;
}

.casino__right_info .games-info__cnt {
    border: none;
}


.breadcrumbs {
    margin: 25px 0;
}

.breadcrumbs .separator_gradient {
    width: 50%;
}

.breadcrumbs ul {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.breadcrumbs ul li {
    margin-right: 3px;
}

.breadcrumbs ul li a {
    color: #0095ff;
    font-size: 16px;
}

.breadcrumbs ul li span {
    font-size: 16px;
}

.casion__dashbord {
    background: linear-gradient(90deg, #1d273e, #11182a);
    border-radius: 12px;
    margin-top: 25px;
    padding: 30px;
    position: relative;
}

.casion__dashbord:before {
    background-image: linear-gradient(90deg, #ff4edf, #ff2958);
    background-size: 200% auto;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    content: "";
    display: block;
    height: 4px;
    left: 25px;
    position: absolute;
    right: 25px;
    top: 0;
}

.casino__dashbord__grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.casino__dashbord__grid a {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    max-height: none;
    max-width: none;
    overflow: visible;
}

.casino__dashbord__grid a span {
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}

.casino__dashbord__grid a figure {
    aspect-ratio: 16/11;
    border-radius: 12px;
    margin: 0;
    max-height: 130px;
    max-width: 180px;
    -o-object-fit: contain;
    object-fit: contain;
    overflow: hidden;
    padding: 0;
}

.casino__dashbord__grid a img {
    max-width: 100%;
    transition: .8s;
}

.casino__dashbord__grid a:hover img {
    transform: scale(1.1);
}

.search_pagination {
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 149, 255, .424), transparent);
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    max-width: 250px;
    overflow: hidden;
    height: 44px;
}

.search_pagination .current {
    color: #888;
    display: inline-block;
    height: 100%;
    padding: 10px;
}

.search_pagination a {
    cursor: pointer;
    height: 100%;
    padding: 10px;
    transition: .2s;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search_pagination a:hover {
    background-color: rgba(0, 107, 184, .69);
}

.dashbord__pagination_next {
    transform: scale(1.4);
}



@media (max-width: 1490px) {
    .casino__dashbord__grid a span {
        font-size: 12px;
    }
}

@media (max-width: 1300px) {
    .casino__dashbord__grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .casino__right_info {
        padding: 30px 20px;
    }
}

@media (max-width: 1100px) {
    .casino__dashbord__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .casino__dashbord__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .sidebar__mob_btn {
        display: flex;
    }

    .sidebar__mob_btn svg {
        fill: #fff;
        height: 100%;
        max-width: 20px;
        transform: rotate(-90deg);
    }

    .sidebar {
        left: 0;
        position: fixed;
        transform: translateX(-100%);
        transition: .5s;
        width: 304px;
        z-index: 999;
        top: 31px;
    }

    .casino__right_info {
        padding: 30px 20px;
    }

    .casino__dashbord__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .casino__right {
        margin-left: 0;
        margin-top: 15px;
    }

    .sidebar__active {
        transform: translateX(0);
    }

    .sidebar__close_btn {
        height: 12px;
        right: 3px;
        top: 8px;
        width: 22px;
        display: flex;
    }

    .casino__dashbord__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .casion__dashbord {
        padding: 25px 25px;
    }

    .sidebar__close_btn span {
        height: 2px;
        width: 20px;
    }

    .sidebar__container {
        padding-top: 40px;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .casino__dashbord__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .casion__dashbord {
        padding: 25px 15px;
    }
}

@media (max-width: 370px) {
    .sidebar {
        top: 79px;
    }
}