/* ========================================
   WOW FACTOR EFFECTS - COSMIC THEME
   Premium interactive effects
   ======================================== */

/* Parallax Scroll Reveal */
.parallax-element {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card 3D Hover Transform */
.card-gold,
.product-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-gold:hover,
.product-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow:
        0 30px 60px rgba(184, 134, 11, 0.3),
        0 0 80px rgba(184, 134, 11, 0.2),
        inset 0 0 30px rgba(184, 134, 11, 0.1);
}

/* Cosmic Particle Trail on Mouse Move */
.cosmic-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Floating Animation for Elements */
.floating {
    animation: floatGentle 6s ease-in-out infinite;
}

.floating-delayed {
    animation: floatGentle 6s ease-in-out infinite 2s;
}

@keyframes floatGentle {

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

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

/* Text Glow Pulse on Hover */
.glow-text-hover:hover {
    text-shadow:
        0 0 10px rgba(184, 134, 11, 0.8),
        0 0 20px rgba(184, 134, 11, 0.6),
        0 0 30px rgba(184, 134, 11, 0.4);
    animation: textGlowPulse 1.5s ease-in-out infinite;
}

@keyframes textGlowPulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(184, 134, 11, 0.6),
            0 0 20px rgba(184, 134, 11, 0.4);
    }

    50% {
        text-shadow:
            0 0 20px rgba(184, 134, 11, 1),
            0 0 30px rgba(184, 134, 11, 0.8),
            0 0 40px rgba(184, 134, 11, 0.6);
    }
}

/* Stagger Reveal Animation */
@keyframes staggerReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stagger-1 {
    animation: staggerReveal 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.stagger-2 {
    animation: staggerReveal 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.stagger-3 {
    animation: staggerReveal 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.stagger-4 {
    animation: staggerReveal 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

/* Glow Spread on Scroll Into View */
.scroll-glow {
    position: relative;
    overflow: visible;
}

.scroll-glow::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
    pointer-events: none;
}

.scroll-glow.visible::before {
    opacity: 1;
}

/* Cosmic Ripple Effect */
.cosmic-ripple {
    position: relative;
    overflow: hidden;
}

.cosmic-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cosmic-ripple:hover::after {
    width: 300px;
    height: 300px;
}