/* ==========================================
   COUNTDOWN — scoped styles
   ========================================== */

.countdown-wrapper {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999997;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.countdown-wrapper .countdown {
    display: flex;
    gap: 12px;
}

.countdown-wrapper .time {
    background-color: #020617;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: center;
    min-width: 62px;
}

.countdown-wrapper .time small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

.countdown-wrapper .number {
    height: 34px;
    overflow: hidden;
    position: relative;
}

.countdown-wrapper .number span {
    display: block;
    font-size: 26px;
    font-weight: bold;
    line-height: 34px;
    transition: transform 0.4s ease-in-out;
}

/* Mobile */
@media (max-width: 600px) {
    .countdown-wrapper {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 10px;
    }

    .countdown-wrapper .countdown {
        gap: 6px;
    }

    .countdown-wrapper .time {
        padding: 6px 8px;
        min-width: 46px;
    }

    .countdown-wrapper .number {
        height: 26px;
    }

    .countdown-wrapper .number span {
        font-size: 18px;
        line-height: 26px;
    }

    .countdown-wrapper .time small {
        font-size: 9px;
    }
}