/* ================ ENTRANCE ANIMATIONS ================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

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

/* ================ SPECIAL EFFECTS ================ */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

/* ================ HOVER EFFECTS ================ */
.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
}

.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

/* ================ PULSE EFFECTS ================ */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 136, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(179, 136, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(179, 136, 255, 0);
  }
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* ================ SECTION TRANSITIONS ================ */
.section-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-transition.visible {
  opacity: 1;
  transform: translateY(0);
}