/*
 MOVERUST GameStores theme
 Compatibility foundation: Wakanda1519/GameStores-Style (MIT)
 Required GameStores template: Red Black

 Replace PASTE_DIRECT_BACKGROUND_IMAGE_URL with a direct HTTPS image URL.
 Paste the file contents into: Appearance -> Advanced configuration -> CSS
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Конфигурация для Red Black Theme */
:root[data-theme=red_black] {
    --accent-color-800: #79c900;
    --accent-color-900: #4f9200;

    --font-color-700: #f5f8f2;
    --font-color-800: rgba(235, 242, 230, .76);
    --font-color-900: #9aa596;

    --bg-color-800: #151b16;
    --bg-color-700: #090d0a;
    --bg-color-900: #101410;

    --background-color: #050705;
    --product-items-trans-bg-color: rgba(0, 0, 0, .48);
}

:root {
    --safe-padding: 10px;
    --default-border-radius: 12px;
    --default-font-size: 16px;
    --default-font-family: "Montserrat", sans-serif;

    --title-font-size: 24px;
    --title-font-weight: 600;

    --price-font-size: 18px;
}

/* Стилизация */
body {
    background-color: var(--background-color);
}

.Header-module__wrapper,
.MonitoringWidget-module__body.boxBody,
.Search-module__iconWrapper,
.Categories-module__category,
.MonitoringServer-module__progressBarWrapper,
.Search-module__wrapper,
.Product-module__wrapper,
.Servers-module__server,
.MonitoringServer-module__wrapper,
.PlayerMenu-module__profileLink, 
.PlayerMenu-module__loginLink,
.PlayerBalance-module__btn,
.Shop-module__wrapper .boxFooter,
.LangSwitcher-module__btn,
.LangSwitcher-module__list,
.Product-module__discount,
.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody,
.Button-module__btn,
.PlayerBalanceModal-module__currency,
.PlayerBalanceModal-module__inputWrapper,
.ProfileContent-module__body.boxBody,
.ProfileNav-module__img,
.ProfileNav-module__navItem,
.ProfileContent-module__box,
.Selector-module__dropDownCurrentItem,
.Selector-module__dropDownList,
.ProfileContent-module__input,
.BasketContent-module__wrapper .boxBody,
.BasketTable-module__tableLine, 
.BasketTable-module__tableHeader,
.HistoryTable-module__tableHeader,
.HistoryTable-module__tableLine,
.ProductItemSelector-module__item,
.TotalSum-module__currency,
.TotalSum-module__inputWrapper,
.CountSelector-module__inputWrapper,
.PlayerMenuMobile-module__profileLink,
.dropDownCurrentItem {
    border-radius: var(--default-border-radius);
}

.ProductItemSelector-module__item.ProductItemSelector-module__active, 
.ProductItemSelector-module__item:hover, 
.ProductItemSelector-module__item:focus {
    border: 1px solid var(--accent-color-800);
    background: var(--accent-color-800);
}

.productModalFormRowItem .Selector-module__dropDownCurrentItem {
    background: var(--bg-color-700) !important;
}

.Selector-module__dropDownList {
    background: var(--bg-color-700);
}

.CountSelector-module__changeCountBtn {
    background: var(--accent-color-900);
}

.CountSelector-module__changeCountBtn:hover, .CountSelector-module__changeCountBtn:focus {
    background: var(--accent-color-800);
}

.SelectContent-module__footer.boxFooter {
    gap: var(--safe-padding);
}
.KitContent-module__footer.boxFooter {
    gap: var(--safe-padding);
}
.ProductModal-module__command, 
.ProductModal-module__bp, 
.ProductModal-module__item, 
.ProductModal-module__dropdown {
    width: 500px;
}

.ProductItemSelector-module__item {
    border: 1px solid var(--bg-color-700);
    background: var(--bg-color-800);
}

.Selector-module__dropDownCurrentItem {
    background: var(--bg-color-800);
}

.Shop-module__wrapper .boxFooter {
    margin-top: var(--safe-padding);
    background: var(--bg-color-700);
}

.BasketContent-module__wrapper .boxBody,
.HistoryContent-module__wrapper .boxBody {
    background: var(--bg-color-700);
}

.BasketTable-module__tableHeader,
.HistoryTable-module__tableHeader {
    background: var(--bg-color-800);
}

.ProfileContent-module__usePromoBtn {
    margin-left: var(--safe-padding);
}

.MonitoringWidget-module__header,
.Shop-module__header,
.Widgets-module__widgetWrapper .boxFooter,
.Product-module__oldPrice,
.PlayerBalanceModal-module__label,
.ProfileContent-module__header.boxHeader,
.BasketSearch-module__wrapper,
.BasketContent-module__header.boxHeader,
.HistoryContent-module__header.boxHeader,
.HistoryFilters-module__wrapper {
    display: none;
}

.BasketFilters-module__serverSelector {
    margin-left: 0px;
}

.ProfileContent-module__usePromoBtn {
    width: auto !important;
}

.ProfileContent-module__input {
    background: var(--bg-color-900);
}

.Selector-module__dropDownList {
    background: var(--bg-color-900);
}

.container {
    width: 1300px;
}

.Header-module__wrapper {
    min-height: 70px;
}

.Header-module__logo {
    font-size: var(--title-font-size);
    text-transform: uppercase;
    font-weight: var(--title-font-weight);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.MonitoringWidget-module__body.boxBody {
    background-color: transparent;
    padding: 0px;
}

.MonitoringServer-module__progressBarWrapper {
    background-color: var(--bg-color-800);
    height: 15px;
}

.Shop-module__wrapper .boxBody {
    padding: 0;
    background: transparent;
}

.Categories-module__categories {
    display: flex;
    width: 100%;
}

.Categories-module__category {
    flex: 1;
    text-align: center;
}

.MonitoringServer-module__progressBarAnim {
    background: var(--accent-color-800);
}

.Header-module__wrapper {
    margin-bottom: var(--safe-padding);
}

.Widgets-module__wrapper {
    margin-right: var(--safe-padding);
}

.Search-module__wrapper {
    margin-top: var(--safe-padding);
}

.Products-module__wrapper {
    margin-top: var(--safe-padding);
    gap: var(--safe-padding);
}

.Product-module__price {
    top: 10px;
    left: 10px;
    background-color: transparent;
    font-size: var(--price-font-size);
}

.Product-module__wrapper {
    transition: all 0.2s;
}

.Product-module__wrapper:hover,
.Product-module__wrapper:focus {
    transform: scale(0.97);
}

.DesktopCopyright-module__wrapper {
    background-color: transparent !important;
    font-size: 14px;
}

.DesktopCopyright-module__link {
    color: var(--font-color-700);
}

.Servers-module__server.Servers-module__active, 
.Servers-module__server:hover, 
.Servers-module__server:focus {
    background-color: var(--accent-color-800);
    color: var(--font-color-700);
}

.Servers-module__servers {
    display: flex;
    flex-wrap: wrap;
    margin: -5px -5px calc(var(--safe-padding) / 2);
    justify-content: center;
}

.Servers-module__server {
    max-width: unset;
}

.MonitoringServer-module__wrapper {
    background: var(--bg-color-700);
    padding: var(--safe-padding);
}

.MonitoringServer-module__wrapper+.MonitoringServer-module__wrapper {
    margin-top: var(--safe-padding);
}

.Product-module__name {
    text-align: center;
}

.ShopFooter-module__ipInfo {
    text-align: center;
    font-size: 12px;
    color: var(--font-color-700);
    margin: var(--safe-padding) 0;
}

.LangSwitcher-module__list {
    background: var(--bg-color-800);
}

.Product-module__discount {
    top: 10px;
    right: 10px;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide-active img,
.swiper-slide-prev img,
.swiper-slide-next img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--default-border-radius);
}

