/* Halloween Event Styles */

.event-decorations.halloween-decorations {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* Dynia w lewym dolnym rogu */
.halloween-pumpkin {
    position: fixed;
    font-size: 80px;
    animation: pumpkin-glow 2s ease-in-out infinite;
    z-index: 9999;
}

.halloween-pumpkin-left {
    bottom: 20px;
    left: 20px;
}

@keyframes pumpkin-glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px #ff6600);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 20px #ff6600);
        transform: scale(1.05);
    }
}

/* Nietoperze */
.halloween-bats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bat {
    position: absolute;
    font-size: 40px;
    animation: bat-fly 15s linear infinite;
    opacity: 0.8;
}

.bat-1 {
    top: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bat-2 {
    top: 20%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.bat-3 {
    top: 30%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.bat-4 {
    top: 15%;
    animation-delay: 9s;
    animation-duration: 14s;
}

@keyframes bat-fly {
    0% {
        left: -100px;
        transform: translateY(0);
    }
    25% {
        transform: translateY(-30px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-20px);
    }
    100% {
        left: calc(100% + 100px);
        transform: translateY(0);
    }
}

/* Pajęczyny */
.halloween-web {
    position: fixed;
    top: 0;
    font-size: 100px;
    opacity: 0.6;
    animation: web-sway 3s ease-in-out infinite;
}

.halloween-web-left {
    left: 0;
}

.halloween-web-right {
    right: 0;
}

@keyframes web-sway {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Mobilne dostosowanie */
@media (max-width: 768px) {
    .halloween-pumpkin {
        font-size: 50px;
    }

    .bat {
        font-size: 30px;
    }

    .halloween-web {
        font-size: 60px;
    }
}
