/* ================================================================
   SHROOM VISUALIZER PLAYER — CSS (STEP 3)
   Psychedelic Neon Canvas Visualizer Styling
   ================================================================= */

/* Root container */
.shroom-viz-player {
    position: relative;
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Top row — artwork + metadata */
.shroom-viz-top {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
}

.shroom-viz-artwork {
    width: 64px;
    height: 64px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Metadata text */
.shroom-viz-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shroom-viz-title {
    font-weight: bold;
    font-size: 20px;
}

.shroom-viz-artist {
    font-size: 16px;
    opacity: 0.8;
}

/* Waveform container */
.shroom-viz-waveform-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

/* canvases stacked */
.viz-canvas-bg,
.viz-canvas-play {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    background: transparent !important;
    mix-blend-mode: lighten;
    pointer-events: none;
}

/* Bottom row — play button + stats */
.shroom-viz-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shroom-viz-plays {
    font-size: 14px;
    opacity: 0.85;
}

/* Play button */
.viz-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    border: 2px solid #666;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.viz-play-btn:hover {
    background: #222;
    border-color: #fff;
    box-shadow: 0 0 14px rgba(255,255,255,0.6);
}

/* Icons */
.viz-icon-play,
.viz-icon-pause {
    font-size: 20px;
    line-height: 1;
    user-select: none;
}
