/* Анимированный фон с частицами */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0c0c1e 0%, #1a1a3a 30%, #2d1b69 60%, #1e3c72 100%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.8) 0%, rgba(150, 150, 255, 0.4) 50%, transparent 100%);
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
    filter: blur(0.5px);
}

.particle:nth-child(odd) {
    background: radial-gradient(circle, rgba(180, 150, 255, 0.6) 0%, rgba(120, 180, 255, 0.3) 50%, transparent 100%);
    animation-delay: -2s;
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: radial-gradient(circle, rgba(80, 180, 255, 0.5) 0%, rgba(140, 200, 255, 0.2) 50%, transparent 100%);
    animation-delay: -4s;
    animation-duration: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.05);
        opacity: 0.8;
    }
}

/* Дополнительные эффекты свечения */
.glow-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, rgba(100, 150, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Световые лучи */
.light-rays {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -3;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(100, 200, 255, 0.03) 45deg, transparent 90deg, rgba(150, 180, 255, 0.03) 135deg, transparent 180deg);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}