.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  
  .Categories-module__categories button {
    --button-text-color: #777;
    background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
    border: none;
    color: var(--button-text-color);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: visible;
    margin-right: 8px;
    transition: transform 0.1s ease-in-out;
  }
  
  .Categories-module__categories button:hover {
    color: var(--button-text-color);
  }
  
  .Categories-module__categories button::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
  }
  
  .Categories-module__categories button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 6px;
    height: 92%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
    transform: skewY(45deg) translateY(-4px);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  }
  
  .Categories-module__categories button::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -7px;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    transform: skewX(45deg) translateX(4px);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  }
  
  .Categories-module__categories button:active {
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.6);
    transform: translate(-3px, -3px);
  }
  
  .Categories-module__categories .Categories-module__active.Categories-module__active {
    background: linear-gradient(to bottom, #b6b6b6, #868686);
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  }
  
  .Categories-module__category.Categories-module__enableFocus {
    --button-text-color: #999;
    color: var(--button-text-color) !important;
  }
  
  .Categories-module__category .spark {
        position: absolute;
        width: 3px;
        height: 3px;
        background-color: #ff9800;
        border-radius: 50%;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.7s ease-out;
      }
  
      .Categories-module__category.sparkle .spark {
        opacity: 1;
      }
  /* Значки товаров*/
  .Product-module__wrapper {
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  border: none;
  color: var(--button-text-color);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 20px;
  position: relative;
  overflow: visible;
  transition: transform 0.1s ease-in-out;
  width: 120px; /* Уменьшаем ширину */
  height: 120px; /* Уменьшаем высоту */
    margin: 10px; /* Добавляем отступы между элементами */
}

.Product-module__wrapper:hover {
  color: var(--button-text-color);
}

.Product-module__wrapper::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 3px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
}

.Product-module__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -8px; /* Увеличиваем отступ слева */
  width: 10px; /* Увеличиваем ширину */
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
  transform: skewY(45deg) translateY(-6px); /* Увеличиваем сдвиг по оси Y */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4); /* Увеличиваем размер тени */
}

.Product-module__wrapper::before {
  content: "";
  position: absolute;
  top: -8px; /* Увеличиваем отступ сверху */
  left: -10px; /* Увеличиваем отступ слева */
  width: 100%;
  height: 10px; /* Увеличиваем высоту */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  transform: skewX(45deg) translateX(6px); /* Увеличиваем сдвиг по оси X */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4); /* Увеличиваем размер тени */
}

.Product-module__wrapper:active {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.6); /* Увеличиваем размер внутренней тени */
  transform: translate(-4px, -4px); /* Увеличиваем сдвиг при активации */
}

.Product-module__name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to bottom, rgba(214, 214, 214, 0.8), rgba(166, 166, 166, 0.8));
  color: #565555;
  font-size: 12px;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(100%);
  text-align: center;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
}


.Product-module__wrapper:hover .Product-module__name {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

  .Product-module__img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
   /* Строка поиска*/

.Search-module__wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(to bottom right, #4c4c4c, #a0a0a0);
  padding: 10px;
  
  overflow: visible;
}

.Search-module__iconWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #d6d6d6;
  margin-right: 10px;
  margin-left: -15px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.Search-module__icon {
  width: 20px;
  height: 20px;
  color: #777;
}

.Search-module__input {
  flex: 1;
  border: none;
  background-color: transparent;
  color: #bfbfbf;
  font-size: 16px;
  outline: none;
}

.Search-module__wrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 6px;
  background: 
    linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 100% 5px, calc(100% - 2px) 1px;
  background-position: 0 0, 5px 100%;
  background-repeat: no-repeat;
  transform: skewX(0deg) translateX(-8px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}




.Search-module__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 6px;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent, rgba(229, 229, 229, 0.9), rgba(229, 229, 229, 0.5)),
    linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
  background-size: 1px 100%, 100% 100%;
  background-position: 5px 0, 0 0;
  background-repeat: no-repeat;
  transform: skewY(0deg) translateY(0px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  z-index: 2;
}




