﻿/* Pumpkin beside title */
#pumpkinCanvas {
    margin-left: 10px;
    vertical-align: middle;
}

/* Halloween Neon Header Glow */
header {
    position: relative;
    box-shadow:
        0 0 12px rgba(255, 102, 0, 0.7),
        0 0 22px rgba(255, 51, 0, 0.6),
        inset 0 0 18px rgba(255, 102, 0, 0.5);
    animation: headerGlowPulse 3s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow:
        0 0 30px rgba(255, 120, 0, 0.9),
        0 0 50px rgba(255, 60, 0, 0.8),
        inset 0 0 30px rgba(255, 120, 0, 0.7);
}

@keyframes headerGlowPulse {
    0% {
        box-shadow:
            0 0 10px rgba(255, 102, 0, 0.6),
            0 0 18px rgba(255, 51, 0, 0.5),
            inset 0 0 14px rgba(255, 102, 0, 0.4);
    }
    50% {
        box-shadow:
            0 0 26px rgba(255, 140, 0, 0.9),
            0 0 40px rgba(255, 80, 0, 0.8),
            inset 0 0 22px rgba(255, 140, 0, 0.7);
    }
    100% {
        box-shadow:
            0 0 10px rgba(255, 102, 0, 0.6),
            0 0 18px rgba(255, 51, 0, 0.5),
            inset 0 0 14px rgba(255, 102, 0, 0.4);
    }
}

/* Ghost behind title */
#ghostCanvas {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 10;
    z-index: 1;
}


/* Full‑width bat canvas */
#batCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 3;

    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9))
            drop-shadow(0 0 10px rgba(255, 120, 0, 0.5));

    opacity: 0;
    animation: batFadeIn 2s ease forwards;
}

@keyframes batFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
