.mid-me {
    width: auto !important;
    height: auto !important;
}

.casino-container {
    width: 100%;
    position: relative;
    padding: 0 !important;
    max-width: 1200px !important;
    overflow-x: visible !important;
}

body[data-active-page="casino"] .section--first, 
.payment-banner, 
.section--last, 
body[data-active-page="casino"] #main__content .section, 
#last-bets-wrapper, 
#popular-games-wrapper, 
body[data-active-page="promotions"] .section--first,
body[data-active-page="promotions"] #main__content > .section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body[data-active-page="blog"] #main__content .section__title {
    justify-content: space-between;
  display: none !important;
}

body[data-active-page="promotions"] {
    overflow-x: hidden;
}

body[data-active-page="promotions"] #main__content {
    padding-top: 0 !important;
}

body[data-active-page="promotions"] .section {
    margin-bottom: 2rem;
}

.promotions-wrapper {
width: 100%;
}



#mini-slider-wrapper .container {
    padding: 0 !important;
}

.payment-banner {
    background: #0E0E0E;
    padding: 16px 24px;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #3F3F3F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}



body[data-active-page="casino"] .payment-text {
    color: white;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
    padding-left:24px;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body[data-active-page="casino"] .table-wrap.mobile {
    padding-top: 0 !important;
}
/* mobile center */
@media (max-width: 768px) {
    .payment-banner {
        text-align: center;
        justify-content: center;
    }
    
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    flex-shrink: 0;
}

.payment-methods img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.payment-cta-wrapper {
    width: 25%;
    display: flex;
  justify-content: flex-start;
    flex-shrink: 0;
}

.payment-cta {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 16px #4a300080, inset 0 4px 3px #ffffff4d;
    background: linear-gradient(to right, #E41F28 0%, #F65E2C 29%, #EF9336 68%, #F67230 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.payment-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px #4a300080, inset 0 4px 3px #ffffff4d;
}

.casino-filter {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    max-width: 1367px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.filter-items-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
    flex: 1;
    min-width: 0;
    order: 1;
}

.filter-items-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1E1E1E;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-item:hover {
    background: #2A2A2A;
}

.filter-item.active {
    background: linear-gradient(to right, #332b00 0%,#ccac00 51%, #ffec00 100%) !important;
    border: none;
    border-radius: 9px !important;
    padding: 10px 20px !important;
    color: #fff !important;
}

.filter-item svg {
    width: 14px;
    height: 14px;
}

/*
.filter-item:first-child {
    background: linear-gradient(90deg, #FF2E2E 0%, #FF8033 100%);
    border: none;
    padding: 10px 16px;
    justify-content: center;
}
    */

/* Remove old search styles */
.search-wrapper, .search-results-container, .search, .search__input, .search__btn, .search-results, .filter {
    display: none;
}

/* Custom Search Styles */
.custom-search {
    position: relative;
    width: 300px;
    margin-left: auto;
    order: 2;
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.custom-search__input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    background: #0E0E0E;
    border: 1px solid #3F3F3F;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.custom-search__input:focus {
    border-color: #FF8033;
    color: #fff;
}

.custom-search__icon {
    position: absolute;
    right: 10px; /* Adjusted to account for filter button */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: #3F3F3F;
    transition: all 0.3s ease;
    stroke-width: 1.5;
}

.custom-search__input:focus + .custom-search__icon {
    color: #FF8033;
}

.custom-search__filter-btn {
    background: #0E0E0E;
    border: 1px solid #3F3F3F;
    border-radius: 12px;
    color: #3F3F3F;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.custom-search__filter-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.custom-search__filter-btn:hover,
.custom-search__filter-btn.active {
    border-color: #FF8033;
    color: #FF8033;
}

.custom-search__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0E0E0E;
    border: 1px solid #3F3F3F;
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 8px;
}

.custom-search__results.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.custom-search__results::-webkit-scrollbar {
    width: 8px;
}

.custom-search__results::-webkit-scrollbar-track {
    background: #0E0E0E;
    border-radius: 4px;
}

.custom-search__results::-webkit-scrollbar-thumb {
    background: #3F3F3F;
    border-radius: 4px;
}

.custom-search__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.custom-search__item:hover {
    background: #1E1E1E;
}

.custom-search__item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #000;
}

.custom-search__item-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.custom-search__no-results {
    color: #fff;
    text-align: center;
    padding: 16px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .casino-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin: 0;
        padding: 16px;
    }

    .filter-items-wrapper {
        order: 1;
        width: 100%;
    }

    .custom-search {
        order: 2;
        width: 100%;
        margin: 12px 0 0;
    }
}

@media (min-width: 768px) {
    
    .search-wrapper {
        width: 300px;
        margin-left: auto;
        margin-bottom: 0;
        order: 2;
    }

    .casino-filter {
        flex-wrap: nowrap;
        align-items: center;
    }

    .filter-items-wrapper {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
        flex: 1;
        order: 1;
    }
}

@media (max-width: 768px) {
    .payment-banner {
        margin-top: 10px !important;
    }

    .blog-container, .casino-container, .promotions-container, body[data-active-page="trade"] #main__content .section {
        padding-top: 3.5rem !important;
    }

    .casino-filter {
        /*position: sticky; 
        top: 85px; 
        */
        gap: 8px;
        flex-direction: column;
        margin: 0;
        border-bottom: 1px solid #1E1E1E;
        z-index: 100;
        padding: 16px;
    }


    .filter-items-wrapper {
        gap: 8px;
        width: 100%;
        order: 1;
        margin-top: 4px;
    }

    .search-wrapper {
        width: 100%;
        order: 2;
        margin-bottom: 0;
        margin-top: 12px;
    }

    .search-results-container {
        padding: 0 12px;
        margin-top: 12px;
        position: relative;
        z-index: 99;
    }

    /* Search results açıkken overlay efekti için */
    .filter.active {
        position: fixed;
        top: 165px; /* Header + filter yüksekliği */
        left: 0;
        right: 0;
        background: #0E0E0E;
        margin: 0 12px;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 992px) {
    .payment-banner {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        margin: 20px 16px;
    }

    .payment-text {
        width: 100%;
        text-align: center !important;
        font-size: 16px;
        -webkit-line-clamp: unset;
        margin-bottom: 0;
        padding-left: 5px;
    }

    .payment-methods {
        width: 100%;
    }

    .payment-methods img {
        max-width: 320px;
    }

    .payment-cta-wrapper {
        width: 100%;
        justify-content: center;
    }

    .payment-cta {
        width: auto;
        min-width: 200px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .payment-banner {
        padding: 16px;
        margin: 16px 12px;
    }

    .payment-text {
        font-size: 15px;
    }

    .payment-methods img {
        max-width: 280px;
    }

    .payment-cta {
        width: 100%;
        min-width: unset;
    }
}



/* Casino sayfasına özel mini-slider-wrapper padding düzenlemesi */
body[data-active-page="casino"] #mini-slider-wrapper {
    padding-top: 20px !important;
}


body[data-active-page="promotions"] .promo-post {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

body[data-active-page="promotions"] .promo-post__cover {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

body[data-active-page="promotions"] .promo-post__cover img,
body[data-active-page="promotions"] .promo-post__cover span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-active-page="promotions"] .promo-post__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

body[data-active-page="promotions"] .promo-post__title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: normal;
}

body[data-active-page="promotions"] .promo-post__text {
    /*margin-top: auto;*/
    margin-bottom: 0;
}

/* Modern Apple-style Modal */
#global-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
    box-sizing: border-box;
}




#global-modal .modal-content {
    background: rgba(28, 28, 30, 0.95);
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

#global-modal .modal__head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    justify-content: flex-end;
    margin: 0;
    pointer-events: none;
}

