/* ==================== ANIMATED BACKGROUND ==================== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 77, 77, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(177, 74, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a0f 0%, #12121f 50%, #0a0a0f 100%);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
    opacity: 0.6;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; background: var(--cyan); }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; background: var(--primary); }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 14s; background: var(--purple); }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 19s; background: var(--cyan); }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 13s; background: var(--primary); }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 17s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 21s; background: var(--purple); }

@keyframes particleFloat {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; transform: scale(1); }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
