/* countdown_animator.css */

@keyframes countdownPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.countdown-text {
    font-size: 6rem;
    font-weight: bold;
    color: #ffce00;
    text-shadow: 0 0 10px rgba(255, 206, 0, 0.8), 0 0 20px rgba(255, 100, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
    position: relative;
    /* top, left, transform removidos para compatibilidade com layout flex */
    z-index: 1000;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Adiciona brilho anti-aliased ao redor dos números */
.countdown-text::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(8px);
    opacity: 0.7;
    z-index: -1;
}

/* Versão otimizada para performance em dispositivos de menor capacidade */
@media (prefers-reduced-motion) {
    .countdown-text {
        animation: none !important;
        transform: translate(-50%, -50%) scale(1.2) !important;
        opacity: 1 !important;
    }
}
