/* ============================================================
   ТЕМА: неон-зелёный #00ff00 + чёрный #060606
   Вставляется только в custom.css, ничего больше менять не нужно.
   Основные цвета меняются в блоке переменных ниже.
   ============================================================ */

/* ---------- 1. Цвета и шрифт (переопределяют любую тему магазина) ---------- */
html:root[data-theme] {
  --default-font-family: "Manrope", "Roboto";
  --default-font-size: 15px;

  --accent-color-800: #00ff00;
  --accent-color-900: #00d400;
  --font-color-700: #ffffff;
  --font-color-800: rgba(255, 255, 255, .78);
  --font-color-900: #8d8d8d;
  --bg-color-800: #060606;      /* фон страницы */
  --bg-color-700: #0c0c0c;      /* карточки, панели */
  --bg-color-900: #0a0a0a;      /* вложенные блоки */
  --promocode-bg-color: #060606f7;
  --product-items-trans-bg-color: rgba(6, 6, 6, .88);
  --monitoring-joining-color: #00ff00;

  /* свои переменные */
  --neon: #00ff00;
  --neon-soft: rgba(0, 255, 0, .35);
  --neon-faint: rgba(0, 255, 0, .14);
  --dark: #060606;
  --display-font: "Unbounded", "Manrope", sans-serif;
  --line: rgba(0, 255, 0, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --glow: 0 0 14px rgba(0, 255, 0, .55), 0 0 32px rgba(0, 255, 0, .25);
}

/* ---------- 2. Сплошной фон, верхний баннер скрыт ---------- */
html { scroll-behavior: smooth; }

html body {
  background-color: #060606 !important;
  background-image:
    radial-gradient(60% 50% at 20% 0%, rgba(0, 255, 0, .12), transparent 70%),
    radial-gradient(90% 80% at 30% 10%, transparent 0%, #060606 85%),
    linear-gradient(rgba(0, 255, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 0, .05) 1px, transparent 1px) !important;
  background-size: auto, auto, 64px 64px, 64px 64px !important;
  background-repeat: no-repeat, no-repeat, repeat, repeat !important;
  background-attachment: fixed !important;
}

@media (max-width: 970px) {
  html body { background-attachment: scroll !important; }
}

/* убираем картинку-логотип сверху и фоновую картинку магазина */
.bannerContainer,
.Banner-module__img,
.BGImage-module__img {
  display: none !important;
}

/* ---------- 3. Скроллбар и выделение ---------- */
html { scrollbar-color: #00ff00 #060606; }

html body::-webkit-scrollbar { width: 12px; }
html body::-webkit-scrollbar-track { background: #060606; }
html body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff00, #00a800);
  border-radius: 10px;
  border: 2px solid #060606;
}

::selection { background: #00ff00; color: #060606; }

/* ---------- 4. Блоки: шапка + тело + подвал склеены в одну сплошную карточку ---------- */
html .boxHeader,
html .boxBody,
html .boxFooter {
  margin: 0;
  background: #0c0c0c;
  border: 1px solid rgba(0, 255, 0, .14);
  border-radius: 0;
}

html .boxHeader {
  color: #fff;
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -.02em;
}

/* стык между блоками без двойной рамки */
html .boxHeader + .boxBody,
html .boxHeader + .boxFooter,
html .boxBody + .boxBody,
html .boxBody + .boxFooter { border-top: 0; }

/* скругляем только внешние углы карточки */
html .boxHeader:first-child,
html .boxBody:first-child,
html .boxFooter:first-child { border-radius: 24px 24px 0 0; }

html .boxHeader:last-child,
html .boxBody:last-child,
html .boxFooter:last-child { border-radius: 0 0 24px 24px; }

html .boxHeader:only-child,
html .boxBody:only-child,
html .boxFooter:only-child { border-radius: 24px; }

/* заголовок магазина скрываем сразу через CSS, а не ждём, пока это сделает скрипт (иначе он мигает при загрузке) */
.boxHeader.Shop-module__header { display: none !important; }

/* нижняя панель магазина (текст про оферту и ссылки) скрыта */
html .Shop-module__wrapper > .boxFooter { display: none !important; }

/* без нижней панели у карточки с товарами скругляем все углы */
html .Shop-module__wrapper > .boxBody { border-radius: 24px; }

.CustomPage-module__wrapper { display: block; }

.boxHeader.SupportContent-module__header {
  text-align: center;
  margin: 0;
}

/* ---------- 4.1 Новая раскладка магазина (только для компьютера) ---------- */
@media (min-width: 971px) {
  /* шире контейнер, чтобы хватило места трём колонкам */
  html .container { width: min(1360px, 100%); }

  /* мониторинг уезжает вправо */
  html .Index-module__wrapper > .Widgets-module__wrapper {
    order: 2;
    margin: 0 0 0 20px;
  }

  /* внутри магазина: слева категории столбиком, справа поиск и товары */
  html .Shop-module__wrapper > .boxBody {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
  }

  html .Shop-module__wrapper > .boxBody > .Categories-module__categories {
    grid-column: 1;
    grid-row: 1 / span 50;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    position: sticky;
    top: 20px;
  }

  html .Shop-module__wrapper .Categories-module__category {
    margin: 0;
    padding: 12px 16px;
    text-align: left;
  }

  html .Shop-module__wrapper .Categories-module__category:hover { transform: translateX(5px); }

  html .Shop-module__wrapper > .boxBody > .Servers-module__servers {
    grid-column: 2;
    margin: 0 0 15px;
  }

  html .Shop-module__wrapper > .boxBody > .Search-module__wrapper {
    grid-column: 2;
    margin-top: 0;
  }

  html .Shop-module__wrapper > .boxBody > .Products-module__wrapper,
  html .Shop-module__wrapper > .boxBody > .errorMessage { grid-column: 2; }
}

/* шапка: «МАГАЗИН» и остальные ссылки стоят слева, сразу после названия сервера */
html .HeaderNav-module__wrapper {
  margin-left: 30px;
  margin-right: 0;
}

/* ---------- 5. Шапка ---------- */
.Header-module__wrapper {
  background: #0c0c0c;
  border-radius: 20px;
  margin-top: 20px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(0, 255, 0, .08);
}

/* бегущая неоновая линия под шапкой */
.Header-module__wrapper::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff00, #b6ffb6, #00ff00, transparent);
  background-size: 200% 100%;
  animation: gsLine 3.5s linear infinite;
  pointer-events: none;
}

@keyframes gsLine {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.Header-module__logo {
  text-transform: none;
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(90deg, #ffffff, #00ff00, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gsShine 4s linear infinite;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, .45));
}

@keyframes gsShine {
  to { background-position: 200% center; }
}

/* ссылки в шапке с выезжающим подчёркиванием */
/* 1. Добавляем position: relative обоим родителям */
html .HeaderNav-module__link,
html .SupportLink-module__link,
html .NavDropDown-module__linkName {
  position: relative;
  font-weight: 800;
}

/* 2. Общие стили для линий подчёркивания */
html .HeaderNav-module__link::after,
html .SupportLink-module__link:after,
html .NavDropDown-module__linkName::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: #00ff00;
  box-shadow: 0 0 8px #00ff00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

/* 3. Анимация появления при наведении и фокусе для ОБОИХ классов */
html .HeaderNav-module__link:hover::after,
html .HeaderNav-module__link:focus::after,
html .SupportLink-module__link:focus::after,
html .SupportLink-module__link:hover::after,
html .NavDropDown-module__linkName:hover::after,
html .NavDropDown-module__linkName:focus::after { 
  transform: scaleX(1); 
}

/* ---------- 6. Кнопки ---------- */
html .Button-module__btn {
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: .3px;
  border-radius: 14px;
  background-image: linear-gradient(var(--neon), var(--neon));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition:
    color .4s var(--ease),
    background-color .4s var(--ease),
    background-size .5s var(--ease),
    border-color .4s var(--ease),
    transform .3s var(--ease),
    box-shadow .3s var(--ease);
}

html .Button-module__btn:active { transform: translateY(0) scale(.97); }

/* залитая зелёная: при наведении становится контурной */
html .Button-module__btn.Button-module__accent {
  color: var(--dark);
  background-color: var(--neon);
  border-color: var(--neon);
  animation: gsRing 2.4s ease-out infinite;
}

html .Button-module__btn.Button-module__accent:hover,
html .Button-module__btn.Button-module__accent:focus {
  color: var(--neon);
  background-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--glow);
  animation: none;
}

/* контурная: при наведении заливается зелёным слева направо */
html .Button-module__btn.Button-module__gray {
  color: #fff;
  background-color: transparent;
  border-color: rgba(0, 255, 0, .25);
}

html .Button-module__btn.Button-module__gray:hover,
html .Button-module__btn.Button-module__gray:focus {
  color: var(--dark);
  background-size: 100% 100%;
  border-color: var(--neon);
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(0, 255, 0, .4);
}

@keyframes gsRing {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 0, .55); }
  100% { box-shadow: 0 0 0 22px rgba(0, 255, 0, 0); }
}

@keyframes gsSweep {
  from { left: -80%; }
  to   { left: 140%; }
}

/* ---------- 7. Категории (та же анимация, что у кнопок профиля) ---------- */
html .Categories-module__category {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  color: #cfcfcf;
  font-weight: 800;
  border: 1px solid var(--line);
  background: transparent;
  transition:
    color .4s var(--ease),
    border-color .4s var(--ease),
    transform .3s var(--ease),
    box-shadow .3s var(--ease);
}

/* зелёная заливка — отдельным слоем, чтобы её не перебивали стили шаблона */
html .Categories-module__category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

/* шаблон сам красит фон кнопки при hover/active/focus — из-за этого заливка
   появлялась мгновенно. Запрещаем во всех состояниях, красит только ::before */
html .Categories-module__category,
html .Categories-module__category:hover,
html .Categories-module__category:focus,
html .Categories-module__category:active,
html .Categories-module__category.Categories-module__active,
html .Categories-module__category.Categories-module__enableFocus:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html .Categories-module__category:hover,
html .Categories-module__category.Categories-module__enableFocus:focus {
  transform: translateX(5px);
}

html .Categories-module__category:hover,
html .Categories-module__category.Categories-module__enableFocus:focus,
html .Categories-module__category.Categories-module__active {
  color: var(--dark) !important;
  border-color: var(--neon);
  box-shadow: var(--glow);
}

html .Categories-module__category:hover::before,
html .Categories-module__category.Categories-module__enableFocus:focus::before,
html .Categories-module__category.Categories-module__active::before {
  transform: scaleX(1);
}

/* ---------- 8. Карточки товаров ---------- */
html .Product-module__wrapper {
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 0, .12);
  background: linear-gradient(135deg, #0d0d0d, #060606);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
  animation: gsRise .9s var(--ease) backwards;
  /* картинка при наведении увеличивается — не даём ей вылезти за карточку
     и создаём отдельный слой, чтобы z-index внутри карточки работал предсказуемо */
  overflow: hidden;
  isolation: isolate;
}

/* плавное поочерёдное появление */
.Product-module__wrapper:nth-child(1)  { animation-delay: .02s; }
.Product-module__wrapper:nth-child(2)  { animation-delay: .06s; }
.Product-module__wrapper:nth-child(3)  { animation-delay: .10s; }
.Product-module__wrapper:nth-child(4)  { animation-delay: .14s; }
.Product-module__wrapper:nth-child(5)  { animation-delay: .18s; }
.Product-module__wrapper:nth-child(6)  { animation-delay: .22s; }
.Product-module__wrapper:nth-child(7)  { animation-delay: .26s; }
.Product-module__wrapper:nth-child(8)  { animation-delay: .30s; }
.Product-module__wrapper:nth-child(9)  { animation-delay: .34s; }
.Product-module__wrapper:nth-child(10) { animation-delay: .38s; }
.Product-module__wrapper:nth-child(n+11) { animation-delay: .42s; }

html .Product-module__wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #00ff00;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .55), 0 0 22px rgba(0, 255, 0, .35);
}

/* диагональный блик */
html .Product-module__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  z-index: 4;
  background: linear-gradient(110deg, transparent, rgba(0, 255, 0, .22), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

html .Product-module__wrapper:hover::before { animation: gsSweep .9s ease; }

.Product-module__img { transition: transform .4s ease; }

html .Product-module__price {
  font-family: var(--display-font);
  font-size: .62em;
  line-height: 1.2;
  padding: 4px 8px;
  white-space: nowrap;
  color: #00ff00;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 255, 0, .6);
  border-radius: 0 0 12px 0;
}

html .Product-module__oldPrice { font-size: .85em; }

html .Product-module__name {
  font-family: var(--display-font);
  font-size: .8em;
  letter-spacing: -.02em;
  font-weight: 800;
  border-top: 1px solid rgba(0, 255, 0, .35);
}

html .Product-module__discount {
  color: #060606;
  font-weight: 900;
  font-size: .62em;
  line-height: 1.2;
  padding: 4px 8px;
  white-space: nowrap;
  border-radius: 0 0 0 12px;
  animation: gsBadge 1.8s ease-in-out infinite;
}

/* цена, скидка, название, количество и звёздочка всегда поверх картинки
   (в том числе когда она увеличивается при наведении) */
html .Product-module__price,
html .Product-module__discount,
html .Product-module__name,
html .Product-module__count,
html .Product-module__favorite {
  z-index: 6;
}

/* количество (x100, x5000 и т.д.) — читаемо на любых картинках */
html .Product-module__count {
  text-shadow: 0 0 6px rgba(0, 0, 0, .9), 0 1px 3px rgba(0, 0, 0, .9);
}

@keyframes gsBadge {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 255, 0, 0); }
  50%      { box-shadow: 0 0 14px rgba(0, 255, 0, .8); }
}

