/* Efeito de Neve Sazonal - Apenas de 31/11 a 26/12 */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998; /* Abaixo da propaganda (9999) */
    overflow: hidden;
}

/* Imagem de Natal no canto inferior esquerdo da área de conteúdo */
#christmas-santa {
    position: fixed;
    bottom: 0;
    left: 265px; /* Compensa a largura do sidebar (250px + 15px) */
    width: 150px;
    height: auto;
    cursor: pointer;
    z-index: 9997;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

#christmas-santa:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Mensagem de Feliz Natal */
.christmas-message {
    position: fixed;
    bottom: 160px;
    left: 280px; /* Alinhada com a imagem */
    background: linear-gradient(135deg, #c9302c 0%, #d9534f 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 9997;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    pointer-events: none;
    animation: showChristmasMessage 2.5s ease-in-out;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Responsivo: ajusta para telas menores onde o sidebar fica escondido */
@media (max-width: 991px) {
    #christmas-santa {
        left: 0; /* No mobile, sidebar fica oculto, então vai para a borda esquerda */
    }
    
    .christmas-message {
        left: 15px;
    }
}

@keyframes showChristmasMessage {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    15% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
    }
    20% {
        transform: scale(1) translateY(0);
    }
    80% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
}

/* Efeitos especiais ao clicar */
.christmas-sparkle {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9996;
    animation: sparkleEffect 1s ease-out forwards;
}

@keyframes sparkleEffect {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg);
    }
}

.snowflake {
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    font-family: Arial, sans-serif;
    user-select: none;
    pointer-events: none;
    animation: fall linear infinite;
    opacity: 0.8;
}

.snowflake:nth-child(odd) {
    animation-duration: 8s;
    animation-delay: -2s;
}

.snowflake:nth-child(even) {
    animation-duration: 10s;
    animation-delay: -4s;
}

.snowflake:nth-child(3n) {
    animation-duration: 12s;
    animation-delay: -6s;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Variações de tamanho dos flocos */
.snowflake.size-small {
    font-size: 8px;
}

.snowflake.size-medium {
    font-size: 12px;
}

.snowflake.size-large {
    font-size: 18px;
}

.snowflake.size-xlarge {
    font-size: 24px;
}
