/* ========== Fade In ========== */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}

/* ========== Zoom In ========== */
@keyframes zoom-in {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.animate-zoom {
  animation: zoom-in 0.6s ease-out forwards;
}

/* ========== Wiggle ========== */
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.animate-wiggle {
  animation: wiggle 0.5s ease-in-out infinite;
}

/* ========== Slide In ========== */
@keyframes slide-in {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.animate-slide-in {
  animation: slide-in 0.7s ease-out forwards;
}

/* ========== Typing (Text Typewriter) ========== */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: white; }
}
.typing-effect {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid white;
  animation: typing 2s steps(20) forwards, blink 0.7s step-end infinite;
}

/* ========== Gradient Animation ========== */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.bg-animate-gradient {
  background: linear-gradient(270deg, #ffcc00, #ff6600, #ffcc00);
  background-size: 600% 600%;
  animation: gradient-shift 8s ease infinite;
}

/* ========== Underline Slide on Hover ========== */
.hover-underline-slide {
  position: relative;
}
.hover-underline-slide::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}
.hover-underline-slide:hover::after {
  width: 100%;
}

/* ========== Glassmorphism Effect ========== */
.glassmorph {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
}

.glow-text {
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff, 0 0 30px #00eaff, 0 0 40px #00eaff;
}

.glow-animate {
  color: #fff;
  font-size: 3rem;
  font-family: Arial, sans-serif;
  text-align: center;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #ff0080, 0 0 15px #ff0080, 0 0 20px #ff0080;
  }
  to {
    text-shadow: 0 0 10px #ff0080, 0 0 20px #ff0080, 0 0 30px #ff0080;
  }
}