#global-modal .modal__head::after {
    display: none;
}

#global-modal .modal__close {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#global-modal .modal__close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

#global-modal .modal__close .svg-icon {
    width: 12px;
    height: 12px;
    color: rgba(255, 255, 255, 0.8);
}

#global-modal .modal__img-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#global-modal .modal__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    display: block;
    background: rgba(28, 28, 30, 0.95);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    #global-modal {
        padding: 12px;
    }

    #global-modal .modal-content {
        width: 100%;
        margin: 0;
        aspect-ratio: auto;
        height: auto;
        max-height: calc(100vh - 24px);
        display: flex;
        flex-direction: column;
    }

    #global-modal .modal__img-container {
        flex: 1;
        height: auto;
        min-height: 0;
    }

    #global-modal .modal__img {
        max-height: calc(100vh - 80px);
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #global-modal .modal__head {
        position: absolute;
    }

    #global-modal .modal__close {
        width: 28px;
        height: 28px;
    }
}

@media (orientation: landscape) and (max-height: 768px) {
    #global-modal .modal-content {
        width: auto;
        height: auto;
        max-height: calc(100vh - 24px);
        aspect-ratio: auto;
    }

    #global-modal .modal__img {
        max-height: calc(100vh - 80px);
        width: auto;
        max-width: calc(100vw - 32px);
    }
}
/*
.sidebar__nav li.active a {
    background: linear-gradient(to right, #fff 0%, #fff 29%, #fff 68%, #fff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    text-shadow: none !important;
}
*/

