/* ==================== ANIMATED HERO BACKGROUND - FORCED ==================== */

.hero {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, 
        #0a0a0a 0%,
        #1a0a0f 25%,
        #2d0a1a 50%,
        #1a0a0f 75%,
        #0a0a0a 100%) !important;
    background-size: 400% 400% !important;
    animation: heroGradientShift 20s ease infinite !important;
}

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

/* Animated Geometric Shapes */
.hero::before {
    content: "" !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(139, 21, 56, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 21, 56, 0.2) 0%, transparent 70%) !important;
    animation: shapesMove 25s ease-in-out infinite !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

@keyframes shapesMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 20%;
        transform: scale(1.1);
    }
}

/* Animated Grid Pattern */
.hero-pattern {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px) !important;
    background-size: 80px 80px !important;
    animation: gridMove 30s linear infinite !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* Glowing Orbs */
.hero::after {
    content: "" !important;
    position: absolute !important;
    width: 600px !important;
    height: 600px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: radial-gradient(circle, 
        rgba(139, 21, 56, 0.5) 0%, 
        rgba(212, 175, 55, 0.3) 30%, 
        transparent 70%) !important;
    border-radius: 50% !important;
    filter: blur(100px) !important;
    animation: orbPulse 12s ease-in-out infinite !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

@keyframes orbPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 1;
    }
}

/* Overlay for better text readability */
.hero-bg-overlay {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

/* Content stays above all backgrounds */
.hero-content,
.hero .container {
    position: relative !important;
    z-index: 10 !important;
}

/* Hide video background */
.video-background {
    display: none !important;
}

/* Light Rays Effect */
.hero-light-rays {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 21, 56, 0.08) 50%, transparent 70%) !important;
    background-size: 300% 300% !important;
    animation: lightRaysMove 20s linear infinite !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

@keyframes lightRaysMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 300%; }
}

/* Sparkle Effect */
@keyframes sparkle {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0) rotate(0deg);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5) rotate(180deg);
    }
}

.hero-sparkles {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

.hero-sparkles::before,
.hero-sparkles::after {
    content: "✦" !important;
    position: absolute !important;
    color: rgba(212, 175, 55, 0.8) !important;
    font-size: 30px !important;
    animation: sparkle 4s ease-in-out infinite !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8) !important;
}

.hero-sparkles::before {
    top: 25% !important;
    left: 15% !important;
    animation-delay: 0s !important;
}

.hero-sparkles::after {
    bottom: 30% !important;
    right: 20% !important;
    animation-delay: 2s !important;
}

/* Floating Particles */
@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translate(30px, -50px) rotate(180deg);
        opacity: 1;
    }
}

.hero .container::before {
    content: "" !important;
    position: absolute !important;
    width: 250px !important;
    height: 250px !important;
    top: 15% !important;
    right: 8% !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    animation: floatParticle 18s ease-in-out infinite !important;
    z-index: -1 !important;
    filter: blur(40px) !important;
}

.hero .container::after {
    content: "" !important;
    position: absolute !important;
    width: 200px !important;
    height: 200px !important;
    bottom: 18% !important;
    left: 12% !important;
    background: radial-gradient(circle, rgba(139, 21, 56, 0.25) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    animation: floatParticle 16s ease-in-out infinite reverse !important;
    z-index: -1 !important;
    filter: blur(40px) !important;
}

/* Ensure all animations are active */
* {
    animation-play-state: running !important;
}
