.Banner-module__img {
  max-height: 230px; /* или меньше, если хочешь */
  width: 100%;
  object-fit: cover; /* чтобы не растягивался */
  display: block !important; /* если ты раньше скрывал его */
  margin: 0 auto;
}

.Page-module__header {
  display: none !important;
}




/* ================================ */
/* ========== АППЕЛЯЦИЯ ============ */
/* ================================ */


.Page-module__wrapper.appeal-page {
  background: rgba(30, 31, 34, 0.75);
  padding: 60px 0;
  margin: 0;
  width: 100%; 
  border: none;
  border-radius: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.Page-module__wrapper.appeal-page .boxBody {
  width: 100%;
  max-width: unset;
  background: rgba(30, 31, 34, 0.85);
  box-shadow: none;
  padding: 0;
  display: flex;
  justify-content: center;
}


.appeal-box {
  width: 100%;
  max-width: unset;
  padding: 30px 40px;
  background: rgba(30, 31, 34, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Если нужно обнулить ограничение, которое задаёт центрирование */
.boxBody {
  display: block; /* или flex если нужно выравнивание */
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.appeal-header h2 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #ffffff;
}

.appeal-header p {
  font-size: 14px;
  color: #a0a0a0;
  margin-bottom: 20px;
}

.appeal-form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  font-size: 14px;
}

.appeal-form input {
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
  background: #2c2f36;
  color: white;
  margin-top: 6px;
}

.appeal-form input:focus {
  outline: 1px solid #49d663;
}

.btn-submit {
  background: #49d663;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #3eb759;
}

.appeal-status {
  margin-top: 12px;
  color: #49d663;
  font-size: 14px;
}

/* ================================ */
/* ========== МОНИТОРИНГ ============ */
/* ================================ */

.custom-monitoring-box {
  position: relative !important;
  overflow: hidden !important;
  background: rgba(30, 31, 34, 0.7) !important;
  padding: 25px 30px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  color: #fff !important;
  max-width: 460px !important;
  margin: 0 auto !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4) !important;
  font-family: "Segoe UI", sans-serif !important;
  z-index: 1 !important;
}

.square-grid {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  z-index: 1;
}

/* Отображение при наведении */
.custom-monitoring-box:hover .square-grid {
  opacity: 1 !important;
}

/* Элементы сетки */
.square-grid div {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  animation: fadeGrid 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

/* Анимация */
@keyframes fadeGrid {
  from {
    opacity: 0.2;
    transform: scale(1);
  }
  to {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

.custom-monitoring-header h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #ffffff;
}

.custom-monitoring-header p {
  font-size: 14px;
  color: #a0a0a0;
  margin-bottom: 20px;
}

.custom-monitoring-stats {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-monitoring-stats div {
  display: flex;
  justify-content: space-between;
}

.custom-monitoring-online {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-top: 10px;
  border-top: 1px solid #2e2f33;
}

.custom-map-link {
  color: #49d663;
  text-decoration: none;
  font-weight: bold;
}

.custom-map-link:hover {
  text-decoration: underline;
}

.custom-monitoring-progress {
  width: 100%;
  height: 8px;
  background-color: #2e2f33;
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0 20px;
}

.custom-monitoring-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #49d663, #3eb759);
  transition: width 0.4s ease;
  border-radius: 6px;
}


.btn-submit {
  background: #49d663;
  border: none;
  padding: 8px 14px
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-size: 14px;
}

.btn-submit:hover {
  background: #3eb759;
}
/*МОНИТОРИНГ*/
/*МОНИТОРИНГ*/
/*МОНИТОРИНГ*/

/* ================================ */
/* ========== TOASTer УВЕДОМЛЯЛКА ============ */
/* ================================ */

.custom-toast-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.custom-toast {
  background: #1e1f22;
  border-left: 4px solid #49d663;
  padding: 15px 20px;
  color: white;
  border-radius: 6px;
  display: flex;
  gap: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease-out;
}

.custom-toast svg {
  min-width: 20px;
  height: 20px;
  fill: #49d663;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================ */
/* ========== HEADER ВКЛАДКИ ВЕРХНИ ============ */
/* ================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');

:root {
  --accent: #bd3232;
  --bg-dark: #1c1c1c;
  --text-light: rgba(255, 255, 255, 0.85);
  --text-dim: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --accent-color-500: #5e8cbd;
  --accent-color-800: #2a6d9e;
  --green-light: #49d663;
  --green-dark: #2e8f4a;
}

/* Общий контейнер */
.container.headerContainer {
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

/* Основной хедер (весь блок) */
.Header-module__wrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  background-color: rgba(20, 20, 20, 0.75) !important; /* прозрачность */
  backdrop-filter: blur(6px) !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  margin: 22px auto !important;
  max-width: 1140px !important; /* выравниваем по контенту */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35) !important;
  box-sizing: border-box !important;
}

/* Навигация */
.HeaderNav-module__wrapper {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}


/* Лого блок */
.Header-module__logoWrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Иконка логотипа */
.Header-module__logoWrapper::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 34px;
  background-image: url('https://gspics.org/images/2025/07/28/IhlvRN.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Текст логотипа */
.Header-module__logoWrapper a {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 6px rgba(73, 214, 99, 0.4), 0 0 14px rgba(73, 214, 99, 0.2);
  transition: transform 0.25s ease;
}

.Header-module__logoWrapper a:hover {
  transform: scale(1.06);
}

/* Навигация */
.HeaderNav-module__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 18px; /* увеличено */
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  box-shadow: none; /* убрали внутреннюю рамку */
}

/* Иконки */
.HeaderNav-module__link::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  filter: brightness(1) drop-shadow(0 0 2px rgba(255,255,255,0.08));
}

/* Иконки по типам ссылок */
.HeaderNav-module__link[href="/"]::before {
  background-image: url('https://gspics.org/images/2025/05/25/IJeZhR.png');
}

.HeaderNav-module__link[href*="stats"]::before {
  background-image: url('https://gspics.org/images/2025/05/25/IJebME.png');
}

.HeaderNav-module__link[href*="appeal"]::before {
  background-image: url('https://gspics.org/images/2025/05/25/IJeebj.png');
}

.HeaderNav-module__link[href*="https://t.me/rustcoreru"]::before {
  background-image: url('https://gspics.org/images/2025/07/27/IhlrcE.webp');
}

/* Hover */
.HeaderNav-module__link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}

/* --- ОТДЕЛЬНЫЕ СТИЛИ КНОПОК --- */

/* SHOP — розовая */
.HeaderNav-module__link[href="/"] {
  background: linear-gradient(135deg, #e754d5, #b12bf4);
  color: #fff !important;
  box-shadow: 0 0 8px rgba(235, 100, 235, 0.4);
}

.HeaderNav-module__link[href="/"]:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 14px rgba(235, 100, 235, 0.65);
}

/* СТАТИСТИКА */
.HeaderNav-module__link[href*="stats"] {
  background: rgba(40, 50, 65, 0.5);
}

.HeaderNav-module__link[href*="stats"]:hover {
  color: #5e8cbd !important;
  box-shadow: 0 0 8px rgba(94, 140, 189, 0.4);
}

/* АПЕЛЛЯЦИЯ */
.HeaderNav-module__link[href*="appeal"] {
  background: rgba(36, 44, 40, 0.5);
}

.HeaderNav-module__link[href*="appeal"]:hover {
  color: #34e2c2 !important;
  box-shadow: 0 0 8px rgba(52, 226, 194, 0.4);
}

/* ТЕЛЕГРАМ */
.HeaderNav-module__link[href*="https://t.me/rustcoreru"] {
  background: rgba(24, 40, 32, 0.5);
  color: #91f5c9 !important;
}

.HeaderNav-module__link[href*="https://t.me/rustcoreru"]:hover {
  color: #49d663 !important;
  box-shadow: 0 0 10px rgba(145, 245, 201, 0.5);
}

/* Кнопка входа */
.PlayerMenu-module__loginLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  color: #fff !important;
  padding: 8px 16px;
  background: linear-gradient(135deg, #d2b06d, #8c6f3e);
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(212, 183, 111, 0.3);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* Hover эффект */
.PlayerMenu-module__loginLink:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #e1c57a, #a17c48);
  box-shadow: 0 0 16px rgba(212, 183, 111, 0.5);
}

/* Иконка Steam (внутри кнопки входа) */
.steam-icon-img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
  object-fit: contain;
  border-radius: 4px;
  background: transparent;
  display: inline-block;
}