.playico-tv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    min-width: 24px;
    min-height: 24px;
    background: #181818;
    padding: 8px;
    border-radius: 7px;
    position: relative;
}

.playico-tv-button:hover {
    opacity: 0.8;
}

.playico-tv-button span {
    display: none;
}

.playico-tv-button svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .playico-tv-button {
        display: none;
    }

    .sidebar__nav .tv-menu-item {
        display: flex;
    }
}


.promo-post { 
    background: #000000 !important;
    border: 0px;
}

.promo-post__content {
    background: #010101 !important;
}

body[data-active-page="blog"] .modal__close__detail {
    position: relative;
    top: 0;
    right: 0;
}

/* Promotions Banner Styles */
/* HTML Structure should be:
<div class="promotions-banner">
    <div class="promotions-banner__content">
        <div class="promotions-banner__right">
            <img class="promotions-banner__mascot" src="mascot.png" alt="Mascot">
        </div>
        <div class="promotions-banner__main-content">
            <div class="promotions-banner__left">
                <h2 class="promotions-banner__title">Welcome Bonus</h2>
                <div class="promotions-banner__percentage">100%</div>
                <p class="promotions-banner__subtitle">Up to €500 + 200 Free Spins</p>
                <a href="#" class="promotions-banner__link">Terms & Conditions</a>
            </div>
            <div class="promotions-banner__center">
                <div class="bonus-boxes">
                    <!-- Bonus boxes content -->
                </div>
            </div>
        </div>
    </div>
</div>
*/

.promotions-banner {
    position: relative;
    margin: 4.5rem auto 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #0C0C1D 0%, #141428 100%);
    border-radius: 1rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    z-index: 2;
}

.promotions-banner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, #FF00F2 0%, #FF002F 33%, #BF00FF 66%, #6D2EFF 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.promotions-banner__content {
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.promotions-banner__left {
    color: #fff;
    text-align: center;
    position: relative;
}

.promotions-banner__title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #FF002F;
    text-transform: uppercase;
}

.promotions-banner__title span {
    display: block;
}

.promotions-banner__percentage {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.promotions-banner__subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.promotions-banner__link {
    color: #4A9EFF;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.promotions-banner__link:hover {
    color: #6DB0FF;
}

.promotions-banner__center {
    display: flex;
    align-items: center;
    padding-right: 220px;
}

.bonus-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin: 0 auto; /* Ortalama */
    max-width: 600px; /* Maximum genişlik */
}

