
/* TEMA DE NATAL */
/* Tema de Natal baseado no Bluestacks */
@media (min-width: 768px) {
    body.christmas-celebration {
        position: relative;
    }

    body.christmas-celebration .snow {
        display: block;
    }

    body.christmas-celebration .footer-wrapper,
    body.christmas-celebration .footer {
        padding-bottom: 149px !important;
    }

    body.christmas-celebration .footer-wrapper .policy-links,
    body.christmas-celebration .footer .policy-links {
        z-index: 10;
    }

    body.christmas-celebration.download-page {
        z-index: auto !important;
    }

    /* Neve no topo */
    body.christmas-celebration::before {
        content: "";
        background: url(../img/xmas-snow-top.png) no-repeat;
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        z-index: 9998;
        right: 0;
        background-size: 100%;
        pointer-events: none;
    }

    /* Neve/chão no rodapé */
    body.christmas-celebration::after {
        content: "";
        background: url(../img/snowland.png) no-repeat;
        position: fixed;
        left: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        z-index: 10;
        right: 0;
        background-position: bottom center;
        background-size: 100%;
        pointer-events: none;
    }

    /* Imagem extra de Natal (se quiser usar um GIF ou algo no canto) */
    .gif-img.x-mas-img {
        position: absolute;
        bottom: 20px;
        right: 100px;
        max-width: 170px;
        z-index: 2;
    }

    /* Papai Noel à esquerda e boneco de neve à direita (opcionais) */
    .santa-left,
    .snowman-right {
        position: fixed !important;
        z-index: 11 !important;
        pointer-events: none;
    }

    .santa-left {
        left: 70px;
        bottom: 26px;
        width: 160px !important;
        height: auto !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    }

    .snowman-right {
        width: 155px !important;
        height: auto !important;
        right: 8px !important;
        left: unset !important;
        bottom: 26px !important;
        z-index: 9 !important;
    }

    
}



/* Botão com tema de Natal (chapéu + meias) */
.btn-teste-gratis-natal {
    position: relative;
    overflow: visible; /* importante para não cortar o chapéu/meias */
}

/* Chapéu de Papai Noel no canto superior esquerdo */
.btn-teste-gratis-natal::before {
    content: "";
    position: absolute;
    top: -22px;     /* ajuste fino conforme seu layout */
    left: -24px;    /* ajuste fino conforme seu layout */
    width: 60px;    /* largura do chapéu */
    height: 60px;
    background: url("../img/xmas-cap.png") no-repeat center center;
    background-size: contain;
    pointer-events: none;
    transform-origin: bottom center;
    animation: balanca-chapeu 1.8s ease-in-out infinite;
}

/* Animação de balanço do chapéu */
@keyframes balanca-chapeu {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-10deg); }
    40%  { transform: rotate(6deg); }
    60%  { transform: rotate(-4deg); }
    80%  { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}


/* Flocos de neve individuais (criadas via JS) */
    .snowflake {
        position: fixed;
        top: -20px;
        pointer-events: none;
        opacity: 0.9;
        font-size: 10px;
        color: #ffffff;
        animation-name: fall;
        animation-timing-function: linear;
        animation-iteration-count: 1;
    }

    @keyframes fall {
        0% {
            transform: translate3d(0, -20px, 0);
        }
        100% {
            transform: translate3d(0, 110vh, 0);
        }
    }

    @-webkit-keyframes fall {
        0% {
            -webkit-transform: translate3d(0, -20px, 0);
        }
        100% {
            -webkit-transform: translate3d(0, 110vh, 0);
        }
    }



/* ================================
   AJUSTES DO TEMA DE NATAL – MOBILE
   ================================ */
@media (max-width: 767.98px) {

    /* Recria a neve do TOPO para mobile */
    body.christmas-celebration::before {
        content: "";
        position: fixed;
        left: 0;
        top: 20px; /* ajuste fino da posição */
        width: 100%;
        height: 110px; /* ajuste fino da altura */
        background: url("../img/xmas-snow-top.png")
                    no-repeat top center;
        background-size: cover;
        pointer-events: none;
        z-index: 1000;
    }

    /* Recria a neve do RODAPÉ (snowland) para mobile */
    body.christmas-celebration::after {
        content: "";
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 140px; /* ajuste fino da altura */
        background: url("../img/snowland.png")
                    no-repeat bottom center;
        background-size: cover;
        pointer-events: none;
        z-index: 10;
    }

    /* Esconde o Papai Noel e o Boneco de Neve no mobile
       (se quiser mostrar, eu ajusto a posição ao invés de esconder) */
    .santa-left {
        position: fixed !important;
        left: 5px !important;
        bottom: 12px !important;
        width: 85px !important;
        height: auto !important;
        pointer-events: none;
        z-index: 11 !important;
    }

    .snowman-right {
        position: fixed !important;
        right: 25px !important;
        bottom: 12px !important;
        width: 85px !important;
        height: auto !important;
        pointer-events: none;
        z-index: 11 !important;
    }
}

/* TEMA DE NATAL */