.mySwiper {
    height: 250px;
}

.container.swiperContainer {
    margin-top: var(--safe-padding);
    margin-bottom: var(--safe-padding);
}

.Widgets-module__customWidgetWrapper .boxBody {
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    gap: 15px;
    max-height: 84px;
}

.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody {
    background: var(--bg-color-700);
    display: flex;
    transition: all 0.2s;
}

.Widgets-module__customPrefixWidgetWrapper .boxBody {
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.Widgets-module__customWidgetWrapper .boxBody:hover,
.Widgets-module__customPrefixWidgetWrapper .boxBody:hover {
    transform: scale(0.97);
    cursor: pointer;
}

.Widgets-module__widgetTitle {
    font-weight: 600;
}

.Widgets-module__widgetDescription {
    font-size: 12px;
}

.Widgets-module__widgetText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.Widgets-module__widgetWrapper+.Widgets-module__widgetWrapper {
    margin-top: var(--safe-padding);
}

.Widgets-module__widgetPrefix {
    padding: var(--safe-padding);
    background: var(--accent-color-800);
    border-radius: var(--default-border-radius);
    font-weight: 600;
}

.Widgets-module__widgetPrefixDescription {
    font-size: 12px;
    margin-top: var(--safe-padding);
}

.ModalLayout-module__positionWrapper {
    align-items: center;
    justify-content: center;
    background: #000000e8;
}

.boxHeader,
.boxFooter {
    background: var(--bg-color-900);
}

.boxHeader {
    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
}

.boxFooter {
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius);
}

.Button-module__btn.Button-module__accent {
    width: 100%;
}

.PlayerBalanceModal-module__footer {
    gap: var(--safe-padding);
}

.Button-module__btn.Button-module__gray:hover, .Button-module__btn.Button-module__gray:focus {
    background-color: var(--product-items-trans-bg-color);
}

.boxHeader {
    align-items: center;
    justify-content: center;
}

.PlayerBalanceModal-module__bonusSection {
    margin-top: var(--safe-padding);
}

.PlayerBalanceModal-module__bonusContainer {
    background-color: var(--bg-color-700) !important;
    padding: var(--safe-padding);
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;
}

.PlayerBalanceModal-module__bonusItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--bg-color-800);
    border-radius: var(--default-border-radius);
}

.PlayerBalanceModal-module__bonusPercent {
    font-weight: var(--title-font-weight);
    font-size: 18px;
    color: var(--font-color-700);
}

.PlayerBalanceModal-module__bonusAmount {
    color: var(--font-color-800);
    font-size: 16px;
}

.PlayerBalanceModal-module__bonusEmpty {
    text-align: center;
    padding: var(--safe-padding);
    color: var(--font-color-900);
}

.boxFooter.PlayerBalanceModal-module__footer .Button-module__btn.Button-module__gray {
    display: none;
}

.ProfileNav-module__header.boxHeader,
.ProfileNav-module__body.boxBody,
.ProfileNav-module__wrapper .boxFooter,
.ProfileContent-module__body.boxBody {
    background: var(--bg-color-700);
}

.ProfileNav-module__wrapper {
    margin-right: var(--safe-padding);
}

.ProfileNav-module__navItem {
    background: var(--bg-color-900);
}

.ProfileNav-module__body {
    gap: var(--safe-padding);
}

.ProfileContent-module__title {
    font-size: 12px;
    color: var(--font-color-900);
}

.ProfileContent-module__box {
    background-color: var(--bg-color-800);
}

.ProductItemSelector-module__items {
    grid-template-columns: repeat(4, minmax(50px, 1fr));
}

.productModalDescription {
    padding: 0px;
}

.productModalDescription {
    list-style: inside;
    text-align: left;
    padding: 0px;
    margin-bottom: var(--safe-padding);
    background-color: transparent;
}

.privilege-title {
    font-size: var(--default-font-size);
    margin-bottom: var(--safe-padding);
    text-align: center;
}

.privilege-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--default-border-radius);
    padding: 15px;
    margin-bottom: var(--safe-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privilege-value {
    font-weight: var(--title-font-weight);
    color: var(--font-color-700);
    background: var(--accent-color-800);
    padding: 5px 10px;
    border-radius: var(--default-border-radius);
}

.resources-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--default-border-radius);
    padding: 15px;
    margin-bottom: var(--safe-padding);
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--safe-padding);
}

.resources-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--safe-padding);
}

.resources-title {
    font-weight: var(--title-font-weight);
    font-size: var(--default-font-size);
}

.resources-reload {
    color: var(--font-color-900);
    font-size: var(--default-font-size);
}

.reload-icon {
    display: inline-block;
    margin-right: 5px;
}

.resource-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--default-border-radius);
    padding: var(--safe-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.2s;
}

.resource-amount {
    color: var(--font-color-700);
    font-size: var(--default-font-size);
}

.resource-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.resource-item:hover {
    transform: scale(0.97);
}

.privilege-name {
    font-weight: var(--title-font-weight);
    font-size: var(--default-font-size);
    margin-bottom: 5px;
}

.privilege-description {
    color: var(--font-color-900);
    font-size: var(--default-font-size);
}

.ItemContent-module__footer.boxFooter {
    gap: var(--safe-padding);
}

.PlayerMenuMobile-module__menuWrapper {
    background-color: #000000e8;
}

.MobileCopyright-module__link {
    white-space: nowrap;
    margin-left: 5px;
    color: var(--font-color-700);
}

.MobileCopyright-module__wrapper {
    background-color: transparent !important;
    display: flex;
    justify-content: center;
}

