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

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

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes grow {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes drip {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

@keyframes shadowMove {
  0%, 100% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(10px) scale(1.1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.8), 0 0 30px rgba(255, 191, 0, 0.4);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.animate-grow {
  animation: grow 0.5s ease-out forwards;
}

.animate-flicker {
  animation: flicker 2s infinite;
}

.animate-drip {
  animation: drip 2s infinite;
}

.animate-shadow-move {
  animation: shadowMove 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Tab styles */
[data-tab-button].active {
  background-color: rgba(255, 191, 0, 0.3);
  color: #FFBF00;
  border-bottom: 2px solid #FFBF00;
}

[data-tab-panel] {
  transition: opacity 0.3s ease-in-out;
}
