/* ===================================================
   ServiceRadios v1.0
   =================================================== */

:root{

    --primary:#2563eb;

    --secondary:#1d4ed8;

    --card:rgba(20,28,45,.75);

    --background:#0f172a;

    --text:#ffffff;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:
    radial-gradient(circle at top,#1d4ed8 0,#0b1220 45%),
    #0b1220;

    color:var(--text);

    font-family:
    Inter,
    Segoe UI,
    sans-serif;

    padding-top:95px;

}

/* PLAYER */

.player-top{

    position:fixed;

    top:0;

    left:0;

    right:0;

    height:82px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:15px 25px;

    background:rgba(15,23,42,.88);

    backdrop-filter:blur(16px);

    border-bottom:1px solid var(--border);

    z-index:9999;

}

.logo{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:24px;

    font-weight:bold;

}

.logo i{

    color:var(--primary);

}

.player-controls{

    display:flex;

    align-items:center;

    gap:15px;

}

#playButton{

    width:48px;

    height:48px;

    border-radius:50%;

    border:none;

    cursor:pointer;

    background:var(--primary);

    color:white;

    font-size:18px;

    transition:.25s;

}

#playButton:hover{

    transform:scale(1.08);

}

.player-controls input{

    width:160px;

}

.music-info{

    display:flex;

    align-items:center;

    gap:15px;

}

.music-info img{

    width:60px;

    height:60px;

    border-radius:12px;

    object-fit:cover;

    background:#111827;

}

.music-info h3{

    font-size:17px;

}

.music-info p{

    color:var(--muted);

    font-size:13px;

}

.server-status{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:bold;

}

.online{

    width:12px;

    height:12px;

    border-radius:50%;

    background:var(--green);

    box-shadow:0 0 12px var(--green);

}

/* CARTÕES */

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    backdrop-filter:blur(12px);

    margin-bottom:25px;

    overflow:hidden;

}

.card-header{

    background:transparent;

    border-bottom:1px solid var(--border);

    padding:18px;

}

.card-header h2{

    font-size:22px;

}

.card-body{

    padding:20px;

}

.table{

    color:white;

}

.table td{

    border-color:rgba(255,255,255,.08);

}

/* CHAT */

#chat{

    height:420px;

    overflow-y:auto;

    background:#09111d;

    border-radius:15px;

    padding:15px;

}

/* EMISSÃO */

.card-body h3{

    margin-bottom:10px;

}

/* RESPONSIVO */

@media(max-width:991px){

.player-top{

height:auto;

flex-direction:column;

gap:15px;

padding:20px;

}

body{

padding-top:180px;

}

.music-info{

width:100%;

justify-content:center;

}

.player-controls{

width:100%;

justify-content:center;

}

.server-status{

justify-content:center;

}

}

@media(max-width:600px){

.logo{

font-size:20px;

}

.player-controls input{

width:100px;

}

.music-info img{

width:50px;

height:50px;

}

.music-info h3{

font-size:15px;

}

}
.sr-player{

display:flex;

justify-content:space-between;

align-items:center;

padding:15px 25px;

gap:30px;

}

.sr-left{

display:flex;

align-items:center;

gap:20px;

}

.cover{

width:72px;

height:72px;

border-radius:15px;

object-fit:cover;

box-shadow:0 0 20px rgba(0,0,0,.4);

}

.track h3{

margin:0;

font-size:20px;

}

.track p{

margin-top:5px;

color:#b6b6b6;

}

.sr-center{

display:flex;

align-items:center;

gap:15px;

}

.play{

width:60px;

height:60px;

border-radius:50%;

background:#3b82f6;

border:none;

color:white;

font-size:24px;

cursor:pointer;

transition:.3s;

}

.play:hover{

transform:scale(1.1);

}

.sr-right{

display:flex;

gap:20px;

align-items:center;

font-size:15px;

}

.badge-online{

display:flex;

align-items:center;

gap:8px;

font-weight:bold;

}

.dot{

width:10px;

height:10px;

background:#22c55e;

border-radius:50%;

box-shadow:0 0 15px #22c55e;

}
.equalizer{

display:flex;

gap:3px;

margin-top:10px;

height:20px;

align-items:flex-end;

}

.equalizer span{

width:4px;

background:#3b82f6;

border-radius:5px;

animation:equalizer 1s infinite;

}

.equalizer span:nth-child(2){

animation-delay:.15s;

}

.equalizer span:nth-child(3){

animation-delay:.30s;

}

.equalizer span:nth-child(4){

animation-delay:.45s;

}

