/* Стили для popup-окна */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 300px;
  text-align: center;
  opacity: 0; /* Для GSAP анимации */
}

/* Стили для оверлея */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Стили для кнопки закрытия */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  line-height: 30px;
  transition: background 0.3s;
}

.close-btn:hover {
  background: #cc0000;
}

/* Стили для текста */
.popup-text {
  margin: 20px 0;
  font-size: 16px;
  color: #333;
  font-family: Arial, sans-serif;
}

/* Стили для кнопки target_num */
.quiz-button.target_num {
  cursor: pointer;
}

/* Стили для кнопки поделиться */
.share-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #3b5998;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.share-btn:hover {
  background-color: #2a4373;
}