/*==============================================================
VELVET MUSIC
==============================================================*/

.music-control{

    position:fixed;

    left:22px;

    bottom:95px;

    z-index:1100;

}

.music-control button{

    position:relative;

    width:64px;

    height:64px;

    border:none;

    outline:none;

    cursor:pointer;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    color:#111;

    background:

        linear-gradient(

            180deg,

            #f0d08a 0%,

            #d6b16d 45%,

            #9b6d2c 100%

        );

    border:1px solid rgba(255,255,255,.12);

    box-shadow:

        0 12px 35px rgba(214,177,109,.28);

    transition:.35s ease;

}

/*==============================================================
INNER RING
==============================================================*/

.music-control button::before{

    content:"";

    position:absolute;

    inset:5px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.25);

}

/*==============================================================
OUTER GLOW
==============================================================*/

.music-control button::after{

    content:"";

    position:absolute;

    inset:-8px;

    border-radius:50%;

    background:

        radial-gradient(

            rgba(214,177,109,.25),

            transparent 70%

        );

    z-index:-1;

    animation:velvetPulse 3s infinite;

}

@keyframes velvetPulse{

    0%{

        transform:scale(.85);

        opacity:.55;

    }

    70%{

        transform:scale(1.45);

        opacity:0;

    }

    100%{

        opacity:0;

    }

}

/*==============================================================
HOVER
==============================================================*/

.music-control button:hover{

    transform:translateY(-4px);

    box-shadow:

        0 18px 42px rgba(214,177,109,.38);

}

/*==============================================================
PLAYING
==============================================================*/

.music-control.playing button{

    animation:goldRotate 8s linear infinite;

}

.music-control.playing #musicIcon{

    animation:iconPulse 2s ease infinite;

}

@keyframes goldRotate{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes iconPulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.15);

    }

    100%{

        transform:scale(1);

    }

}

/*==============================================================
ICON
==============================================================*/

#musicIcon{

    position:relative;

    z-index:2;

    transition:.3s;

}

/*==============================================================
LUXURY STAR
==============================================================*/

.music-control .lux-star{

    position:absolute;

    top:-5px;

    right:-3px;

    width:10px;

    height:10px;

    border-radius:50%;

    background:#ffe4a3;

    box-shadow:

        0 0 12px #ffe4a3;

    animation:twinkle 2.8s infinite;

}

@keyframes twinkle{

    0%{

        opacity:.25;

        transform:scale(.8);

    }

    50%{

        opacity:1;

        transform:scale(1.3);

    }

    100%{

        opacity:.25;

        transform:scale(.8);

    }

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .music-control{

        left:18px;

        bottom:88px;

    }

    .music-control button{

        width:58px;

        height:58px;

        font-size:22px;

    }

}

@media(max-width:480px){

    .music-control{

        left:15px;

        bottom:82px;

    }

    .music-control button{

        width:54px;

        height:54px;

        font-size:20px;

    }

}