/* ===== SUPPORT BUTTON STYLES ===== */
.support-button-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000; /* Высокий приоритет, но ниже уведомлений */
  pointer-events: none; /* Контейнер не блокирует клики */
}

.support-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #C8FE00, #BFFF00);
  border-radius: 50%;
  box-shadow: 
    0 8px 32px rgba(200, 254, 0, 0.3),
    0 0 0 1px rgba(200, 254, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  pointer-events: auto; /* Кнопка может получать клики */
  backdrop-filter: blur(10px);
  border: 2px solid rgba(200, 254, 0, 0.3);
}

.support-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.support-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 16px 48px rgba(200, 254, 0, 0.4),
    0 0 0 1px rgba(200, 254, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.support-button:hover::before {
  left: 100%;
}

.support-button:active {
  transform: translateY(-2px) scale(1.02);
}

.support-button svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.support-button:hover svg {
  transform: scale(1.1);
}

/* Анимация появления */
.support-button-container {
  animation: supportButtonFadeIn 0.6s ease-out;
}

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

/* Адаптивность */
@media (max-width: 768px) {
  .support-button-container {
    bottom: 16px;
    right: 16px;
  }
  
  .support-button {
    width: 56px;
    height: 56px;
  }
  
  .support-button svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .support-button-container {
    bottom: 12px;
    right: 12px;
  }
  
  .support-button {
    width: 52px;
    height: 52px;
  }
  
  .support-button svg {
    width: 20px;
    height: 20px;
  }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
  .support-button {
    background: linear-gradient(135deg, #C8FE00, #BFFF00);
    box-shadow: 
      0 8px 32px rgba(200, 254, 0, 0.4),
      0 0 0 1px rgba(200, 254, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  
  .support-button:hover {
    box-shadow: 
      0 16px 48px rgba(200, 254, 0, 0.5),
      0 0 0 1px rgba(200, 254, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* Анимация пульсации для привлечения внимания */
.support-button-container.pulse {
  animation: supportButtonPulse 2s infinite;
}

@keyframes supportButtonPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Скрытие кнопки при прокрутке вниз */
.support-button-container.hide-on-scroll {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.support-button-container.show-on-scroll {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
}
