@import url("https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css");

:root {
  --ar-accent:       #46d62e;
  --ar-accent-2:     #2ea818;
  --ar-accent-deep:  #1c7c0d;
  --ar-glow:         rgba(70, 214, 46, .40);
  --ar-glow-soft:    rgba(70, 214, 46, .14);

  /* Фон и поверхности */
  --ar-bg:           #0b0e0c;
  --ar-panel:        rgba(255, 255, 255, .035);
  --ar-panel-2:      rgba(255, 255, 255, .06);
  --ar-border:       rgba(255, 255, 255, .08);
  --ar-border-2:     rgba(255, 255, 255, .14);

  /* Текст */
  --ar-txt:          #e8ede7;
  --ar-muted:        #8f998d;

  /* Геометрия */
  --ar-radius:       12px;
  --ar-radius-lg:    16px;
  --ar-blur:         blur(14px) saturate(135%);

  /* Перекрашиваем стандартный акцент платформы в наш зелёный */
  --accent-color-800: #2ea818;
}

/* ===================== SWIPER / БАННЕР ===================== */
swiper-container {
  width: 100%;
  height: 220px;
  top: 0;
  display: block;
}
swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #0e120f;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
}
swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
  border-radius: var(--ar-radius-lg);
  border: 1px solid var(--ar-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255,255,255,.02);
}
/* мягкое затемнение по краям слайда для читаемости */
.swiper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--ar-radius-lg);
  box-shadow: inset 0 -60px 80px -40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
  z-index: 2;
}
.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--ar-accent);
}
.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--ar-accent);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}
.swiper-button-next, .swiper-button-prev {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 16, 14, .55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--ar-border-2);
  transition: .2s;
  z-index: 6;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--ar-accent-2);
  border-color: var(--ar-accent);
  box-shadow: 0 0 18px var(--ar-glow);
}
.swiper-button-next svg, .swiper-button-prev svg {
  width: 42%;
  height: 42%;
  object-fit: contain;
  transform-origin: center center;
  color: #fff;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0 !important; }
.swiper-pagination-bullet {
  width: 22px;
  height: 5px;
  display: inline-block;
  border-radius: 3px;
  background: #fff;
  opacity: .22;
  transition: .25s;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  background: linear-gradient(90deg, var(--ar-accent), var(--ar-accent-2));
  box-shadow: 0 0 12px var(--ar-glow);
}

/* ===================== БАЗА / ФОН ===================== */
body {
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  color: var(--ar-txt);
  font-weight: 400;
  font-size: var(--default-font-size);
  background:
    radial-gradient(1200px 620px at 12% -12%, var(--ar-glow-soft), transparent 60%),
    radial-gradient(1000px 520px at 100% -6%, rgba(40, 160, 40, .07), transparent 55%),
    radial-gradient(900px 900px at 110% 110%, rgba(46, 168, 24, .05), transparent 60%),
    linear-gradient(180deg, #0c100d 0%, #0a0c0a 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* старый внешний оверлей-текстуру убираем — даём чистый виньет */
body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(130% 90% at 50% -10%, transparent 62%, rgba(0, 0, 0, .38));
  opacity: 1;
}
.container {
  padding: 0 var(--safe-padding);
  margin: 0 auto;
}
.Banner-module__img { display: none; }

/* ===================== ХЕДЕР ===================== */
.Header-module__logo {
  font-size: 0;
  text-transform: none;
  background: url(https://i.imgur.com/2mWULiV.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 200px;
  height: 35px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
}
.Header-module__wrapper {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: var(--ar-blur);
  margin-top: 20px;
  margin-bottom: 18px;
  padding: 0 14px;
  min-height: 62px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-radius: var(--ar-radius-lg);
  border: 1px solid var(--ar-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .40);
  position: relative;
  z-index: 20;
}
.HeaderNav-module__wrapper {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-left: 0;
  text-transform: none;
  flex-wrap: wrap;
}
.NavDropDown-module__linkName {
  cursor: pointer;
  padding: 10px 6px 10px 10px;
  transition: all .15s ease;
  text-transform: none;
}
/* фикс старого костыля margin:-166px — ссылки теперь нормальные «стеклянные» чипы */
.HeaderNav-module__link,
.SupportLink-module__link,
.NavDropDown-module__btn {
  cursor: pointer;
  padding: 9px 13px;
  transition: all .15s ease;
  color: #d6dcd4;
  background: var(--ar-panel-2);
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  margin: 0;
  position: relative;
}
.NavDropDown-module__btn { padding-right: 8px; }
.SupportLink-module__link { position: relative; }
.HeaderNav-module__link:hover,
.SupportLink-module__link:hover,
.NavDropDown-module__btn:hover {
  background: linear-gradient(180deg, rgba(70,214,46,.18), rgba(70,214,46,.06));
  border-color: rgba(70,214,46,.45);
  color: #fff;
  box-shadow: 0 0 16px var(--ar-glow-soft);
  transform: translateY(-1px);
}
.PlayerMenu-module__profileLink,
.PlayerMenu-module__loginLink {
  text-transform: none;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  white-space: nowrap;
  transition: all .15s ease;
  gap: 6px;
  flex-direction: row-reverse;
  color: #fff;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  border: 1px solid rgba(70,214,46,.5);
  box-shadow: 0 8px 22px rgba(46,168,24,.30);
}
.PlayerMenu-module__profileLink:hover,
.PlayerMenu-module__loginLink:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 26px rgba(46,168,24,.45), 0 0 20px var(--ar-glow);
}
.PlayerMenu-module__loginLink img,
.PlayerMenu-module__profileLink img { width: 16px; height: 16px; }

/* ===================== HERO (опциональный градиентный баннер) =====================
   Включается в js.js флагом USE_HERO_BANNER = true */
.ar-hero {
  position: relative;
  width: 100%;
  min-height: 230px;
  border-radius: var(--ar-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ar-border);
  background:
    radial-gradient(700px 320px at 8% -20%, rgba(70,214,46,.28), transparent 60%),
    radial-gradient(600px 360px at 100% 120%, rgba(28,124,13,.45), transparent 55%),
    linear-gradient(135deg, #101a0e 0%, #0c130b 55%, #0a0e09 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  display: flex;
  align-items: center;
}
.ar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(120% 120% at 0% 0%, #000, transparent 70%);
  opacity: .6;
}
.ar-hero__content {
  position: relative;
  z-index: 2;
  padding: 30px 34px;
  max-width: 60%;
}
.ar-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ar-accent);
  background: rgba(70,214,46,.10);
  border: 1px solid rgba(70,214,46,.30);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ar-hero__title {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.ar-hero__sub {
  font-size: 14px;
  color: #b9c2b6;
  max-width: 460px;
  margin: 0 0 20px;
  line-height: 1.55;
}
.ar-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ar-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(70,214,46,.55);
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  box-shadow: 0 10px 28px rgba(46,168,24,.40);
  transition: .2s;
}
.ar-hero__cta:hover { filter: brightness(1.08); box-shadow: 0 12px 32px rgba(46,168,24,.55), 0 0 22px var(--ar-glow); transform: translateY(-2px); }
.ar-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #dfe5dd;
  cursor: pointer;
  border: 1px solid var(--ar-border-2);
  background: var(--ar-panel-2);
  backdrop-filter: blur(6px);
  transition: .2s;
}
.ar-hero__ghost:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.ar-hero__art {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  z-index: 1;
  pointer-events: none;
}
.ar-hero__tile {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(70,214,46,.16), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  animation: ar-float 6s ease-in-out infinite;
}
.ar-hero__tile:nth-child(1){ width: 96px; height: 96px; right: 30%;  top: 22%;  animation-delay: 0s;    }
.ar-hero__tile:nth-child(2){ width: 120px; height: 120px; right: 12%; top: 38%; animation-delay: -1.4s; }
.ar-hero__tile:nth-child(3){ width: 74px;  height: 74px;  right: 24%; top: 58%; animation-delay: -2.6s; }
.ar-hero__tile:nth-child(4){ width: 64px;  height: 64px;  right: 4%;  top: 14%; animation-delay: -3.6s; }
@keyframes ar-float {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-14px) rotate(3deg); }
}

