.countdown {
    position: relative;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.countdown-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-overlay, black);
    opacity: var(--background-opacity, 0.5);
    z-index: 2;
}

.countdown-content {
    position: relative;
    z-index: 3;
}

.countdown {
    --title-color: #ffffff;
    --digits-color: #ffffff;
    --labels-color: #cccccc;
    --background-opacity: 0.5;
    --background-overlay: #000000;
}

.countdown .event-name {
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--title-color);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: stretch; 
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    text-align: center;
    /* margin-bottom: 10px; */
}

.countdown-item .value {
    font-size: 36px;
    font-weight: bold;
    color: var(--digits-color);
}

.countdown-item .label {
    font-size: 14px;
    color: var(--labels-color);
}

@media (max-width: 768px) {
    .countdown-item {
        min-width: 60px;
    }

    .countdown-item .value {
        font-size: 24px;
    }

    .countdown-item .label {
        font-size: 12px;
    }
}