/* ==========================================================================
   QeemaTech Animated Background - WordPress Version
   ========================================================================== */

/* Background Animation Container */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Gradient Background */
.bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(177, 78, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 212, 0.08) 0%, transparent 50%);
}

/* Animated Grid */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Glowing Orbs */
.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: floatGlow 25s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    will-change: transform;
}

.bg-glow--1 {
    top: -200px;
    right: -200px;
    background: #00d4ff;
}

.bg-glow--2 {
    bottom: -200px;
    left: -200px;
    background: #b14eff;
    animation-delay: -8s;
}

.bg-glow--3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00ffd4;
    width: 300px;
    height: 300px;
    animation-delay: -16s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, 40px) scale(1.08); }
    50% { transform: translate(0, 80px) scale(0.92); }
    75% { transform: translate(-40px, 40px) scale(1.04); }
}

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .bg-grid,
    .bg-glow {
        animation: none !important;
    }
}