.CountSelector-module__changeCountBtn.CountSelector-module__left,
.CountSelector-module__changeCountBtn.CountSelector-module__right {
    border-radius: var(--default-border-radius);
}

@media (max-width: 1310px) {
    .container {
        width: auto;
    }
}

@media (max-width: 980px) {
    .container.swiperContainer {
        display: none;
    }

    .ProfileNav-module__body.boxBody {
        border-radius: var(--default-border-radius);
    }

    .resources-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 680px) {
    .privilege-value {
        min-width: 70px;
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .privilege-description, .resources-reload, .privilege-value {
        font-size: 12px;
    }
}


/* =========================================================
   MOVERUST SAFE OVERRIDES
   These selectors target the real GameStores CSS-module names.
   No generic [class*="..."] selectors are used.
   ========================================================= */

:root {
    --mr-site-bg: none;
    --mr-green: #8fe000;
    --mr-green-bright: #b8ff3d;
    --mr-orange: #f05a16;
    --mr-orange-bright: #ff8a22;
    --mr-panel: rgba(8, 12, 9, .90);
    --mr-panel-soft: rgba(14, 20, 15, .84);
    --mr-border: rgba(143, 224, 0, .24);
    --mr-shadow: 0 16px 38px rgba(0, 0, 0, .46);
}

html {
    background: #050705;
}

body {
    min-height: 100vh;
    background-color: var(--background-color);
    background-image:
        linear-gradient(180deg, rgba(2, 4, 2, .24) 0%, rgba(2, 4, 2, .72) 46%, rgba(2, 4, 2, .96) 100%),
        radial-gradient(circle at 18% 18%, rgba(143, 224, 0, .11), transparent 35%),
        radial-gradient(circle at 82% 22%, rgba(240, 90, 22, .11), transparent 34%),
        var(--mr-site-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--font-color-700);
    overflow-x: hidden;
}

/* Cleanup from the previous experimental version, if its classes remain in SPA state. */
.mr-reveal,
.mr-product-card,
.mr-detected-card {
    opacity: 1 !important;
    visibility: visible !important;
}
#mr-particles,
#mr-scroll-progress {
    display: none !important;
}

