/* =================================================================
   WAVY ESSAI - PERSISTENT AUDIO PLAYER
   Shared audio player styles for all pages
   ================================================================= */

:root {
    --neon-blue: #00d4ff;
    --neon-violet: #a855f7;
    --gradient-neon: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-violet) 100%);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ===== AUDIO PLAYER (Sticky Bottom) ===== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--neon-blue);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.audio-player.active {
    transform: translateY(0);
}

.player-progress {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-neon);
    transition: width 0.1s linear;
    box-shadow: var(--glow-blue);
}

.player-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.player-text {
    flex: 1;
}

.player-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.player-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.control-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.control-btn.play-pause {
    width: 55px;
    height: 55px;
    background: var(--gradient-neon);
    border: none;
    font-size: 1.3rem;
    box-shadow: var(--glow-blue);
}

.control-btn.play-pause:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.control-btn.close-player {
    margin-left: 1rem;
}

.player-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    justify-content: flex-end;
}

.time-separator {
    color: rgba(255, 255, 255, 0.3);
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.volume-slider {
    width: 100px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--neon-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--glow-blue);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--neon-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--glow-blue);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .player-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .player-info {
        justify-content: center;
    }

    .player-time {
        justify-content: center;
    }

    .player-volume {
        justify-content: center;
    }

    .control-btn.close-player {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .player-thumbnail {
        width: 50px;
        height: 50px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn.play-pause {
        width: 50px;
        height: 50px;
    }

    .volume-slider {
        width: 80px;
    }
}
