/* =====================================
   GLOBAL KEYFRAMES
===================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =====================================
   FLOATING
===================================== */

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =====================================
   PULSE GLOW
===================================== */

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.1);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
  }

  100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.1);
  }
}

/* =====================================
   ROTATE
===================================== */

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =====================================
   GRADIENT SHIFT
===================================== */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =====================================
   TEXT SHINE
===================================== */

@keyframes textShine {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* =====================================
   SCALE IN
===================================== */

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =====================================
   BLOB ANIMATION
===================================== */

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

/* =====================================
   PARTICLE FLOAT
===================================== */

@keyframes particleFloat {
  0% {
    transform: translateY(0);

    opacity: 0.3;
  }

  50% {
    transform: translateY(-40px);

    opacity: 1;
  }

  100% {
    transform: translateY(0);

    opacity: 0.3;
  }
}

/* =====================================
   CSS UTILITY CLASSES
===================================== */

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

.animate-fade-left {
  animation: fadeLeft 0.8s ease forwards;
}

.animate-fade-right {
  animation: fadeRight 0.8s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.8s ease forwards;
}

.animate-float {
  animation: floating 4s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 3s infinite;
}

.animate-rotate {
  animation: rotate360 15s linear infinite;
}

/* =====================================
   HERO BACKGROUND BLOB
===================================== */

.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(120px);
  animation: blob 12s infinite;
}

/* =====================================
   SHINY TEXT
===================================== */

.shiny-text {
  background: linear-gradient(90deg, #d4af37, #f4d97b, #d4af37);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  animation: textShine 5s linear infinite;
}