.equalizer span:nth-child(5){

animation-delay:.60s;

}

@keyframes equalizer{

0%{

height:4px;

}

50%{

height:20px;

}

100%{

height:6px;

}

}
/* ===============================
   Fundo Dinâmico
================================ */

body::before {

    content: "";

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url("../img/default-cover.jpg");

    background-size: cover;

    background-position: center;

    filter: blur(50px);

    opacity: .18;

    transform: scale(1.2);

    transition: background-image .8s ease;

    z-index: -2;

}

body::after {

    content: "";

    position: fixed;

    inset: 0;

    background: linear-gradient(
        rgba(11,18,32,.85),
        rgba(11,18,32,.95)
    );

    z-index: -1;

}

.cover{

    width:85px;

    height:85px;

    border-radius:18px;

    object-fit:cover;

    transition:.4s;

    box-shadow:

    0 10px 30px rgba(0,0,0,.45);

}
.cover:hover{

    transform:scale(1.05);

    cursor:pointer;

}
/* ===================================
   Cartões de Estado
=================================== */

.player-right{

    display:flex;

    gap:12px;

    align-items:center;

}

.status-card{

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 14px;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    transition:.3s;

}

.status-card:hover{

    transform:translateY(-3px);

    background:rgba(59,130,246,.12);

}

.status-card i{

    color:#60a5fa;

    font-size:18px;

}
/* ==============================
   PLAYER PREMIUM
============================== */

.player-center{

    display:flex;

    align-items:center;

    gap:15px;

}

.play,
.mute,
.icon-button{

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    cursor:pointer;

    transition:.25s;

}

.play:hover,
.mute:hover,
.icon-button:hover{

    transform:scale(1.08);

    background:#1d4ed8;

}

.volume-box{

    width:180px;

}

.volume-track{

    width:100%;

    height:6px;

    border-radius:20px;

    background:#334155;

    overflow:hidden;

}

.volume-bar{

    width:80%;

    height:100%;

    background:#3b82f6;

    transition:.2s;

}

/* ===============================
   MODAL AGORA A TOCAR
================================ */

.sr-modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.75);

    z-index:99999;

}

.sr-modal.active{

    display:flex;

}

.sr-modal-content{

    width:420px;

    max-width:95%;

    background:#111827;

    border-radius:20px;

    padding:30px;

    text-align:center;

    position:relative;

    border:1px solid rgba(255,255,255,.08);

}

.modal-cover{

    width:220px;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.5);

}

.modal-info{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;

    margin:25px 0;

}

.modal-info div{

    background:#1e293b;

    border-radius:12px;

    padding:10px;

}

.modal-buttons{

    display:flex;

    gap:10px;

    justify-content:center;

}

.modal-buttons button{

    flex:1;

    border:none;

    border-radius:12px;

    padding:12px;

    background:#2563eb;

    color:#fff;

    cursor:pointer;

}

.close-modal{

    position:absolute;

    top:15px;

    right:15px;

    border:none;

    background:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;

}
/* ===============================
   MODAL AGORA A TOCAR
================================ */

.sr-modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.75);

    z-index:99999;

}

.sr-modal.active{

    display:flex;

}

.sr-modal-content{

    width:420px;

    max-width:95%;

    background:#111827;

    border-radius:20px;

    padding:30px;

    text-align:center;

    position:relative;

    border:1px solid rgba(255,255,255,.08);

}

.modal-cover{

    width:220px;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.5);

}

.modal-info{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;

    margin:25px 0;

}

.modal-info div{

    background:#1e293b;

    border-radius:12px;

    padding:10px;

}

.modal-buttons{

    display:flex;

    gap:10px;

    justify-content:center;

}

.modal-buttons button{

    flex:1;

    border:none;

    border-radius:12px;

    padding:12px;

    background:#2563eb;

    color:#fff;

    cursor:pointer;

}

.close-modal{

    position:absolute;

    top:15px;

    right:15px;

    border:none;

    background:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;

}

/*=========================================
 HERO
=========================================*/

.hero{

    height:350px;

    margin-top:25px;

    border-radius:25px;

    overflow:hidden;

    background:url("../img/banner.jpg") center center;

    background-size:cover;

    position:relative;

}

.hero-overlay{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(

        rgba(15,23,42,.55),

        rgba(15,23,42,.90)

    );

}

.hero-content{

    text-align:center;

}

.hero-logo{

    width:120px;

    margin-bottom:20px;

}

.hero h1{

    font-size:42px;

    font-weight:700;

}

