/**
 * ULTRA PREMIUM EFFECTS - Advanced Animations & Effects
 * Add this after loading main style.css
 */

/* ======================================
   COLORFUL ANIMATED HEADINGS
====================================== */
.section-title,
h1.hero-title,
h2,
.page-title {
    background: linear-gradient(90deg, #4d2932, #c9a227, #e11d48, #7c3aed, #14b8a6, #c9a227, #4d2932);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 8s linear infinite;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Text Shimmer Effect */
.text-shimmer {
    position: relative;
    overflow: hidden;
}

.text-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmerSlide 3s infinite;
}

@keyframes shimmerSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* ======================================
   ULTRA PREMIUM CARD EFFECTS
====================================== */
.product-card,
.category-card,
.card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

/* 3D Tilt Effect on Hover */
/* 3D Tilt Effect REMOVED - Simple Lift on Hover */
.product-card:hover,
.category-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 30px rgba(77, 41, 50, 0.15),
        0 0 20px rgba(201, 162, 39, 0.1);
}

/* Glowing Border Animation */
.product-card::before,
.category-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4d2932, #c9a227, #e11d48, #7c3aed, #14b8a6, #c9a227, #4d2932);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    animation: gradientRotate 3s linear infinite;
}

.product-card:hover::before,
.category-card:hover::before {
    opacity: 1;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Particles Effect */
.product-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.product-card:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.4;
}

/* ======================================
   MAGNETIC BUTTON EFFECT
====================================== */
.btn,
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(77, 41, 50, 0.3),
        0 0 30px rgba(201, 162, 39, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ======================================
   RIPPLE EFFECT ON CLICK
====================================== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
}

.ripple:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    transition: 0s;
}

/* ======================================
   FLOATING ANIMATION
====================================== */
.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ======================================
   PULSE GLOW EFFECT
====================================== */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(201, 162, 39, 0.8), 0 0 60px rgba(77, 41, 50, 0.4);
    }
}

/* ======================================
   GRADIENT TEXT ANIMATION
====================================== */
.gradient-text {
    background: linear-gradient(90deg, #4d2932, #c9a227, #e11d48, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ======================================
   SCALE BOUNCE ON HOVER
====================================== */
.scale-bounce:hover {
    animation: scaleBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1.05);
    }
}

/* ======================================
   ROTATING BORDER EFFECT
====================================== */
.rotating-border {
    position: relative;
}

.rotating-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg, #4d2932, #c9a227, #e11d48, #7c3aed, #14b8a6, #4d2932);
    border-radius: inherit;
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ======================================
   NEON GLOW TEXT
====================================== */
.neon-text {
    color: #c9a227;
    text-shadow:
        0 0 10px rgba(201, 162, 39, 0.8),
        0 0 20px rgba(201, 162, 39, 0.6),
        0 0 30px rgba(201, 162, 39, 0.4),
        0 0 40px rgba(77, 41, 50, 0.3);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(201, 162, 39, 0.8),
            0 0 20px rgba(201, 162, 39, 0.6),
            0 0 30px rgba(201, 162, 39, 0.4);
    }

    50% {
        text-shadow:
            0 0 20px rgba(201, 162, 39, 1),
            0 0 30px rgba(201, 162, 39, 0.8),
            0 0 40px rgba(201, 162, 39, 0.6),
            0 0 50px rgba(77, 41, 50, 0.4);
    }
}

/* ======================================
   PARALLAX SCROLL EFFECT
====================================== */
.parallax-element {
    transition: transform 0.3s ease-out;
}

/* ======================================
   GLASS MORPHISM ENHANCED
====================================== */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(77, 41, 50, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* ======================================
   STAGGER FADE IN ANIMATION
====================================== */
.stagger-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease-out forwards;
}

.stagger-fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-fade-in:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================
   IMAGE ZOOM ON HOVER
====================================== */
.image-zoom-container {
    overflow: hidden;
    border-radius: var(--radius);
}

.image-zoom {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.image-zoom-container:hover .image-zoom {
    transform: scale(1.15);
}

/* ======================================
   LOADING SKELETON SHIMMER
====================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ======================================
   BADGE ANIMATIONS
====================================== */
.badge-animated {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ======================================
   SPOTLIGHT EFFECT
====================================== */
.spotlight-effect {
    position: relative;
    overflow: hidden;
}

.spotlight-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.spotlight-effect:hover::before {
    opacity: 1;
    animation: spotlightMove 2s ease-in-out infinite;
}

@keyframes spotlightMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20%, 20%);
    }

    50% {
        transform: translate(-20%, 20%);
    }

    75% {
        transform: translate(20%, -20%);
    }
}