/* Февраль: северное сияние (редкое событие) */

#februaryAuroraLayer {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

.feb-aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    animation: febAuroraFadeInOut var(--total-dur, 12s) ease-in-out forwards;
    z-index: 2;
}

@keyframes febAuroraFadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    70% { opacity: 0.95; }
    90% { opacity: 0.5; }
    100% { opacity: 0; }
}

.feb-aurora-band {
    position: absolute;
    width: 210%;
    height: 75vh;
    left: -55%;
    border-radius: 50%;
    filter: blur(18px);
    background: radial-gradient(ellipse at 50% 30%,
            rgba(45, 212, 191, 1) 0%,
            rgba(167, 139, 250, 0.95) 25%,
            rgba(185, 255, 214, 0.9) 50%,
            rgba(167, 139, 250, 0.8) 70%,
            transparent 90%);
    box-shadow: 0 0 80px rgba(45, 212, 191, 0.7), 0 0 40px rgba(167, 139, 250, 0.7);
    animation: febAuroraShift var(--shift-dur, 10s) ease-in-out infinite alternate;
    animation-delay: var(--shift-delay, 0s);
    opacity: 1;
}

@keyframes febAuroraShift {
    0% { transform: translateY(0%) scaleX(1) rotate(0deg); }
    25% { transform: translateY(-4%) scaleX(1.2) rotate(3deg); }
    50% { transform: translateY(2%) scaleX(0.9) rotate(-2deg); }
    75% { transform: translateY(-3%) scaleX(1.1) rotate(1.5deg); }
    100% { transform: translateY(1%) scaleX(1) rotate(-1deg); }
}

.feb-aurora-band.feb-aurora-band--secondary {
    width: 170%;
    left: -35%;
    height: 55vh;
    top: 8%;
    filter: blur(20px);
    background: radial-gradient(ellipse at 40% 25%,
            rgba(167, 139, 250, 1) 0%,
            rgba(45, 212, 191, 0.9) 35%,
            rgba(255, 255, 255, 0.8) 65%,
            transparent 85%);
    box-shadow: 0 0 70px rgba(167, 139, 250, 0.6), 0 0 30px rgba(255, 255, 255, 0.5);
    animation-duration: calc(var(--shift-dur, 10s) * 1.5);
}

.feb-aurora-band.feb-aurora-band--tertiary {
    width: 230%;
    left: -65%;
    height: 40vh;
    top: 18%;
    filter: blur(22px);
    background: radial-gradient(ellipse at 60% 20%,
            rgba(45, 212, 191, 1) 0%,
            rgba(167, 139, 250, 0.85) 40%,
            transparent 80%);
    box-shadow: 0 0 60px rgba(45, 212, 191, 0.5), 0 0 20px rgba(255, 255, 255, 0.6);
    animation-duration: calc(var(--shift-dur, 10s) * 0.7);
}

.feb-aurora-ray {
    position: absolute;
    width: 6px;
    height: 150px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(185, 255, 214, 0.8) 30%,
            rgba(167, 139, 250, 0.6) 70%,
            transparent 100%);
    border-radius: 3px;
    filter: blur(3px);
    box-shadow: 0 0 15px rgba(185, 255, 214, 0.8), 0 0 8px rgba(255, 255, 255, 0.9);
    animation: febRayFloat var(--ray-dur, 6s) ease-in-out infinite alternate;
    animation-delay: var(--ray-delay, 0s);
    opacity: 0;
    transform-origin: bottom center;
}

@keyframes febRayFloat {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    20% { opacity: 0.9; }
    50% { opacity: 1; transform: translateY(-20px) rotate(7deg); }
    80% { opacity: 0.7; transform: translateY(-35px) rotate(-4deg); }
    100% { opacity: 0; transform: translateY(-50px) rotate(0deg); }
}

.feb-aurora-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(185, 255, 214, 0.8) 0%,
            rgba(167, 139, 250, 0.5) 40%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
    animation: febGlowFloat 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes febGlowFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -20px); }
}

@media (prefers-reduced-motion: reduce) {
    #februaryAuroraLayer {
        display: none;
    }
}
