body{
margin:0;
color:#fff;
font-family:Inter,system-ui,sans-serif;
opacity:0;
animation:fadein .9s forwards;
min-height:100vh;
background:
radial-gradient(circle at 50% -10%,rgba(255,255,255,.08),transparent 40%),
radial-gradient(circle at 20% 0%,rgba(255,255,255,.04),transparent 35%),
linear-gradient(180deg,#050505 0%,#020202 60%,#000 100%)
}

@keyframes fadein{
to{opacity:1}
}

.app{
padding:90px 24px 240px;
max-width:980px;
margin:auto
}

.album{
display:flex;
gap:40px;
align-items:center;
margin-bottom:42px;
padding:28px;
border-radius:28px;
background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
border:1px solid rgba(255,255,255,.08);
backdrop-filter:blur(18px);
box-shadow:
0 40px 120px rgba(0,0,0,.6),
inset 0 1px 0 rgba(255,255,255,.06)
}

.cover{
width:200px;
height:200px;
object-fit:cover;
border-radius:22px;
box-shadow:
0 0 0 1px rgba(255,255,255,.07),
0 30px 80px rgba(0,0,0,.6),
0 0 140px rgba(255,255,255,.08)
}

.meta h1{
margin:0;
font-size:56px;
font-weight:800;
letter-spacing:-.05em;
line-height:1
}

.meta h2{
margin-top:12px;
font-size:14px;
letter-spacing:.2em;
text-transform:uppercase;
color:#9c9c9c
}

.library{
display:flex;
flex-direction:column;
gap:12px
}

.track{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 20px;
border-radius:18px;
cursor:pointer;
background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
border:1px solid rgba(255,255,255,.06);
transition:
transform .18s ease,
background .18s ease,
border-color .18s ease,
box-shadow .18s ease;
box-shadow:0 12px 28px rgba(0,0,0,.25)
}

.track:hover{
transform:translateY(-2px);
background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
border-color:rgba(255,255,255,.12);
box-shadow:0 20px 50px rgba(0,0,0,.35)
}

.track.active{
background:linear-gradient(90deg,rgba(255,255,255,.13),rgba(255,255,255,.05));
border-color:rgba(255,255,255,.15);
box-shadow:
0 0 0 1px rgba(255,255,255,.04),
0 22px 60px rgba(0,0,0,.4),
0 0 40px rgba(255,255,255,.06)
}

.track span:first-child{
font-size:15px;
font-weight:600
}

.dur{
color:#8a8a8a;
font-size:13px;
font-variant-numeric:tabular-nums
}

.player{
position:fixed;
left:50%;
bottom:18px;
transform:translateX(-50%);
width:min(980px,calc(100% - 20px));
padding:18px 20px;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
border-radius:26px;
background:linear-gradient(180deg,rgba(20,20,20,.85),rgba(8,8,8,.85));
backdrop-filter:blur(28px) saturate(150%);
border:1px solid rgba(255,255,255,.08);
box-shadow:
0 30px 90px rgba(0,0,0,.7),
inset 0 1px 0 rgba(255,255,255,.05)
}

.now{
display:flex;
align-items:center;
gap:16px;
flex:1
}

.mini{
width:58px;
height:58px;
border-radius:16px;
object-fit:cover;
box-shadow:
0 0 0 1px rgba(255,255,255,.06),
0 10px 28px rgba(0,0,0,.4)
}

#title{
font-size:15px;
font-weight:650;
max-width:320px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis
}

.artist{
font-size:12px;
color:#a0a0a0;
margin-top:4px
}

.controls{
display:flex;
align-items:center;
gap:14px;
width:100%;
max-width:520px
}

button{
width:42px;
height:42px;
border-radius:14px;
display:grid;
place-items:center;
background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
border:1px solid rgba(255,255,255,.08);
color:#fff;
cursor:pointer;
transition:.18s;
box-shadow:0 10px 26px rgba(0,0,0,.25)
}

button:hover{
transform:translateY(-1px);
background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
box-shadow:0 16px 40px rgba(0,0,0,.35)
}

#play{
width:46px;
height:46px;
background:linear-gradient(180deg,#ffffff,#dadada);
color:#000;
border:none;
box-shadow:
0 0 0 1px rgba(255,255,255,.25),
0 14px 30px rgba(255,255,255,.12),
0 12px 28px rgba(0,0,0,.35)
}

#play:hover{
background:linear-gradient(180deg,#fff,#eaeaea)
}

#current,#total{
font-size:12px;
color:#b3b3b3;
width:40px;
text-align:center;
font-variant-numeric:tabular-nums
}

#progress{
flex:1;
appearance:none;
height:7px;
border-radius:999px;
background:rgba(255,255,255,.12);
position:relative;
overflow:hidden
}

#progress::-webkit-slider-thumb{
appearance:none;
width:15px;
height:15px;
border-radius:50%;
background:#fff;
margin-top:-4px;
box-shadow:0 0 0 5px rgba(255,255,255,.08),0 0 18px rgba(255,255,255,.45);
opacity:0;
transition:.15s
}

.controls:hover #progress::-webkit-slider-thumb{
opacity:1
}

#progress::after{
content:"";
position:absolute;
left:0;
top:0;
height:100%;
width:var(--progress);
border-radius:999px;
background:linear-gradient(90deg,#fff,#e8e8e8,#fff);
box-shadow:
0 0 14px rgba(255,255,255,.6),
0 0 36px rgba(255,255,255,.18)
}

@media(max-width:760px){

.app{
padding:32px 16px 220px
}

.album{
flex-direction:column;
align-items:flex-start;
gap:22px
}

.cover{
width:150px;
height:150px
}

.meta h1{
font-size:38px
}

.player{
flex-direction:column;
gap:12px;
padding:14px
}

.controls{
width:100%
}

#title{
max-width:none
}

}
