/* 📝 LOG: globals.css - Глобальные стили и анимации */

body {
  min-height: 100vh;
}


@keyframes gradient-x {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-x 3s ease infinite;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}
