ctimer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
}

.countdown-container {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.countdown-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-message {
    margin-top: 2rem;
    font-size: 1.25rem;
    color: #e94560;
    min-height: 1.5em; /* Prevent layout shift */
}

.countdown-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #143175;
}

/* Progress Bar Styles */
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #143175, #1431DC);
    border-radius: 6px;
    transition: width 0.5s ease-in-out;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #a0a0b0;
}

.progress-percent {
    color: #e94560;
    font-weight: bold;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #5F7933;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-wrapper {
    margin-bottom: 2.5rem;
    text-align: left;
}

.time-card {
    background: #143175;
    border: 1px solid #000000;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.time-value {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.time-label {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0b0;
}

@media (max-width: 600px) {
    .countdown-title {
        font-size: 1.4rem;
    }

    .time-card {
        min-width: 75px;
        padding: 1.25rem 1rem;
    }

    .time-value {
        font-size: 2rem;
    }
    
    .progress-wrapper {
        margin-bottom: 1.5rem;
    }
}
