*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

html,
body{

    width:100%;
    height:100dvh;
    overflow:hidden;
    background:#111;

}


body{

    display:flex;
    flex-direction:column;

}


/* ==========================
        PLAYER RADIO
========================== */


.top{

    flex:0 0 30%;

    min-height:180px;

    background:url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?w=1200") center center;

    background-size:cover;

    position:relative;

}


.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    justify-content:center;

    align-items:center;

}


.player{

    width:260px;

    padding:20px;

    border-radius:22px;

    backdrop-filter:blur(15px);

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    text-align:center;

    color:white;

    box-shadow:0 10px 30px rgba(0,0,0,.4);

}


.player button{

    width:72px;

    height:72px;

    border:none;

    border-radius:50%;

    background:white;

    color:#111;

    font-size:28px;

    cursor:pointer;

    margin-bottom:15px;

    transition:.25s;

}


.player button:hover{

    transform:scale(1.08);

}


.player h2{

    font-size:22px;

}


.player p{

    color:#ddd;

    margin-top:5px;

}



/* ==========================
          CHAT
========================== */


.bottom{

    flex:1;

    background:#181818;

    display:flex;

    flex-direction:column;

    overflow:hidden;

}



/* ==========================
          MENU
========================== */


.menu{

    display:flex;

    gap:10px;

    padding:12px;

    flex-shrink:0;

}


.menu button{

    flex:1;

    height:70px;

    border:none;

    border-radius:18px;

    background:linear-gradient(180deg,#353535,#242424);

    color:white;


    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;


    gap:6px;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 5px 15px rgba(0,0,0,.35);

}



.menu button i{

    font-size:24px;

    color:#ff4b4b;

}


.menu button span{

    font-size:12px;

    font-weight:bold;

}


.menu button:hover{

    transform:translateY(-3px);

    background:linear-gradient(180deg,#ff4b4b,#d92727);

}


.menu button:hover i{

    color:white;

}



/* ==========================
        MENSAJES
========================== */


.messages{

    flex:1;

    overflow-y:auto;

    padding:12px;

}



.message{

    background:#262626;

    color:white;

    padding:12px;

    border-radius:12px;

    margin-bottom:10px;

    word-break:break-word;

}


.message strong{

    color:#ff5959;

}



/* ==========================
        INPUT CHAT
========================== */


.chat-input{

    display:flex;

    gap:8px;

    padding:10px;

    background:#202020;

    border-top:1px solid #333;

    flex-shrink:0;

}



.chat-input input{

    height:45px;

    border:none;

    outline:none;

    border-radius:10px;

    background:#2d2d2d;

    color:white;

    padding:0 12px;

}


#nombre{

    width:90px;

}


#mensaje{

    flex:1;

}



.chat-input button{

    width:50px;

    border:none;

    border-radius:10px;

    background:#ff3b30;

    color:white;

    cursor:pointer;

    font-size:18px;

}



.chat-input button:hover{

    transform:scale(1.05);

}



/* ==========================
          SCROLL
========================== */


::-webkit-scrollbar{

    width:5px;

}


::-webkit-scrollbar-thumb{

    background:#555;

    border-radius:20px;

}



/* ==========================
        MOVILES PEQUEÑOS
========================== */


@media(max-height:700px){


.top{

    flex:0 0 26%;

    min-height:150px;

}


.player{

    transform:scale(.9);

}


.menu button{

    height:60px;

}


}