/* =================================
   ENEMY RUST — RED NEON DESIGN
   ================================= */

:root {
  --enemy-red: #ff3028;
  --enemy-dark: #171313;
  --enemy-card: #211b1b;
  --enemy-border: #65231f;
  --enemy-glow: rgba(255, 35, 25, .28);
}

/* Общий фон */
body {
  background-color: #111010 !important;
  color: #f5eeee !important;
}

/* Категории */
.Categories-module__categories {
  gap: 10px !important;
}

.Categories-module__categories > * {
  border: 1px solid #382323 !important;
  border-radius: 7px !important;
  transition: .2s ease !important;
}

.Categories-module__categories > *:hover {
  background: #521c19 !important;
  border-color: var(--enemy-red) !important;
  box-shadow: 0 0 12px var(--enemy-glow);
}

/* Карточки товаров */
.Product-module__wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #292020, #171414) !important;
  border: 1px solid var(--enemy-border) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.Product-module__wrapper:hover {
  transform: translateY(-5px);
  border-color: var(--enemy-red) !important;
  box-shadow: 0 0 18px var(--enemy-glow);
}

/* Изображения */
.Product-module__img {
  width: 100% !important;
  object-fit: contain !important;
  transition: transform .25s ease !important;
}

.Product-module__wrapper:hover .Product-module__img {
  transform: scale(1.05);
}

/* Цены */
.Product-module__price {
  color: #fff !important;
  background: #a9231d !important;
  border: 1px solid #ff594b;
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 800 !important;
}