/* Header */
.Header-module__wrapper {
    background:
        linear-gradient(180deg, rgba(8, 12, 9, .96), rgba(8, 12, 9, .88)) !important;
    border: 1px solid var(--mr-border);
    box-shadow: var(--mr-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.Header-module__logo {
    color: #f8fbf5;
    text-shadow:
        0 2px 0 #000,
        0 0 18px rgba(143, 224, 0, .22);
}

.Header-module__logo::first-letter {
    color: var(--mr-green-bright);
}

/* Native banner: kept functional instead of being replaced by a fragile slider. */
.bannerContainer {
    overflow: hidden;
    border: 1px solid var(--mr-border);
    border-radius: var(--default-border-radius);
    box-shadow: var(--mr-shadow);
}
.bannerContainer img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Main panels */
.MonitoringServer-module__wrapper,
.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody,
.ProfileNav-module__header.boxHeader,
.ProfileNav-module__body.boxBody,
.ProfileNav-module__wrapper .boxFooter,
.ProfileContent-module__body.boxBody,
.BasketContent-module__wrapper .boxBody,
.HistoryContent-module__wrapper .boxBody {
    background:
        linear-gradient(145deg, var(--mr-panel-soft), var(--mr-panel)) !important;
    border: 1px solid var(--mr-border);
    box-shadow: var(--mr-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Server selector and categories */
.Servers-module__server,
.Categories-module__category {
    border: 1px solid rgba(143, 224, 0, .17);
    background: rgba(8, 12, 9, .88);
    color: var(--font-color-800);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.Servers-module__server.Servers-module__active,
.Servers-module__server:hover,
.Servers-module__server:focus,
.Categories-module__category.Categories-module__active,
.Categories-module__category:hover,
.Categories-module__category:focus {
    color: #091006;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-green-bright));
    border-color: var(--mr-green-bright);
    box-shadow: 0 0 20px rgba(143, 224, 0, .22);
    transform: translateY(-1px);
}

/* Product grid: never hide, animate or reposition the platform wrappers. */
.Products-module__wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    align-items: stretch;
}

/* Product cards */
.Product-module__wrapper {
    min-width: 0;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(17, 24, 18, .95), rgba(7, 10, 8, .96)) !important;
    border: 1px solid rgba(143, 224, 0, .24);
    box-shadow: 0 13px 30px rgba(0, 0, 0, .42);
    transition: transform .20s ease, border-color .20s ease, box-shadow .20s ease;
}

.Product-module__wrapper:hover,
.Product-module__wrapper:focus-within {
    transform: translateY(-4px);
    border-color: rgba(143, 224, 0, .68);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, .52),
        0 0 22px rgba(143, 224, 0, .16);
}

.Product-module__wrapper img {
    max-width: 100%;
    object-fit: contain;
    filter: saturate(1.06) contrast(1.04);
}

.Product-module__name {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--font-color-700);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.Product-module__price {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    align-items: center;
    color: var(--mr-green-bright) !important;
    font-weight: 700;
    text-shadow: 0 0 13px rgba(143, 224, 0, .22);
}

.Product-module__oldPrice {
    display: inline-flex !important;
    opacity: .68 !important;
    visibility: visible !important;
    color: #9ba395 !important;
}

.Product-module__discount {
    color: #fff;
    background: linear-gradient(135deg, var(--mr-orange), var(--mr-orange-bright));
    border: 1px solid rgba(255, 161, 76, .55);
    box-shadow: 0 5px 16px rgba(240, 90, 22, .25);
}

/* Buttons */
.Button-module__btn {
    min-height: 40px;
    font-weight: 700;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.Button-module__btn.Button-module__accent {
    color: #071004;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-green-bright));
    border: 1px solid rgba(203, 255, 116, .55);
    box-shadow: 0 8px 20px rgba(96, 190, 0, .20);
}

.Button-module__btn.Button-module__accent:hover,
.Button-module__btn.Button-module__accent:focus {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow:
        0 10px 25px rgba(96, 190, 0, .28),
        0 0 18px rgba(143, 224, 0, .16);
}

/* Search, selectors and fields */
.Search-module__wrapper,
.Search-module__iconWrapper,
.Selector-module__dropDownCurrentItem,
.Selector-module__dropDownList,
.PlayerBalanceModal-module__inputWrapper,
.TotalSum-module__inputWrapper,
.CountSelector-module__inputWrapper,
.ProfileContent-module__input {
    border: 1px solid rgba(143, 224, 0, .18);
    background: rgba(7, 10, 8, .92) !important;
}

.Selector-module__dropDownCurrentItem:hover,
.Selector-module__dropDownCurrentItem:focus-within,
.ProfileContent-module__input:focus {
    border-color: rgba(143, 224, 0, .62);
    box-shadow: 0 0 0 3px rgba(143, 224, 0, .10);
}

/* Monitoring */
.MonitoringServer-module__progressBarWrapper {
    overflow: hidden;
    background: #080b08;
}
.MonitoringServer-module__progressBarAnim {
    background: linear-gradient(90deg, #5aa600, var(--mr-green-bright), var(--mr-orange));
    box-shadow: 0 0 12px rgba(143, 224, 0, .24);
}

/* Modal compatibility */
.ModalLayout-module__positionWrapper {
    padding: 16px;
}
.ProductModal-module__command,
.ProductModal-module__bp,
.ProductModal-module__item,
.ProductModal-module__dropdown {
    width: min(500px, calc(100vw - 32px));
    max-width: 100%;
}

.boxHeader,
.boxFooter {
    border-color: rgba(143, 224, 0, .13);
}

/* Product description templates from the reference repository. */
.privilege-item,
.resources-container,
.resource-item {
    border: 1px solid rgba(143, 224, 0, .14);
    background: rgba(0, 0, 0, .31);
}
.privilege-value {
    color: #081005;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-green-bright));
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: #050705;
}
body::-webkit-scrollbar-thumb {
    border: 2px solid #050705;
    border-radius: 20px;
    background: linear-gradient(var(--mr-green), var(--mr-orange));
}

/* Responsive fixes */
@media (max-width: 980px) {
    body {
        background-attachment: scroll;
    }

    .Products-module__wrapper {
        gap: 10px;
    }

    .Widgets-module__wrapper {
        margin-right: 0;
    }
}

@media (max-width: 680px) {
    .Product-module__wrapper:hover,
    .Product-module__wrapper:focus-within {
        transform: none;
    }

    .Header-module__wrapper {
        min-height: 60px;
    }

    .Categories-module__categories {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: thin;
    }

    .Categories-module__category {
        flex: 0 0 auto;
        min-width: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .Product-module__wrapper,
    .Servers-module__server,
    .Categories-module__category,
    .Button-module__btn {
        transition: none !important;
        transform: none !important;
    }
}


/* =========================================================
   MOVERUST v2.1 — banner, prices, background and balance
   ========================================================= */

/* 1. Native banner without an extra rectangular panel around it */
.container.bannerContainer,
.bannerContainer {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.container.bannerContainer::before,
.container.bannerContainer::after,
.bannerContainer::before,
.bannerContainer::after {
    display: none !important;
    content: none !important;
}

.container.bannerContainer img,
.bannerContainer img {
    display: block;
    width: 100%;
    height: auto;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 2. Full site background without an external image */
html {
    background: #050705 !important;
}

body {
    background-color: #050705 !important;
    background-image:
        radial-gradient(circle at 12% 4%, rgba(143, 224, 0, .13), transparent 25rem),
        radial-gradient(circle at 92% 10%, rgba(240, 90, 22, .12), transparent 28rem),
        radial-gradient(circle at 52% 56%, rgba(104, 151, 40, .055), transparent 32rem),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .012) 0,
            rgba(255, 255, 255, .012) 1px,
            transparent 1px,
            transparent 34px
        ),
        linear-gradient(180deg, #0b100c 0%, #070a08 38%, #040604 100%) !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat !important;
    background-position: top left, top right, center, center, center !important;
    background-size: auto, auto, auto, auto, cover !important;
    background-attachment: fixed !important;
}

/* A subtle top glow that visually connects the banner to the storefront */
.Shop-module__wrapper {
    position: relative;
}

.Shop-module__wrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120px;
    left: 50%;
    width: min(1100px, 92vw);
    height: 360px;
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(143, 224, 0, .10), transparent 64%),
        radial-gradient(ellipse at 72% 38%, rgba(240, 90, 22, .07), transparent 54%);
    filter: blur(8px);
}

/* Slightly richer glass panels against the image-free background */
.MonitoringServer-module__wrapper,
.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody,
.ProfileNav-module__header.boxHeader,
.ProfileNav-module__body.boxBody,
.ProfileNav-module__wrapper .boxFooter,
.ProfileContent-module__body.boxBody,
.BasketContent-module__wrapper .boxBody,
.HistoryContent-module__wrapper .boxBody {
    background:
        linear-gradient(145deg, rgba(20, 28, 21, .94), rgba(7, 10, 8, .97)) !important;
    border-color: rgba(143, 224, 0, .20) !important;
}

/* 3. Product prices are always above product images */
.Product-module__wrapper {
    position: relative !important;
    isolation: isolate;
}

.Product-module__wrapper img {
    position: relative;
    z-index: 1;
}

.Product-module__price {
    position: absolute !important;
    z-index: 30 !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    width: max-content;
    max-width: calc(100% - 24px);
    min-height: 38px;
    padding: 7px 11px !important;
    gap: 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 255, 61, .42);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(8, 14, 8, .96), rgba(16, 26, 13, .92)) !important;
    color: var(--mr-green-bright) !important;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .56),
        0 0 18px rgba(143, 224, 0, .14);
    text-shadow: 0 0 12px rgba(143, 224, 0, .28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
}

.Product-module__oldPrice {
    display: inline-flex !important;
    position: relative;
    z-index: 31;
    margin: 0 !important;
    color: rgba(225, 231, 221, .58) !important;
    font-size: .82em !important;
    text-decoration: line-through;
    text-shadow: none;
}

.Product-module__discount {
    position: absolute !important;
    z-index: 32 !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .48),
        0 0 16px rgba(240, 90, 22, .18);
}

/* Keep the product name and action area readable below large images */
.Product-module__name {
    position: relative;
    z-index: 4;
    padding-inline: 8px;
}

.Product-module__wrapper .Button-module__btn {
    position: relative;
    z-index: 4;
}

/* 4. Balance button */
.PlayerBalance-module__btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 44px;
    padding: 8px 15px 8px 48px !important;
    border: 1px solid rgba(184, 255, 61, .32) !important;
    background:
        linear-gradient(135deg, rgba(29, 48, 19, .96), rgba(15, 23, 15, .96)) !important;
    color: #f4f8f0 !important;
    font-weight: 700;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .05);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.PlayerBalance-module__btn::before {
    content: "₽";
    position: absolute;
    z-index: 2;
    left: 9px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #091005;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-green-bright));
    box-shadow:
        0 5px 14px rgba(0, 0, 0, .34),
        0 0 14px rgba(143, 224, 0, .19);
}

