#timerDisplay.activeTimer {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    display: flex;
    justify-content: center;
}

#timerDisplay.low-time {
    color: #ff4d4d;
    transform: scale(1.2);
}

#timerDisplay.pulsing {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
}

