.countdown-clock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.countdown-clock {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.countdown-display {
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #333;
    margin-bottom: 10px;
}

.countdown-display .separator {
    margin: 0 5px;
    color: #666;
}

.countdown-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.countdown-labels .label {
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .countdown-display {
        font-size: 1.8em;
    }
    
    .countdown-labels .label {
        font-size: 0.7em;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        font-size: 1.5em;
    }
    
    .countdown-labels .label {
        font-size: 0.6em;
    }
}

.debate-timer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.debate-timer {
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 20px;
    background: transparent;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.digit-container {
    perspective: 1000px;
    width: 20vw;
    height: 30vw;
}

.digit-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.8);
    border-radius: 15px;
    box-shadow: 
        0 0 20px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.digit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255,255,255,0.2) 0%, 
        rgba(255,255,255,0.05) 100%);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.digit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.1) 100%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.digit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.4);
}

.digit-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    z-index: 2;
}

.separator {
    font-size: 15vw;
    color: #666;
    margin: 0 10px;
    text-shadow: none;
    background: transparent;
    box-shadow: none;
    animation: blink 1s step-end infinite;
}

.timer-status {
    font-size: 5vw;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1em;
    color: #666;
}

/* Warning state (last 30 seconds) */
.debate-timer.warning .digit {
    color: #ffcc00;
}

/* Critical state (last 10 seconds) */
.debate-timer.critical .digit {
    color: #ff0000;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .digit-container {
        width: 25vw;
        height: 35vw;
    }
    
    .digit {
        font-size: 20vw;
    }
    
    .separator {
        font-size: 20vw;
    }
    
    .timer-status {
        font-size: 6vw;
    }
}

@media (max-width: 480px) {
    .digit-container {
        width: 30vw;
        height: 40vw;
    }
    
    .digit {
        font-size: 25vw;
    }
    
    .separator {
        font-size: 25vw;
    }
    
    .timer-status {
        font-size: 7vw;
    }
} 