/* Мистические спрайты и эффекты */

/* Плавающие мистические символы */
.mystical-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.mystical-symbol {
    position: absolute;
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.3;
    text-shadow: 0 0 10px var(--text-glow);
    animation: float-symbol 15s infinite ease-in-out;
}

.mystical-symbol:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.mystical-symbol:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.mystical-symbol:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.mystical-symbol:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 19s;
}

.mystical-symbol:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 8s;
    animation-duration: 21s;
}

.mystical-symbol:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 10s;
    animation-duration: 17s;
}

@keyframes float-symbol {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg) scale(1.2);
        opacity: 0.4;
    }
    50% {
        transform: translate(-20px, -100px) rotate(180deg) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, -30px) rotate(270deg) scale(1.1);
        opacity: 0.5;
    }
}

/* Мистические линии энергии */
.energy-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.2;
}

.energy-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--gold) 50%, 
        transparent 100%);
    box-shadow: 0 0 10px var(--gold);
    animation: energy-flow 3s infinite;
}

@keyframes energy-flow {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh);
    }
}

/* Мистические свечения */
.mystical-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(74, 20, 140, 0.1) 50%, 
        transparent 100%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

.mystical-glow:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.mystical-glow:nth-child(2) {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.mystical-glow:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Созвездия (хаотичное движение) */
.constellation {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--gold);
    animation: star-twinkle 3s infinite;
}

.star::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold);
    border-radius: 50%;
    animation: star-pulse 2s infinite;
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes star-pulse {
    0%, 100% {
        box-shadow: 0 0 3px var(--gold);
    }
    50% {
        box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
    }
}
