.music-section {
    background:
        linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.98)),
        url('../img/hero.png') center center / cover fixed no-repeat;
}

.player-card {
    position: relative;
    margin: 50px auto 35px;
    max-width: 520px;
    padding: 36px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    box-shadow: 0 0 40px rgba(255, 180, 80, 0.08);
    transition: 0.6s ease;
    overflow: hidden;
}

.player-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(255, 180, 80, 0.18),
        transparent 70%
    );
    opacity: 0;
    transition: 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.player-card:hover {
    box-shadow: 0 0 80px rgba(255, 180, 80, 0.25);
}

.player-card:hover::after {
    opacity: 1;
}

.player-card.playing {
    box-shadow: 0 0 120px rgba(255, 180, 80, 0.35);
}

.player-card.playing::after {
    opacity: 1;
    animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.45;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.16);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.45;
    }
}

.player-cover,
.player-info,
.progress-wrap,
.time-row {
    position: relative;
    z-index: 2;
}

.player-cover {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 26px;
    background: url('../img/hero.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .35s;
}

.player-cover.playing {
    transform: scale(1.03);
    box-shadow: 0 0 55px rgba(255,180,80,.28);
}

.play-button {
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #050505;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    z-index: 3;
}

.sound-waves {
    position: absolute;
    bottom: 18px;
    display: flex;
    gap: 4px;
    opacity: 0;
}

.player-cover.playing .sound-waves {
    opacity: 1;
}

.sound-waves span {
    width: 4px;
    height: 18px;
    background: white;
    animation: wave 1s infinite ease-in-out;
}

.sound-waves span:nth-child(2) { animation-delay: .1s; }
.sound-waves span:nth-child(3) { animation-delay: .2s; }
.sound-waves span:nth-child(4) { animation-delay: .3s; }
.sound-waves span:nth-child(5) { animation-delay: .4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(.4); }
    50% { transform: scaleY(1.4); }
}

.track-title {
    font-size: 23px;
    font-weight: 800;
}

.track-artist {
    margin-top: 7px;
    opacity: .55;
}

.progress-wrap {
    height: 5px;
    background: rgba(255,255,255,.18);
    margin-top: 28px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: white;
}

.time-row {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: .5;
}

.music-buttons {
    margin-top: 28px;
}
