/* 1. Делаем прозрачной верхнюю панель меню (где Баланс и Профиль), блок мониторинга и сам магазин */
header, nav, .header, .navbar, .top-bar, .menu,
[class*="header"], [class*="nav"], [class*="menu"],
[class*="box"], [class*="block"], [class*="panel"], [class*="widget"], [class*="container"] > div {
    background-color: rgba(25, 10, 45, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    border-color: rgba(160, 90, 220, 0.25) !important;
}

/* 2. Убираем белые квадраты вокруг самого оружия и карточек товаров */
.product, .product-item, .store-product, .item, .card,
[class*="product"], [class*="item"], [class*="card"], [class*="good"] {
    background: rgba(30, 12, 55, 0.45) !important;
    background-color: rgba(30, 12, 55, 0.45) !important;
    border: 1px solid rgba(170, 100, 230, 0.3) !important;
    box-shadow: none !important;
}

/* Убираем белый фон у самой подложки картинки внутри карточки */
[class*="product"] div, [class*="item"] div, [class*="img"], [class*="image"], [class*="thumb"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* 3. Перекрашиваем белые кнопки категорий (Оружие, Ресурсы и т.д.) и строку поиска */
button, .btn, [class*="btn"], [class*="cat"], [class*="tab"], input {
    background-color: rgba(45, 18, 80, 0.7) !important;
    border: 1px solid rgba(170, 100, 230, 0.35) !important;
    color: #ffffff !important;
}

/* 4. Делаем весь текст (включая Баланс, Профиль и цены на товарах) ярко-белым и читаемым */
body, p, span, a, div, h1, h2, h3, h4, li, label {
    color: #ffffff !important;
}
/* Убираем белые квадраты вокруг иконок товаров */
[class*="product" i],
[class*="item" i],
[class*="card" i],
[class*="good" i],
[class*="cell" i],
[class*="slot" i],
.thumbnail,
main a:has(img),
.row a:has(img),
.row div:has(> img) {
    background: rgba(30, 12, 55, 0.5) !important;
    background-color: rgba(30, 12, 55, 0.5) !important;
    border: 1px solid rgba(170, 100, 230, 0.3) !important;
}

/* Сами картинки оружия делаем без фона */
img {
    background: transparent !important;
    background-color: transparent !important;
}
/* === 1. ОСНОВНОЙ ПРОЗРАЧНЫЙ ДИЗАЙН БЛОКОВ === */
header, nav, .header, .navbar,
[class*="box" i], [class*="block" i], [class*="panel" i], [class*="widget" i] {
    background-color: rgba(25, 10, 45, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    border-color: rgba(160, 90, 220, 0.25) !important;
}

/* Убираем белые квадраты вокруг товаров */
[class*="product" i]:not([class*="products" i]),
[class*="item" i]:not([class*="items" i]),
[class*="card" i]:not([class*="cards" i]),
[class*="good" i]:not([class*="goods" i]),
.row > div:has(img) {
    background-color: rgba(30, 12, 55, 0.5) !important;
    border: 1px solid rgba(170, 100, 230, 0.3) !important;
    border-radius: 8px !important;
}

/* Прозрачность картинок и текста */
img { background: transparent !important; }
body, p, span, a, div, h1, h2, h3, h4, li, label, input { color: #ffffff !important; }

/* Кнопки категорий и строка поиска */
button, .btn, [class*="btn" i], [class*="cat" i]:not([class*="categories" i]), input {
    background-color: rgba(45, 18, 80, 0.7) !important;
    border: 1px solid rgba(170, 100, 230, 0.35) !important;
    border-radius: 6px !important;
}

/* === 2. АНИМАЦИЯ И ОБВОДКА СТРОГО ДЛЯ НУЖНЫХ ЭЛЕМЕНТОВ === */

/* Плавный переход для верхнего меню, кнопок категорий и карточек товаров */
nav a, header a,
button, .btn, [class*="btn" i], [class*="cat" i]:not([class*="categories" i]),
[class*="product" i]:not([class*="products" i]),
[class*="item" i]:not([class*="items" i]),
[class*="card" i]:not([class*="cards" i]),
[class*="good" i]:not([class*="goods" i]),
.row > div:has(img) {
    transition: all 0.25s ease !important;
}

/* Плавный переход для самой картинки оружия внутри карточки */
[class*="product" i] img,
[class*="item" i] img,
[class*="card" i] img,
[class*="good" i] img,
.row > div:has(img) img {
    transition: transform 0.3s ease !important;
}

/* Неоновая обводка и подъем при наведении (верхнее меню, категории,
полная карточка товара) */
nav a:hover, header a:hover,
button:hover, .btn:hover, [class*="btn" i]:hover, [class*="cat" i]:not([class*="categories" i]):hover,
[class*="product" i]:not([class*="products" i]):hover,
[class*="item" i]:not([class*="items" i]):hover,
[class*="card" i]:not([class*="cards" i]):hover,
[class*="good" i]:not([class*="goods" i]):hover,
.row > div:has(img):hover {
    border: 1px solid #e0aaff !important;
    box-shadow: 0 0 15px rgba(190, 90, 255, 0.8), inset 0 0 8px rgba(190, 90, 255, 0.35) !important;
    transform: translateY(-3px) !important;
}

/* Увеличение самой картинки оружия при наведении на карточку товара */
[class*="product" i]:not([class*="products" i]):hover img,
[class*="item" i]:not([class*="items" i]):hover img,
[class*="card" i]:not([class*="cards" i]):hover img,
[class*="good" i]:not([class*="goods" i]):hover img,
.row > div:has(img):hover img {
    transform: scale(1.08) !important;
}

/* === 3. ЖЕСТКИЙ ЗАПРЕТ НА ОБВОДКУ ДЛЯ БОЛЬШИХ ФОНОВЫХ БЛОКОВ === */
nav:hover, header:hover, main:hover, section:hover, aside:hover,
[class*="box" i]:hover, [class*="block" i]:hover, [class*="panel" i]:hover, [class*="widget" i]:hover,
[class*="products" i]:hover, [class*="items" i]:hover, [class*="categories" i]:hover, [class*="container" i]:hover {
    border-color: rgba(160, 90, 220, 0.25) !important;
    box-shadow: none !important;
    transform: none !important;
}
/* Плавная анимация строго для самих кнопок категорий (Все, Оружие, Ресурсы и т.д.) */
[class*="categor" i] a,
[class*="categor" i] button,
[class*="categor" i] li,
[class*="filter" i] a,
[class*="filter" i] button,
[class*="tab" i] a,
[class*="tab" i] button {
    transition: all 0.25s ease !important;
    border-radius: 6px !important;
}

/* Такая же неоновая обводка и подъем, как на карточках товаров */
[class*="categor" i] a:hover,
[class*="categor" i] button:hover,
[class*="categor" i] li:hover,
[class*="filter" i] a:hover,
[class*="filter" i] button:hover,
[class*="tab" i] a:hover,
[class*="tab" i] button:hover {
    border: 1px solid #e0aaff !important;
    box-shadow: 0 0 15px rgba(190, 90, 255, 0.8), inset 0 0 8px rgba(190, 90, 255, 0.35) !important;
    transform: translateY(-3px) !important;
}

/* ==========================================
   SACRED RUST — УБИРАЕМ НЕОН С ОКНА ТОВАРА
   ========================================== */

/* Внешняя рамка окна */
html body [data-modalproductid].ProductModal-module__item,
html body [data-modalproductid].ProductModal-module__item:hover {
    box-shadow: none !important;
    border: 1px solid rgba(170, 100, 230, 0.3) !important;
    transform: none !important;
    filter: none !important;
    outline: none !important;
}

/* Все элементы внутри окна при наведении */
html body [data-modalproductid].ProductModal-module__item:hover *,
html body [data-modalproductid].ProductModal-module__item *:hover {
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    filter: none !important;
    transform: none !important;
    border-color: rgba(170, 100, 230, 0.3) !important;
}

/* Убираем эффекты псевдоэлементов */
html body [data-modalproductid] *:hover::before,
html body [data-modalproductid] *:hover::after,
html body [data-modalproductid]::before,
html body [data-modalproductid]::after {
    box-shadow: none !important;
    filter: none !important;
}

/* Убираем увеличение оружия */
html body [data-modalproductid] img,
html body [data-modalproductid] img:hover {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* ==========================================
   НЕОН ТОЛЬКО НА КНОПКАХ ОКНА
   ========================================== */

html body [data-modalproductid] button {
    transition: all 0.25s ease !important;
}

html body [data-modalproductid] button:hover {
    border: 1px solid #e0aaff !important;
    box-shadow:
        0 0 15px rgba(190, 90, 255, 0.8),
        inset 0 0 8px rgba(190, 90, 255, 0.35) !important;
    transform: translateY(-3px) !important;
    filter: none !important;
}

/* ==========================================
   END
   ========================================== */
/* ТОЧНО ТАКОЙ ЖЕ НЕОН, КАК НА КАРТОЧКАХ ТОВАРОВ */
html body [data-modalproductid] button:hover,
html body [data-modalproductid] [role="button"]:hover,
html body [data-modalproductid] [class*="button" i]:hover,
html body [data-modalproductid] [class*="btn" i]:hover {
    border: 1px solid #e0aaff !important;
    box-shadow: 0 0 15px rgba(190,90,255,.8),
                inset 0 0 8px rgba(190,90,255,.35) !important;
    transform: translateY(-3px) !important;
    transition: all .25s ease !important;
}
/* ❄️ БЕЛЫЕ СНЕЖИНКИ */
.snowflake {
    position: fixed;
    top: -20px;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    opacity: 0.95;
    pointer-events: none;
    z-index: 999999;
    filter: grayscale(1) brightness(0) invert(1) !important;
    text-shadow: 0 0 5px #fff;
    will-change: transform;
}
/* ==========================================
   МЕНЮ ПРОФИЛЯ ПОВЕРХ МАГАЗИНА
   ========================================== */

/* 1. Меню профиля: непрозрачный фон, всегда поверх */
html body .PlayerMenuMobile-module__menuWrapper {
    z-index: 2147483000 !important;
}

html body .PlayerMenuMobile-module__menu,
html body .PlayerMenuMobile-module__body,
html body .PlayerMenuMobile-module__playerMenu {
    background: #2a1048 !important;
    background-color: #2a1048 !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
}

/* 2. Магазин: на втором плане */
html body .Shop-module__wrapper {
    position: relative;
    z-index: 0 !important;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

/* 3. Пока меню открыто, магазин блюрится и не нажимается */
html body:has(.PlayerMenuMobile-module__visible) .Shop-module__wrapper {
    filter: blur(6px) !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}
/* ==========================================
   КНОПКА «ВОЙТИ» ЯРКАЯ + СНЕГ ПОВЕРХ МЕНЮ
   ========================================== */

/* Кнопка «Войти»: без размытия, яркая */
html body a.PlayerMenuMobile-module__loginLink,
html body [class*="PlayerMenuMobile-module__loginLink"] {
    background: linear-gradient(135deg, #9b3df0, #6a1fd0) !important;
    background-color: #8a2be2 !important;
    backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border: 1px solid #e0aaff !important;
    border-radius: 8px !important;
    box-shadow: 0 0 12px rgba(190, 90, 255, 0.6) !important;
    position: relative;
    z-index: 2;
}

/* Снег выше меню */
html body #snow-container {
    z-index: 2147483647 !important;
}
html body .snowflake {
    z-index: 2147483647 !important;
}
/* ==========================================
   КНОПКИ «RU» И «ВОЙТИ» — ЯРКИЕ
   ========================================== */

/* «Войти»: насыщенный фиолетовый, белый жирный текст */
html body a.PlayerMenuMobile-module__loginLink,
html body [class*="PlayerMenuMobile-module__loginLink"] {
    background: linear-gradient(135deg, #b44cff, #7a1fe0) !important;
    background-color: #9b30ff !important;
    border: 2px solid #f0c8ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 18px rgba(200, 100, 255, 0.9) !important;
    backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Всё внутри кнопки «Войти» без прозрачности */
html body [class*="PlayerMenuMobile-module__loginLink"] * {
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
}

/* «RU»: светлая обводка и более светлый фон */
html body .LangSwitcher-module__btn,
html body [class*="LangSwitcher-module__btn"] {
    background: #4a1c85 !important;
    background-color: #4a1c85 !important;
    border: 2px solid #d9a8ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 12px rgba(190, 90, 255, 0.6) !important;
    backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
}

html body [class*="LangSwitcher-module__btn"] * {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* ==========================================
   «RU» И «ВОЙТИ»: НЕОНОВЫЙ ТЕКСТ И ОБВОДКА
   ========================================== */

html body a.PlayerMenuMobile-module__loginLink,
html body [class*="PlayerMenuMobile-module__loginLink"],
html body .LangSwitcher-module__btn,
html body [class*="LangSwitcher-module__btn"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;

    /* неоновое свечение текста */
    text-shadow:
        0 0 4px #ffffff,
        0 0 10px #e0aaff,
        0 0 20px #b44cff,
        0 0 30px #b44cff !important;

    /* неоновая обводка кнопки */
    border: 2px solid #f0c8ff !important;
    box-shadow:
        0 0 8px #e0aaff,
        0 0 18px #b44cff,
        0 0 30px rgba(180, 76, 255, 0.7),
        inset 0 0 10px rgba(224, 170, 255, 0.5) !important;
}

/* Весь текст внутри этих кнопок тоже яркий */
html body [class*="PlayerMenuMobile-module__loginLink"] *,
html body [class*="LangSwitcher-module__btn"] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    text-shadow:
        0 0 4px #ffffff,
        0 0 10px #e0aaff,
        0 0 20px #b44cff !important;
}
/* ==========================================
   «RU» И «ВОЙТИ»: ЧЁТКИЙ НЕОНОВЫЙ ТЕКСТ
   ========================================== */

html body a.PlayerMenuMobile-module__loginLink,
html body [class*="PlayerMenuMobile-module__loginLink"],
html body .LangSwitcher-module__btn,
html body [class*="LangSwitcher-module__btn"] {
    /* тёмный фон, чтобы буквы контрастировали */
    background: #12052b !important;
    background-color: #12052b !important;
    backdrop-filter: none !important;

    /* белая заливка букв */
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    filter: none !important;

    /* чёткая неоновая обводка букв + слабое свечение снаружи */
    text-shadow:
        -1px -1px 0 #c25bff,
         1px -1px 0 #c25bff,
        -1px  1px 0 #c25bff,
         1px  1px 0 #c25bff,
         0   -1px 0 #c25bff,
         0    1px 0 #c25bff,
        -1px  0   0 #c25bff,
         1px  0   0 #c25bff,
         0 0 10px #b44cff !important;

    /* неоновая обводка кнопки */
    border: 2px solid #e0aaff !important;
    box-shadow:
        0 0 10px #c25bff,
        0 0 22px rgba(180, 76, 255, 0.7) !important;
}

html body [class*="PlayerMenuMobile-module__loginLink"] *,
html body [class*="LangSwitcher-module__btn"] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: inherit !important;
}
/* ==========================================
   «RU» И «ВОЙТИ» — КАК КНОПКИ КАТЕГОРИЙ
   ========================================== */

html body a.PlayerMenuMobile-module__loginLink,
html body [class*="PlayerMenuMobile-module__loginLink"],
html body .LangSwitcher-module__btn,
html body [class*="LangSwitcher-module__btn"] {
    background: rgba(45, 18, 80, 0.7) !important;
    background-color: rgba(45, 18, 80, 0.7) !important;
    border: 1px solid rgba(170, 100, 230, 0.35) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.25s ease !important;
}

html body [class*="PlayerMenuMobile-module__loginLink"] *,
html body [class*="LangSwitcher-module__btn"] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    font-weight: inherit !important;
}

/* Наведение / нажатие: такой же неон, как у категорий */
html body a.PlayerMenuMobile-module__loginLink:hover,
html body [class*="PlayerMenuMobile-module__loginLink"]:hover,
html body .LangSwitcher-module__btn:hover,
html body [class*="LangSwitcher-module__btn"]:hover {
    border: 1px solid #e0aaff !important;
    box-shadow: 0 0 15px rgba(190, 90, 255, 0.8),
                inset 0 0 8px rgba(190, 90, 255, 0.35) !important;
    transform: translateY(-3px) !important;
}
/* Убираем прозрачность у всего меню профиля */
html body .PlayerMenuMobile-module__menuWrapper,
html body .PlayerMenuMobile-module__menuWrapper * {
    opacity: 1 !important;
}
/* ==========================================
   ЯРКО-БЕЛЫЙ НЕОН: «RU» И «ВОЙТИ»
   ========================================== */
html body a.PlayerMenuMobile-module__loginLink:not(#x),
html body button.LangSwitcher-module__btn:not(#x),
html body a.PlayerMenuMobile-module__loginLink:not(#x) *,
html body button.LangSwitcher-module__btn:not(#x) * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-shadow:
        0 0 3px #ffffff,
        0 0 8px #ffffff,
        0 0 16px #e0aaff,
        0 0 28px #b44cff !important;
}
/* ТОНКИЙ ЯРКО-БЕЛЫЙ ТЕКСТ: RU И ВОЙТИ */
html body a.PlayerMenuMobile-module__loginLink:not(#x),
html body button.LangSwitcher-module__btn:not(#x),
html body a.PlayerMenuMobile-module__loginLink:not(#x) *,
html body button.LangSwitcher-module__btn:not(#x) * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: 0 0 4px #ffffff, 0 0 10px #ffffff !important;
}
/* ПРОФИЛЬ и остальные кнопки меню: как RU и категории */
html body .PlayerMenuMobile-module__menuWrapper a:not(#x),
html body .PlayerMenuMobile-module__menuWrapper button:not(#x),
html body .PlayerMenuMobile-module__menuWrapper [role="button"]:not(#x) {
    background: rgba(45, 18, 80, 0.7) !important;
    background-color: rgba(45, 18, 80, 0.7) !important;
    border: 1px solid rgba(170, 100, 230, 0.35) !important;
    border-radius: 6px !important;
    backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* Текст внутри этих кнопок */
html body .PlayerMenuMobile-module__menuWrapper a:not(#x) *,
html body .PlayerMenuMobile-module__menuWrapper button:not(#x) *,
html body .PlayerMenuMobile-module__menuWrapper [role="button"]:not(#x) * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
}