.PlayerBalance-module__btn::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -75%;
    left: -30%;
    width: 40%;
    height: 250%;
    transform: rotate(23deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
    transition: left .45s ease;
}

.PlayerBalance-module__btn:hover,
.PlayerBalance-module__btn:focus {
    transform: translateY(-2px);
    border-color: rgba(184, 255, 61, .68) !important;
    filter: brightness(1.05);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, .46),
        0 0 20px rgba(143, 224, 0, .16);
}

.PlayerBalance-module__btn:hover::after,
.PlayerBalance-module__btn:focus::after {
    left: 125%;
}

/* Balance top-up modal */
.PlayerBalance-module__modal {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(143, 224, 0, .30);
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(143, 224, 0, .12), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(240, 90, 22, .09), transparent 36%),
        linear-gradient(145deg, rgba(19, 27, 20, .98), rgba(6, 9, 7, .99)) !important;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, .68),
        0 0 38px rgba(143, 224, 0, .10);
}

.PlayerBalance-module__modal::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mr-green), var(--mr-green-bright), var(--mr-orange));
}

.PlayerBalance-module__modal .boxHeader {
    min-height: 62px;
    color: #f5f8f2;
    background:
        linear-gradient(180deg, rgba(29, 42, 29, .96), rgba(12, 17, 13, .90)) !important;
    border-bottom: 1px solid rgba(143, 224, 0, .17);
    text-shadow: 0 0 15px rgba(143, 224, 0, .15);
}

.PlayerBalanceModal-module__label {
    display: block !important;
    margin-bottom: 8px;
    color: rgba(235, 242, 230, .76) !important;
    font-size: 13px;
    font-weight: 600;
}

.PlayerBalanceModal-module__inputWrapper {
    min-height: 52px;
    border: 1px solid rgba(143, 224, 0, .27) !important;
    border-radius: 12px !important;
    background: rgba(4, 8, 5, .88) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 8px 20px rgba(0, 0, 0, .22);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.PlayerBalanceModal-module__inputWrapper:focus-within {
    border-color: rgba(184, 255, 61, .75) !important;
    box-shadow:
        0 0 0 4px rgba(143, 224, 0, .10),
        0 10px 24px rgba(0, 0, 0, .28);
}

.PlayerBalanceModal-module__currency {
    min-width: 48px;
    color: #091005 !important;
    font-weight: 900;
    background:
        linear-gradient(135deg, var(--mr-green), var(--mr-green-bright)) !important;
    border-radius: 9px !important;
    box-shadow: 0 5px 15px rgba(143, 224, 0, .15);
}

.PlayerBalanceModal-module__footer {
    padding-top: 14px;
    border-top: 1px solid rgba(143, 224, 0, .13);
    background:
        linear-gradient(180deg, rgba(11, 16, 12, .84), rgba(6, 9, 7, .96)) !important;
}

.boxFooter.PlayerBalanceModal-module__footer .Button-module__btn.Button-module__gray {
    display: flex !important;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .055) !important;
}

.PlayerBalanceModal-module__footer .Button-module__btn.Button-module__accent {
    color: #091005 !important;
    background:
        linear-gradient(135deg, var(--mr-green), var(--mr-green-bright) 58%, #d0ff75) !important;
    box-shadow:
        0 10px 24px rgba(87, 176, 0, .25),
        inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* Preset amount buttons, where present */
.PlayerBalance-module__modal .Button-module__btn:not(.Button-module__accent):not(.Button-module__gray) {
    border: 1px solid rgba(240, 90, 22, .22);
    background: rgba(240, 90, 22, .075);
}

.PlayerBalance-module__modal .Button-module__btn:not(.Button-module__accent):not(.Button-module__gray):hover {
    border-color: rgba(255, 138, 34, .62);
    background: rgba(240, 90, 22, .14);
}

/* Mobile adjustments */
@media (max-width: 680px) {
    body {
        background-attachment: scroll !important;
    }

    .Product-module__price {
        top: 8px !important;
        left: 8px !important;
        min-height: 34px;
        padding: 6px 9px !important;
        font-size: 15px !important;
    }

    .Product-module__discount {
        top: 8px !important;
        right: 8px !important;
    }

    .PlayerBalance-module__btn {
        padding-left: 43px !important;
    }
}


/* =========================================================
   MOVERUST v2.2 — final UI corrections
   Fixes:
   1) centered ₽ icon in balance modal
   2) product title no longer covers the product or slides on hover
   3) language dropdown stays above categories
   ========================================================= */

:root {
    --mr-product-title-height: 48px;
}

/* ---------------------------------------------------------
   1. Balance modal currency icon
   --------------------------------------------------------- */

.PlayerBalanceModal-module__currency {
    display: flex !important;
    flex: 0 0 50px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #071004 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    transform: none !important;
}

.PlayerBalanceModal-module__currency > *,
.PlayerBalanceModal-module__currency span,
.PlayerBalanceModal-module__currency div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transform: none !important;
}

.PlayerBalanceModal-module__inputWrapper {
    display: flex !important;
    align-items: center !important;
    min-height: 54px !important;
}

.PlayerBalanceModal-module__inputWrapper input {
    min-width: 0;
    height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 50px !important;
}

/* ---------------------------------------------------------
   2. Product title gets its own reserved strip
   --------------------------------------------------------- */

.Product-module__wrapper {
    box-sizing: border-box !important;
    padding-top: var(--mr-product-title-height) !important;
}

/*
 The native title is absolute and animated by the original template.
 We keep it absolute, but reserve a separate area above the image.
 This avoids changing the GameStores card DOM.
*/
.Product-module__name {
    position: absolute !important;
    z-index: 40 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;

    display: -webkit-box !important;
    width: 100% !important;
    height: var(--mr-product-title-height) !important;
    min-height: var(--mr-product-title-height) !important;
    max-height: var(--mr-product-title-height) !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 7px 12px !important;
    overflow: hidden !important;

    color: #f5f8f2 !important;
    background:
        linear-gradient(180deg, rgba(12, 18, 13, .98), rgba(7, 11, 8, .98)) !important;
    border-bottom: 1px solid rgba(143, 224, 0, .16);

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 17px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none;
}

/* Cancel every title movement inherited from the template on hover/focus. */
.Product-module__wrapper:hover .Product-module__name,
.Product-module__wrapper:focus .Product-module__name,
.Product-module__wrapper:focus-within .Product-module__name,
.Product-module__name:hover,
.Product-module__name:focus {
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
}

/* Price and discount now start below the reserved title strip. */
.Product-module__price {
    top: calc(var(--mr-product-title-height) + 12px) !important;
}

.Product-module__discount {
    top: calc(var(--mr-product-title-height) + 12px) !important;
}

/* Ensure the actual product image stays below overlays. */
.Product-module__wrapper img {
    z-index: 1 !important;
}

/* ---------------------------------------------------------
   3. Language menu above categories and store content
   --------------------------------------------------------- */

.Header-module__wrapper {
    position: relative !important;
    z-index: 5000 !important;
    overflow: visible !important;
    isolation: auto !important;
}

.LangSwitcher-module__wrapper {
    position: relative !important;
    z-index: 5200 !important;
    overflow: visible !important;
}

.LangSwitcher-module__btn {
    position: relative !important;
    z-index: 5201 !important;
}

.LangSwitcher-module__list {
    position: absolute !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    isolation: isolate;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, .68),
        0 0 20px rgba(143, 224, 0, .12) !important;
}

