.game-currency {
    padding: 24px 36px 47px;
    background: #202227;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
}

.game-curency__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 42px;
}

.game-curency__top_title {
    font-size: 32px;
    line-height: 1;
    color: #fff;
    font-weight: 600;
}

.game-curency__top_button_link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #363941;
    line-height: 1;
    padding: 18px 27px;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
}

.game-currency__container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.game-currency__item {
    flex: 0 0 calc(20% - 16px);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.game-currency__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.game-currency__link:hover {
    opacity: 0.8;
}

.game-currency__image-wrapper {
    margin-bottom: 20px;
    max-width: 267px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #828282;
    border-radius: 30px;
}

.game-currency__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.game-currency__text {
    font-size: 24px;
    line-height: 1;
    color: #fff;
}

@media (max-width: 1200px) {
    .game-currency__item {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 480px) {
    .game-currency__container {
        --scroll-gap: 7px;
    }
    
    .game-currency__item {
        flex: 0 0 calc(28% - 5.25px);
        min-width: calc(28% - 5.25px);
    }
}

@media (max-width: 768px) {
    .game-currency__container {
        --scroll-gap: 7px;
        flex-wrap: nowrap;
        gap: var(--scroll-gap);
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 12px 4px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox - hide native */
        -ms-overflow-style: none; /* IE/Edge - hide native */
        justify-content: flex-start;
        padding-bottom: 15px;
    }
    
    .game-currency__container::-webkit-scrollbar {
        display: none; /* Chrome/Safari - hide native */
    }
    
    .game-currency__item {
        flex: 0 0 calc(28% - 5.25px);
        min-width: calc(28% - 5.25px);
        scroll-snap-align: start;
    }

    .game-curency__top {
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        padding: 0px 16px 0px 11px;
    } 

    .game-curency__top_title {
        font-size: 14px;
    }

    .game-currency__text {
        font-size: 12px;
    }

    .game-currency {
        padding: 15px 0px 0px 15px;
        border-radius: 20px;
    }

    .game-curency__top_button_link {
        border-radius: 23px;
        padding: 8px 11px;
        gap: 8px;
    }

    .game-curency__top_button_text {
        font-size: 12px;
    }

    .game-currency__image-wrapper {
        margin-bottom: 7px;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 15px;
    }

    .game-curency__top_button_icon--desktop {
        display: none;
    }

    .game-curency__top_button_icon--mobile {
        display: block!important;
    }

    .maxwidth-theme:has(.main-category-list__container) {
        padding-right: 0px;
    }

}

.game-curency__top_button_icon--mobile {
    display: none;
}

/* Custom scrollbar indicator - always visible */
.game-currency-scrollbar {
    display: none;
    margin-top: auto;
    padding: 0 3px 0 0;
}

.game-currency-scrollbar__track {
    position: relative;
    width: 96%;
    height: 3px;
    background: transparent;
    border-radius: 999px;
    overflow: hidden;
}

.game-currency-scrollbar__thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #3C3C3C;
    border-radius: 999px;
    transition: width 0.1s ease, left 0.1s ease;
}