@import "https://ch3rn1k.me/archive/fonts/web/CeraPro/CeraPro.css";

/* Импорт шрифта Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Скрытие кнопки "Магазин" */
.HeaderNav-module__link[href="/"] {
  display: none !important;
}

/* Глобальное принудительное применение шрифта ко всем элементам */
* {
  font-family: 'CeraPro', sans-serif !important;
}

/* Общие стили и шрифт для всего сайта */
body, button, input, select, textarea {
  font-family: 'CeraPro', sans-serif;
  letter-spacing: -0.01em;
}

/* Общие стили для прозрачной панели */
.container.headerContainer {
  background-color: transparent;
}

.Header-module__wrapper {
  background-color: transparent;
  backdrop-filter: none;
}

/* Стили для размытых прозрачных кнопок */
.HeaderNav-module__link,
.SupportLink-module__link,
.LangSwitcher-module__btn,
.PlayerBalance-module__btn,
.PlayerMenu-module__profileLink,
.PlayerMenuMobile-module__mobileMenuBtn,
.PlayerMenuMobile-module__profileLink,
.CrosseCloseBtn-module__btn {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 8px;
  padding: 8px 14px;
  transition: all 0.3s ease;
  box-shadow: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Специальные стили для кнопки баланса */
.PlayerBalance-module__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Скрываем текст "Баланс: " и добавляем иконку кошелька */
.PlayerBalance-module__btn span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("https://i.postimg.cc/Bn0mX4p4/wallet.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 4px;
  vertical-align: middle;
}

.PlayerBalance-module__btn span {
  display: flex;
  align-items: center;
}

/* Скрыть ТОЛЬКО слово "Баланс: " но оставить сумму */
.PlayerBalance-module__btn span {
  font-size: initial;
}

.PlayerBalance-module__btn span::first-word {
  display: none;
}

/* Специальные стили для кнопки переключателя языка */
.LangSwitcher-module__btn {
  padding: 4px 8px;
  min-width: 30px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Уменьшение размера текста для переключателя языка */
span.LangSwitcher-module__currentLang {
  font-size: 12px;
  font-weight: 600;
}

.HeaderNav-module__link:hover,
.SupportLink-module__link:hover,
.LangSwitcher-module__btn:hover,
.PlayerBalance-module__btn:hover,
.PlayerMenu-module__profileLink:hover,
.PlayerMenuMobile-module__mobileMenuBtn:hover,
.PlayerMenuMobile-module__profileLink:hover,
.CrosseCloseBtn-module__btn:hover {
  background-color: transparent;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: none;
  border: none;
}

/* Стили для текста внутри кнопок */
.HeaderNav-module__link *,
.SupportLink-module__link *,
.LangSwitcher-module__btn *,
.PlayerBalance-module__btn *,
.PlayerMenu-module__profileLink *,
.PlayerMenuMobile-module__mobileMenuBtn *,
.PlayerMenuMobile-module__profileLink * {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

/* Стили для кнопок выбора языка и баланса */
.LangSwitcher-module__btn,
.PlayerBalance-module__btn {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.LangSwitcher-module__btn:hover,
.PlayerBalance-module__btn:hover {
  background-color: transparent;
  box-shadow: none;
  color: #fff;
  transform: translateY(-1px);
}

/* Стили для текста баланса */
.PlayerBalance-module__btn span {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.PlayerBalance-module__btn:hover span {
  color: #fff;
}

/* Стили для текста языка */
.LangSwitcher-module__currentLang {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.LangSwitcher-module__btn:hover .LangSwitcher-module__currentLang {
  color: #fff;
}

/* Стили для меню языка */
.LangSwitcher-module__list {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.LangSwitcher-module__lang {
  background-color: transparent;
  transition: all 0.3s ease;
  border-radius: 6px;
  margin: 4px;
  font-weight: 500;
  font-size: 12px;
  padding: 4px 8px;
}

.LangSwitcher-module__lang:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #531269;
}

/* Мобильное меню */
.PlayerMenuMobile-module__menuWrapper,
.PlayerMenuMobile-module__menu {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.boxHeader.PlayerMenuMobile-module__header,
.boxBody.PlayerMenuMobile-module__body {
  background-color: transparent;
}

/* Дополнительные стили для элементов внутри мобильного меню */
.PlayerMenuMobile-module__body .HeaderNav-module__link,
.PlayerMenuMobile-module__body .SupportLink-module__link {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Стили для виджета мониторинга серверов */
.MonitoringServer-module__wrapper {
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 0;
  background: #0c0f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.MonitoringServer-module__name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.MonitoringServer-module__progressWrapper {
  width: 100%;
  margin-bottom: 5px;
}

.MonitoringServer-module__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
}

.MonitoringServer-module__btns {
  display: flex;
}

.MonitoringServer-module__btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 5px;
  padding: 0;
}

.MonitoringServer-module__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.MonitoringServer-module__icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.MonitoringServer-module__icon:hover,
.MonitoringServer-module__btn:hover .MonitoringServer-module__icon {
  color: #531269;
  stroke: #531269;
}

.MonitoringServer-module__progressBarAnim {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, rgba(83, 18, 105, 0.1) 0%, #531269 50%, rgba(83, 18, 105, 0.1) 100%);
  animation: animate 2s linear infinite;
  background-size: 200%;
  border-radius: 3px;
}

/* Стили для лоадера обновления */
.MonitoringWidget-module__updatingLoaderWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.Loader-module__loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(83, 18, 105, 0.2);
  border-radius: 50%;
  border-top-color: #531269;
  animation: spin 1s ease-in-out infinite;
}

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

@keyframes animate {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* Анимация градиента для элементов */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Стили для кнопок категорий */
.Categories-module__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.Categories-module__category {
  background: rgba(255,255,255,.1);
  border-radius: 7.5px;
  color: rgba(255,255,255,.7);
  margin-left: 5px;
  padding: 8px 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.Categories-module__category:hover {
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  transform: scale(1);
}

.Categories-module__category.Categories-module__active {
  background: linear-gradient(135deg, #531269, #410e53, #33093e);
  border: none;
  color: #fff;
  font-weight: 400;
  transform: scale(1.10) !important;
}

.Categories-module__category.Categories-module__enableFocus:focus {
  background: linear-gradient(135deg, #531269, #410e53, #33093e);
  color: #fff;
}

/* Переопределение дефолтных стилей кнопок */
button.Categories-module__category,
button[type="button"].Categories-module__category {
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(255,255,255,.7);
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

button.Categories-module__category:active,
button[type="button"].Categories-module__category:active {
  background: rgba(255,255,255,.15);
}

button.Categories-module__category.Categories-module__active,
button[type="button"].Categories-module__category.Categories-module__active {
  background: linear-gradient(135deg, #531269, #410e53, #33093e) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 400 !important;
  transform: scale(1.10) !important;
}

/* Удаление возможных фокусных состояний браузера */
.Categories-module__enableFocus:focus,
.Categories-module__enableFocus:focus-visible,
.Categories-module__enableFocus:focus-within {
  outline: none;
  box-shadow: none;
}

/* Конец стилей для кнопок категорий */

/* Стили для карточек продуктов */
.Product-module__wrapper {
  background: #dfdfdf12;
  border-radius: 10px;
  box-shadow: 0 0 5px 0 rgba(0 0 0 / 95%);
  transition: all .2s;
  position: relative;
  cursor: pointer;
}

.Product-module__wrapper:hover {
  -moz-transform: scale(1.07);
  -o-transform: scale(1.07);
  -webkit-transform: scale(1.07);
  box-shadow: 0 0 40px 0 #0b0c17;
  transform: scale(1.07);
}

.Product-module__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

.Product-module__price {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--product-items-trans-bg-color);
  padding: 3px 6px;
  border-radius: 0 0 2px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  background: rgba(255,255,255,.15);
}

.Product-module__name {
  font-size: 14px;
  text-align: center;
  text-shadow: 0 0 8px #000;
  transition: all .4s;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.Product-module__wrapper:hover .Product-module__name {
  backface-visibility: hidden;
  background: linear-gradient(135deg, #531269, #410e53, #33093e);
  border-radius: 0 0 10px 10px;
  opacity: 1;
  padding: 1px 10px;
}

.Product-module__discount {
  background: linear-gradient(to right,#f00 0,#f13939 100%);
  background-size: 400% 400%;
  animation: gradient 5s ease infinite;
  border-radius: 90px;
  top: 10px;
  right: 10px;
  opacity: 1;
  font-weight: 600;
  box-shadow: 0px 5px 15px -6px #1d1d1d;
  z-index: 3;
  color: #fff;
  position: absolute;
  padding: 3px 6px;
}

/* Удаляем стили, которые могут конфликтовать */
.Product-module__wrapper::after {
  display: none;
}

/* Стили для поисковой строки из styles.css */
.Search-module__iconWrapper {
  background: rgba(255,255,255,.08);
  border-radius: 15px 0 0 15px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Search-module__icon {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,.7);
}

.Search-module__input {
  background: rgba(255,255,255,.04);
  border-radius: 0 15px 15px 0;
  color: rgba(255,255,255,.7);
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 14px;
  width: 100%;
  height: 40px;
}

.Search-module__input:focus {
  background: rgba(255,255,255,.08);
}

.Search-module__wrapper {
  background: none;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Стили для модального окна */
.ModalLayout-module__modal.ProductModal-module__item {
  background: rgba(12, 15, 31, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  max-width: 450px !important;
  width: 100% !important;
  margin: 0 auto !important;
  position: relative !important;
}

.ProductModal-module__header.boxHeader {
  background: rgba(12, 15, 31, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 15px 15px 0 0 !important;
  padding: 20px !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: -0.02em !important;
}

.boxBody {
  background: rgba(12, 15, 31, 0.05) !important;
  padding: 20px !important;
  border: none !important;
}

.productModalImg {
  max-width: 200px !important;
  height: auto !important;
  margin: 0 auto 20px !important;
  display: block !important;
  border-radius: 10px !important;
}

.productModalFormRow {
  display: flex !important;
  gap: 15px !important;
  margin-bottom: 15px !important;
}

.productModalFormRowItem {
  flex: 1 !important;
}

.TotalSum-module__label,
.CountSelector-module__label {
  display: block !important;
  margin-bottom: 8px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
}

.ItemContent-module__footer.boxFooter {
  background: rgba(12, 15, 31, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 0 0 15px 15px !important;
  padding: 20px !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.Button-module__btn {
  min-width: 120px !important;
  text-align: center !important;
}

.Button-module__btn.Button-module__gray {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  order: -1 !important;
}

.Button-module__btn.Button-module__accent {
  background: rgba(83, 18, 105, 0.3) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.Button-module__btn.Button-module__gray:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.Button-module__btn.Button-module__accent:hover {
  background: rgba(83, 18, 105, 0.4) !important;
  box-shadow: 0 4px 15px rgba(83, 18, 105, 0.2) !important;
}

.productModalGiveText {
  background: rgba(83, 18, 105, 0.1) !important;
  border-radius: 8px !important;
  padding: 10px !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  margin-top: 15px !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

.TotalSum-module__currency {
  background: rgba(83, 18, 105, 0.2) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

.TotalSum-module__inputWrapper {
  width: 100%;
  display: flex;
  height: 36px;
  overflow: hidden;
  background: rgba(12, 15, 31, 0.1) !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.TotalSum-module__input {
  width: 100%;
  padding: 0 15px;
  font-family: inherit;
  letter-spacing: -0.01em;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.CountSelector-module__inputWrapper {
  width: 100%;
  display: flex;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(12, 15, 31, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.CountSelector-module__changeCountBtn {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  padding: 8px 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.CountSelector-module__changeCountBtn.CountSelector-module__left {
  border-right: 2px solid var(--bg-color-800);
  border-radius: 10px 0px 0px 10px;
}

.CountSelector-module__changeCountBtn.CountSelector-module__right {
  border-radius: 0px 10px 10px 0px;
}

.CountSelector-module__input {
  padding: 0 15px;
  background: transparent !important;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-align: center;
  color: rgba(255, 255, 255, 0.9) !important;
}

.CountSelector-module__changeCountBtn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Переменные CSS */
:root {
  --font-color-700: #fff;
  --font-color-800: rgba(255, 255, 255, .7);
  --font-color-900: #7b7b7b;
  --bg-color-800: #202020;
  --bg-color-700: #282828;
  --bg-color-900: #1d1b1a;
  --product-items-trans-bg-color: rgba(0, 0, 0, .4);
}

/* Стили для логотипа с изображением */
.Header-module__logo {
    display: block;
    background-image: url('https://i.imgur.com/tOBq0s2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 40px;
    text-indent: -9999px;
    overflow: hidden;
}

/* Стили для профиля */
.PlayerMenu-module__profileLink {
  position: relative;
  padding-left: 14px; /* Уменьшаем отступ слева */
}

/* Стили для мобильной версии профиля */
.PlayerMenuMobile-module__profileLink {
  position: relative;
  padding-left: 14px; /* Уменьшаем отступ слева */
}

/* Стили для социальных кнопок */
.social-box a {
  transition: all 0.3s ease !important;
}

.social-box a:hover {
  background: rgba(83, 18, 105, 0.25) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 25px rgba(83, 18, 105, 0.35) !important;
}

.social-box .socicon {
  transition: all 0.3s ease;
}

.social-box a:hover .socicon {
  transform: scale(1.1);
}

/* Стили для виджета социальных сетей */
.xbox__header {
  background: #0c0f1f;
  box-shadow: 0 8px 32px rgba(12, 15, 31, 0.35);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.xbox__header h4 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.social-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.social-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 14px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transform: translateY(0);
  will-change: transform;
}

.social-box .socicon {
  margin-right: 12px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: all 0.3s ease;
}

.social-box span {
  font-size: 15px;
  letter-spacing: 0.5px;
}

.social-box a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35) !important;
}

.social-box a:hover .socicon {
  transform: scale(1.1);
}

.MonitoringWidget-module__header,
.MonitoringWidget-module__body,
.boxHeader,
.boxBody,
.boxFooter {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0;
  transition: all 0.3s ease;
}

.MonitoringWidget-module__updateBtn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

.MonitoringWidget-module__updateBtn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

/* Стили для окна мониторинга */
.MonitoringWidget-module__body.boxBody {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.MonitoringServer-module__wrapper {
  margin: 0 !important;
  border: none !important;
  background: rgba(12, 15, 31, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

.MonitoringWidget-module__updatingLoaderWrapper {
  min-height: 50px !important;
}

.MonitoringWidget-module__header,
.MonitoringWidget-module__body {
  border: none !important;
  background: transparent !important;
}

.Shop-module__header.boxHeader {
  display: none !important;
}