/* Some mobile templates render the switcher under this wrapper. */
.PlayerMenuMobile-module__langSwitcher,
.PlayerMenuMobile-module__wrapper {
    position: relative !important;
    z-index: 5200 !important;
    overflow: visible !important;
}

/* Categories must remain below the opened language menu. */
.Shop-module__wrapper,
.Categories-module__categories,
.Categories-module__category {
    position: relative;
    z-index: 1 !important;
}

/* Remove clipping from header parents used by different GameStores builds. */
.Header-module__container,
.Header-module__content,
.Header-module__right,
.PlayerMenu-module__wrapper {
    overflow: visible !important;
}

/* Mobile corrections */
@media (max-width: 680px) {
    :root {
        --mr-product-title-height: 52px;
    }

    .Product-module__name {
        padding: 8px 9px !important;
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .Product-module__price,
    .Product-module__discount {
        top: calc(var(--mr-product-title-height) + 8px) !important;
    }

    .LangSwitcher-module__list {
        z-index: 99999 !important;
    }
}


/* =========================================================
   MOVERUST v2.3 — requested corrections only
   ========================================================= */

/* 1. Remove the extra glow below/around the banner and categories */
.Shop-module__wrapper::before {
    display: none !important;
    content: none !important;
    background: none !important;
    filter: none !important;
}

/* 2. Restore the full product image size */
.Product-module__wrapper {
    padding-top: 0 !important;
}

/*
 Product title is now a fixed bottom overlay.
 It does not reserve space, shrink the image or move on hover.
*/
.Product-module__name {
    position: absolute !important;
    z-index: 40 !important;

    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 7px 12px !important;
    overflow: hidden !important;

    color: #f5f8f2 !important;
    background:
        linear-gradient(
            180deg,
            rgba(5, 8, 6, .78) 0%,
            rgba(5, 8, 6, .95) 45%,
            rgba(4, 7, 5, .99) 100%
        ) !important;
    border-top: 1px solid rgba(143, 224, 0, .20) !important;
    border-bottom: 0 !important;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;
    box-shadow:
        0 -10px 24px rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255, 255, 255, .025);

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 17px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
}

/* Disable all inherited hover movement of product names */
.Product-module__wrapper:hover .Product-module__name,
.Product-module__wrapper:focus .Product-module__name,
.Product-module__wrapper:focus-within .Product-module__name,
.Product-module__name:hover,
.Product-module__name:focus {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
}

/* Price and discount stay over the top of the full-size product image */
.Product-module__price {
    top: 12px !important;
}

.Product-module__discount {
    top: 12px !important;
}

/* 3. Modal must cover the header as well */
.Header-module__wrapper {
    z-index: 100 !important;
}

.LangSwitcher-module__wrapper,
.PlayerMenuMobile-module__langSwitcher,
.PlayerMenuMobile-module__wrapper {
    z-index: 120 !important;
}

.LangSwitcher-module__btn {
    z-index: 121 !important;
}

.LangSwitcher-module__list {
    z-index: 1000 !important;
}

/* The modal overlay is intentionally above the entire storefront header */
.ModalLayout-module__positionWrapper {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
}

/* Mobile */
@media (max-width: 680px) {
    .Product-module__name {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 7px 9px !important;
        font-size: 14px !important;
        line-height: 16px !important;
    }

    .Product-module__price,
    .Product-module__discount {
        top: 8px !important;
    }
}


/* =========================================================
   MOVERUST v2.4 — separate product name block
   The image remains full-size and square.
   The name becomes an independent lower section,
   while the entire product card remains one unified element.
   ========================================================= */

:root {
    --mr-product-name-block-height: 54px;
}

/* Turn the native square card into a vertical card:
   full-size image area + separate name section below. */
.Product-module__wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    padding: 0 !important;
    overflow: hidden !important;
}

/* Preserve the original full-size square image.
   The extra name block increases card height instead of shrinking the image. */
.Product-module__wrapper img {
    display: block !important;
    flex: 0 0 auto !important;
    order: 0 !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;

    margin: 0 !important;
    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0 !important;
}

/* Independent lower block for the product name. */
.Product-module__name {
    position: relative !important;
    z-index: 40 !important;

    order: 999 !important;
    flex: 0 0 var(--mr-product-name-block-height) !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    height: var(--mr-product-name-block-height) !important;
    min-height: var(--mr-product-name-block-height) !important;
    max-height: var(--mr-product-name-block-height) !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 8px 14px !important;
    overflow: hidden !important;

    color: #f6f9f3 !important;
    background:
        linear-gradient(
            135deg,
            rgba(18, 27, 18, .99) 0%,
            rgba(9, 14, 10, .99) 52%,
            rgba(16, 22, 15, .99) 100%
        ) !important;

    border-top: 1px solid rgba(143, 224, 0, .30) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        inset 0 12px 24px rgba(143, 224, 0, .025),
        0 -8px 20px rgba(0, 0, 0, .16);

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 18px !important;
    letter-spacing: .15px !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
}

/* Small decorative accent that keeps the lower block visually connected
   to the green MOVERUST outline without adding a separate gap. */
.Product-module__name::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 44%;
    max-width: 110px;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--mr-green),
        var(--mr-green-bright),
        transparent
    );
    box-shadow: 0 0 10px rgba(143, 224, 0, .20);
}

/* The name must never slide over the product again. */
.Product-module__wrapper:hover .Product-module__name,
.Product-module__wrapper:focus .Product-module__name,
.Product-module__wrapper:focus-within .Product-module__name,
.Product-module__name:hover,
.Product-module__name:focus {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
}

/* Price and discount remain inside the image area. */
.Product-module__price {
    top: 12px !important;
    bottom: auto !important;
}

.Product-module__discount {
    top: 12px !important;
    bottom: auto !important;
}

/* Quantity labels such as x10 must also remain on the image,
   not move into the independent name block. */
