/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide in from bottom */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from top */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from right */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Spring in (for button) */
@keyframes springIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== FIM DAS ANIMAÇÕES ===== */

/* ===== APLICAÇÃO DAS ANIMAÇÕES NAS CLASSES ===== */

/* Conteúdo principal centralizado */
.content-section {
  animation: slideInFromBottom 0.8s ease-out 0.3s both;
}

/* Título principal */
.main-title {
  animation: slideInFromBottom 0.8s ease-out 0.5s both;
}

/* Main description paragraph */
.main-description {
  animation: slideInFromBottom 0.8s ease-out 0.7s both;
}

/* Logos header */
.header-logos {
  animation: slideInFromTop 0.6s ease-out 0.4s both;
}

/* Modal content */
.modal-content {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast notification container */
.toast-container {
  animation: slideInFromRight 0.3s ease-out;
}

/* Fade in para overlay/modal */
.modal-overlay {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
