:root {
    --primary-indigo: #4f46e5;
}

/* --- FUTURE 2030+ HYPER-MODERN CYBER-GLASS PLAYER --- */
.futura-player {
    max-width: 750px;
    width: 100%;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(79, 70, 229, 0.08) inset;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    color: #1a202c;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.futura-top-panel {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
    padding: 30px;
    align-items: center;
    position: relative;
}

@media(max-width: 600px) {
    .futura-top-panel {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }
}

/* Holographic Glow Artwork Container */
.futura-artwork-box {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.25);
    background: #000;
}

@media(max-width: 600px) {
    .futura-artwork-box {
        margin: 0 auto;
        width: 140px;
        height: 140px;
    }
}

.futura-artwork-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.futura-player.playing .futura-artwork-box img {
    transform: scale(1.06);
}

/* Live Sound Wave Simulation Ring Overlay */
.futura-wave-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.futura-player.playing .futura-wave-overlay {
    opacity: 1;
}

.futura-wave-bar {
    width: 4px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
    animation: soundWave 1.2s infinite ease-in-out alternate;
}
.futura-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.futura-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.futura-wave-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes soundWave {
    0% { height: 4px; }
    100% { height: 22px; }
}

/* Song Info Styling */
.futura-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    text-align: left;
}

@media(max-width: 600px) {
    .futura-info-wrap {
        text-align: center;
    }
}

.futura-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-indigo);
    font-weight: 700;
    margin-bottom: 6px;
}

.futura-song-title {
    font-size: 21px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 4px 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    display: block;
}

.futura-artist-name {
    font-size: 14px;
    color: #4a5568;
    font-weight: 600;
    margin: 0 0 16px 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    display: block;
}

/* Sleek Interactive Progress Bar / Seek Bar */
.futura-timeline {
    margin-bottom: 18px;
}

.futura-progress-track {
    width: 100%;
    height: 10px;
    background: #edf2f7;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.futura-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-indigo), #818cf8);
    border-radius: 5px;
    width: 0%;
    pointer-events: none;
}

.futura-time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #a0aec0;
    font-weight: 600;
    margin-top: 6px;
}

/* Next-Gen Action Buttons */
.futura-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media(max-width: 600px) {
    .futura-controls {
        justify-content: center;
    }
}

.futura-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #2d3748;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.futura-btn:hover {
    background: #edf2f7;
    color: var(--primary-indigo);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.15);
}

.futura-btn.active-control {
    background: #eef2ff;
    color: var(--primary-indigo);
    border-color: var(--primary-indigo);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

.futura-btn-play {
    width: 52px;
    height: 52px;
    background: linear-gradient(90deg, var(--primary-indigo), #6366f1);
    color: #ffffff;
    border: none;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.futura-btn-play:hover {
    background: linear-gradient(90deg, #4338ca, var(--primary-indigo));
    color: #fff;
}

/* Playlist Header & Container */
.futura-playlist-header {
    background: #f1f5f9;
    padding: 10px 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.futura-playlist-section {
    background: rgba(247, 250, 252, 0.7);
    padding: 12px 20px;
    max-height: 220px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.futura-playlist-section::-webkit-scrollbar {
    width: 6px;
}
.futura-playlist-section::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.futura-playlist-item {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
}

.futura-playlist-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: translateX(3px);
}

.futura-playlist-item.active {
    background: #eef2ff;
    border: 1px solid var(--primary-indigo);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.25), 0 4px 15px rgba(79, 70, 229, 0.08);
}

.futura-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}
.futura-playlist-item.active .futura-item-title {
    color: var(--primary-indigo);
    font-weight: 700;
}

.futura-item-artist {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    margin-top: 2px;
}