/* Premium Luxury Background Animation for Featured Section */

.featured-luxury-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Animated gradient overlay */
.luxury-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 20% 30%, 
        rgba(212, 165, 116, 0.15) 0%, 
        transparent 50%
    ),
    radial-gradient(
        ellipse at 80% 70%, 
        rgba(244, 228, 193, 0.12) 0%, 
        transparent 50%
    );
    animation: luxuryPulse 8s ease-in-out infinite;
}

@keyframes luxuryPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Golden particles container */
.luxury-particles {
    position: absolute;
    inset: 0;
}

.luxury-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 228, 193, 0.8) 0%, rgba(212, 165, 116, 0.3) 50%, transparent 100%);
    pointer-events: none;
    filter: blur(1px);
}

/* Shimmer effect */
.luxury-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmerMove 6s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Geometric floating shapes */
.luxury-shapes {
    position: absolute;
    inset: 0;
}

.luxury-shape {
    position: absolute;
    border: 1px solid rgba(244, 228, 193, 0.2);
    background: rgba(231, 216, 195, 0.05);
    backdrop-filter: blur(2px);
}

.luxury-shape.circle {
    border-radius: 50%;
}

.luxury-shape.square {
    border-radius: 8px;
    transform: rotate(45deg);
}

.luxury-shape.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Light rays */
.luxury-rays {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(244, 228, 193, 0.05) 50%, transparent 100%),
        linear-gradient(225deg, transparent 0%, rgba(212, 165, 116, 0.05) 50%, transparent 100%);
    animation: rayRotate 20s linear infinite;
}

@keyframes rayRotate {
    0% { transform: rotate(0deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1.5); }
}

/* Sparkle effects */
.luxury-sparkles {
    position: absolute;
    inset: 0;
}

.luxury-sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 
        0 0 6px rgba(244, 228, 193, 0.8),
        0 0 12px rgba(244, 228, 193, 0.4);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0;
        transform: scale(0);
    }
    50% { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced dot pattern with animation */
.luxury-dot-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.08) 1px, transparent 0),
        radial-gradient(circle at 18px 18px, rgba(244, 228, 193, 0.06) 1px, transparent 0);
    background-size: 32px 32px, 32px 32px;
    animation: dotFloat 15s ease-in-out infinite;
}

@keyframes dotFloat {
    0%, 100% { 
        opacity: 0.4;
        transform: translateY(0);
    }
    50% { 
        opacity: 0.6;
        transform: translateY(-10px);
    }
}

/* Premium glow effect */
.luxury-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(212, 165, 116, 0.1) 100%
    );
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .luxury-particle {
        filter: blur(0.5px);
    }
    
    .luxury-shimmer {
        animation-duration: 4s;
    }
    
    .luxury-rays {
        animation-duration: 15s;
    }
    
    .luxury-dot-pattern {
        animation-duration: 10s;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .luxury-gradient-overlay,
    .luxury-shimmer,
    .luxury-rays,
    .luxury-sparkle,
    .luxury-dot-pattern,
    .luxury-glow {
        animation: none;
    }
    
    .luxury-particle,
    .luxury-shape {
        display: none;
    }
}
