/* Окно уведомления */
  .achievement-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  /* Контейнер с контентом уведомления */
  .achievement-popup-content {
    background-color: rgba(22, 22, 22, 0.95); /* Темный, но полупрозрачный фон */
    color: #f5f5f5; /* Светлый цвет текста */
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.7);
    max-width: 400px;
    width: 80%;
    border: 5px solid gold; /* Золотистая рамка */
    animation: popupAnimation 0.5s ease-out;
  }

  /* Анимация появления */
  @keyframes popupAnimation {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* Иконка достижения */
  .achievement-popup-img {
    width: 100px;
    height: 100px;
    padding: 1px 1px;
    transition: all 1s ease-in-out;
  }

  /* Текст достижения */
  .achievement-popup-text-title {
    color: gold;
    font-size: 30px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px black;
  }
  .achievement-popup-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px black;
  }
  .achievement-popup-text {
    color: gold;
    font-size: 16px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px black;
  }

  /* Кнопка закрытия */
  .achievement-popup-close {
    padding: 12px 25px;
    background-color: gold; /* Золотистая кнопка */
    color: #222; /* Темный текст */
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
  }

  .achievement-popup-close:hover {
    background-color: #ffd700;
    transform: scale(1.05);
    transition: 0.3s ease;
  }

/* Хотбар (место для иконок) */
.spell-hotbar {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-start;  /* Сдвиг к началу, чтобы иконки заполняли слоты слева направо */
  align-items: center;
  width: auto; /* Ширина теперь зависит от количества слотов */
  z-index: 9990;
  gap: 1px; /* Расстояние между слотами */
}

/* Слот для иконки в хотбаре */
.spell-hotbar-slot {
  background-color: #333;
  border-radius: 10px;
  border: 1px solid gray;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Устанавливаем контекст позиционирования */
}

/* Иконка навыка */
.spell-img {
  width: 42px;
  height: 42px;
}

  /* Анимация перемещения иконки в хотбар */
  @keyframes iconFlyToHotbar {
    0% {
      transform: translateY(0);
      opacity: 0.1;
    }
    100% {
      transform: translateY(150px) translateX(0);
      opacity: 1;
    }
  }

  /* Подсказка для иконки */
  .tooltip {
    position: absolute;
    bottom: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    width: 200px;
  }

  .spell-hotbar-slot:hover .tooltip {
    opacity: 1;
    visibility: visible;
    font-family: 'Inter';
    font-size: 14px;
  }

  .spell-hotbar-slot .spell-tooltip-title {
    font-weight: bold;
    color: gold;
		padding: 5px;
  }
  .spell-hotbar-slot .spell-tooltip-text {
    color: white;
		padding: 5px;
  }