.Search-module__iconWrapper {
  z-index: 2;
}



.errorMessage {
  --button-text-color: #cb802a;
  color: var(--button-text-color);
}

.Search-module__input::placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f2b00a;
  pointer-events: none;
  opacity: 0;
}

@keyframes moveLight {
    0%, 100% { background-position: 100% 0%; }
    25% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    75% { background-position: 100% 100%; }
}

.light-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, 
            rgba(255,255,200,0.5) 0%, 
            rgba(255,255,200,0.3) 5%, 
            rgba(255,255,200,0) 15%),
        radial-gradient(circle at 50% 50%, 
            rgba(200,220,255,0.3) 0%, 
            rgba(200,220,255,0.2) 15%, 
            rgba(200,220,255,0) 30%);
    background-size: 200% 200%;
    animation: moveLight 45s linear infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}



.Product-module__price {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: #8b8b8b;
  font-weight: bold;
  font-size: 12px;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  padding: 2px 5px;
  z-index: 2;
  white-space: nowrap;
}

.Product-module__count {
  position: absolute;
  bottom: 1px; /* 1 пиксель от нижнего края */
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: #777; /* Цвет как у активной кнопки */
  font-weight: bold;
  font-size: 12px;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  padding: 2px 5px;
  z-index: 2;
  white-space: nowrap;
  min-width: 20px; /* Минимальная ширина для лучшей видимости */
  text-align: center;
}

body {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.Shop-module__header {
  position: relative !important;
  overflow: visible !important;
  background-color: #282828 !important;
  text-align: center;
  letter-spacing: 3px; /* Увеличиваем расстояние между буквами */
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 2px,
      transparent 4px
    ) !important;
  margin-left: -25px !important;
  --button-text-color: #999;
    color: var(--button-text-color);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  z-index: 10 !important;
}
/* Стили для всех h2 на сайте */
h2 {
  
  
  /* Наклон текста */
  font-style: italic !important;
  display: inline-block !important;
  transform: skew(45deg) !important;
}


.boxBody {
  position: relative !important;
  overflow: visible !important;
  background: #504f4f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3) !important;

}

.boxBody::before {
  content: '' ;
  position: absolute ;
  top: -51px ;
  left: -50.5px ;
  width: 50px ;
  height: calc(100% + 50px) ;
  background-color: #282828 ;
  background-image: 
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    ) ;
clip-path: polygon(
    0 0,
    calc(100% - 50px) 0,
    100% 50px,
    100% 100%,
    0 calc(100% - 50px)
  ) !important;

}


.boxBody::after {
  content: '' !important;
  position: absolute !important;
  top: -50px !important;
  left: -50px !important;
  width: 71px !important; /* √(50² + 50²) ≈ 71 */
  height: 2px !important; /* Толщина линии */
  background: linear-gradient(to left, rgba(255, 255, 255, 0.5), transparent) !important;
  transform: rotate(45deg) !important;
  transform-origin: top left !important;
  z-index: 1 !important;
}

/* пол */

.boxFooter {
  position: relative;
  margin-bottom: 50px !important;
  background: linear-gradient(
    45deg,
    #b87333 0%,
    #cd7f32 25%,
    #e6b17f 50%,
    #cd7f32 75%,
    #b87333 100%
  );
  background-size: 200% 200%;
  animation: bronzeShine 15s ease infinite;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.boxFooter::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -51px;
  width: 50px;
  height: calc(100% + 50px);
  background: inherit; /* Наследует фон от родителя */
  clip-path: polygon(
    0 0,
    100% 50px,
    100% 100%,
    0 calc(100% - 50px)
  );
}

@keyframes bronzeShine {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}


.Widgets-module__wrapper {
  position: relative;
  min-width: 200px;
  max-width: calc(100% - 20px); /* ограничиваем максимальную ширину */
  margin-right: 65px;
}

