﻿/* ============================================================================
   Параллакс-фон (общий для всех страниц)
   ============================================================================ */

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;
    z-index: var(--z-below);
}

.bg-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(96,165,250,0.1) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(52,211,153,0.08) 0%, transparent 40%), radial-gradient(circle at 40% 80%, rgba(251,191,36,0.06) 0%, transparent 40%);
    opacity: 0.5;
}

.bg-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(96,165,250,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(52,211,153,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    opacity: 0.3;
}

.bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.1;
}
