@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: #8f2e1d;
    --accent-color-900: #7a281a;

    --font-color-700: #fff;
    --font-color-800: rgba(255, 255, 255, .7);
    --font-color-900: #7b7b7b;

    --bg-color-800: #202020;
    --bg-color-700: #121212;
    --bg-color-900: #1d1b1a;

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

:root {
    --safe-padding: 10px;
    --default-border-radius: 10px;
    --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: 101%;
}

.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;
    }
}

/* =========================================================
   SYMBIOT RUST — visual layer only. No GameStores paths/JS changed.
   ========================================================= */
:root[data-theme=red_black] {
    --accent-color-800:#d71920;
    --accent-color-900:#8f0f14;
    --font-color-700:#f4f4f5;
    --font-color-800:rgba(244,244,245,.72);
    --font-color-900:#85858d;
    --bg-color-800:#17171b;
    --bg-color-700:#0c0c0f;
    --bg-color-900:#111115;
    --background-color:#050506;
    --product-items-trans-bg-color:rgba(0,0,0,.58);
}

body {
    background:
      radial-gradient(circle at 15% 10%, rgba(215,25,32,.10), transparent 26%),
      radial-gradient(circle at 86% 32%, rgba(255,255,255,.045), transparent 22%),
      linear-gradient(135deg,#030304 0%,#09090c 48%,#030304 100%);
    background-attachment:fixed;
}

/* wet organic surface without external assets */
.Header-module__wrapper,
.Product-module__wrapper,
.MonitoringServer-module__wrapper,
.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody,
.ProfileContent-module__box,
.BasketTable-module__tableLine,
.HistoryTable-module__tableLine {
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.075);
    background-image:
      radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.08),transparent 25%),
      radial-gradient(ellipse at 90% 100%,rgba(215,25,32,.11),transparent 28%),
      linear-gradient(145deg,rgba(255,255,255,.025),rgba(0,0,0,.15));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 30px rgba(0,0,0,.22);
}

/* Symbiote eye marks — pure CSS, no new image/file/path */
.Header-module__wrapper::before,
.Header-module__wrapper::after {
    content:"";
    position:absolute;
    top:50%;
    width:58px;
    height:17px;
    opacity:.16;
    pointer-events:none;
    background:#fff;
    filter:drop-shadow(0 0 8px rgba(255,255,255,.22));
}
.Header-module__wrapper::before {left:22px;clip-path:polygon(0 12%,100% 0,70% 100%,18% 68%);transform:translateY(-50%) rotate(7deg)}
.Header-module__wrapper::after {right:22px;clip-path:polygon(0 0,100% 12%,82% 68%,30% 100%);transform:translateY(-50%) rotate(-7deg)}

.Header-module__logo {
    color:#f7f7f8;
    text-shadow:0 0 18px rgba(255,255,255,.12),3px 3px 0 rgba(215,25,32,.16);
    letter-spacing:2px;
}

