/* ===================================
   Background — Анимации и эффекты
   =================================== */

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.bg-gradient-1 {
    background: var(--accent);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.bg-gradient-2 {
    background: var(--accent-warm);
    bottom: -300px;
    left: -200px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 50px) scale(0.9);
    }
}

/* Fire Particles */
.fire-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: fireFloat 8s infinite;
}

@keyframes fireFloat {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: scale(0.5);
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(1);
    }
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 61, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 61, 61, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow {
    box-shadow: 0 0 20px var(--accent-glow);
}

.glow-lg {
    box-shadow: 0 0 40px var(--accent-glow);
}

.glow-xl {
    box-shadow: 0 0 60px var(--accent-glow);
}