.MonitoringWidget-module__header {
  position: relative;
  --button-text-color: #999;
    color: var(--button-text-color) !important;
  width: 100%;
  text-align: center;
  margin-left: -25px !important;
  background-color: #282828; /* Базовый цвет фона */
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 2px,
      transparent 4px
    ) !important;
}

.MonitoringServer-module__info {
  color: #b0b0b0; /* Базовый серебристый цвет */
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.3),
    0 -1px 1px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #d0d0d0, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: normal; /* Изменено с bold на normal */
}

.MonitoringServer-module__name {
  color: #b0b0b0; /* Базовый серебристый цвет */
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.3),
    0 -1px 1px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #d0d0d0, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: normal;
}

p {
  color: #b0b0b0; /* Базовый серебристый цвет */
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.3),
    0 -1px 1px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #d0d0d0, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: normal;
}



.Button-module__btn.Button-module__accent:hover,
.Button-module__btn.Button-module__accent:focus {
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  color: #777;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.Button-module__btn.Button-module__accent:hover::before,
.Button-module__btn.Button-module__accent:focus::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -7px;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  transform: skewX(45deg) translateX(4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Button-module__btn.Button-module__accent:hover::after,
.Button-module__btn.Button-module__accent:focus::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 6px;
  height: 92%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.8) 100%);
  transform: skewY(45deg) translateY(-4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}


.Button-module__btn.Button-module__accent {
  --button-text-color: #777;
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  border: none;
  color: var(--button-text-color);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  overflow: visible;
  transition: transform 0.1s ease-in-out;
}

