.music-player {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: calc(var(--player-size) * 7.5);
    height: var(--player-size);
    background: var(--card-bg);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    gap: 1rem;
    box-shadow: var(--shadow-md), var(--tech-glow);
    border: var(--tech-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.5s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.music-player {
    box-shadow: var(--shadow-dark), var(--tech-glow);
    --tech-border: 1px solid rgba(79, 109, 245, 0.3);
}

.music-player:hover {
    box-shadow: var(--shadow-lg), var(--tech-glow-hover);
    transform: translateY(-2px);
}

.music-player:hover {
    box-shadow: var(--shadow-lg), var(--tech-glow-hover);
}

.album-art {
    width: var(--player-size);
    height: var(--player-size);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a63d2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 15px rgba(79, 109, 245, 0.3);
    border: var(--tech-border);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-art::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card-bg);
    z-index: 2;
}

.track-info {
    flex-grow: 1;
    min-width: 0;
}

.track-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.control-btn {
    width: var(--player-size);
    height: var(--player-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(79, 109, 245, 0.1);
}

.control-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(79, 109, 245, 0.3);
}

.play-btn {
    width: calc(var(--player-size) * 1.2);
    height: calc(var(--player-size) * 1.2);
    background: var(--primary);
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 0 15px rgba(79, 109, 245, 0.3);
    border: var(--tech-border);
}

.play-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(79, 109, 245, 0.5);
}

.progress-container {
    position: absolute;
    bottom: -8px;
    left: 1.5rem;
    right: 1.5rem;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 30%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 5px var(--primary);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    width: 70%;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 5px var(--primary);
}

@media (max-width: 992px) {
    .music-player {
        width: calc(var(--player-size) * 6.5);
    }

    .tech-border-corner {
        width: 30px;
        height: 30px;
    }

    .top-left {
        top: 15px;
        left: 15px;
    }

    .top-right {
        top: 15px;
        right: 15px;
    }

    .bottom-left {
        bottom: 15px;
        left: 15px;
    }

    .bottom-right {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .music-player {
        width: calc(var(--player-size) * 5);
        padding: 0 0.8rem;
        gap: 0.7rem;
    }

    .album-art {
        width: var(--player-size);
        height: var(--player-size);
    }

    .track-title {
        font-size: 0.85rem;
    }

    .track-artist {
        font-size: 0.75rem;
    }

    .control-btn {
        width: var(--player-size);
        height: var(--player-size);
    }

    .play-btn {
        width: calc(var(--player-size) * 1.1);
        height: calc(var(--player-size) * 1.1);
    }

    .volume-control {
        display: none;
    }
}

@media (max-width: 480px) {
    .music-player {
        width: calc(var(--player-size) * 3.5);
    }

    .player-controls {
        gap: 0.5rem;
    }
}