/* ------------------------------------------- */
/* --- TEMA DE NATAL (LUZES E NEVE) --- */
/* ------------------------------------------- */

/* --- LUZES DE NATAL (PISCA-PISCA) --- */
.christmas-light {
    position: absolute;
    /* top é definido via JS agora */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 60;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: blink;
}

/* Fio das luzes (agora via SVG, mas mantemos classe caso precise de algo global) */
.christmas-wire {
    display: none;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
        box-shadow: 0 0 0 transparent;
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 10px currentColor;
    }
}

/* Cores das luzes */
.light-red {
    background-color: #ef4444;
    color: #ef4444;
    animation-delay: 0s;
}

.light-green {
    background-color: #22c55e;
    color: #22c55e;
    animation-delay: 0.5s;
}

.light-gold {
    background-color: #eab308;
    color: #eab308;
    animation-delay: 1s;
}

.light-blue {
    background-color: #3b82f6;
    color: #3b82f6;
    animation-delay: 1.5s;
}

/* --- EFEITO DE NEVE --- */
.snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* --- PAPAI NOEL VOANDO --- */
.flying-santa {
    position: fixed;
    width: 300px;
    /* Ajuste o tamanho conforme necessário */
    z-index: 9998;
    /* Acima de quase tudo, mas abaixo do menu se necessário */
    pointer-events: none;
    /* Permite clicar através da imagem */
    /* Posição inicial fora da tela */
    left: 110vw;
    top: 10vh;
    /* Animação */
    animation: santaFly 20s linear infinite;
    /* Brilho amarelo e rastro */
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)) drop-shadow(30px -15px 20px rgba(255, 215, 0, 0.5)) drop-shadow(60px -30px 40px rgba(255, 215, 0, 0.3));
}

@keyframes santaFly {
    0% {
        left: 110vw;
        top: 5vh;
        transform: rotate(0deg);
    }

    100% {
        left: -50vw;
        /* Vai para a esquerda até sair da tela */
        top: 80vh;
        /* Desce na diagonal */
        transform: rotate(-10deg);
        /* Leve inclinação */
    }
}

/* --- RASTRO DO PAPAI NOEL --- */
.santa-trail-dot {
    position: fixed;
    background-color: #ffd700;
    /* Dourado */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    /* Logo abaixo do Papai Noel */
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ff8c00;
    /* Brilho intenso */
    opacity: 1;
    animation: trailFade 1.5s linear forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.1);
    }
}