.hero p{

    color:#cbd5e1;

    font-size:20px;

    margin-top:10px;

}

.hero-status{

    margin-top:30px;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.hero-status span{

    background:rgba(255,255,255,.08);

    padding:12px 18px;

    border-radius:30px;

    backdrop-filter:blur(10px);

}
/*=========================================
ÚLTIMAS MÚSICAS
=========================================*/

.last-song{

    display:flex;

    align-items:center;

    gap:15px;

    padding:12px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.last-song:last-child{

    border-bottom:none;

}

.last-song img{

    width:55px;

    height:55px;

    border-radius:10px;

    object-fit:cover;

}

.last-song-info{

    flex:1;

}

.last-song-info h4{

    margin:0;

    font-size:15px;

}

.last-song-info p{

    margin:4px 0 0;

    color:#94a3b8;

    font-size:13px;

}

.last-song-time{

    color:#64748b;

    font-size:12px;

}
/*=========================================
 EM DIRETO
=========================================*/

.live-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:25px 0;

    padding:20px;

    border-radius:20px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.08);

}

.live-left{

    display:flex;

    align-items:center;

    gap:18px;

}

.live-dot{

    width:16px;

    height:16px;

    background:#22c55e;

    border-radius:50%;

    animation:pulse 1.5s infinite;

}

@keyframes pulse{

0%{

transform:scale(1);

box-shadow:0 0 0 0 rgba(34,197,94,.7);

}

70%{

box-shadow:0 0 0 15px rgba(34,197,94,0);

}

100%{

transform:scale(1);

}

}

.live-left small{

    color:#94a3b8;

    letter-spacing:2px;

}

.live-left h3{

    margin:5px 0;

}

.live-left p{

    color:#cbd5e1;

}

.listeners-box{

    display:flex;

    align-items:center;

    gap:10px;

    background:#1e293b;

    padding:12px 18px;

    border-radius:15px;

}
/*=========================================
DASHBOARD
=========================================*/

.dashboard{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:25px;

    margin-top:25px;

}

.dashboard-left{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.dashboard-right{

    display:flex;

    flex-direction:column;

    gap:25px;

}

@media(max-width:992px){

.dashboard{

grid-template-columns:1fr;

}

}

.card{

    border-radius:20px;

    overflow:hidden;

    background:rgba(20,28,45,.75);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    transition:.3s;

}

.card:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}
#chatMessages{

    height:450px;

    overflow-y:auto;

}

.chat-send{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.chat-send input{

    flex:1;

    border:none;

    border-radius:12px;

    padding:12px;

    background:#1e293b;

    color:white;

}

.chat-send button{

    width:120px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:white;

}
/*=========================================
FOOTER
=========================================*/

.footer{

    margin-top:40px;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.footer-left{

    display:flex;

    align-items:center;

    gap:15px;

}

.footer-logo{

    width:55px;

}

.footer-left h3{

    margin:0;

}

.footer-left p{

    color:#94a3b8;

    margin-top:5px;

}

.footer-center{

    display:flex;

    gap:18px;

}

.footer-center a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#1e293b;

    color:white;

    text-decoration:none;

    transition:.3s;

}

.footer-center a:hover{

    background:#2563eb;

    transform:translateY(-3px);

}

.footer-right{

    text-align:right;

}

.footer-right small{

    color:#94a3b8;

}
body{

    background:var(--background);

    transition:background .8s ease;

}

.card{

    border:1px solid rgba(255,255,255,.08);

    transition:

    background .5s,

    box-shadow .5s,

    border-color .5s;

}

.card.active{

    box-shadow:

    0 0 30px rgba(37,99,235,.30);

}

.play{

    background:var(--primary);

}

.play:hover{

    background:var(--secondary);

}

.status-card{

    border-left:4px solid var(--primary);

}
/*=========================================
TOPBAR
=========================================*/

.topbar{

    position:sticky;

    top:0;

    z-index:9999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    padding:18px 30px;

    background:rgba(15,23,42,.92);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.topbar-left{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo{

    width:65px;

}

.topbar-left h1{

    margin:0;

    font-size:26px;

}

.topbar-left p{

    margin-top:4px;

    color:#94a3b8;

}

.topbar-center{

    display:flex;

    align-items:center;

    gap:18px;

}

.topbar-center h2{

    margin:0;

    font-size:20px;

}

.topbar-center span{

    color:#94a3b8;

}

.topbar-right{

    display:flex;

    gap:12px;

}

.mini-card{

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 15px;

    background:rgba(255,255,255,.05);

    border-radius:14px;

}
