.countdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20dvh, 16rem);
    font-weight: var(--font-bold);
    color: var(--primary);
    line-height: 1;
    z-index: var(--z-50);
    display: none;
    pointer-events: none;

    &.active {
        display: block;
        animation: countdown-pop 1s ease-out 3;
    }
}

@keyframes countdown-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
    60%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}