/* Названия */
.Product-module__name {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Избранное */
.Product-module__favorite {
  color: #fff !important;
  transition: .2s ease;
}

.Product-module__favorite:hover {
  color: #ff3930 !important;
}

/* Поиск */
.Search-module__wrapper {
  border: 1px solid #65231f !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.Search-module__wrapper:focus-within {
  border-color: var(--enemy-red) !important;
  box-shadow: 0 0 12px var(--enemy-glow);
}

/* Кнопки */
button {
  transition: .2s ease !important;
}

button:hover {
  filter: brightness(1.18);
}

/* Адаптация под телефоны */
@media (max-width: 768px) {
  .Product-module__wrapper {
    border-radius: 8px !important;
    padding: 6px !important;
  }
}

/* ==================================
   ENEMY RUST — HEADER REDESIGN
   ================================== */

/* Верхняя панель */
.Header-module__wrapper {
    background: linear-gradient(180deg, #211616, #151111) !important;
    border: 1px solid #61221e !important;
    border-bottom: 2px solid #e52c24 !important;
    border-radius: 0 0 10px 10px !important;
    padding: 12px 18px !important;
    box-shadow: 0 4px 22px rgba(255, 35, 25, .15) !important;
    min-height: 65px;
}

/* Логотип */
.Header-module__logo {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 12px rgba(255, 40, 30, .6);
}

/* Навигация */
.HeaderNav-module__wrapper {
    gap: 10px !important;
}

.HeaderNav-module__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 18px !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    color: #eeeeee !important;
    font-weight: 700 !important;
    transition: .2s ease !important;
}

.HeaderNav-module__link:hover {
    background: linear-gradient(135deg, #b92820, #f13b2c) !important;
    border-color: #ff6254 !important;
    box-shadow: 0 0 15px rgba(255, 40, 30, .35);
}

/* Блок пользователя */
.PlayerMenu-module__wrapper {
    gap: 10px !important;
}

/* Баланс */
.PlayerBalance-module__btn {
    background: #291817 !important;
    border: 1px solid #a52d26 !important;
    border-radius: 8px !important;
    padding: 11px 15px !important;
    color: #ffffff !important;
    transition: .2s ease !important;
}

.PlayerBalance-module__btn:hover {
    background: #4a1b18 !important;
    box-shadow: 0 0 14px rgba(255, 40, 30, .4);
}

/* Профиль */
.PlayerMenu-module__profileLink {
    background: linear-gradient(135deg, #9e241d, #e6372b) !important;
    border: 1px solid #ff594d !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    transition: .2s ease !important;
}

.PlayerMenu-module__profileLink:hover {
    box-shadow: 0 0 18px rgba(255, 40, 30, .5);
    transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .Header-module__wrapper {
        padding: 9px !important;
    }

    .Header-module__logo {
        font-size: 17px !important;
    }

    .HeaderNav-module__link {
        padding: 9px !important;
    }

    .PlayerMenu-module__wrapper {
        gap: 5px !important;
    }
}

/* ==================================
   ENEMY RUST — WIDE LAYOUT
   ================================== */

/* Расширяем основную область */
main.container.Index-module__wrapper {
    width: calc(100% - 40px) !important;
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
}

/* Блок мониторинга */
.Widgets-module__wrapper {
    width: 100% !important;
    min-width: 0 !important;
}

/* Магазин */
.Shop-module__wrapper {
    width: 100% !important;
    min-width: 0 !important;
}

/* Заголовок магазина */
.Shop-module__header {
    background: linear-gradient(90deg, #351816, #211919) !important;
    border-bottom: 2px solid #a82b25 !important;
    color: #fff !important;
}

/* Внутреннее пространство каталога */
.Shop-module__wrapper .boxBody {
    padding: 16px !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    main.container.Index-module__wrapper {
        width: calc(100% - 20px) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .Widgets-module__wrapper,
    .Shop-module__wrapper {
        width: 100% !important;
    }
}

/* ==================================
   ENEMY RUST — SERVER MONITORING
   ================================== */

/* Внешняя панель */
.Widgets-module__widgetWrapper {
    background: #191515 !important;
    border: 1px solid #70251f !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 0 16px rgba(255, 35, 25, .12);
}

/* Заголовок мониторинга */
.MonitoringWidget-module__header {
    background: linear-gradient(90deg, #571b18, #241818) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #a82b25 !important;
    padding: 16px !important;
}

/* Содержимое */
.MonitoringWidget-module__body {
    background: #191515 !important;
    color: #fff !important;
    padding: 16px !important;
}

/* Название сервера */
.MonitoringWidget-module__body {
    line-height: 1.6;
}

/* Нижняя панель */
.Widgets-module__widgetWrapper .boxFooter {
    background: #211818 !important;
    border-top: 1px solid #56201d !important;
    padding: 12px !important;
}

/* Кнопки мониторинга */
.Widgets-module__widgetWrapper button {
    background: linear-gradient(135deg, #b52c22, #f04432) !important;
    border: 1px solid #ff6455 !important;
    border-radius: 6px !important;
    color: white !important;
    font-weight: 800 !important;
    transition: .2s ease !important;
}

.Widgets-module__widgetWrapper button:hover {
    box-shadow: 0 0 15px rgba(255, 40, 30, .4);
    filter: brightness(1.15);
}

/* ==================================
   ENEMY RUST — PRODUCT GRID
   ================================== */

.Products-module__wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

/* Карточки */
.Product-module__wrapper {
    min-width: 0 !important;
    min-height: 215px !important;
    border-radius: 12px !important;
    padding: 10px !important;
}

/* Изображения */
.Product-module__img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
}

/* Цена */
.Product-module__price {
    z-index: 2;
    font-size: 14px !important;
}

/* Название */
.Product-module__name {
    text-align: center !important;
    font-size: 15px !important;
}

/* Наведение */
.Product-module__wrapper:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 0 20px rgba(255, 35, 25, .3) !important;
}

/* Планшеты */
@media (max-width: 1000px) {
    .Products-module__wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .Products-module__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .Product-module__wrapper {
        min-height: 160px !important;
    }
}

/* ==================================
   ENEMY RUST — PRODUCT MODAL
   ================================== */

/* Основное окно */
.ProductModal-module__dropdown {
    background: #171313 !important;
    border: 1px solid #a52b24 !important;
    border-radius: 10px !important;
    box-shadow: 0 0 30px rgba(255, 35, 25, .25) !important;
    overflow: hidden !important;
}

/* Заголовок */
.ProductModal-module__header {
    background: linear-gradient(90deg, #651c18, #211515) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #a52b24 !important;
    padding: 15px !important;
}

/* Содержимое */
.ProductModal-module__dropdown .boxBody {
    background: #171313 !important;
    color: #fff !important;
    padding: 15px !important;
}

/* Нижняя панель */
.ProductModal-module__dropdown .SelectContent-module__footer {
    background: #211817 !important;
    border-top: 1px solid #68231f !important;
    padding: 12px !important;
}

/* Кнопка ПОЛУЧИТЬ */
.ProductModal-module__dropdown .Button-module__accent {
    background: linear-gradient(135deg, #bd281f, #f04432) !important;
    color: #fff !important;
    border: 1px solid #ff6254 !important;
    border-radius: 7px !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    box-shadow: 0 0 10px rgba(255, 40, 30, .2);
    transition: .2s ease !important;
}

.ProductModal-module__dropdown .Button-module__accent:hover {
    box-shadow: 0 0 20px rgba(255, 40, 30, .55);
    filter: brightness(1.15);
}

/* Кнопка ЗАКРЫТЬ */
.ProductModal-module__dropdown .Button-module__gray {
    background: #302525 !important;
    color: #fff !important;
    border: 1px solid #71302b !important;
    border-radius: 7px !important;
    padding: 10px 16px !important;
}

.ProductModal-module__dropdown .Button-module__gray:hover {
    background: #49201d !important;
    border-color: #e33a2e !important;
}

/* Поля количества и цены */
.ProductModal-module__dropdown input,
.ProductModal-module__dropdown select {
    background: #292323 !important;
    color: #fff !important;
    border: 1px solid #71302b !important;
    border-radius: 5px !important;
}

/* Подсказки и подписи */
.ProductModal-module__dropdown label {
    color: #fff !important;
}

/* ==================================
   ENEMY RUST — CATEGORY REDESIGN
   ================================== */

/* Контейнер категорий */
.Categories-module__categories {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 5px 18px !important;
}

/* Обычные категории */
.Categories-module__category {
    background: linear-gradient(145deg, #292020, #201919) !important;
    color: #b9a9a9 !important;
    border: 1px solid #542522 !important;
    border-radius: 8px !important;
    padding: 11px 17px !important;
    margin: 0 !important;
    font-weight: 600 !important;
    transition: all .2s ease !important;
}

/* Наведение */
.Categories-module__category:hover {
    background: linear-gradient(135deg, #70201b, #b52c23) !important;
    color: #ffffff !important;
    border-color: #ff493d !important;
    box-shadow: 0 0 14px rgba(255, 40, 30, .35) !important;
    transform: translateY(-2px);
}

/* Выбранная категория */
.Categories-module__category.Categories-module__enableFocus {
    background: linear-gradient(135deg, #b92c22, #f04432) !important;
    color: #ffffff !important;
    border: 1px solid #ff6558 !important;
    box-shadow: 0 0 13px rgba(255, 40, 30, .35) !important;
    font-weight: 800 !important;
}

/* Убираем лишнее выделение при нажатии */
.Categories-module__category:focus {
    outline: none !important;
}

/* Адаптация для телефонов */
@media (max-width: 600px) {
    .Categories-module__categories {
        gap: 6px !important;
    }

    .Categories-module__category {
        padding: 9px 11px !important;
        font-size: 12px !important;
    }
}

/* ===== ENEMY RUST: FIX CATEGORY HOVER ===== */

/* Обычные категории */
button.Categories-module__category:not(.Categories-module__enableFocus) {
    background: #292323 !important;
    color: #b9aaaa !important;
    border: 1px solid #642722 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transition: all .25s ease !important;
}

/* Затемнение при наведении */
button.Categories-module__category:not(.Categories-module__enableFocus):hover {
    background: rgba(55, 35, 34, 0.75) !important;
    color: #eeeeee !important;
    border-color: rgba(220, 55, 45, 0.55) !important;
    box-shadow: none !important;
    opacity: 0.85 !important;
    transform: none !important;
}

/* Активная категория */
button.Categories-module__category.Categories-module__enableFocus {
    background: #d93628 !important;
    color: #ffffff !important;
    border: 1px solid #ff5548 !important;
    opacity: 1 !important;
}

/* ENEMY RUST — DARK HOVER EFFECT */

.Shop-module__wrapper .Categories-module__categories button.Categories-module__category {
    transition: background .2s ease,
                opacity .2s ease,
                border-color .2s ease !important;
}

/* Затемнение при наведении */
.Shop-module__wrapper .Categories-module__categories button.Categories-module__category:hover {
    background: #351d1b !important;
    background-color: #351d1b !important;
    color: #d8caca !important;
    border-color: #702c27 !important;
    box-shadow: none !important;
    opacity: 0.78 !important;
    filter: brightness(0.8) !important;
    transform: none !important;
}

/* ==================================
   ENEMY RUST — SEARCH REDESIGN
   ================================== */

/* Общий блок поиска */
.Search-module__wrapper {
    display: flex !important;
    align-items: center !important;
    background: #211a1a !important;
    border: 1px solid #852b25 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    transition: all .25s ease !important;
}

/* Свечение при выборе поля */
.Search-module__wrapper:focus-within {
    border-color: #ed4033 !important;
    box-shadow: 0 0 13px rgba(255, 40, 30, .3) !important;
}

/* Кнопка поиска */
.Search-module__iconWrapper {
    background: linear-gradient(135deg, #b92c22, #ed4033) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    transition: .2s ease !important;
}

/* Наведение на лупку */
.Search-module__iconWrapper:hover {
    filter: brightness(.8) !important;
}

/* Поле ввода */
.Search-module__input {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    padding: 11px 12px !important;
    font-size: 14px !important;
}

/* Подсказка */
.Search-module__input::placeholder {
    color: #a99595 !important;
    opacity: 1 !important;
}

/* Убираем стандартное выделение */
.Search-module__input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ==================================
   ENEMY RUST — PREMIUM PRODUCTS
   ================================== */

/* Карточки товаров */
.Product-module__wrapper {
    background: linear-gradient(145deg, #241c1c, #171313) !important;
    border: 1px solid #702923 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all .25s ease !important;
}

/* Эффект наведения */
.Product-module__wrapper:hover {
    border-color: #ed4033 !important;
    box-shadow: 0 0 22px rgba(255, 35, 25, .3) !important;
    transform: translateY(-5px) !important;
}

/* Изображения */
.Product-module__img {
    transition: transform .3s ease !important;
}

.Product-module__wrapper:hover .Product-module__img {
    transform: scale(1.04);
}

/* Ценники */
.Product-module__price {
    background: linear-gradient(135deg, #bd281f, #ed4033) !important;
    color: #ffffff !important;
    border: 1px solid #ff6558 !important;
    border-radius: 6px !important;
    padding: 4px 7px !important;
    font-weight: 900 !important;
}

/* Избранное */
.Product-module__wrapper [data-favorite] {
    transition: .2s ease !important;
}

.Product-module__wrapper [data-favorite]:hover {
    filter: drop-shadow(0 0 5px red);
}

/* ==================================
   ENEMY RUST — MOBILE REDESIGN
   ================================== */

@media (max-width: 768px) {

    /* Основная область */
    main.container.Index-module__wrapper {
        width: calc(100% - 16px) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Мониторинг */
    .Widgets-module__wrapper {
        width: 100% !important;
    }

    /* Каталог */
    .Shop-module__wrapper {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Товары */
    .Products-module__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    /* Категории */
    .Categories-module__categories {
        justify-content: center !important;
        gap: 6px !important;
    }

    .Categories-module__category {
        padding: 9px 10px !important;
        font-size: 12px !important;
    }

    /* Баннер */
    .bannerContainer img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Поиск */
    .Search-module__wrapper {
        width: 100% !important;
    }

    /* Карточки */
    .Product-module__wrapper {
        min-width: 0 !important;
        min-height: 150px !important;
    }
}

/* ENEMY RUST — анимация карточек товаров */

.Products-module__wrapper {
    animation: enemyFadeIn 0.7s ease both;
}

.Products-module__wrapper > * {
    animation: enemyCardAppear 0.6s ease both;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Появление карточек */
@keyframes enemyCardAppear {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enemyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Эффект при наведении */
.Products-module__wrapper > *:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 0 18px rgba(255, 40, 40, 0.35);
    border-color: #ff4545 !important;
}

/* ==================================
   ENEMY RUST — PREMIUM MODAL EFFECTS
   ================================== */

/* Анимация окна */
.ProductModal-module__dropdown {
    animation: enemyModalAppear .3s ease-out both !important;
    box-shadow:
        0 0 20px rgba(255, 35, 25, .25),
        0 0 45px rgba(255, 35, 25, .12) !important;
}

/* Появление */
@keyframes enemyModalAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Кнопка ПОЛУЧИТЬ */
.ProductModal-module__dropdown .Button-module__accent {
    box-shadow: 0 0 12px rgba(255, 40, 30, .25) !important;
    transition: all .25s ease !important;
}

.ProductModal-module__dropdown .Button-module__accent:hover {
    box-shadow: 0 0 22px rgba(255, 40, 30, .65) !important;
    filter: brightness(1.15) !important;
    transform: translateY(-2px) !important;
}

/* Кнопка ЗАКРЫТЬ */
.ProductModal-module__dropdown .Button-module__gray {
    transition: all .25s ease !important;
}

.ProductModal-module__dropdown .Button-module__gray:hover {
    background: #49201d !important;
    border-color: #ed4033 !important;
    color: #fff !important;
}

/* Заголовок окна */
.ProductModal-module__header {
    box-shadow: inset 0 -2px 0 rgba(255, 45, 35, .25);
}

/* ENEMY RUST — миниатюры товаров */

.ProductItemSelector-module__img {
    border-radius: 5px !important;
    transition: all .25s ease !important;
    cursor: pointer !important;
}

/* Затемнение и свечение при наведении */
.ProductItemSelector-module__img:hover {
    filter: brightness(.65) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 12px rgba(255, 40, 30, .65) !important;
}

/* ENEMY RUST — кнопки количества */

.CountSelector-module__changeCountBtn {
    background: #292020 !important;
    border: 1px solid #873029 !important;
    border-radius: 5px !important;
    color: #fff !important;
    transition: all .25s ease !important;
}

/* Наведение на + и - */
.CountSelector-module__changeCountBtn:hover {
    background: #d93629 !important;
    border-color: #ff5145 !important;
    box-shadow: 0 0 13px rgba(255, 45, 35, .55) !important;
    transform: scale(1.08) !important;
}

/* Иконки */
.CountSelector-module__icon {
    color: #fff !important;
    fill: #fff !important;
}

/* ENEMY RUST — поле количества */

.CountSelector-module__input {
    background: #241b1b !important;
    color: #fff !important;
    border: 1px solid #873029 !important;
    border-radius: 5px !important;
    transition: all .25s ease !important;
}

/* Подсветка при выборе поля */
.CountSelector-module__input:focus {
    border-color: #ff4035 !important;
    box-shadow: 0 0 12px rgba(255, 45, 35, .5) !important;
    background: #302020 !important;
    outline: none !important;
}

/* ENEMY RUST — поле суммы */

.TotalSum-module__input {
    background: #241b1b !important;
    color: #fff !important;
    border: 1px solid #873029 !important;
    border-radius: 5px !important;
    transition: all .25s ease !important;
}

/* Подсветка при нажатии */
.TotalSum-module__input:focus {
    border-color: #ff4035 !important;
    box-shadow: 0 0 12px rgba(255, 45, 35, .5) !important;
    background: #302020 !important;
    outline: none !important;
}

/* ENEMY RUST — выбор сервера */

.Selector-module__dropDownCurrentItem {
    background: #241b1b !important;
    color: #fff !important;
    border: 1px solid #873029 !important;
    border-radius: 5px !important;
    transition: all .25s ease !important;
}

/* Наведение */
.Selector-module__dropDownCurrentItem:hover {
    background: #302020 !important;
    border-color: #ff4035 !important;
    box-shadow: 0 0 12px rgba(255, 45, 35, .4) !important;
}

/* Фокус */
.Selector-module__dropDownCurrentItem:focus {
    border-color: #ff4035 !important;
    box-shadow: 0 0 12px rgba(255, 45, 35, .5) !important;
    outline: none !important;
}

/* ENEMY RUST — раскрытый список серверов */

.Selector-module__dropDownItem {
    background: #241b1b !important;
    color: #eeeeee !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    padding: 8px 12px !important;
    transition: all .2s ease !important;
}

/* Наведение на сервер */
.Selector-module__dropDownItem:hover {
    background: #49201d !important;
    color: #ffffff !important;
    border-color: #ff4035 !important;
    box-shadow: 0 0 10px rgba(255, 45, 35, .3) !important;
}

/* Выбранный сервер */
.Selector-module__dropDownItem.Selector-module__active {
    background: linear-gradient(135deg, #b92c22, #ed4432) !important;
    color: #ffffff !important;
    border: 1px solid #ff6558 !important;
    box-shadow: 0 0 12px rgba(255, 45, 35, .4) !important;
    font-weight: 700 !important;
}

/* ENEMY RUST — финальная полировка окна */

/* Основное окно */
.ProductModal-module__dropdown {
    background: #171313 !important;
    border: 1px solid #a92b25 !important;
    border-radius: 10px !important;
    box-shadow:
        0 0 18px rgba(255, 35, 25, .25),
        0 0 40px rgba(255, 35, 25, .12) !important;
}

/* Шапка */
.ProductModal-module__header {
    background: linear-gradient(
        110deg,
        #641d19,
        #241414
    ) !important;
    border-bottom: 1px solid #c9362d !important;
    border-radius: 9px 9px 0 0 !important;
}

/* Нижняя часть окна */
.SelectContent-module__footer {
    border-top: 1px solid rgba(255, 55, 45, .35) !important;
    background: #201616 !important;
}

/* ENEMY RUST — мобильное окно покупки */

@media (max-width: 600px) {

    /* Ограничиваем размер изображения товара */
    .ProductItemSelector-module__img {
        max-height: 280px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    /* Ограничиваем высоту окна покупки */
    .ProductModal-module__dropdown {
        max-height: 92vh !important;
        overflow-y: auto !important;
    }

    /* Убираем лишние отступы */
    .ProductModal-module__dropdown .boxBody {
        padding: 12px !important;
    }

}

/* ENEMY RUST — ЯРКАЯ НЕОНОВАЯ ПУЛЬСАЦИЯ */

.ModalLayout-module__modal.ProductModal-module__dropdown {
    position: relative !important;
    border: 1px solid #ff3025 !important;
    animation-name: enemyRedPulse !important;
    animation-duration: 1.5s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
    animation-direction: alternate !important;
}

@keyframes enemyRedPulse {
    0% {
        border-color: #8d211b !important;
        box-shadow:
            0 0 3px #8d211b,
            0 0 8px rgba(255, 30, 20, .2);
    }

    100% {
        border-color: #ff5548 !important;
        box-shadow:
            0 0 12px #ff3025,
            0 0 28px rgba(255, 30, 20, .8),
            0 0 50px rgba(255, 30, 20, .5);
    }
}

/* ENEMY RUST — НЕОНОВОЕ СВЕЧЕНИЕ ОКНА */

.ModalLayout-module__modal.ProductModal-module__dropdown {
    animation: enemyGlowStrong 1.5s ease-in-out infinite alternate !important;
}

@keyframes enemyGlowStrong {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 30, 20, .2))
                drop-shadow(0 0 4px rgba(255, 30, 20, .15));
    }

    to {
        filter: drop-shadow(0 0 8px rgba(255, 30, 20, .9))
                drop-shadow(0 0 22px rgba(255, 30, 20, .8))
                drop-shadow(0 0 40px rgba(255, 30, 20, .6));
    }
}

/* ENEMY RUST — КНОПКА ПОЛУЧИТЬ */

.ProductModal-module__dropdown .Button-module__btn__accent {
    animation: enemyButtonPulse 2s ease-in-out infinite alternate !important;
    transition: transform .25s ease, filter .25s ease !important;
    border: 1px solid #ff5548 !important;
}

/* Постоянная пульсация */
@keyframes enemyButtonPulse {
    from {
        box-shadow: 0 0 5px rgba(255, 40, 30, .25);
    }

    to {
        box-shadow:
            0 0 12px rgba(255, 40, 30, .65),
            0 0 22px rgba(255, 40, 30, .35);
    }
}

/* Огненный эффект при наведении */
.ProductModal-module__dropdown .Button-module__btn__accent:hover {
    transform: scale(1.06) !important;
    filter: brightness(1.2) !important;
    box-shadow:
        0 0 12px #ff3025,
        0 0 25px rgba(255, 30, 20, .9),
        0 0 45px rgba(255, 30, 20, .6) !important;
}

/* Нажатие */
.ProductModal-module__dropdown .Button-module__btn__accent:active {
    transform: scale(.96) !important;
}

/* ENEMY RUST — КНОПКА ПОЛУЧИТЬ */

.ProductModal-module__dropdown .Button-module__btn__accent {
    animation: enemyGetPulse 1.5s ease-in-out infinite alternate !important;
    transition: transform .25s ease, filter .25s ease !important;
    border: 1px solid #ff6555 !important;
}

/* Красное пульсирующее свечение */
@keyframes enemyGetPulse {
    from {
        box-shadow: 0 0 4px rgba(255, 40, 30, .3);
    }

    to {
        box-shadow:
            0 0 12px #ff3025,
            0 0 25px rgba(255, 40, 30, .8),
            0 0 40px rgba(255, 40, 30, .5);
    }
}

/* Наведение */
.ProductModal-module__dropdown .Button-module__btn__accent:hover {
    transform: scale(1.06) !important;
    filter: brightness(1.2) !important;
}

/* Нажатие */
.ProductModal-module__dropdown .Button-module__btn__accent:active {
    transform: scale(.96) !important;
}

/* ENEMY RUST — МОЩНАЯ ПУЛЬСАЦИЯ КНОПКИ */

button.Button-module__btn__accent {
    animation: enemyButtonFire 1.2s ease-in-out infinite !important;
    transition: transform .25s ease !important;
}

@keyframes enemyButtonFire {
    0%, 100% {
        box-shadow:
            0 0 2px rgba(255, 40, 20, .2),
            0 0 5px rgba(255, 40, 20, .15);
        filter: brightness(1);
    }

    50% {
        box-shadow:
            0 0 10px #ff3025,
            0 0 25px #ff3025,
            0 0 45px rgba(255, 30, 20, .9),
            0 0 65px rgba(255, 30, 20, .5);
        filter: brightness(1.35);
    }
}

button.Button-module__btn__accent:hover {
    transform: scale(1.07) !important;
    filter: brightness(1.4) !important;
}