/* ===========================
   ENHANCED ANIMATIONS
   DJ TRIEF © 2026
=========================== */

/* ===========================
   TEXT GRADIENT ANIMATIONS
=========================== */
@keyframes goldGlow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(237,208,110,0),
                 0 0 16px rgba(201,168,76,0.2),
                 0 0 24px rgba(197,160,89,0);
  }
  50% {
    text-shadow: 0 0 12px rgba(237,208,110,.6),
                 0 0 24px rgba(201,168,76,0.4),
                 0 0 32px rgba(197,160,89,.3);
  }
}

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

/* ===========================
   BUTTON ANIMATIONS
=========================== */
@keyframes btnShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 4px 28px rgba(201,168,76,.35),
                inset 0 1px 0 rgba(255,255,255,.2);
  }
  50% {
    box-shadow: 0 8px 40px rgba(201,168,76,.5),
                inset 0 1px 0 rgba(255,255,255,.3);
  }
}

.btn-gold {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  animation: btnPulse 0.6s ease-in-out;
}

.btn-outline:hover {
  animation: shimmerHover 0.6s ease;
}

/* ===========================
   CARD ANIMATIONS
=========================== */
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cardGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(201,168,76,.1);
  }
  50% {
    box-shadow: 0 16px 48px rgba(201,168,76,.25);
  }
}

.feature-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  animation: cardFloat 1.2s ease-in-out infinite;
}

/* ===========================
   MARQUEE ANIMATIONS
=========================== */
@keyframes marqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeHover {
  0% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(-2px) scale(1.01);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
=========================== */
@keyframes revealFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}

@keyframes revealFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes revealFadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes revealScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.reveal {
  animation: revealFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal.visible {
  animation-name: none;
  opacity: 1;
}

.reveal-delay-1 {
  animation-delay: 0.15s;
}

.reveal-delay-2 {
  animation-delay: 0.3s;
}

.reveal-delay-3 {
  animation-delay: 0.45s;
}

.reveal-left {
  animation-name: revealFadeInLeft;
}

.reveal-right {
  animation-name: revealFadeInRight;
}

.reveal-scale {
  animation-name: revealScaleIn;
}

/* ===========================
   PARALLAX & DEPTH EFFECTS
=========================== */
@keyframes parallaxFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.parallax-element {
  animation: parallaxFloat 4s ease-in-out infinite;
}

.parallax-element-slow {
  animation: parallaxFloat 6s ease-in-out infinite;
}

/* ===========================
   MICRO INTERACTIONS
=========================== */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

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

/* ===========================
   TYPOGRAPHY ANIMATIONS
=========================== */
@keyframes letterSpacingExpand {
  from {
    letter-spacing: -0.05em;
  }
  to {
    letter-spacing: 0.1em;
  }
}

.expand-letter-spacing {
  animation: letterSpacingExpand 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===========================
   HOVER STATE ANIMATIONS
=========================== */
.interactive-element {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.interactive-element:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.interactive-element:active {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ===========================
   LOADING ANIMATIONS
=========================== */
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spinner 2s linear infinite;
}

/* ===========================
   FADE AND SLIDE COMBINATIONS
=========================== */
@keyframes slideAndFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slide-fade-in {
  animation: slideAndFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===========================
   STAGGER EFFECT
=========================== */
.staggered-item:nth-child(1) { animation-delay: 0.1s; }
.staggered-item:nth-child(2) { animation-delay: 0.2s; }
.staggered-item:nth-child(3) { animation-delay: 0.3s; }
.staggered-item:nth-child(4) { animation-delay: 0.4s; }
.staggered-item:nth-child(5) { animation-delay: 0.5s; }
.staggered-item:nth-child(6) { animation-delay: 0.6s; }

/* ===========================
   RESPONSIVE ADJUSTMENTS
=========================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================
   HIGH PERFORMANCE ANIMATIONS
=========================== */
.will-animate {
  will-change: transform, opacity;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}
