/* ===== Vinyl Record Clock Theme ===== */

.vy-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
}

.vy-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted, #6b7280);
    letter-spacing: 0.02em;
    user-select: none;
}

.vy-switch {
    position: relative;
    width: 38px;
    height: 20px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.vy-switch:focus-visible {
    outline: 2px solid rgba(244, 114, 182, 0.6);
    outline-offset: 2px;
}

.vy-switch-thumb {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s ease,
                box-shadow 0.25s ease;
}

.vy-switch[aria-pressed="true"] {
    background: rgba(244, 114, 182, 0.18);
    border-color: rgba(244, 114, 182, 0.45);
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.25);
}

.vy-switch[aria-pressed="true"] .vy-switch-thumb {
    transform: translateX(18px);
    background: #f472b6;
    box-shadow: 0 0 8px rgba(244, 114, 182, 0.7);
}

/* ===== Stage ===== */
.vy-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.vy-plinth {
    position: relative;
    --disc-size: clamp(320px, 60vmin, 520px);
    width: var(--disc-size);
    height: var(--disc-size);
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 20%,
            #2a2421 0%,
            #1c1816 50%,
            #0e0b09 100%);
    box-shadow:
        0 30px 60px -22px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 -8px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* The disc itself */
.vy-disc-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84%;
    height: 84%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 16px 30px -10px rgba(0, 0, 0, 0.6);
    animation: vy-spin 5s linear infinite;
}

.vy-disc-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

@keyframes vy-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tonearm */
.vy-tonearm {
    position: absolute;
    top: 6%;
    right: 4%;
    width: 14%;
    height: 70%;
    pointer-events: none;
    transform-origin: 80% 8%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vy-tonearm svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.vy-plinth.no-arm .vy-tonearm {
    display: none;
}

/* Time readout */
.vy-readout {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    font-family: "Menlo", "Monaco", "Consolas", monospace;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #fef2f2;
    text-shadow: 0 0 10px rgba(254, 226, 226, 0.5),
                 0 0 24px rgba(254, 202, 202, 0.25);
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(254, 226, 226, 0.18);
    backdrop-filter: blur(6px);
}

/* Side info strip below plinth */
.vy-side-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: "Menlo", "Monaco", "Consolas", monospace;
    font-size: clamp(10px, 1.1vw, 12px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.vy-side-info-line {
    opacity: 0.85;
}

@media (max-width: 640px) {
    .vy-toolbar { gap: 6px 12px; padding: 5px 10px; }
    .vy-toggle-label { font-size: 11px; }
    .vy-readout { bottom: 10px; padding: 4px 12px; }
}