/* ================================================
   Circle Countdown Timer – Frontend Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;800&display=swap');

.cct-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 40px 24px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Single unit ── */
.cct-unit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── SVG ring ── */
.cct-svg {
    display: block;
    transform: rotate(-90deg);
    overflow: visible;
}

.cct-track,
.cct-ring {
    fill: none;
}

.cct-ring {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Center text ── */
.cct-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
}

.cct-label {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.cct-number {
    font-family: 'Barlow', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ── Finished state ── */
.cct-wrapper.cct-finished .cct-number {
    opacity: 0.4;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .cct-wrapper {
        gap: 16px;
        padding: 24px 12px;
    }
    .cct-label {
        font-size: 10px;
    }
    .cct-number {
        font-size: 36px;
    }
}

@media (max-width: 400px) {
    .cct-wrapper {
        gap: 10px;
    }
}
