/* ==========================================================================
   ANIMATED ALBUM COVERS & PLAYER STAGES
   ========================================================================== */

#view-player {
    justify-content: space-between;
    padding: 14px 18px 18px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

/* Style Switcher Chips */
.style-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    padding: 3px;
}

.style-chip {
    background: none;
    border: none;
    color: var(--dim);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}

.style-chip:hover {
    color: #fff;
}

.style-chip.active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Stage containers switcher */
.stage-container {
    display: none;
    width: 100%;
}

.style-aero .aero-stage { display: flex; }
.style-vinyl .vinyl-stage { display: flex; }
.style-lyrics .lyrics-spotlight-stage { display: flex; flex-direction: column; }
.style-minimal .minimal-stage { display: flex; }

/* ==========================================================================
   1. AERO LIVING CANVAS (3D Parallax Tilt, Holographic Foil Sheen, Aura)
   ========================================================================== */
.artwork-stage {
    position: relative;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1;
    margin: 4px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.artwork-glow {
    position: absolute;
    inset: 10px;
    border-radius: 36px;
    background: radial-gradient(circle, var(--c1) 0%, var(--c2) 65%, transparent 100%);
    filter: blur(36px);
    opacity: 0.55;
    pointer-events: none;
    transition: background 1.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.artwork-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 17, 28, 0.7);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
    cursor: pointer;
}

.artwork-frame:hover {
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 230, 118, 0.25);
}

/* Living Canvas Cinematic Motion */
.artwork-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.artwork-frame.playing img {
    animation: kenBurnsMotion 24s infinite alternate ease-in-out;
}

@keyframes kenBurnsMotion {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-1%, -1.5%); }
    100% { transform: scale(1.05) translate(1.5%, 1%); }
}

/* Holographic Foil Reflection Sheen */
.holographic-sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 230, 118, 0.15) 60%, rgba(0, 176, 255, 0.2) 100%);
    opacity: 0.45;
    mix-blend-mode: overlay;
    transition: opacity 0.3s;
}

.artwork-frame:hover .holographic-sheen {
    opacity: 0.75;
}

/* Fallback vinyl disc */
.vinyl-disc {
    width: 78%;
    height: 78%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 2px, rgba(0, 0, 0, 0.4) 2px 7px), #080c14;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-disc.spinning {
    animation: vinylSpin 7s linear infinite;
}

.vinyl-core {
    width: 32%;
    height: 32%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   2. VINYL TURNTABLE & JACKET SLIDE-OUT STAGE
   ========================================================================== */
.turntable-wrap {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    margin: 4px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-record {
    position: relative;
    width: 92%;
    height: 92%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255,255,255,0.07) 0 2px, #0a0d14 2px 6px);
    border: 3px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), inset 0 0 22px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--ease-out);
}

.vinyl-record.spinning {
    animation: vinylSpin 5.5s linear infinite;
}

@keyframes vinylSpin {
    to { transform: rotate(360deg); }
}

/* Dynamic Radial Specular Sheen across grooves */
.vinyl-record::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 45deg, transparent 0deg, rgba(255,255,255,0.18) 45deg, transparent 90deg, transparent 180deg, rgba(255,255,255,0.18) 225deg, transparent 270deg);
    pointer-events: none;
}

.vinyl-groove {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.g1 { width: 85%; height: 85%; }
.g2 { width: 68%; height: 68%; }
.g3 { width: 50%; height: 50%; }

.vinyl-label {
    position: relative;
    width: 38%;
    height: 38%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vinyl-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-center-hole {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.6);
    z-index: 3;
}

/* Metallic Tonearm */
.turntable-arm {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 30px;
    height: 72px;
    border-right: 3px solid rgba(255, 255, 255, 0.55);
    border-top: 3px solid rgba(255, 255, 255, 0.55);
    border-top-right-radius: 14px;
    transform: rotate(18deg);
    transform-origin: top right;
    pointer-events: none;
    z-index: 6;
    transition: transform 0.5s var(--ease-out);
}

.turntable-arm.playing {
    transform: rotate(32deg);
}

/* ==========================================================================
   3. LYRIC SPOTLIGHT STAGE
   ========================================================================== */
.lyrics-spotlight-stage {
    height: 250px;
    margin: 4px auto 0;
    display: flex;
    flex-direction: column;
}

.mini-floating-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 6px 12px;
    margin-bottom: 8px;
}

.mini-floating-card img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-floating-card strong, .mini-floating-card span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-floating-card strong { font-size: 0.84rem; font-weight: 700; color: #fff; }
.mini-floating-card span { font-size: 0.7rem; color: var(--dim); }

.spotlight-lyrics-box {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
    text-align: center;
}

/* ==========================================================================
   4. MINIMAL STUDIO STAGE
   ========================================================================== */
.minimal-stage {
    height: 250px;
    margin: 4px auto 0;
    align-items: center;
    justify-content: center;
}

.minimal-wave-card {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    width: 100%;
}

.minimal-live-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--c1);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.minimal-titles div:first-child {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.minimal-titles div:last-child {
    font-size: 0.85rem;
    color: var(--dim);
    margin-top: 4px;
}

/* Live Frequency Canvas */
.spectrum-wrap {
    width: 100%;
    max-width: 280px;
    height: 28px;
    margin: 4px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#spec-canvas {
    width: 100%;
    height: 28px;
    display: block;
}