.Product-module__wrapper .moverust-product-quantity {
    position: absolute !important;
    z-index: 35 !important;
    right: 10px !important;
    bottom: calc(var(--mr-product-name-block-height) + 10px) !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* Keep product rows aligned despite titles with different lengths. */
.Products-module__wrapper {
    align-items: flex-start !important;
}

@media (max-width: 680px) {
    :root {
        --mr-product-name-block-height: 56px;
    }

    .Product-module__name {
        padding: 8px 10px !important;
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .Product-module__price,
    .Product-module__discount {
        top: 8px !important;
    }

    .Product-module__wrapper .moverust-product-quantity {
        right: 8px !important;
        bottom: calc(var(--mr-product-name-block-height) + 8px) !important;
    }
}


/* =========================================================
   MOVERUST v2.7 — two-mode product title system
   ========================================================= */

:root {
    --mr-product-name-block-height: 66px;
}

/*
 The title remains an independent lower section.
 CSS Grid is used instead of Flex because it reliably centers
 both a plain text node and any nested span/link used by GameStores.
*/
.Product-module__name {
    position: relative !important;
    isolation: isolate !important;

    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-content: center !important;

    flex: 0 0 var(--mr-product-name-block-height) !important;
    width: 100% !important;
    height: var(--mr-product-name-block-height) !important;
    min-height: var(--mr-product-name-block-height) !important;
    max-height: var(--mr-product-name-block-height) !important;

    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    color: #f7faf4 !important;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(143, 224, 0, .24) 22%,
            rgba(184, 255, 61, .72) 50%,
            rgba(143, 224, 0, .24) 78%,
            transparent 100%
        ) top / 76% 1px no-repeat,
        radial-gradient(
            ellipse at 50% -40%,
            rgba(143, 224, 0, .13) 0%,
            rgba(143, 224, 0, .035) 42%,
            transparent 72%
        ),
        linear-gradient(
            135deg,
            rgba(19, 29, 19, .995) 0%,
            rgba(8, 13, 9, .995) 48%,
            rgba(15, 22, 14, .995) 100%
        ) !important;

    border-top: 1px solid rgba(143, 224, 0, .25) !important;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        inset 0 14px 26px rgba(143, 224, 0, .025),
        inset 0 -12px 24px rgba(0, 0, 0, .20),
        0 -8px 18px rgba(0, 0, 0, .15) !important;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
    letter-spacing: .28px !important;
    text-align: center !important;
    text-wrap: balance;
    overflow-wrap: anywhere !important;

    text-shadow:
        0 1px 0 rgba(0, 0, 0, .95),
        0 0 11px rgba(143, 224, 0, .12) !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
}

/* Replace the previous short decorative line with compact side markers. */
.Product-module__name::before,
.Product-module__name::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 50% !important;
    width: 28px !important;
    height: 1px !important;
    transform: translateY(-50%) !important;
    border-radius: 10px !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(143, 224, 0, .38)
    ) !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.Product-module__name::before {
    left: 9px !important;
}

.Product-module__name::after {
    right: 9px !important;
    transform: translateY(-50%) scaleX(-1) !important;
}

/* Center nested GameStores elements too, if the title is wrapped. */
.Product-module__name > *,
.Product-module__name span,
.Product-module__name a {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;

    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    max-height: 2.4em !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow: hidden !important;
}

/* Keep the block perfectly centered and stationary in every state. */
.Product-module__wrapper:hover .Product-module__name,
.Product-module__wrapper:focus .Product-module__name,
.Product-module__wrapper:focus-within .Product-module__name,
.Product-module__name:hover,
.Product-module__name:focus {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
}

/* Quantity remains inside the image above the larger title block. */
.Product-module__wrapper .moverust-product-quantity {
    bottom: calc(var(--mr-product-name-block-height) + 10px) !important;
}

@media (max-width: 680px) {
    :root {
        --mr-product-name-block-height: 64px;
    }

    .Product-module__name {
        padding: 0 13px !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        letter-spacing: .18px !important;
    }

    .Product-module__name::before,
    .Product-module__name::after {
        width: 19px !important;
    }

    .Product-module__wrapper .moverust-product-quantity {
        bottom: calc(var(--mr-product-name-block-height) + 8px) !important;
    }
}


/* =========================================================
   MOVERUST v2.7 — two product-name display modes

   settings.productCardName.enabled = true
   Separate lower name block.

   settings.productCardName.enabled = false
   One square card; the name smoothly slides over the image
   when the card is hovered or focused.
   ========================================================= */

/* Explicit class for the regular two-section mode. */
html:not(.moverust-product-name-overlay) .Product-module__name {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------------------------------------------------------
   Single-block overlay mode
   --------------------------------------------------------- */

html.moverust-product-name-overlay .Product-module__wrapper {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;

    padding: 0 !important;
    overflow: hidden !important;
}

html.moverust-product-name-overlay .Product-module__wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;

    margin: 0 !important;
    border-radius: var(--default-border-radius) !important;
}

/*
 The title is inside the same square card.
 By default it is below the visible edge; hover/focus slides it upward.
*/
html.moverust-product-name-overlay .Product-module__name {
    position: absolute !important;
    z-index: 45 !important;

    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 8px 16px !important;

    color: #f7faf4 !important;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(143, 224, 0, .24) 22%,
            rgba(184, 255, 61, .72) 50%,
            rgba(143, 224, 0, .24) 78%,
            transparent 100%
        ) top / 76% 1px no-repeat,
        linear-gradient(
            180deg,
            rgba(8, 13, 9, .88) 0%,
            rgba(6, 10, 7, .97) 55%,
            rgba(4, 7, 5, .995) 100%
        ) !important;

    border-top: 1px solid rgba(143, 224, 0, .28) !important;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;

    box-shadow:
        0 -14px 30px rgba(0, 0, 0, .42),
        inset 0 1px 0 rgba(255, 255, 255, .04) !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
    letter-spacing: .25px !important;
    text-align: center !important;
    text-wrap: balance;
    overflow-wrap: anywhere !important;

    opacity: 0 !important;
    visibility: visible !important;
    transform: translate3d(0, 102%, 0) !important;
    translate: none !important;

    transition:
        transform .32s cubic-bezier(.22, .78, .24, 1),
        opacity .22s ease !important;
    animation: none !important;
    pointer-events: none !important;
    will-change: transform, opacity;
}

