/* 基础样式 */
.music-player {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    width: 100%;
	height: 100px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

.music-player:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 专辑封面样式 */
.album-cover {
    width: 120px;
    height: 100px;
    object-fit: cover;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* 右侧内容区域 */
.player-content {
    flex: 1;
    padding: 0 20px; /* 移除上下padding，改为使用flex居中 */
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex; /* 添加flex布局 */
    align-items: center; /* 垂直居中 */
}

/* 模糊背景效果 */
.player-bg {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.8);
    z-index: 1;
    opacity: 0.7;
}

/* 渐变遮罩 */
.player-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 114, 235, 0.3) 0%, rgba(255, 145, 144, 0.3) 100%);
}

/* 歌曲信息区域 */
.player-info {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex: 1; /* 占据剩余空间 */
    padding: 0 10px; /* 添加垂直padding */
}

/* 播放按钮样式 */
.play-btn {
    position: absolute;
    top: 35px;
	left: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e72eb 0%, #ff9190 100%);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-left: 15px; /* 添加左边距分隔信息区域 */
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.play-btn i {
    font-size: 16px;
    margin-left: 2px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .music-player {
        max-width: 100%;
        border-radius: 0;
    }
    
    .album-cover {
        width: 100px;
        height: 100px;
    }
   
	.player-content {
        padding: 0 15px;
    }
    
    .player-info {
        padding: 10px 0;
    }
    
    .play-btn {
        width: 36px;
        height: 36px;
        margin-left: 10px;
    }
}