.bonus-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.bonus-box:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.bonus-box__title {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.bonus-box__percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF002F;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.bonus-box__label {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bonus-box__button {
    background: linear-gradient(90deg, #FF0033 0%, #FF002F 29%, #FF4800 68%, #FF2E32 100%) !important;
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 100%;
}

.bonus-box__button:hover {
    opacity: 0.9;
}

.promotions-banner__right {
    position: absolute;
    right: 1rem;
    bottom: -2rem;
    top: auto;
    z-index: 3;
    width: 240px;
    height: auto;
    display: flex;
    align-items: flex-end;
}

.promotions-banner__mascot {
    max-width: 100%;
    height: auto;
    transform: translateY(-20%);
    animation: mascotBounce 4s ease-in-out infinite;
}

@keyframes mascotBounce {
    0%, 100% {
        transform: translate(-2px, -20%);
    }
    50% {
        transform: translate(2px, -23%);
    }
}

@media (max-width: 1200px) {
    .promotions-banner {
        margin: 3.5rem 1rem 2rem;
        padding: 1.25rem;
    }

    .promotions-banner__content {
        grid-template-columns: 0.9fr 2.1fr;
        gap: 1rem;
    }

    .promotions-banner__right {
        width: 220px;
        right: 0.5rem;
    }

    .promotions-banner__center {
        padding-right: 200px;
    }
}

@media (max-width: 992px) {
    .promotions-banner {
        margin: 5rem 1rem 2rem;
        padding: 1.25rem;
    }

    .promotions-banner__content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .promotions-banner__right {
        position: absolute;
        right: -0.5rem;
        top: -2rem;
        bottom: auto;
        width: 140px;
        z-index: 3;
    }

    .promotions-banner__mascot {
        transform: none;
        animation: mascotBounceMobile 4s ease-in-out infinite;
    }

    @keyframes mascotBounceMobile {
        0%, 100% {
            transform: translate(-2px, 0);
        }
        50% {
            transform: translate(2px, -5px);
        }
    }

    .promotions-banner__center {
        padding-right: 0;
    }

    .promotions-banner__title {
        font-size: 1.3rem;
    }

    .promotions-banner__percentage {
        font-size: 2.4rem;
    }

    .promotions-banner__subtitle {
        font-size: 0.9rem;
    }

    .bonus-box {
        padding: 0.9rem;
    }

    .bonus-box__title {
        font-size: 0.8rem;
    }

    .bonus-box__percentage {
        font-size: 2rem;
    }

    .bonus-box__label {
        font-size: 0.8rem;
    }

    .bonus-box__button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .promotions-banner {
        margin: 5rem 1rem 2rem;
        padding: 1rem;
    }

    .promotions-banner__right {
        width: 120px;
        top: -1.5rem;
    }

    .promotions-banner__title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .promotions-banner__percentage {
        font-size: 2rem;
    }

    .promotions-banner__subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .bonus-box {
        padding: 0.75rem;
    }

    .bonus-box__title {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .bonus-box__percentage {
        font-size: 1.6rem;
    }

    .bonus-box__label {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .bonus-box__button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .promotions-banner {
        margin: 5rem 0.75rem 1.5rem;
        padding: 0.75rem;
        border-width: 1px;
    }
    .promotions-banner__left {
        padding-left: 8rem;
    }

    .promotions-banner__right {
        width: 100px;
        top: 1rem;
        left: 4rem;
    }

    .promotions-banner__title {
        font-size: 1rem;
    }

    .promotions-banner__percentage {
        font-size: 1.8rem;
    }

    .promotions-banner__subtitle {
        font-size: 0.75rem;
    }

    .bonus-box {
        padding: 0.6rem;
    }

    .bonus-box__title {
        font-size: 0.7rem;
    }

    .bonus-box__percentage {
        font-size: 1.4rem;
    }

    .bonus-box__label {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
    }

    .bonus-box__button {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .promotions-banner {
        margin: 5rem 0.5rem 1rem;
        padding: 0.6rem;
    }

    .promotions-banner__right {
        width: 80px;
        top: -1rem;
    }

    .promotions-banner__title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .promotions-banner__percentage {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
    }

    .promotions-banner__subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .bonus-box {
        padding: 0.5rem;
    }

    .bonus-box__title {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }

    .bonus-box__percentage {
        font-size: 1.3rem;
    }

    .bonus-box__label {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .bonus-box__button {
        padding: 0.4rem;
        font-size: 0.65rem;
    }
}


body[data-active-page="casino"] #top-games-wrapper .swiper-slide,
body[data-active-page="casino"] #popular-games-wrapper .swiper-slide,
body[data-active-page="casino"] #last-played-games-wrapper .swiper-slide,
body[data-active-page="casino"] #big-wins-wrapper img,
body[data-active-page="casino"] #high-rtp-games-wrapper .swiper-slide,
body[data-active-page="casino"] #new-games-wrapper .swiper-slide,
body[data-active-page="casino"] #jackpot-games-wrapper  .swiper-slide {
    width: 150px !important;
}

/* Games Container Styles */
body[data-active-page="casino"] .section {
    padding-top: 4px !important;
}

body[data-active-page="casino"] .games-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0px;
    padding-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

body[data-active-page="casino"] .no-games-found {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #1E1E1E;
    border-radius: 12px;
    margin: 20px 0;
}

body[data-active-page="casino"] .no-games-found svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #FF8033;
}

body[data-active-page="casino"] .no-games-found p {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

body[data-active-page="casino"] .game-card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

body[data-active-page="casino"] .game-image {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%;
    overflow: hidden;
}

body[data-active-page="casino"] .game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

body[data-active-page="casino"] .game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
}


body[data-active-page="casino"] .game-name {
    background: linear-gradient(to right, #E41F28 0%, #F65E2C 29%, #EF9336 68%, #F67230 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[data-active-page="casino"] .game-provider {
    color: rgba(255, 128, 51, 0.7); /* Turuncu rengin yarı saydam hali */
    font-size: 12px;
    margin-top: 4px;
}

body[data-active-page="casino"] .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

body[data-active-page="casino"] .play-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Hover Effects */
body[data-active-page="casino"] .game-card:hover {
    transform: translateY(-5px);
}

body[data-active-page="casino"] .game-card:hover .game-image img {
    transform: scale(1.05);
    filter: blur(2px);
}

body[data-active-page="casino"] .game-card:hover .game-info {
    transform: translateY(0);
}

body[data-active-page="casino"] .game-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    body[data-active-page="casino"] .games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    body[data-active-page="casino"] .game-name {
        font-size: 12px;
    }
    
    body[data-active-page="casino"] .game-provider {
        font-size: 10px;
    }
}

/* Loading Animation */
.loading-games {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loading-games::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #1E1E1E;
    border-top-color: #FF8033;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide specific containers on casino page */
body[data-active-page="casino"] .welcome-container,
body[data-active-page="casino"] .brand-container,
body[data-active-page="casino"] .payment-container,
body[data-active-page="casino"] .features-container,
body[data-active-page="casino"] .banner-container,
body[data-active-page="casino"] .banner-slider,
body[data-active-page="casino"] .vip-banner-container,
body[data-active-page="casino"] .originals-container,
body[data-active-page="casino"] .vip-system-section,
body[data-active-page="casino"] .popular-sports-container {
    display: none !important;
}

/* Hide specific containers on casino page */
body[data-active-page="sportsbook"] .welcome-container,
body[data-active-page="sportsbook"] .brand-container,
body[data-active-page="sportsbook"] .payment-container,
body[data-active-page="sportsbook"] .features-container,
body[data-active-page="sportsbook"] .banner-container,
body[data-active-page="sportsbook"] .banner-slider,
body[data-active-page="sportsbook"] .vip-banner-container,
body[data-active-page="sportsbook"] .originals-container,
body[data-active-page="sportsbook"] .vip-system-section,
body[data-active-page="sportsbook"] .popular-sports-container {
    display: none !important;
}

/* Provider Filter Styles */
.provider-filter {
    display: none;
    background: #0E0E0E;
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    border: 1px solid #2A2A2A;
    width: 320px;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.provider-filter.active {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.provider-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 4px;
}

.provider-filter-grid::-webkit-scrollbar {
    width: 4px;
}

.provider-filter-grid::-webkit-scrollbar-track {
    background: transparent;
}

.provider-filter-grid::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 2px;
}

.provider-option {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #1E1E1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    height: 50px;
}

.provider-option:hover {
    background: #2A2A2A;
    border-color: rgba(255, 255, 255, 0.2);
}

.provider-option.selected {
    background: linear-gradient(to right, #E41F28 0%, #F65E2C 29%, #EF9336 68%, #F67230 100%) !important;
    border-color: transparent !important;
}

.provider-option-logo {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    transition: all 0.3s ease;
}

.provider-option-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: luminosity;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: grayscale(0.2);
}

.provider-option:hover .provider-option-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.provider-option:hover .provider-option-logo img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Selected states */
.provider-option.selected {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.provider-option.selected .provider-option-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.provider-option.selected .provider-option-logo img {
    opacity: 1;
    mix-blend-mode: normal;
    filter: grayscale(0);
}

.provider-option.dark-logo.selected {
    background: var(--primary);
}

.provider-option.dark-logo .provider-option-logo img {
    mix-blend-mode: normal;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .main__search-drop {
       /* top: 0 !important; */
    }
    .sidebar .sidebar-image {
      display:none;
    }
    .provider-filter {
        width: 100%;
        left: 0;
        right: 0;
        margin-top: 8px;
        position: absolute;
        top: 100%;
        transform: none;
        z-index: 1000;
        max-height: 80vh;
    }

    .provider-filter-grid {
        grid-template-columns: repeat(3, 1fr);
        max-height: 60vh;
        overflow-y: auto;
    }

    .provider-option {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .provider-filter {
        padding: 6px;
    }

    .provider-filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .provider-option {
        height: 40px;
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tags li.active a svg {
    color: #ffffff !important;
}

.tags li.active a:hover svg {
    color: #ffffff !important;
}

body[data-active-page="tv"] .section{
  max-width: inherit !important;
} 

body[data-active-page="tv"] .p-not-found{
  display:none !important;
}