.Button-module__btn.Button-module__accent::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -7px;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  transform: skewX(45deg) translateX(4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Button-module__btn.Button-module__accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 6px;
  height: 92%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
  transform: skewY(45deg) translateY(-4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Button-module__btn.Button-module__accent:active {
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.6);
  transform: translate(-3px, -3px);
}

.ShopFooter-module__text {
  color: #e6c164; /* Еще более светлый оттенок */
  text-shadow: 
    0 1px 1px rgba(255,255,255,0.4),
    0 -1px 1px rgba(0,0,0,0.1);
  background: linear-gradient(to bottom, #f0d78c, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: normal;
  letter-spacing: 0.5px;
}

/* верхняя панель */

.Header-module__wrapper {
  position: relative;
  background: linear-gradient(
    to bottom,
    #e0e0e0 0%,
    #c0c0c0 25%,
    #a0a0a0 50%,
    #808080 75%,
    #606060 100%
  );
  background-blend-mode: overlay;
  padding: 10px;
  overflow: visible;
  box-sizing: border-box;
  
  /* Градиентные границы с помощью box-shadow */
  box-shadow: 
    inset 1px 1px 0 0 #f0f0f0,
    inset 1px 1px 0 0 #d0d0d0,
  5px 5px 10px rgba(0, 0, 0, 0.3);
}

.Header-module__wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0px;
  right: 0px;
  height: 10px;
  border-left: 2px solid;
  background: linear-gradient(to right, #e0e0e0, #808080);
  transform: skew(45deg);
  transform-origin: left bottom;
  border-image: linear-gradient(to top, #ffffff, #f0f0f0) 1 0 0 1;

}

.Header-module__wrapper::after {
  content: '';
  position: absolute;
  top: 0px;
  left: -10px;
  bottom: 0;
  width: 10px;
  background: linear-gradient(to bottom, #e0e0e0, #808080);
  transform: skew(0, 45deg);
  transform-origin: right top;
}

.Header-module__logo,
.HeaderNav-module__wrapper,
.PlayerMenu-module__wrapper{
  --button-text-color: #808080;
  color: var(--button-text-color);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.HeaderNav-module__link:hover,
.HeaderNav-module__link:focus {
  --gold-color: #7a7a7aa4; /* Более золотистый цвет */
  color: var(--gold-color);
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.8), 
    0 1px 1px rgba(0, 0, 0, 0.4),
    0 0 5px rgba(255, 215, 0, 0.3); /* Легкое золотистое свечение */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.Page-module__header {
  margin-left: -25px; /* Сдвигаем влево на 25 пикселей */
  text-align: center;
}

.PlayerBalance-module__btn {
  --button-bg-color-start: #b6b6b6;
  --button-bg-color-end: #868686;
  --button-text-color: #777;
  transition: all 0.3s ease;
}

.PlayerBalance-module__btn:hover,
.PlayerBalance-module__btn:focus {
  background: linear-gradient(to bottom, var(--button-bg-color-start), var(--button-bg-color-end));
  color: var(--button-text-color);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.LangSwitcher-module__btn {
  --button-bg-color-start: #b6b6b6;
  --button-bg-color-end: #868686;
  --button-text-color: #777;
  background: none;  /* или любой другой желаемый цвет фона */
  transition: none;
  
}

.LangSwitcher-module__btn:hover .LangSwitcher-module__currentLang,
.LangSwitcher-module__btn:focus .LangSwitcher-module__currentLang,
.PlayerMenu-module__profileLink:hover, .PlayerMenu-module__profileLink:focus{
  background: linear-gradient(to bottom, var(--button-bg-color-start), var(--button-bg-color-end));
  color: var(--button-text-color);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

:root {
  --accent-color-800: #b8b8b8 !important; /* Светло-серебряный */
  --accent-color-900: #a0a0a0 !important; /* Темно-серебряный */
}

.LangSwitcher-module__list.LangSwitcher-module__active {
  --text-color: #808080;
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  padding: 6px;
}

.LangSwitcher-module__list.LangSwitcher-module__active .LangSwitcher-module__lang {
  color: var(--text-color);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 6px 12px;
  margin: 2px 0;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.LangSwitcher-module__list.LangSwitcher-module__active .LangSwitcher-module__lang:hover,
.LangSwitcher-module__list.LangSwitcher-module__active .LangSwitcher-module__lang:focus {
  background: linear-gradient(to bottom, #c6c6c6, #969696);
  color: #606060;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.PlayerBalanceModal-module__header {
  width: 100%;
  box-sizing: border-box; /* Это гарантирует, что padding не будет добавлен к ширине */
  margin-left: -50px;
}

.PlayerBalanceModal-module__label {
  color: #808080;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.8),
    0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 16px;
  text-transform: uppercase;
  padding: 6px 12px;
}

.Button-module__btn.Button-module__gray {
  --button-bg-start: #707070;
  --button-bg-end: #505050;
  --button-text-color: #555555;
  --button-text-shadow-dark: rgba(0, 0, 0, 0.5);
  --button-text-shadow-light: rgba(255, 255, 255, 0.3);

  background: linear-gradient(to bottom, var(--button-bg-start), var(--button-bg-end));
  color: var(--button-text-color);
  text-shadow: 
    -1px -1px 0 var(--button-text-shadow-dark),
    1px 1px 0 var(--button-text-shadow-light);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #404040;
  outline: none;
  transition: all 0.3s ease;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 4px;
}

.Button-module__btn.Button-module__gray:hover,
.Button-module__btn.Button-module__gray:focus {
  --button-bg-start: #808080;
  --button-bg-end: #606060;
  --button-text-color: #666666;
  
  background: linear-gradient(to bottom, var(--button-bg-start), var(--button-bg-end));
  color: var(--button-text-color);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #505050;
}

.Button-module__btn.Button-module__gray:active {
  --button-bg-start: #606060;
  --button-bg-end: #808080;
  --button-text-color: #444444;

  background: linear-gradient(to bottom, var(--button-bg-end), var(--button-bg-start));
  color: var(--button-text-color);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(1px);
  text-shadow: 
    -1px -1px 0 var(--button-text-shadow-light),
    1px 1px 0 var(--button-text-shadow-dark);
}

/* строка ввода суммы*/

.PlayerBalanceModal-module__inputWrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(to bottom right, #4c4c4c, #a0a0a0);
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.PlayerBalanceModal-module__inputWrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: calc(100% + 8px);
  height: 6px;
  background: 
    linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 100% 5px, calc(100% - 2px) 1px;
  background-position: 0 0, 5px 100%;
  background-repeat: no-repeat;
  transform: skewX(0deg) translateX(-8px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}

.PlayerBalanceModal-module__inputWrapper::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 6px;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent, rgba(229, 229, 229, 0.9), rgba(229, 229, 229, 0.5)),
    linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
  background-size: 1px 100%, 100% 100%;
  background-position: 5px 0, 0 0;
  background-repeat: no-repeat;
  transform: skewY(0deg) translateY(0px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  z-index: 2;
}

.PlayerBalanceModal-module__input {
  background: transparent;
  border: none;
  color: #bfbfbf;
  font-size: 16px;
  width: 100%;
  outline: none;
}

.PlayerBalanceModal-module__input::placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.PlayerBalanceModal-module__inputWrapper:focus-within {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.PlayerBalanceModal-module__currency {
  line-height: normal; /* или конкретное значение, например, 1.2 */
}

.PlayerBalanceModal-module__currency span {
  position: relative !important;
  top: -3px !important;
}

/* Профиль */

.ProfileContent-module__header {
  width: 100%;
  box-sizing: border-box;
  margin-left: -30px;
  background-color: #282828;
  background-image: 
  repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 1px,
    transparent 2px,
    transparent 4px
  ) !important;
  text-align: center;
  color: #808080;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.ProfileContent-module__wrapper {
	margin-left: 50px !important;
}
.ProfileNav-module__header.boxHeader{
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
}

.ProfileContent-module__title,
.ProfileNav-module__name {
  --text-color: #afafaf;
  color: var(--text-color);
  font-size: 16px;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.8),
    0 1px 1px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  padding: 5px 10px;
}

.ProfileNav-module__wrapper {
    margin-top: 50px;
}

.ProfileNav-module__header {
  position: relative;
  background-color: #504f4f;
  padding: 10px;
  overflow: visible;
}

.ProfileNav-module__header::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background-color: #282828;
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  transform: skew(45deg);
  transform-origin: bottom right;
}

.ProfileNav-module__header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50px;
  bottom: 0;
  width: 50px;
  background-color: #282828;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  transform: skew(0, 45deg);
  transform-origin: top right;
}

.ProfileContent-module__infoLineValue {
  background: linear-gradient(to bottom, #ffd700, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffd700; /* Fallback для браузеров, не поддерживающих background-clip */
  text-shadow: 
    0 -1px 1px rgba(255, 255, 255, 0.3),
    0 1px 1px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 2px 0; /* Небольшой вертикальный padding для лучшей видимости эффекта */
}

.ProfileContent-module__infoLine {
  color: #D3D3D3; /* Светло-серый цвет */
  background: linear-gradient(to bottom, #FFFFFF, #A9A9A9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.2);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.ProfileNav-module__navItem {
  --profile-text-color: #777;
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  color: var(--profile-text-color);
  text-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 -1px 0 rgba(0, 0, 0, 0.2);
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 5px 10px; /* Добавьте отступы по необходимости */
  transition: all 0.3s ease;
}

.ProfileNav-module__navItem:hover,
.ProfileNav-module__navItem:focus,
.ProfileNav-module__navItem.ProfileNav-module__active {
  --profile-text-color: #666; /* Немного темнее, чем обычное состояние */
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  color: var(--profile-text-color);
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.2);
}





/* промокод */

.ProfileContent-module__input {
  position: relative;
  border: none;
  top: -5px !important;
  background-image: 
    /* Светлая линия справа */
    linear-gradient(to right, transparent calc(100% - 1px), rgba(255, 255, 255, 0.2) calc(100% - 1px), transparent calc(100% - 6px)),
    /* Светлая линия снизу */
    linear-gradient(to top, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    /* Правая грань */
    linear-gradient(to right, transparent calc(100% - 6px), rgba(0, 0, 0, 0.6) calc(100% - 6px)),
    /* Нижняя грань */
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 6px, transparent 6px),
    /* Основной фон */
    linear-gradient(to bottom, #4c4c4c, #a0a0a0);
  background-size: 
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    calc(100% - 6px) calc(100% - 6px);
  background-position: 
    right,
    bottom,
    right,
    bottom,
    left top;
  background-repeat: no-repeat;;
  padding: 5px 10px 10px 5px !important; /* top right bottom left */
  box-shadow: 
    inset -1px -1px 1px rgba(255, 255, 255, 0.2),
    1px 1px 1px rgba(0, 0, 0, 0.2);
  color: #bfbfbf;
  font-size: 16px;
  outline: none;
}

.ProfileContent-module__input:focus {
  outline: none;
}

/* Стили для placeholder */
.ProfileContent-module__input::placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

/* Для поддержки старых версий браузеров */
.ProfileContent-module__input::-webkit-input-placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.ProfileContent-module__input::-moz-placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.ProfileContent-module__input:-ms-input-placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

/* Отодвигаем кнопку от поля ввода */
.Button-module__btn.ProfileContent-module__usePromoBtn {
  margin-left: 10px !important;
}

/* корзина */


.BasketContent-module__header {
  color: var(--profile-text-color, #D3D3D3);
  background-color: #282828;
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  -webkit-text-fill-color: transparent;
  width: 100%;
  margin-left: -25px;
  box-sizing: border-box;
  text-align: center;
  color: #808080;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.BasketContent-module__wrapper {
  margin-left: 50px !important;
}

/* Поле поиска в корзине */
.BasketSearch-module__wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(to bottom right, #4c4c4c, #a0a0a0);
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.BasketSearch-module__wrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: calc(100% + 8px);
  height: 6px;
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 100% 5px, calc(100% - 2px) 1px;
  background-position: 0 0, 5px 100%;
  background-repeat: no-repeat;
  transform: skewX(0deg) translateX(-8px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}

.BasketSearch-module__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 6px;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent, rgba(229, 229, 229, 0.9), rgba(229, 229, 229, 0.5)),
    linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
  background-size: 1px 100%, 100% 100%;
  background-position: 5px 0, 0 0;
  background-repeat: no-repeat;
  transform: skewY(0deg) translateY(0px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  z-index: 2;
}

.BasketSearch-module__input {
  background: transparent;
  border: none;
  color: #bfbfbf;
  font-size: 16px;
  width: 100%;
  outline: none;
}

.BasketSearch-module__input::placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.BasketSearch-module__wrapper:focus-within {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.BasketSearch-module__iconWrapper {
  margin-right: 10px;
}

.BasketSearch-module__icon {
  width: 20px;
  height: 20px;
  color: #bfbfbf;
}


/* Селектор сервера */
.Selector-module__dropDownWrapper {
  all: initial;
  display: block;
  position: relative;
  top: 5px !important;
  --selector-bg-start: #d6d6d6;
  --selector-bg-end: #a6a6a6;
  background: linear-gradient(to bottom, var(--selector-bg-start), var(--selector-bg-end)) !important;
  border-radius: 4px;
  padding: 10px 15px; /* Увеличиваем отступы */
  box-shadow: none !important;
  border: none !important;
  width: 70%;
  margin-left: 10px !important;
  box-sizing: border-box; /* Учитываем padding в общей ширине */
}

.Selector-module__dropDownWrapper::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -7px;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  transform: skewX(45deg) translateX(4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Selector-module__dropDownWrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 6px;
  height: 92%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
  transform: skewY(45deg) translateY(-4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Selector-module__dropDownCurrentItem {
  all: initial;
  display: flex;
  align-items: center;
  justify-content: space-between;
  --button-text-color: #777;
  color: var(--button-text-color) !important;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.2);
  font-weight: bold;
  background: transparent !important;
  width: 100%; /* Устанавливаем ширину на 100% */
  font-size: 14px; /* Устанавливаем размер шрифта */
  cursor: pointer; /* Добавляем курсор-указатель */
}

.Selector-module__dropDownList.Selector-module__openOnBottom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  background: linear-gradient(to bottom, var(--selector-bg-start), var(--selector-bg-end));
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Стили для элементов списка */
.Selector-module__dropDownList .Selector-module__dropDownItem {
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  color: var(--button-text-color, #777); /* Используем ту же переменную цвета, что и для кнопки */
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: 14px; /* Тот же размер шрифта, что и в кнопке */
}

.Selector-module__dropDownList .Selector-module__dropDownItem:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #555; /* Немного темнее цвет при наведении */
}

/* Стиль для активного (выбранного) элемента */
.Selector-module__dropDownList .Selector-module__dropDownItem.Selector-module__active {
  background-color: rgba(0, 0, 0, 0.15);
  color: #444; /* Еще темнее цвет для активного элемента */
}


/* Стили для текста внутри кнопки */
.Selector-module__dropDownCurrentText {
  flex-grow: 1; /* Позволяет тексту занимать все доступное пространство */
  text-align: left; /* Выравниваем текст по левому краю */
  margin-right: 10px; /* Отступ справа для иконки */
}

/* Стили для иконки */
.Selector-module__icon {
  width: 20px; /* Устанавливаем ширину иконки */
  height: 20px; /* Устанавливаем высоту иконки */
  flex-shrink: 0; /* Предотвращаем сжатие иконки */
}



/* Таблица корзины */
.BasketTable-module__table {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.BasketTable-module__tableHeader {
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  color: #666;
  font-weight: bold;
  padding: 10px;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.2);
}

.BasketTable-module__tableLine {
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: flex;
  align-items: center;
}

.BasketTable-module__value {
  color: #777;
  text-shadow: 
    0 -1px 0 rgba(255, 255, 255, 0.3),
    0 1px 0 rgba(0, 0, 0, 0.1);
}

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

.Pagination-module__navPageBtn,
.Pagination-module__page {
  position: relative;
  display: inline-block;
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  border: none;
  color: #777;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  overflow: visible;
  margin: 0 5px;
}

.Pagination-module__navPageBtn::before,
.Pagination-module__page::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -7px;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  transform: skewX(45deg) translateX(4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Pagination-module__navPageBtn::after,
.Pagination-module__page::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 6px;
  height: 92%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.6) 100%);
  transform: skewY(45deg) translateY(-4px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.Pagination-module__navPageBtn:hover,
.Pagination-module__page:hover {
  background: linear-gradient(to bottom, #e6e6e6, #b6b6b6);
}

.Pagination-module__navPageBtn:active,
.Pagination-module__page:active {
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.6);
  transform: translate(-3px, -3px);
}

/* История */
.HistoryContent-module__header {
  color: var(--profile-text-color, #D3D3D3);
  background-color: #282828;
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  -webkit-text-fill-color: transparent;
  width: 100%;
  margin-left: -25px;
  box-sizing: border-box;
  text-align: center;
  color: #808080;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.HistoryContent-module__wrapper {
margin-left: 50px !important;
}

/* Стили для поля поиска истории */
.HistorySearch-module__wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(to bottom right, #4c4c4c, #a0a0a0);
  padding: 10px;
  width: 100%;
  margin-bottom: 20px;
  overflow: visible;
}

.HistorySearch-module__wrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 6px;
  left: 7px;
  background: 
    linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 100% 5px, calc(100% - 2px) 1px;
  background-position: 0 0, 5px 100%;
  background-repeat: no-repeat;
  transform: skewX(0deg) translateX(-8px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}

.HistorySearch-module__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 6px;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent, rgba(229, 229, 229, 0.9), rgba(229, 229, 229, 0.5)),
    linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
  background-size: 1px 100%, 100% 100%;
  background-position: 5px 0, 0 0;
  background-repeat: no-repeat;
  transform: skewY(0deg) translateY(0px);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  z-index: 2;
}

.HistorySearch-module__input {
  flex: 1;
  border: none;
  background-color: transparent;
  color: #bfbfbf;
  font-size: 16px;
  outline: none;
  position: relative;
  z-index: 3;
}

.HistorySearch-module__input::placeholder {
  color: #e3d9c5;
  text-shadow: 1px 1px 0 #464034, -1px -1px 0 #6b5e4d, 1px -1px 0 #6b5e4d, -1px 1px 0 #464034;
}

.HistorySearch-module__iconWrapper {
  position: relative;
  z-index: 3;
  margin-right: 10px;
}


/* Стили для таблицы истории */
.HistoryTable-module__table {
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.HistoryTable-module__tableHeader {
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  color: #777;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(0, 0, 0, 0.4);
  padding: 10px;
}

.HistoryTable-module__tableLine {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.HistoryTable-module__value {
  background: linear-gradient(to bottom, #ffd700, #ffcc00);
  -webkit-background-clip: text;
  letter-spacing: 0.5px;
  
}

/* Стиль для четных строк (светлее) */
.HistoryTable-module__tableLine:nth-child(2n) {
  background: linear-gradient(to bottom, #e0e0e0, #9d9d9d);
}

/* Стиль для нечетных строк (темнее) */
.HistoryTable-module__tableLine:nth-child(2n-1) {
  background: linear-gradient(to bottom, #646464, #0c0c0c);
}
.HistoryTable-module__tableLine:nth-child(2n) .HistoryTable-module__value {
   color: #747474;
  text-shadow: 
    1px 1px 0 #808080,
    -1px -1px 0 #e0e0e0,
    -1px 1px 0 #808080,
    1px -1px 0 #e0e0e0;
}

.HistoryTable-module__tableLine:nth-child(2n-1) .HistoryTable-module__value {
color: #ffd700; /* Fallback для браузеров, не поддерживающих background-clip */
  text-shadow:
    0.5px 0.5px 0 #b8860b,  /* Темно-золотистая тень справа и снизу */
    0.5px 0.5px 0 #ffec8b, /* Светло-золотистая тень слева и сверху */
    0.5px 0.5px 0 #b8860b,
    0.5px -0.5px 0 #ffec8b;
  letter-spacing: 0.5px;
}

/* карточки внутри */

.ProductModal-module__header {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-left: -25px;
  background-color: #282828;
  background-image: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 2px,
      transparent 4px
    );
  text-align: center;
  color: #808080;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  padding: 15px 0;
  transform: skew(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ProductModal-module__header h2 {
  display: inline-block;
  margin: 0;
}

/* цены */

.ProductModal-module__form {
  background: linear-gradient(to bottom, #d6d6d6, #a6a6a6);
  padding: 20px;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.productModalFormRow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.productModalFormRowItem {
  flex: 1;
  margin: 0 10px;
}

.TotalSum-module__label,
.CountSelector-module__label {
  color: #777;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
  display: block;
}

.TotalSum-module__inputWrapper,
.CountSelector-module__inputWrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom right, #4c4c4c, #a0a0a0);
  padding: 5px;
  border-radius: 4px;
}

.TotalSum-module__currency,
.TotalSum-module__input,
.CountSelector-module__input {
  background: transparent;
  border: none;
  color: #bfbfbf;
  font-size: 16px;
  padding: 5px;
  margin-left: 20px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.TotalSum-module__currency {
  padding-right: 10px;
  margin-top: -15px;
}

.CountSelector-module__changeCountBtn {
  background: linear-gradient(to bottom, #b6b6b6, #868686);
  border: none;
  color: #777;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.CountSelector-module__changeCountBtn:hover {
  background: linear-gradient(to bottom, #c6c6c6, #969696);
}

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

.productModalGiveText {
    color: #ff0000;
}

/* описание товара */

.productModalDescription {
  background: linear-gradient(to bottom, #d6d6d6, #b6b6b6) !important;
  border-radius: 4px !important;
  padding: 15px !important;
  margin-top: 20px !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
}

.productModalDescription * {
  -webkit-text-fill-color: initial !important;
  color: #4a4a4a !important; /* Немного светлее, чем #333 */
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important; /* Светлая тень снизу */
  background: transparent !important;
}