/* ===================== БОКОВЫЕ «КОРОБКИ» ===================== */
.xbox__header, .boxHeader {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  padding: 15px;
  border-radius: var(--ar-radius) var(--ar-radius) 0 0;
  border-top: solid 1px var(--ar-border);
  border-left: solid 1px var(--ar-border);
  border-right: solid 1px var(--ar-border);
  backdrop-filter: var(--ar-blur);
}
.xbox__body {
  padding: 10px;
  background: var(--ar-panel);
  border-radius: 0 0 var(--ar-radius) var(--ar-radius);
  border-bottom: solid 1px var(--ar-border);
  border-left: solid 1px var(--ar-border);
  border-right: solid 1px var(--ar-border);
  backdrop-filter: var(--ar-blur);
}
.boxBody {
  padding: 15px;
  background: var(--ar-panel);
  border-radius: 0;
  border-left: solid 1px var(--ar-border);
  border-right: solid 1px var(--ar-border);
  backdrop-filter: var(--ar-blur);
}
.boxFooter {
  background: rgba(255,255,255,.03);
  border-radius: 0 0 var(--ar-radius) var(--ar-radius);
  border-bottom: solid 1px var(--ar-border);
  border-left: solid 1px var(--ar-border);
  border-right: solid 1px var(--ar-border);
}
h4 { font-size: 17px; font-weight: 500; color: #fff; }

/* ===================== МАГАЗИН / КАТЕГОРИИ ===================== */
.Shop-module__wrapper {
  width: 855px;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Заголовок «Магазин» (H2.boxHeader.Shop-module__header) — фон/бордер от .boxHeader,
   здесь только сам текст: акцентная полоска + нормальный размер */
.Shop-module__header {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: .01em;
}
.Shop-module__header::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  box-shadow: 0 0 12px var(--ar-glow);
}

/* Категории: сетка карточек с картинками. Картинки задаёт JS через переменную
   --ar-cat-img (см. CATEGORY_IMAGES в js.js). Без картинки — просто чистая карточка. */
.Categories-module__categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 0 4px;
  font-size: 13px;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.Categories-module__categories::-webkit-scrollbar { display: none; width: 0; height: 0; }
.Categories-module__category {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  margin: 0;
  padding: 12px 52px 12px 14px;
  border-radius: 12px;
  background: var(--ar-panel-2);
  color: #e7ece6;
  border: 1px solid var(--ar-border);
  text-align: left;
  display: flex;
  align-items: center;
  white-space: normal;
  font-weight: 600;
  transition: all .2s ease;
}
.Categories-module__category:focus,
.Categories-module__category:focus-visible { outline: none; }
.Categories-module__category::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-image: var(--ar-cat-img, none);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}
.Categories-module__category:hover {
  border-color: rgba(70, 214, 46, .40);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}
