/* ============================================================
   COLOR CHANGER — style.css
   Light mode default. Dark mode via [data-theme="dark"]
   ============================================================ */

.page-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 2rem;
    text-align: center;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 360px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* ── Swatch palette ── */
.palette {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.swatch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.swatch {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid var(--border);
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.swatch:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-color: transparent;
}

.swatch.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light), 0 8px 24px rgba(0, 0, 0, 0.14);
    transform: scale(1.08) translateY(-4px);
}

.swatch-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* swatch colors */
#cyan {
    background: #00c9b1;
}

#white {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

#orange {
    background: #ff8c42;
}

#crimson {
    background: #e8264a;
}

/* ── Status pill ── */
.status-pill {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.3rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.3s ease;
}

#current-color {
    color: var(--text);
    font-weight: 700;
}