@keyframes gsRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 8.1 Картинки на всю карточку (для ВСЕХ товаров) ----------
   Если у какого-то товара картинку нужно оставить как была (например, маленькая PNG-иконка
   без фона) — впиши его data-productid в список исключений ниже.
   Формат: [data-productid="ID"], — через запятую, последний без запятой. */

/* карточка всегда квадратная, даже пока картинка ещё не загрузилась
   (иначе при обновлении страницы карточка схлопывается в полоску) */
html .Product-module__wrapper {
  aspect-ratio: 1 / 1;
  position: relative;
  background-color: #0a0a0a;
}

html .Product-module__wrapper:not(:is(
  [data-productid="0"]  /* сюда исключения: [data-productid="ID"], */
)) .Product-module__img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 1;
}

/* сглаживание картинок (шаблон может включать «пиксельный» режим) */
html .Product-module__img {
  image-rendering: auto !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

html .Product-module__wrapper:hover .Product-module__img {
  transform: scale(1.08) rotate(-1deg) translateZ(0);
}

@media (max-width: 970px) {
  html .Product-module__price,
  html .Product-module__discount { font-size: .55em; padding: 3px 6px; }
}

/* ---------- 9. Поля ввода и поиск ---------- */
html .Search-module__wrapper,
html .BasketSearch-module__wrapper,
html .HistorySearch-module__wrapper,
html .CountSelector-module__inputWrapper,
html .TotalSum-module__inputWrapper,
html .PlayerBalanceModal-module__inputWrapper,
html .ProfileContent-module__input {
  background: #060606;
  border: 1px solid rgba(0, 255, 0, .2);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

html .Search-module__wrapper:focus-within,
html .BasketSearch-module__wrapper:focus-within,
html .HistorySearch-module__wrapper:focus-within,
html .CountSelector-module__inputWrapper:focus-within,
html .TotalSum-module__inputWrapper:focus-within,
html .PlayerBalanceModal-module__inputWrapper:focus-within,
html .ProfileContent-module__input:focus-within {
  border-color: #00ff00;
  box-shadow: 0 0 16px rgba(0, 255, 0, .35);
}

html .Search-module__iconWrapper,
html .BasketSearch-module__iconWrapper,
html .HistorySearch-module__iconWrapper,
html .TotalSum-module__currency,
html .PlayerBalanceModal-module__currency {
  background: #00ff00;
  color: #060606;
  font-weight: 900;
}

html .Search-module__icon path,
html .BasketSearch-module__icon path,
html .HistorySearch-module__icon path { stroke: #060606; }

/* ---------- 10. Выпадающие списки ---------- */
html .Selector-module__dropDownCurrentItem {
  background: #060606;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 0, .2);
}

html .Selector-module__dropDownCurrentItem:hover,
html .Selector-module__dropDownCurrentItem:focus {
  outline: 0;
  border-color: #00ff00;
  box-shadow: 0 0 14px rgba(0, 255, 0, .3);
}

html .Selector-module__dropDownList {
  background: #0a0a0a;
  border: 1px solid rgba(0, 255, 0, .3);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6);
  animation: gsDrop .2s ease;
}

html .Selector-module__dropDownItem { border-radius: 10px; }

html .Selector-module__dropDownItem:hover,
html .Selector-module__dropDownItem:focus,
html .Selector-module__dropDownItem.Selector-module__active {
  background-color: rgba(0, 255, 0, .14);
  color: #00ff00;
}

@keyframes gsDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. Модальные окна ---------- */
html .ModalLayout-module__wrapper,
html .customModalWrapper,
html .WelcomeSelectServer-module__modalWrapper {
  background-color: rgba(6, 6, 6, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

html .ModalLayout-module__modal,
html .customModalContent {
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(0, 255, 0, .18), transparent 70%),
    #080808;
  border: 1px solid rgba(0, 255, 0, .4);
  box-shadow: 0 0 40px rgba(0, 255, 0, .18), 0 24px 50px rgba(0, 0, 0, .6);
  animation: gsPop .5s var(--ease);
}

/* внутри окна блоки сливаются в сплошной фон, разделены тонкой линией */
html .ModalLayout-module__modal .boxHeader,
html .ModalLayout-module__modal .boxBody,
html .ModalLayout-module__modal .boxFooter,
html .customModalContent .boxHeader,
html .customModalContent .boxBody,
html .customModalContent .boxFooter {
  background: transparent;
  border-radius: 0;
  border-width: 0 0 1px 0;
  border-color: rgba(0, 255, 0, .14);
}

html .ModalLayout-module__modal .boxFooter,
html .customModalContent .boxFooter { border-bottom: 0; }

@keyframes gsPop {
  from { opacity: 0; transform: scale(.88) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

html .CrosseCloseBtn-module__btn:hover .CrosseCloseBtn-module__line,
html .CrosseCloseBtn-module__btn:focus .CrosseCloseBtn-module__line {
  background-color: #00ff00;
  box-shadow: 0 0 8px #00ff00;
}

html .ProductItemSelector-module__item.ProductItemSelector-module__active,
html .ProductItemSelector-module__item:hover {
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(0, 255, 0, .35);
}

/* ---------- 12. Меню игрока, язык, баланс ---------- */
html .PlayerMenu-module__profileLink:hover,
html .PlayerMenu-module__profileLink:focus,
html .PlayerMenu-module__loginLink:hover,
html .PlayerMenu-module__loginLink:focus,
html .LangSwitcher-module__btn:hover,
html .LangSwitcher-module__btn:focus,
html .PlayerBalance-module__btn:hover,
html .PlayerBalance-module__btn:focus,
html .ChatAuthModal-module__command:hover {
  background-color: #00ff00;
  color: #060606;
  box-shadow: 0 0 16px rgba(0, 255, 0, .5);
}

html .NavDropDown-module__link:hover,
html .NavDropDown-module__link:focus,
html .NavServerDropDown-module__server:hover,
html .NavServerDropDown-module__server:focus,
html .LangSwitcher-module__lang:hover,
html .LangSwitcher-module__lang:focus {
  background-color: rgba(0, 255, 0, .14);
  color: #00ff00;
}

html .ProfileNav-module__logOut {
  background: transparent;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-weight: 800;
  border-radius: 12px;
  transition: all .2s ease;
}

html .ProfileNav-module__logOut:hover,
html .ProfileNav-module__logOut:focus {
  background: #00ff00;
  color: #060606;
  box-shadow: var(--glow);
}

/* ---------- 12.1 Меню профиля (Профиль / Корзина / История) — в стиле категорий ---------- */
html .ProfileNav-module__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

html .ProfileNav-module__navItem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  color: #cfcfcf;
  font-weight: 800;
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  transition:
    color .4s var(--ease),
    border-color .4s var(--ease),
    transform .3s var(--ease),
    box-shadow .3s var(--ease);
}

/* зелёная заливка — отдельным слоем, чтобы её не перебивали стили шаблона */
html .ProfileNav-module__navItem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

html .ProfileNav-module__navItem:hover,
html .ProfileNav-module__navItem:focus {
  transform: translateX(5px);
}

html .ProfileNav-module__navItem:hover,
html .ProfileNav-module__navItem:focus,
html .ProfileNav-module__navItem.ProfileNav-module__active {
  color: var(--dark) !important;
  border-color: var(--neon);
  box-shadow: var(--glow);
}

html .ProfileNav-module__navItem:hover::before,
html .ProfileNav-module__navItem:focus::before,
html .ProfileNav-module__navItem.ProfileNav-module__active::before {
  transform: scaleX(1);
}

/* ---------- 13. Пагинация ---------- */
html .Pagination-module__page,
html .Pagination-module__navPageBtn {
  border-radius: 10px;
  background: #0c0c0c;
}

html .Pagination-module__page:hover,
html .Pagination-module__navPageBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 255, 0, .35);
}

html .Pagination-module__page.Pagination-module__active {
  background: #00ff00;
  color: #060606;
  font-weight: 900;
  box-shadow: var(--glow);
}

/* ---------- 14. Подвал ---------- */
html .ShopFooter-module__link {
  position: relative;
  transition: color .2s ease;
}

html .ShopFooter-module__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #00ff00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

html .ShopFooter-module__link:hover { color: #00ff00; }
html .ShopFooter-module__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Экран загрузки в цветах темы ---------- */
html .gs-loader { background-color: #060606; }

html .gs-loader__spinner {
  border-color: #00ff00;
  border-bottom-color: #060606;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, .7));
}

/* ---------- 15. Прочее: загрузка, уведомления, cookie ---------- */
html .Loader-module__loader,
html .Page-module__loader {
  border-color: #00ff00;
  border-bottom-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 255, 0, .7));
}

html .Toast-module__toast {
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 0, .25);
  background: #0a0a0a;
}

html .Toast-module__toast.Toast-module__success {
  border-color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, .25);
}

html .Toast-module__toast.Toast-module__success .Toast-module__title { color: #00ff00; }

html .Cookie-module__wrapper {
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 0, .35);
  box-shadow: 0 0 24px rgba(0, 255, 0, .15);
}

html .MonitoringServer-module__progressBar { box-shadow: 0 0 10px rgba(0, 255, 0, .5); }

/* Остальные твои скругления */
.KitContent-module__footer,
.PlayerBalanceModal-module__footer,
.ProfileNav-module__img,
.ItemContent-module__footer { border-radius: 24px; }

/* ---------- 15.1 Полоска прогресса прокрутки (создаётся в custom.js) ---------- */
#gs-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 99999;
  pointer-events: none;
}

/* ---------- 16. Для тех, у кого отключены анимации в системе ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}