/* black symbiote strands framing the existing swiper; images/URLs remain untouched */
.container.swiperContainer {position:relative;isolation:isolate}
.container.swiperContainer::before,
.container.swiperContainer::after {
    content:"";position:absolute;z-index:3;pointer-events:none;opacity:.9;
    width:38%;height:36%;
    background:
      radial-gradient(ellipse at 10% 10%,#050506 0 18%,transparent 20%),
      linear-gradient(18deg,transparent 0 36%,#070709 38% 43%,transparent 45% 100%),
      linear-gradient(-11deg,transparent 0 55%,#0a0a0c 57% 61%,transparent 63% 100%);
    filter:drop-shadow(0 0 7px #000);
}
.container.swiperContainer::before{left:-12px;top:-8px;transform:rotate(-3deg)}
.container.swiperContainer::after{right:-12px;bottom:-8px;transform:scale(-1) rotate(-3deg)}
.mySwiper {border:1px solid rgba(215,25,32,.26);box-shadow:0 0 0 1px rgba(255,255,255,.03),0 18px 45px rgba(0,0,0,.5)}

.Categories-module__category,
.Servers-module__server,
.Button-module__btn,
.PlayerBalance-module__btn {
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg,#18181d,#0d0d10);
    transition:.18s ease;
}
.Categories-module__category:hover,
.Servers-module__server:hover,
.Servers-module__server.Servers-module__active,
.Button-module__btn.Button-module__accent,
.PlayerBalance-module__btn:hover {
    background:linear-gradient(135deg,#b81016,#5f080c);
    border-color:rgba(255,65,72,.52);
    box-shadow:0 0 18px rgba(215,25,32,.18),inset 0 1px rgba(255,255,255,.08);
}

/* Product cards: living black shell + red infection line */
.Product-module__wrapper::before {
    content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
    background:linear-gradient(120deg,transparent 0 56%,rgba(215,25,32,.12) 57%,transparent 61%),
               radial-gradient(circle at 100% 0%,rgba(255,255,255,.07),transparent 27%);
}
.Product-module__wrapper::after {
    content:"";position:absolute;left:0;right:0;bottom:0;height:2px;z-index:2;
    background:linear-gradient(90deg,transparent,#d71920 28%,#fff 50%,#d71920 72%,transparent);
    opacity:.42;transform:scaleX(.35);transition:.22s ease;
}
.Product-module__wrapper:hover::after{transform:scaleX(.9);opacity:.9}
.Product-module__wrapper:hover{transform:translateY(-4px) scale(.985);box-shadow:0 16px 40px rgba(0,0,0,.55),0 0 24px rgba(215,25,32,.12)}
.Product-module__price {z-index:3;padding:6px 10px;border-radius:8px;background:rgba(4,4,5,.78);backdrop-filter:blur(7px);border:1px solid rgba(255,255,255,.09)}
.Product-module__discount {z-index:3;background:#d71920;box-shadow:0 0 14px rgba(215,25,32,.35)}

/* Three symbiote signatures across the existing custom widgets: Venom / Carnage / Anti style */
.Widgets-module__widgetWrapper:nth-of-type(3n+1) .boxBody {border-left:3px solid #f4f4f5;box-shadow:inset 14px 0 25px -24px #fff}
.Widgets-module__widgetWrapper:nth-of-type(3n+2) .boxBody {border-left:3px solid #d71920;box-shadow:inset 14px 0 25px -24px #ff3038}
.Widgets-module__widgetWrapper:nth-of-type(3n) .boxBody {border-left:3px solid #bfc5cf;box-shadow:inset 14px 0 25px -24px #fff}

.Widgets-module__widgetPrefix {
    background:linear-gradient(135deg,#f1f1f3 0 46%,#111 47% 65%,#d71920 66% 100%);
    color:#050506;
    box-shadow:0 0 18px rgba(215,25,32,.14);
}

.MonitoringServer-module__progressBarWrapper {overflow:hidden;border:1px solid rgba(255,255,255,.06)}
.MonitoringServer-module__progressBarAnim {background:linear-gradient(90deg,#6c080c,#d71920,#f2f2f2,#d71920);box-shadow:0 0 14px rgba(215,25,32,.35)}

.Search-module__wrapper,
.ProfileContent-module__input,
.PlayerBalanceModal-module__inputWrapper,
.TotalSum-module__inputWrapper,
.CountSelector-module__inputWrapper,
.Selector-module__dropDownCurrentItem,
.Selector-module__dropDownList {
    border:1px solid rgba(255,255,255,.08);
    background:#0c0c0f;
    box-shadow:inset 0 1px 10px rgba(0,0,0,.35);
}

.ModalLayout-module__positionWrapper {background:rgba(0,0,0,.88);backdrop-filter:blur(7px)}
.boxHeader {border-bottom:1px solid rgba(215,25,32,.25)}
.boxFooter {border-top:1px solid rgba(255,255,255,.055)}

.privilege-item,.resources-container,.resource-item {
    border:1px solid rgba(255,255,255,.065);
    background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(0,0,0,.34));
}
.privilege-value {background:linear-gradient(135deg,#c8141a,#74090d);box-shadow:0 0 14px rgba(215,25,32,.15)}

/* Mobile: keep the marks subtle and non-obstructive */
@media(max-width:680px){
  .Header-module__wrapper::before,.Header-module__wrapper::after{width:34px;height:11px;opacity:.1}
  .Product-module__wrapper:hover{transform:none}
}