.Categories-module__category.Categories-module__active {
  background: linear-gradient(135deg, rgba(70, 214, 46, .30), rgba(46, 168, 24, .08));
  border-color: rgba(70, 214, 46, .6);
  color: #fff;
  box-shadow: 0 8px 18px rgba(46, 168, 24, .22);
}

/* ===================== КНОПКИ ===================== */
.Button-module__btn.Button-module__gray {
  color: var(--ar-txt);
  background-color: var(--ar-panel-2);
  border-color: var(--ar-border-2);
  border-radius: 10px;
  transition: .18s;
}
.Button-module__btn.Button-module__gray:hover,
.Button-module__btn.Button-module__gray:focus {
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}
.Button-module__btn.Button-module__accent {
  color: #fff;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  border-color: rgba(70,214,46,.5);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(46,168,24,.30);
  transition: .18s;
}
.Button-module__btn.Button-module__accent:hover,
.Button-module__btn.Button-module__accent:focus {
  filter: brightness(1.08);
  border-color: var(--ar-accent);
  box-shadow: 0 10px 26px rgba(46,168,24,.45), 0 0 18px var(--ar-glow);
}

/* ===================== ПОИСК ===================== */
.Search-module__wrapper {
  width: 100%;
  display: flex;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--ar-panel-2);
  border: 1px solid var(--ar-border);
  margin-top: 15px;
  transition: .18s;
}
.Search-module__wrapper:focus-within {
  border-color: rgba(70,214,46,.45);
  box-shadow: 0 0 18px var(--ar-glow-soft);
}
.Search-module__iconWrapper {
  height: 100%;
  padding: 0 12px;
  background: transparent;
  color: var(--ar-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== КАРТОЧКИ ТОВАРОВ ===================== */
.Products-module__wrapper {
  margin-top: 15px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}
.Product-module__wrapper {
  position: relative;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--ar-radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 45%, transparent);
  border: 1px solid var(--ar-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.Product-module__wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--ar-radius);
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(70,214,46,.10), transparent 60%);
  opacity: 0;
  transition: .25s;
}
.Product-module__wrapper:hover {
  transform: translateY(-6px);
  border-color: rgba(70,214,46,.40);
  box-shadow: 0 16px 34px rgba(0,0,0,.5), 0 0 22px var(--ar-glow-soft);
}
.Product-module__wrapper:hover::before { opacity: 1; }
.Product-module__name {
  z-index: 6;
  transition: all .2s ease;
  width: 82%;
  padding: 10px 8px;
  bottom: 0;
  left: 0;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: #eef2ec;
}
.Product-module__count {
  right: 12px;
  bottom: 10px;
  z-index: 10;
  transition: all .15s ease;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  color: #fff;
  padding: 3px 8px;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(46,168,24,.40);
}
.Product-module__wrapper:hover .Product-module__count,
.Product-module__wrapper:active .Product-module__count { opacity: 1; }
.Product-module__price {
  top: 8px;
  left: 8px;
  background: rgba(11,14,12,.72);
  color: #fff;
  padding: 5px 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(4px);
  border: 1px solid var(--ar-border);
  font-weight: 600;
  z-index: 6;
}
.Product-module__discount {
  top: 0;
  right: 0;
  background: linear-gradient(180deg, #e5392f, #b3160e);
  color: #fff;
  padding: 7px 9px;
  border-radius: 0 var(--ar-radius) 0 10px;
  font-weight: 700;
  font-size: 12px;
  z-index: 6;
  box-shadow: 0 6px 16px rgba(180,20,12,.4);
}
/* возможные бейджи-метки товара (Hot/New), если включены в админке */
.Product-module__label, .Label-module__hot, .Label-module__new {
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ===================== МОДАЛКА ТОВАРА ===================== */
.productModalContainsItem {
  border-radius: 10px;
  background-color: var(--ar-panel-2);
  padding: 10px;
  position: relative;
  display: flex;
  align-items: center;
  border: solid 1px var(--ar-border);
}
.productModalDescription {
  text-align: left;
  padding: 12px;
  margin-bottom: 10px;
  background-color: var(--ar-panel);
  border-radius: 10px;
  border: dashed 1px var(--ar-border-2);
}
.RouletteContent-module__rouletteItem {
  border-radius: 10px;
  overflow: hidden;
  background: var(--ar-panel-2);
  border: 1px solid var(--ar-border);
  padding: 8px;
}

/* ===================== МОНИТОРИНГ-БАР (внутри товара) ===================== */
.MonitoringServer-module__name {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.MonitoringServer-module__progressBarWrapper {
  margin-bottom: 6px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  height: 7px;
  overflow: hidden;
  background-color: rgba(255,255,255,.08);
}
.MonitoringServer-module__progressBarAnim {
  font-size: 14px !important;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: .95;
  background: linear-gradient(90deg, var(--ar-accent-2), var(--ar-accent));
  box-shadow: 0 0 12px var(--ar-glow);
  animation: none;
}

/* ===================== СОЦСЕТИ ===================== */
.social-box {
  text-align: center;
  display: grid;
  line-height: 2rem;
  margin: 0 10px;
}
.vkontakte, .telegram, .youtube {
  background: var(--ar-panel-2);
  border: 1px solid var(--ar-border);
  box-shadow: none;
  border-radius: 9px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  padding: 6px 0 3px;
  transition: .25s;
}
.vkontakte:hover {
  background: #2887f3;
  box-shadow: 0 10px 22px 0 rgba(0,98,255,.45);
  border-color: #2887f3;
  transform: translateY(-2px);
}
.telegram:hover {
  background: #2da5e0;
  box-shadow: 0 10px 22px 0 rgba(0,161,255,.45);
  border-color: #2ea4de;
  transform: translateY(-2px);
}
.youtube:hover {
  background: #fb0000;
  box-shadow: 0 10px 22px 0 rgba(255,0,0,.45);
  border-color: #fb0000;
  transform: translateY(-2px);
}
.socicon { vertical-align: sub; margin-right: 7px; }

.info { font-size: 11px; color: var(--ar-muted); line-height: 1.5; margin-bottom: 10px; }
.info-links { font-size: 12px; display: grid; line-height: 1.8; }
.info-links a { font-size: 12px; display: grid; line-height: 1.8; transition: .25s; }
.info-links a:hover { color: var(--ar-accent); }

@keyframes gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* свечение-блик для placeholder (раньше анимация была без @keyframes) */
@keyframes blick {
  0%   { transform: translate(-100%, -25%) rotate(10deg); }
  60%  { transform: translate(220%, -25%) rotate(10deg); }
  100% { transform: translate(220%, -25%) rotate(10deg); }
}

.bonus {
  width: 50%;
  background: linear-gradient(90deg, rgba(70,214,46,.18), rgba(255,255,255,.03));
  color: #fff;
  border-radius: 0 var(--ar-radius) var(--ar-radius) 0;
  position: relative;
  overflow: hidden;
}

/* ===================== СКРОЛЛБАР ===================== */
::-webkit-scrollbar { height: 8px; width: 8px; border-radius: 5px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ar-accent-2), var(--ar-accent-deep));
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ar-accent); }
::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 5px; }

