
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0f0f17;
}

.player{
    width:300px;
    height:520px;
    background:#181825;
    border-radius:30px;
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 20px 40px rgba(0,0,0,0.6);
    color:white;
}

/* Vinyl Container */
.vinyl{
    width:200px;
    height:200px;
    border-radius:50%;
    background:radial-gradient(circle at center,#444 10%,#111 70%);
    display:flex;
    justify-content:center;
    align-items:center;
    animation:spin 6s linear infinite;
    position:relative;
}

/* Album Image */
.album-img{
    width:120px;
    height:120px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #222;
}

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

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* Song Info */
.song{
    text-align:center;
}

.song h2{
    font-size:18px;
    margin-bottom:5px;
}

.song p{
    font-size:13px;
    opacity:0.7;
}

/* Equalizer */
.equalizer{
    display:flex;
    gap:6px;
    height:60px;
    align-items:flex-end;
}

.bar{
    width:6px;
    background:#00f5ff;
    border-radius:5px;
    animation:bounce 1s infinite ease-in-out;
}

.bar:nth-child(2){animation-delay:.2s;}
.bar:nth-child(3){animation-delay:.4s;}
.bar:nth-child(4){animation-delay:.6s;}
.bar:nth-child(5){animation-delay:.8s;}

@keyframes bounce{
    0%,100%{height:10px;}
    50%{height:60px;}
}

/* Progress */
.progress{
    width:100%;
    height:6px;
    background:#333;
    border-radius:5px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    width:40%;
    background:linear-gradient(90deg,#00f5ff,#ff4d6d);
    animation:move 4s infinite alternate;
}

@keyframes move{
    from{width:20%;}
    to{width:90%;}
}

/* Controls */
.controls{
    display:flex;
    gap:25px;
    font-size:22px;
}

.controls span{
    cursor:pointer;
    transition:0.3s;
}

.controls span:hover{
    color:#ff4d6d;
    transform:scale(1.2);
}

