/* ===================================================
   RADIO MEGA-SUNSHINE FRAMEWORK
   PLAYER
=================================================== */

.mega-player-card{

    background:#ffffff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

    border:1px solid #d9efbe;

    margin:40px auto;

    max-width:700px;

}

/* HEADER */

.player-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}

.player-header h2{

    color:#4d9d28;

    font-size:1.8rem;

}

.player-live{

    background:#e60000;

    color:#fff;

    padding:8px 16px;

    border-radius:30px;

    font-weight:bold;

    animation:pulse 1.5s infinite;

}

/* COVER */

.player-cover{

    text-align:center;

    margin-bottom:25px;

}

.player-cover img{

    width:260px;

    height:260px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:0 12px 25px rgba(0,0,0,.15);

    margin:auto;

}

/* SONG */

.player-song{

    text-align:center;

    margin-bottom:25px;

    font-size:1.2rem;

    font-weight:600;

    color:#444;

    overflow:hidden;

}

#mega-title{

    display:inline-block;

    white-space:nowrap;

    animation:scrollSong 18s linear infinite;

}

/* MODERATOR */

.player-moderator{

    text-align:center;

    margin-bottom:30px;

}

.player-moderator img{

    width:130px;

    height:130px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid #7bd34a;

    margin:auto auto 15px;

}

.player-moderator h3{

    color:#4d9d28;

}

/* BUTTON */

#mega-play{

    display:block;

    width:100%;

    padding:18px;

    border:none;

    border-radius:50px;

    background:linear-gradient(
        180deg,
        #7bd84d,
        #58b52b
    );

    color:#fff;

    font-size:1.1rem;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

#mega-play:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(0,0,0,.18);

}

/* VOLUME */

.player-volume{

    margin-top:25px;

}

.player-volume label{

    display:block;

    margin-bottom:10px;

    color:#555;

    font-weight:600;

}

#mega-volume{

    width:100%;

}

/* ANIMATIONEN */

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.08);

    }

    100%{

        transform:scale(1);

    }

}

@keyframes scrollSong{

    0%{

        transform:translateX(100%);

    }

    100%{

        transform:translateX(-100%);

    }

}

/* SMARTPHONE */

@media(max-width:768px){

    .mega-player-card{

        padding:20px;

        margin:25px 15px;

    }

    .player-cover img{

        width:200px;

        height:200px;

    }

    .player-header{

        flex-direction:column;

        gap:15px;

    }

    .player-header h2{

        font-size:1.5rem;

    }

}