.halloween-banner {
    background: linear-gradient(to right, #5c1e1e, #2c0a0a);
    color: #ffcc00;
    text-align: center;
    font-size: 18px;
    padding: 10px 0;
    font-weight: bold;
    border-bottom: 2px solid #000;
    text-shadow: 1px 1px 3px #000;
}

#halloween-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}

.halloween-item {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
}

.ghost {
    top: 25%;
    left: 10%;
    width: 60px;
    animation: floatGhost 6s ease-in-out infinite;
}

.pumpkin {
    bottom: 3%;
    left: 2%;
    width: 55px;
    animation: pulsePumpkin 3s ease-in-out infinite;
}

.spider {
    top: -60px;
    right: 10%;
    width: 45px;
    animation: dropSpider 4s ease-in-out infinite;
}

@keyframes floatGhost {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulsePumpkin {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes dropSpider {
    0% { top: -60px; }
    50% { top: 60px; }
    100% { top: -60px; }
}


.halloween-ghost {
    position: absolute;
    width: 60px;
    top: 0;
    left: -100px;
    animation: flyGhost 10s linear forwards;
    opacity: 0.9;
    pointer-events: none;
}

@keyframes flyGhost {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(120vw);
    }
}

.halloween-spider {
    position: absolute;
    top: -60px;
    width: 40px;
    animation: dropSpider 8s ease-in-out forwards;
    opacity: 0.95;
}

@keyframes dropSpider {
    0% { top: -60px; opacity: 0; }
    40% { top: 70px; opacity: 1; }
    60% { top: 90px; }
    100% { top: -60px; opacity: 0; }
}

.halloween-pumpkin {
    position: absolute;
    bottom: 10px;
    width: 50px;
    animation: pulsePumpkin 6s ease-in-out forwards;
    opacity: 0.85;
}

@keyframes pulsePumpkin {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0;
    }
    30% {
        transform: scale(1.1);
        opacity: 1;
    }
    60% {
        transform: scale(1);
    }
}
