/* Countdown Timer Widget Styles - Orange Launch Theme */

.countdown-timer-wrapper {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.countdown-border-wrapper {
    background: rgba(255, 136, 0, 0.8);
    border-radius: 25px;
    padding: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-style: solid;
    border-width: 0;
    border-color: #ff6600;
}

.countdown-panel {
    background: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 20px;
    padding: 30px 50px 40px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.countdown-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.countdown-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff8800;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.countdown-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #cccccc, transparent);
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.countdown-box {
    border-radius: 15px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.countdown-box.primary {
    background: linear-gradient(to bottom, #ff9933 0%, #ff8800 50%, #ee7700 100%);
}

.countdown-box.secondary {
    background: linear-gradient(to bottom, #4a4a4a 0%, #3a3a3a 50%, #2a2a2a 100%);
}

.countdown-box::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 12px;
    pointer-events: none;
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.countdown-number {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    line-height: 1;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.countdown-number.countdown-update {
    transform: scale(1.1);
}

.countdown-separator {
    font-size: 40px;
    font-weight: 700;
    color: #999999;
    margin: 0 5px;
    align-self: center;
    margin-bottom: 35px;
}

.countdown-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #666666;
    text-transform: uppercase;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-border-wrapper {
        padding: 5px;
    }

    .countdown-panel {
        padding: 25px 30px 35px;
        border-radius: 18px;
    }

    .countdown-container {
        gap: 10px;
    }

    .countdown-box {
        width: 85px;
        height: 85px;
        border-width: 2px;
    }

    .countdown-number {
        font-size: 42px;
    }

    .countdown-separator {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .countdown-label {
        font-size: 9px;
    }

    .countdown-title {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .countdown-border-wrapper {
        padding: 4px;
    }

    .countdown-panel {
        padding: 20px 20px 30px;
        border-radius: 16px;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-box {
        width: 70px;
        height: 70px;
    }

    .countdown-number {
        font-size: 34px;
    }

    .countdown-separator {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .countdown-label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .countdown-title {
        font-size: 12px;
        margin-bottom: 15px;
    }
}