/* Языки */
.LangSwitcher-module__wrapper {
  display: none !important;
}


/* Профиль игрока и баланс */


.custom-userbar {
  display: flex;
  align-items: center;
  gap: 8px; /* было 14px — стало меньше */
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border: none;
}

/* Баланс */
.custom-userbar .PlayerBalance-module__wrapper {
  all: unset;
  display: flex;
  align-items: center;
}

.custom-userbar .PlayerBalance-module__btn {
  all: unset;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.custom-userbar .PlayerBalance-module__btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.custom-userbar .PlayerBalance-module__btn span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e5e5e5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.balance-wallet-icon {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  filter: brightness(1.1);
}

/* Профиль */
.PlayerProfileBtn-module__userProfileContainer {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
}

.PlayerProfileBtn-module__playerInfo {
  display: none !important;
  align-items: center;
  min-width: 0;
}

.PlayerProfileBtn-module__playerName {
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.PlayerProfileBtn-module__wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.PlayerProfileBtn-module__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ================================ */
/* ========== МОДАЛЬНОЕ ОКНО ПРИ ПОПОЛНЕНИИ ============ */
/* ================================ */

.ModalLayout-module__modal.PlayerBalance-module__modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  background: rgba(30, 31, 34, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5) !important;
  padding: 28px 32px !important;
  width: 44% !important;
  max-width: 600px !important;
  min-width: 420px !important;
  box-sizing: border-box !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #fff !important;
}

/* Убираем лишнюю структуру */
.PlayerBalance-module__modal {
  all: unset !important;
  display: block !important;
}

/* Заголовок */
.PlayerBalanceModal-module__header {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  text-align: left !important;
  color: #fff !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Форма */
.PlayerBalanceModal-module__form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

/* Метка */
.PlayerBalanceModal-module__label {
  font-size: 14px !important;
  color: #bbbbbb !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Инпут wrapper */
.PlayerBalanceModal-module__inputWrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(44, 47, 54, 0.9) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* "RUB" */
.PlayerBalanceModal-module__currency {
  background: #49d663 !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 0 16px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* Input */
.PlayerBalanceModal-module__input {
  flex: 1 !important;
  padding: 12px 16px !important;
  padding-left: 12px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.PlayerBalanceModal-module__input:focus {
  outline: none !important;
  background: rgba(50, 55, 62, 0.95) !important;
}

/* Подвал с кнопками */
.PlayerBalanceModal-module__footer {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 24px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* Кнопки */
.Button-module__btn {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

/* Серая */
.Button-module__gray {
  background: rgba(70, 70, 78, 0.8) !important;
  color: #fff !important;
}

.Button-module__gray:hover {
  background: rgba(90, 90, 100, 0.9) !important;
}

/* Зелёная */
.Button-module__accent {
  background: #49d663 !important;
  color: #000 !important;
}

.Button-module__accent:hover {
  background: #3eb759 !important;
}

/* АНИМАЦИЯ ПОЯВЛЕНИЯ МОДАЛКИ ПОПОЛНИТЬ" */

.ModalLayout-module__modal {
  animation: fadeInModal 0.5s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/*КАСТОМ ПРИ ПОПОЛНЕНИИ*/


/* =============================== */
/* ========== ОСНОВНОЕ ========== */
/* =============================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');

:root {
  --accent: #bd3232;
  --bg-dark: #1c1c1c;
  --text-light: rgba(255, 255, 255, 0.85);
  --text-dim: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --accent-color-500: #5e8cbd;
  --accent-color-800: #2a6d9e;
  --primary-green: #49d663;
  --primary-green-dark: #3eb759;
  --input-bg: #2c2f36;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #131416;
  color: var(--text-light);
}


/* ================================ */
/* ========== МАГАЗИН ============ */
/* ================================ */


/* Контейнер магазина */
.Shop-module__wrapper {
  background: rgba(30, 31, 34, 0.65);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  font-family: 'Montserrat', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
}

/* Заголовок */
.Shop-module__header {
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Категории */
.Categories-module__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 3px; /* уменьшили расстояние между строками и колонками */
  justify-content: center;
  margin-bottom: 15px;
}

/* Кнопка категории */
.Categories-module__category {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ccc;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  transform: scale(1.10);
}

.Categories-module__category:hover,
.Categories-module__active {
  background-color: rgba(73, 214, 99, 0.12);
  border-color: rgba(73, 214, 99, 0.4);
  color: #49d663;
}

/* Поиск */
.Search-module__wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #2a2b2f !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  max-width: 420px !important;
  margin-bottom: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25) !important;
}

.Search-module__iconWrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1e1f22 !important;
  padding: 6px !important;
  border-radius: 6px !important;
}

.Search-module__icon {
  width: 16px !important;
  height: 16px !important;
  stroke: var(--primary-green) !important;
  stroke-width: 2 !important;
  opacity: 0.85 !important;
}

.Search-module__input {
  background: transparent !important;
  border: none !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  width: 100% !important;
  font-family: 'Montserrat', sans-serif !important;
  padding-left: 4px !important;
}

.Search-module__input::placeholder {
  color: #888 !important;
}

/* ========== УЛУЧШЕННЫЕ КАРТОЧКИ ============ */

/* Контейнер товаров */
.Products-module__wrapper {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Карточка */
.Product-module__wrapper {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.Product-module__wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(73, 214, 99, 0.2);
}

/* Изображение */
.Product-module__img {
  opacity: 1;
  transition: transform 0.2s ease;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Название и цена */
.Product-module__price,
.Product-module__name,
.Product-module__count {
  font-size: 13px;
  color: #eee;
  margin-bottom: 4px;
  text-align: center;
}

/* Последний элемент без отступа */
.Product-module__count {
  margin-bottom: 0;
}

/* Сообщение об ошибке / пустом списке */
.errorMessage {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-top: 20px;
}

/* Футер */
.boxFooter {
  margin-top: 40px;
  font-size: 12px;
  color: #777;
  text-align: center;
  line-height: 1.6;
}

/* Ссылки в футере */
.ShopFooter-module__links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ShopFooter-module__link {
  color: #49d663;
  text-decoration: none;
  transition: 0.2s;
}

.ShopFooter-module__link:hover {
  text-decoration: underline;
}

/* ================================ */
/* ====== МОДАЛЬНОЕ ОКНО ВЕЩИ ========= */
/* ================================ */

.ProductModal-module__item {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999;
  background: rgba(30, 31, 34, 0.65) !important; /* Прозрачность 65% */
  backdrop-filter: blur(4px);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  padding: 24px;
  color: #ffffff;
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
}

/* Заголовок модалки — без выделения */
.ProductModal-module__header {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #fff !important;
  border: none !important;
}

/* Изображение товара */
.productModalImg {
  display: block;
  margin: 0 auto 20px;
  max-width: 180px;
}

/* Обертка формы */
.ProductModal-module__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Формы и поля */
.productModalFormRow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.productModalFormRowItem {
  flex: 1;
}

.TotalSum-module__label,
.CountSelector-module__label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #cccccc;
}

.TotalSum-module__inputWrapper {
  position: relative;
}

/* Валюта ("RUB") */
.TotalSum-module__currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a0a0;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  background: none;
  padding: 0;
  z-index: 1;
}

/* Сам input — отступ слева под "RUB" */
.TotalSum-module__input {
  padding-left: 50px;
}

.CountSelector-module__input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.CountSelector-module__changeCountBtn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.CountSelector-module__icon {
  width: 20px;
  height: 20px;
}

/* Подсказка */
.productModalGiveText {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #e74c3c;
  text-align: center;
}

/* Подвал с кнопками */
.ItemContent-module__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}



/* ========== СТРАНИЦА ПРОФИЛЯ ========== */

/* Контейнер профиля */
.Profile-module__wrapper {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  font-family: 'Montserrat', sans-serif;
}

/* Левая панель навигации */
.ProfileNav-module__wrapper {
  background: #1e1f22;
  padding: 25px 30px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 0 12px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Заголовок навигации (аватар и имя) */
.ProfileNav-module__header {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 20px;
}

.ProfileNav-module__img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid #49d663;
  object-fit: cover;
}

.ProfileNav-module__name {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

/* Навигационные ссылки */
.ProfileNav-module__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ProfileNav-module__navItem {
  padding: 10px 14px;
  border-radius: 6px;
  background: #2c2f36;
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.ProfileNav-module__navItem:hover,
.ProfileNav-module__active {
  background: #49d663;
  color: #000;
}

/* Кнопка выхода */
.ProfileNav-module__logOut {
  background: #bd3232 !important;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
}

.ProfileNav-module__logOut:hover {
  background: #a72828 !important;
}

/* Правая часть профиля */
.ProfileContent-module__wrapper {
  flex: 1;
  background: #1e1f22;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.45);
}

/* Заголовок */
.ProfileContent-module__header {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Контент профиля */
.ProfileContent-module__title {
  color: #ccc;
  font-weight: 500;
  margin-bottom: 12px;
  display: inline-block;
  font-size: 15px;
}

/* Блок информации */
.ProfileContent-module__infoWrapper {
  background: #2c2f36;
  padding: 18px 22px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.ProfileContent-module__infoLine {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #3a3d46;
  padding: 10px 0;
  font-size: 14px;
  color: #aaa;
}

.ProfileContent-module__infoLine:last-child {
  border-bottom: none;
}

/* Ссылки и значения */
.ProfileContent-module__infoLineValue {
  font-weight: 600;
  color: #fff;
}

/* Ввод промокода */
.ProfileContent-module__inputWrapper {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.ProfileContent-module__input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  background: #2c2f36;
  border: none;
  color: white;
  font-size: 14px;
}

.ProfileContent-module__input::placeholder {
  color: #888;
}

/* Кнопка "Применить" */
.ProfileContent-module__usePromoBtn {
  background: #49d663;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ProfileContent-module__usePromoBtn:hover {
  background: #3eb759;
}


/* ================================ */
/* ========== КОРЗИНА ============ */
/* ================================ */

.BasketContent-module__wrapper {
  background: #1e1f22 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Montserrat', sans-serif !important;
  max-width: 1200px !important;
  margin: 40px auto !important;
}

.BasketContent-module__header {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Поиск */
.BasketSearch-module__wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #2a2b2f !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  max-width: 420px !important;
  margin-bottom: 24px !important;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25) !important;
}

.BasketSearch-module__iconWrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1e1f22 !important;
  padding: 6px !important;
  border-radius: 6px !important;
}

.BasketSearch-module__icon {
  width: 16px !important;
  height: 16px !important;
  stroke: var(--primary-green) !important;
  stroke-width: 2 !important;
  opacity: 0.85 !important;
}

.BasketSearch-module__input {
  background: transparent !important;
  border: none !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  width: 100% !important;
  font-family: 'Montserrat', sans-serif !important;
  padding-left: 4px !important;
}

/* Удаляем селектор серверов */
.Selector-module__dropDownWrapper,
.Selector-module__dropDownCurrentItem {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Таблица товаров */
.BasketTable-module__tableHeader,
.BasketTable-module__tableLine {
  display: flex !important;
  justify-content: space-between !important;
  padding: 14px 22px !important;
  background: #2a2b2f !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  align-items: center !important;
}

.BasketTable-module__tableTitle {
  color: #a0a0a0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.BasketTable-module__value {
  color: white !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.BasketTable-module__tableTitle:nth-of-type(2),
.BasketTable-module__serverInfoWrapper {
  display: none !important;
}

/* Изображение и название товара */
.BasketTable-module__itemImg {
  width: 42px !important;
  height: 42px !important;
  margin-right: 14px !important;
  border-radius: 6px !important;
  background-color: #1e1f22 !important;
}

.BasketTable-module__productNameWrapper {
  display: flex !important;
  align-items: center !important;
}

.BasketTable-module__productInfoWrapper {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Пагинация */
.Pagination-module__pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 30px !important;
}

.Pagination-module__page,
.Pagination-module__navPageBtn {
  background: #2a2b2f !important;
  color: white !important;
  border: none !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background 0.2s ease !important;
}

.Pagination-module__page:hover,
.Pagination-module__navPageBtn:hover {
  background: var(--primary-green) !important;
  color: black !important;
}

.Pagination-module__active {
  background: var(--primary-green) !important;
  color: black !important;
}

/* ================================ */
/* ========== ИСТОРИЯ ============ */
/* ================================ */

.HistoryContent-module__wrapper {
  background: #1e1f22;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
  font-family: 'Montserrat', sans-serif;
  max-width: 1200px;
  margin: 40px auto;
}

.HistoryContent-module__header {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Поиск истории */
.HistorySearch-module__wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 400px;
  margin-bottom: 20px;
}

.HistorySearch-module__iconWrapper {
  display: flex;
  align-items: center;
}

.HistorySearch-module__icon {
  width: 20px;
  height: 20px;
  stroke: var(--primary-green);
}

.HistorySearch-module__input {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  outline: none;
  width: 100%;
}

/* Таблица истории */
.HistoryTable-module__tableHeader,
.HistoryTable-module__tableLine {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr; /* Детали | Дата | Сумма */
  align-items: center;
  gap: 12px;
  background: #2a2b2f;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 10px;
}

.HistoryTable-module__tableLine .HistoryTable-module__value {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.HistoryTable-module__tableTitle {
  color: #888;
  font-weight: 500;
  font-size: 13px;
}

.HistoryTable-module__value {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

/* Пагинация */
.Pagination-module__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.Pagination-module__page,
.Pagination-module__navPageBtn {
  background: var(--input-bg);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.Pagination-module__active {
  background: var(--primary-green);
  color: black;
}


/* ================================ */
/* ========== ОШИБКА PAGE  ============ */
/* ================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

.dev-notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.dev-notice-box {
  position: relative;
  background: rgba(30, 31, 34, 0.92);
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  max-width: 500px;
  width: 90%;
  text-align: center;
  color: #ffffff;
}

.dev-notice-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dev-notice-subtext {
  font-size: 15px;
  color: #bbbbbb;
}

.dev-notice-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dev-notice-close:hover {
  color: #fff;
}



/* ================================ */
/* ========== ПРАВИЛА ============ */
/* ================================ */

.server-rules-widget {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
  max-width: 320px !important;
}

.square-grid {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  z-index: 1;
}

.server-rules-widget:hover .square-grid {
  opacity: 1 !important;
}

.square-grid div {
  background-color: rgba(255, 255, 255, 0.06) !important; /* ЯРЧЕ */
  border-radius: 4px !important;
  animation: fadeGrid 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

@keyframes fadeGrid {
  from { opacity: 0.2; transform: scale(1); }
  to   { opacity: 0.6; transform: scale(1.08); }
}


.server-rules-widget:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.rules-icon img {
  width: 30px !important;
  height: 30px !important;
  filter: invert(1) !important;
}

.rules-text {
  color: #ccc !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-family: 'Montserrat', sans-serif !important;
}

.rules-text strong {
  font-size: 16px !important;
  display: block !important;
  color: #fff !important;
  margin-bottom: 6px !important;
}

.rules-text span {
  font-size: 12px !important;
}

/* Модалка */
.rules-modal {  
  background: rgba(30, 31, 34, 0.35) !important; /* Прозрачность 65% */
  backdrop-filter: blur(4px);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  display: none;
  position: fixed !important;
  z-index: 9999 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  justify-content: center !important;
  align-items: center !important;
  overflow-y: auto !important; 
}

.rules-modal-content {
  background: #1e1f22 !important;
  padding: 40px 30px !important;
  padding-top: 100px !important;
  border-radius: 12px !important;
  width: 90% !important;
  max-width: 1000px !important;
  color: white !important;
  font-family: 'Montserrat', sans-serif !important;
  position: relative !important;
  overflow: hidden !important; /* фикс чтобы не вылазило */
}

.rules-modal-content h2 {
  font-size: 24px !important;
  margin-bottom: 20px !important;
  font-weight: 700 !important;
}

.rules-modal-content h3 {
  font-size: 18px !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  color: #dcdcdc !important;
  font-weight: 600 !important;
}

.rules-modal-content ol {
  padding-left: 20px !important;
  margin: 0 0 15px 0 !important;
}

.rules-modal-content ol li {
  margin-bottom: 10px !important;
  line-height: 1.6 !important;
  font-size: 15px !important;
}

.rules-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 18px !important;
  background: none !important;
  border: none !important;
  color: white !important;
  font-size: 24px !important;
  cursor: pointer !important;
}

.rules-modal-header h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  margin: 0 0 20px !important;
  color: #fff !important;
}

.rules-modal-body {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #ddd !important;
}

.rules-modal-body h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin-top: 30px !important;
  margin-bottom: 12px !important;
  border-left: 4px solid var(--primary-green, #00ff80) !important;
  padding-left: 12px !important;
}

.rules-modal-body ol {
  margin: 0 !important;
  padding-left: 22px !important;
}

.rules-modal-body li {
  margin-bottom: 10px !important;
}

.rules-modal-footer {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 24px !important;
}

.rules-modal-btn {
  background-color: var(--primary-green, #4caf50) !important;
  color: white !important;
  padding: 10px 20px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3) !important;
  transition: background 0.2s ease-in-out !important;
}

.rules-modal-btn:hover {
  background-color: #45a049 !important;
}


/* ================================ */
/* ==========ВК ВИДЖЕТ============ */
/* ================================ */

.vk-custom-widget {
  display: flex !important;
  align-items: center !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(4px) !important;
  font-family: 'Montserrat', sans-serif !important;
  color: white !important;
  gap: 14px !important;
}

.vk-icon-wrapper img {
  width: 28px !important;
  height: 28px !important;
  filter: invert(1) !important;
}

.vk-info {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

.vk-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}

.vk-sub {
  font-size: 12px !important;
  color: #aaa !important;
}

.vk-button-wrapper {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
}

.vk-button {
  background: white !important;
  color: black !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  transition: background 0.2s ease !important;
  text-decoration: none !important;
}

.vk-button:hover {
  background: #eaeaea !important;
}

.ShopFooter-module__links a:last-child {
  display: none !important;
}


/* ================================ */
/* ========== СТАТИСТИКА ============ */
/* ================================ */

.custom-stats-container {
  background: rgba(30, 31, 34, 0.7);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.custom-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.custom-stats-table th,
.custom-stats-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-stats-table th {
  color: #ccc;
  font-weight: 600;
  font-size: 14px;
}

.custom-stats-table td a {
  color: #4ea1ff;
  text-decoration: none;
}

.custom-stats-table td a:hover {
  text-decoration: underline;
}

.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.custom-pagination button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-pagination button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.custom-pagination button.active {
  background: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #4ea1ff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 8px;
}