html.moverust-product-name-overlay .Product-module__name > *,
html.moverust-product-name-overlay .Product-module__name span,
html.moverust-product-name-overlay .Product-module__name a {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;

    width: 100% !important;
    max-width: 100% !important;
    max-height: 2.4em !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

/* Smooth reveal on mouse hover and keyboard focus. */
html.moverust-product-name-overlay .Product-module__wrapper:hover .Product-module__name,
html.moverust-product-name-overlay .Product-module__wrapper:focus .Product-module__name,
html.moverust-product-name-overlay .Product-module__wrapper:focus-within .Product-module__name {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    translate: none !important;

    transition:
        transform .32s cubic-bezier(.22, .78, .24, 1),
        opacity .22s ease !important;
    animation: none !important;
}

/* Quantity remains in the image corner in single-block mode. */
html.moverust-product-name-overlay
.Product-module__wrapper
.moverust-product-quantity {
    right: 10px !important;
    bottom: 10px !important;
}

/* Do not reserve space below the image in overlay mode. */
html.moverust-product-name-overlay .Products-module__wrapper {
    align-items: flex-start !important;
}

@media (hover: none), (pointer: coarse) {
    /*
     Touch devices do not have reliable hover.
     Show the overlay permanently, while keeping one square block.
    */
    html.moverust-product-name-overlay .Product-module__name {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
    }
}

@media (max-width: 680px) {
    html.moverust-product-name-overlay .Product-module__name {
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
        padding: 7px 12px !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    html.moverust-product-name-overlay
    .Product-module__wrapper
    .moverust-product-quantity {
        right: 8px !important;
        bottom: 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.moverust-product-name-overlay .Product-module__name,
    html.moverust-product-name-overlay
    .Product-module__wrapper:hover
    .Product-module__name,
    html.moverust-product-name-overlay
    .Product-module__wrapper:focus-within
    .Product-module__name {
        transition: none !important;
    }
}

/* =========================================================
   MOVERUST v2.9 — scrollable GameStores product modal
   Fixes long descriptions without pushing purchase controls
   outside the viewport.
   ========================================================= */

:root {
    --mr-product-modal-max-height: calc(100dvh - 24px);
}

/*
 The overlay itself may be taller than the viewport in some GameStores builds.
 It now accepts wheel/touch scrolling as a safe fallback.
*/
html.moverust-product-modal-scroll .ModalLayout-module__positionWrapper {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 12px !important;
    box-sizing: border-box !important;
}

/*
 All known GameStores product modal variants are constrained to the viewport.
 The modal itself becomes the scroll container, so long descriptions no longer
 stretch the page below the visible screen.
*/
html.moverust-product-modal-scroll .ProductModal-module__item,
html.moverust-product-modal-scroll .ProductModal-module__command,
html.moverust-product-modal-scroll .ProductModal-module__bp,
html.moverust-product-modal-scroll .ProductModal-module__dropdown {
    width: min(500px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;

    max-height: calc(100vh - 24px) !important;
    max-height: var(--mr-product-modal-max-height) !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;

    scrollbar-width: thin;
    scrollbar-color: var(--mr-green) rgba(255, 255, 255, .045);

    border-radius: 14px !important;
    box-sizing: border-box !important;
}

/* Styled internal scrollbar */
html.moverust-product-modal-scroll .ProductModal-module__item::-webkit-scrollbar,
html.moverust-product-modal-scroll .ProductModal-module__command::-webkit-scrollbar,
html.moverust-product-modal-scroll .ProductModal-module__bp::-webkit-scrollbar,
html.moverust-product-modal-scroll .ProductModal-module__dropdown::-webkit-scrollbar {
    width: 9px;
}

html.moverust-product-modal-scroll .ProductModal-module__item::-webkit-scrollbar-track,
html.moverust-product-modal-scroll .ProductModal-module__command::-webkit-scrollbar-track,
html.moverust-product-modal-scroll .ProductModal-module__bp::-webkit-scrollbar-track,
html.moverust-product-modal-scroll .ProductModal-module__dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035);
}

html.moverust-product-modal-scroll .ProductModal-module__item::-webkit-scrollbar-thumb,
html.moverust-product-modal-scroll .ProductModal-module__command::-webkit-scrollbar-thumb,
html.moverust-product-modal-scroll .ProductModal-module__bp::-webkit-scrollbar-thumb,
html.moverust-product-modal-scroll .ProductModal-module__dropdown::-webkit-scrollbar-thumb {
    border: 2px solid rgba(7, 10, 8, .96);
    border-radius: 20px;
    background: linear-gradient(
        180deg,
        var(--mr-green-bright),
        var(--mr-green),
        var(--mr-orange)
    );
}

/*
 Keep the purchase area visible while the image and description scroll.
 These are the footer variants used by GameStores product modals.
*/
html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
.ItemContent-module__footer.boxFooter,
html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
.KitContent-module__footer.boxFooter,
html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
.SelectContent-module__footer.boxFooter {
    position: sticky !important;
    z-index: 120 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    margin: 0 !important;
    padding: 12px !important;

    border-top: 1px solid rgba(143, 224, 0, .23) !important;
    border-radius: 0 0 14px 14px !important;

    background:
        linear-gradient(
            180deg,
            rgba(12, 18, 13, .97),
            rgba(6, 10, 7, .995)
        ) !important;

    box-shadow:
        0 -18px 34px rgba(0, 0, 0, .58),
        inset 0 1px 0 rgba(255, 255, 255, .035) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/*
 Prevent custom HTML descriptions from introducing a second nested scrollbar.
 The site modal is now responsible for scrolling.
*/
html.moverust-product-modal-scroll .productModalDescription,
html.moverust-product-modal-scroll .productModalDescription > div {
    max-height: none !important;
    overflow: visible !important;
}

/* Keep long formatted descriptions inside the modal width. */
html.moverust-product-modal-scroll .productModalDescription {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

html.moverust-product-modal-scroll .productModalDescription img {
    max-width: 100% !important;
    height: auto !important;
}

/* Mobile modal fills nearly the whole viewport but retains safe edges. */
@media (max-width: 680px) {
    :root {
        --mr-product-modal-max-height: calc(100dvh - 12px);
    }

    html.moverust-product-modal-scroll .ModalLayout-module__positionWrapper {
        align-items: flex-start !important;
        padding: 6px !important;
    }

    html.moverust-product-modal-scroll .ProductModal-module__item,
    html.moverust-product-modal-scroll .ProductModal-module__command,
    html.moverust-product-modal-scroll .ProductModal-module__bp,
    html.moverust-product-modal-scroll .ProductModal-module__dropdown {
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
        border-radius: 12px !important;
    }

    html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
    .ItemContent-module__footer.boxFooter,
    html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
    .KitContent-module__footer.boxFooter,
    html.moverust-product-modal-scroll.moverust-product-modal-sticky-footer
    .SelectContent-module__footer.boxFooter {
        padding: 10px !important;
        border-radius: 0 0 12px 12px !important;
    }
}