/* ===================== АДАПТИВ ===================== */
@media (max-width: 768px) {
  .Shop-module__wrapper { width: 100%; margin-bottom: 20px; }
  .Header-module__nav { display: none; }
  .HeaderNav-module__wrapper {
    align-items: stretch;
    column-gap: 10px;
    margin-left: 0;
    text-transform: none;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: stretch;
    gap: 10px;
  }
  .NavDropDown-module__wrapper {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-around;
  }
  .PlayerMenuMobile-module__playerMenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
  }
  .ar-hero__content { max-width: 100%; padding: 22px; }
  .ar-hero__art { display: none; }
  .ar-hero__title { font-size: 23px; }
}

/* ===================== СЕРВЕР-МОНИТОРИНГ (сайдбар) ===================== */
.monitoring {
  background: var(--ar-panel);
  border: solid 1px var(--ar-border);
  border-radius: var(--ar-radius);
  width: 100%;
  height: 160px;
  backdrop-filter: var(--ar-blur);
}
.monitoring-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  gap: 0.5rem;
  margin-left: 10px;
  margin-top: 5px;
}
.monitoring-image {
  background-image: url(https://gspics.org/images/2024/09/10/I0QFMO.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
}
.monitoring-title { font-size: 14px; font-weight: 500; color: #fff; }
.pulse-online {
  margin-top: 0;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ar-accent);
  animation: animate_pulse 2s infinite;
}
.pulse-offline {
  margin-top: 0;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f13838;
  animation: animate_pulse_off 2s infinite;
}
@keyframes animate_pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70,214,46,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(70,214,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,214,46,0); }
}
@keyframes animate_pulse_off {
  0%   { box-shadow: 0 0 0 0 rgba(241,56,56,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(228,25,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,25,49,0); }
}
.monitoring-online {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10px;
  gap: 0.5rem;
  margin-left: 15px;
  margin-top: 10px;
}
.monitoring-users {
  background-image: url(https://gspics.org/images/2024/09/10/I0QKrL.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 17px;
  height: 17px;
}
.monitoring-wipe {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10px;
  gap: 0.5rem;
  margin-left: 15px;
  margin-top: 20px;
}
.monitoring-wimage {
  background-image: url(https://gspics.org/images/2024/09/10/I0QV6y.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
}
.connect { margin-top: 18px; margin-left: 15px; margin-right: 15px; }
.copybtn {
  font-size: 13px;
  line-height: 1.1 !important;
  font-weight: 600;
  font-style: normal;
  text-transform: none;
  text-align: center;
  letter-spacing: 0;
  border-radius: 9px;
  padding: 0.55em 1.5em;
  background: var(--ar-panel-2);
  border: solid 1px var(--ar-border-2);
  color: #fff !important;
  cursor: pointer;
  transition: .25s all;
}
.copybtn:hover {
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  border-color: rgba(70,214,46,.5);
  box-shadow: 0 8px 18px rgba(46,168,24,.35);
}
#serveronline-red, #serveronline-green, .monitoring-info {
  background: rgba(255,255,255,.06);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--ar-border);
}
#serveronline-green { color: var(--ar-accent); }

/* ===================== ПРОМОКОД ===================== */
.promo {
  background: var(--ar-panel);
  border: solid 1px var(--ar-border);
  border-radius: var(--ar-radius);
  width: 100%;
  height: 110px;
  backdrop-filter: var(--ar-blur);
}
.promo-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  gap: 0.5rem;
  margin-left: 15px;
  margin-top: 5px;
}
.promo-title {
  font-size: 12px;
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
  color: #fff;
}
.promo-gift {
  background-image: url(https://i.imgur.com/0NkPFaC.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 17px;
  height: 17px;
}
.promo-desc {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10px;
  margin-left: 5px;
}
.promo-info { padding: 0 10px 5px; font-size: 13px; color: var(--ar-muted); }
.promo-auth { padding: 5px 10px; font-size: 10px; color: #5a655a; margin-left: 25px; }
.copy-promo { margin-top: 10px; margin-left: 15px; margin-right: 15px; }
.copy-placeholder {
  font-size: 14px;
  line-height: 1.1 !important;
  font-weight: 500;
  text-align: center;
  border-radius: 9px;
  padding: 0.55em 1.5em;
  background: var(--ar-panel-2);
  border: 1px solid var(--ar-border);
  position: relative;
  overflow: hidden;
  color: #fff !important;
  cursor: pointer;
}
.copy-placeholder:before {
  content: '';
  width: 60%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.35;
  filter: blur(10px);
  background: linear-gradient(to left, transparent 0%, #fff 40%, #fff 60%, transparent 100%);
  transform: translate(-100%, -25%) rotate(10deg);
  animation: blick 4s infinite;
}

/* ===================== DISCORD ===================== */
.discord {
  background: var(--ar-panel);
  border: solid 1px var(--ar-border);
  border-radius: var(--ar-radius);
  width: 100%;
  height: 190px;
  backdrop-filter: var(--ar-blur);
}
.discord-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  gap: 0.5rem;
  margin-left: 15px;
  margin-top: 5px;
}
.discord-image {
  background-image: url(https://i.imgur.com/0E0U989.png);
  background-position: center;
  background-size: contain;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
}
.discord-title { font-size: 17px; font-weight: 500; color: #fff; }
.discord-desc { margin-left: 15px; margin-top: 5px; }
.discord_btn {
  font-size: 14px;
  line-height: 1.1 !important;
  font-weight: 600;
  text-transform: none;
  border-radius: 10px;
  padding: 0.6em 1.5em;
  background: linear-gradient(180deg, #5865f2, #4453e0);
  border-color: transparent;
  color: #fff !important;
  transition: .25s;
  cursor: pointer;
  margin-left: 15px;
  margin-right: 15px;
  display: block;
  text-align: center;
  box-shadow: 0 8px 20px rgba(68,93,237,.30);
}
.discord_btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 26px rgba(68,93,237,.5), 0 0 18px rgba(88,101,242,.5);
  transform: translateY(-2px);
}
.discord-connect {
  margin-top: 18px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.memberCount, .presenceCount {
  background: rgba(255,255,255,.06);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--ar-border);
}

/* ===================== ШАПКА: убираем пункт «Магазин» ===================== */
.HeaderNav-module__link { display: none !important; }

/* ===================== ОКНО ТОВАРА (модалка) ===================== */
.ModalLayout-module__modal {
  border-radius: var(--ar-radius-lg) !important;
  overflow: hidden;
  border: 1px solid var(--ar-border-2) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6) !important;
  max-width: 600px !important;
}
.ModalLayout-module__overlay,
[class*="ModalLayout-module__overlay"] {
  backdrop-filter: blur(6px) !important;
  background: rgba(7, 9, 8, .66) !important;
}
.productModalImg {
  width: 100% !important;
  border-radius: var(--ar-radius) !important;
  border: 1px solid var(--ar-border) !important;
  margin-bottom: 12px !important;
}
.productModalGiveText { color: var(--ar-muted) !important; font-size: 12px !important; }
.TotalSum-module__label { color: var(--ar-muted) !important; font-size: 12px !important; }
.TotalSum-module__inputWrapper {
  background: var(--ar-panel-2) !important;
  border: 1px solid var(--ar-border) !important;
  border-radius: 10px !important;
}

/* ===================== СОДЕРЖИМОЕ ПРИВИЛЕГИЙ (список из JS) ===================== */
.ar-perks-wrap { margin: 0 0 14px; }
.ar-perks__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.ar-perks__head b { color: var(--ar-accent); font-weight: 700; }
.ar-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ar-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--ar-border);
}
.ar-perk__ic {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(70, 214, 46, .18), rgba(255, 255, 255, .03));
  border: 1px solid rgba(70, 214, 46, .25);
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}
/* плитка-предмет (картинка с CDN) + бейдж количества */
.ar-perk__ic.ar-item {
  background-size: 80%;
  background-color: rgba(0, 0, 0, .18);
}
.ar-perk__n {
  position: absolute;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  color: #06210a;
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 6px;
  line-height: 15px;
  border: 1px solid rgba(0, 0, 0, .35);
}
.ar-perk__t { font-size: 12.5px; font-weight: 600; color: #eef2ec; line-height: 1.2; }
.ar-perk__d { font-size: 11px; color: var(--ar-muted); margin-top: 2px; }

@media (max-width: 600px) {
  .ar-perks { grid-template-columns: 1fr; }
}

/* ===================== МЕНЮ ПОКУПКИ ПРИВИЛЕГИИ (вкладки предметов, TVRust-style) ===================== */
.ar-rich-modal { width: 864px !important; max-width: 94vw !important; }
.ar-rich {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  margin: 0 0 6px;
}
.ar-rich__left { display: flex; flex-direction: column; gap: 10px; }
.ar-rich__img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--ar-border);
  display: block;
}
.ar-buffs { display: flex; flex-direction: column; gap: 8px; }
.ar-buff {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--ar-border);
}
.ar-buff__ic {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));  /* фулл зелёная плитка */
  border: 1px solid rgba(70, 214, 46, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ar-buff__ic img { width: 70%; height: 70%; object-fit: contain; display: block; }
.ar-buff__n { font-size: 13px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.ar-buff__d { font-size: 11.5px; color: var(--ar-muted); margin-left: auto; text-align: right; }
/* подсказка (?) при наведении */
.ar-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--ar-muted);
  font-size: 10px;
  font-weight: 700;
  cursor: help;
  position: relative;
  flex: 0 0 auto;
}
.ar-q:hover { border-color: var(--ar-accent); color: var(--ar-accent); }
.ar-q:hover::after {
  content: attr(data-hint);
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  background: #12160f;
  color: #e8ede7;
  border: 1px solid var(--ar-border-2);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 220px;
  text-align: center;
  z-index: 30;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
  pointer-events: none;
}
.ar-rich__right {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  padding: 13px;
}
.ar-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.ar-tab {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cfd6cd;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ar-border);
  cursor: pointer;
  transition: .15s;
}
.ar-tab:hover { color: #fff; border-color: rgba(70, 214, 46, .35); }
.ar-tab.ar-tab--active {
  background: linear-gradient(180deg, var(--ar-accent), var(--ar-accent-2));
  color: #fff;
  border-color: rgba(70, 214, 46, .6);
  box-shadow: 0 6px 16px rgba(46, 168, 24, .3);
}
.ar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.ar-grid[hidden] { display: none !important; }   /* без этого скрытые вкладки всё равно видны */
.ar-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, .25);
  border: 1px solid var(--ar-border);
  background-size: 76%;
  background-position: center;
  background-repeat: no-repeat;
}
.ar-slot--empty {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 6px, transparent 6px, transparent 12px);
  border-style: dashed;
}
.ar-slot__n {
  position: absolute;
  right: 6px;
  bottom: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px #000, 0 0 4px #000;
}
.ar-cooldown { font-size: 11.5px; color: var(--ar-muted); }
@media (max-width: 760px) {
  .ar-rich { grid-template-columns: 1fr; }
  .ar-rich-modal { width: 96vw !important; }
}

/* ===================== НАБОРЫ: компактная сетка вместо длинных карточек ===================== */
/* Чистый CSS поверх родного рендера GameStores (.KitContent-module__*). JS не нужен. */
.ModalLayout-module__modal.ProductModal-module__set { width: 600px !important; max-width: 94vw !important; }
.KitContent-module__containsItems {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 8px !important;
}
.KitContent-module__containsItem {
  position: relative !important;
  aspect-ratio: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, .25) !important;
  border: 1px solid var(--ar-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.KitContent-module__itemImg {
  width: 76% !important;
  height: 76% !important;
  object-fit: contain !important;
  margin: 0 !important;
}
.KitContent-module__itemName { display: none !important; }   /* имя прячем, видно по картинке (как на TVRust) */
.KitContent-module__itemCount {
  position: absolute !important;
  right: 5px !important;
  bottom: 4px !important;
  left: auto !important;
  top: auto !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-shadow: 0 1px 3px #000, 0 0 4px #000 !important;
}
@media (max-width: 600px) {
  .ModalLayout-module__modal.ProductModal-module__set { width: 96vw !important; }
  .KitContent-module__containsItems { grid-template-columns: repeat(4, 1fr) !important; }
}