:root{
--green:#198754;
--green-dark:#0b3d2e;
--green-soft:#eefcf4;
--bg:#f4f7f6;
--border:#e2e8f0;
--text:#1e293b;
}

*{
box-sizing:border-box;
margin:0;
padding:0;
}

html,
body{
width:100%;
overflow-x:hidden;
scroll-behavior:smooth;
}

body{
background:var(--bg);
font-family:'Segoe UI',sans-serif;
color:var(--text);
}

.container-fluid{
max-width:100%;
overflow-x:hidden;
}

/* HEADER */

.premium-header{
height:75px;
background:linear-gradient(135deg,var(--green-dark),var(--green));
padding:0 25px;
display:flex;
align-items:center;
z-index:999;
box-shadow:0 6px 25px rgba(0,0,0,.12);
border-bottom:4px solid #ffb300;
}

.premium-logo{
height:48px;
width:auto;
margin-right:15px;
object-fit:contain;
}

.live-badge{
display:flex;
align-items:center;
gap:8px;
background:rgba(255,255,255,.12);
padding:10px 18px;
border-radius:30px;
backdrop-filter:blur(10px);
color:white;
font-size:.9rem;
font-weight:600;
white-space:nowrap;
}

.live-badge span{
width:10px;
height:10px;
background:#00ff84;
border-radius:50%;
animation:pulse 1.5s infinite;
}

@keyframes pulse{
0%{opacity:1}
50%{opacity:.3}
100%{opacity:1}
}

/* HERO */

.dashboard-hero{
padding-top:110px;
padding-bottom:35px;
}

.hero-card{
background:linear-gradient(135deg,var(--green-dark),var(--green));
border-radius:30px;
padding:50px;
color:white;
box-shadow:0 15px 40px rgba(0,0,0,.08);
overflow:hidden;
}

.hero-badge{
display:inline-block;
padding:10px 18px;
background:rgba(255,255,255,.12);
border-radius:30px;
backdrop-filter:blur(10px);
margin-bottom:20px;
font-size:.9rem;
font-weight:600;
}

.hero-title{
font-size:3rem;
font-weight:800;
line-height:1.2;
margin-bottom:20px;
word-break:break-word;
}

.hero-desc{
max-width:850px;
line-height:1.8;
opacity:.92;
font-size:1rem;
}

.hero-tags{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:30px;
}

.tag{
background:rgba(255,255,255,.12);
padding:10px 18px;
border-radius:30px;
backdrop-filter:blur(10px);
font-size:.88rem;
font-weight:600;
white-space:nowrap;
}

/* STATS */

.stats-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.stat-box{
background:rgba(255,255,255,.12);
padding:25px;
border-radius:20px;
text-align:center;
backdrop-filter:blur(10px);
}

.stat-box h2{
font-size:2rem;
font-weight:800;
margin-bottom:8px;
}

.stat-box p{
margin:0;
font-size:.92rem;
opacity:.92;
}

/* PANELS */

.control-panel,
.playlist-sidebar{
background:white;
border-radius:28px;
padding:25px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
overflow:hidden;
}

.form-label{
font-size:.92rem;
margin-bottom:8px;
}

/* INPUTS */

.premium-input{
height:52px;
border-radius:14px;
border:1px solid var(--border);
padding:0 15px;
font-size:.95rem;
}

.premium-input:focus{
box-shadow:none;
border-color:var(--green);
}

.premium-btn{
height:52px;
border-radius:14px;
font-weight:700;
font-size:.95rem;
}

/* STATUS */

.status-ribbon{
display:flex;
gap:12px;
flex-wrap:wrap;
margin:25px 0;
}

.ribbon-item{
background:white;
padding:12px 18px;
border-radius:30px;
box-shadow:0 4px 12px rgba(0,0,0,.06);
font-size:.85rem;
font-weight:600;
white-space:nowrap;
}

/* PLAYER GRID */

.player-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:18px;
width:100%;
align-items:start;
}

/* PLAYER BOX */

.multi-player{
position:relative;
width:100%;
min-height:220px;
height:auto;
background:black;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.12);
aspect-ratio:16/9;
}

/* PLAYER IFRAME */

.multi-player iframe{
position:absolute;
top:0;
left:0;
width:100%!important;
height:100%!important;
border:none;
display:block;
}

/* PLAYLIST */

.sidebar-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
gap:10px;
}

.playlist-body{
max-height:80vh;
overflow-y:auto;
padding-right:5px;
overflow-x:hidden;
}

.playlist-item{
display:flex;
gap:12px;
padding:12px;
border-radius:16px;
margin-bottom:10px;
cursor:pointer;
transition:.3s;
border:1px solid transparent;
align-items:center;
overflow:hidden;
}

.playlist-item:hover{
background:var(--green-soft);
}

.playlist-item.active{
background:#d1fae5;
border-left:5px solid var(--green);
}

.playlist-item img{
width:110px;
height:70px;
object-fit:cover;
border-radius:12px;
flex-shrink:0;
}

.playlist-item .title{
font-size:.88rem;
font-weight:600;
line-height:1.4;
word-break:break-word;
overflow:hidden;
}

.empty-playlist{
text-align:center;
padding:80px 20px;
opacity:.5;
}

.empty-playlist .material-icons{
font-size:65px;
display:block;
margin-bottom:20px;
}

/* SCROLLBAR */

::-webkit-scrollbar{
width:8px;
height:8px;
}

::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:20px;
}

::-webkit-scrollbar-track{
background:transparent;
}

/* TABLET */

@media(max-width:991px){

.playlist-sidebar{
margin-top:25px;
}

.playlist-body{
max-height:420px;
}

.hero-title{
font-size:2.3rem;
}

.hero-card{
padding:35px;
}

.player-grid{
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.multi-player{
min-height:220px;
border-radius:18px;
}

}

/* MOBILE */

@media(max-width:768px){

.dashboard-hero{
padding-top:95px;
padding-bottom:20px;
}

.hero-card{
padding:24px;
border-radius:22px;
}

.hero-title{
font-size:1.8rem;
line-height:1.3;
}

.hero-desc{
font-size:.92rem;
line-height:1.7;
}

.hero-tags{
gap:8px;
margin-top:20px;
}

.tag{
font-size:.74rem;
padding:8px 12px;
}

.player-grid{
grid-template-columns:1fr;
gap:16px;
}

.multi-player{
min-height:210px;
border-radius:16px;
}

.control-panel,
.playlist-sidebar{
padding:18px;
border-radius:20px;
}

.playlist-item{
flex-direction:column;
align-items:flex-start;
}

.playlist-item img{
width:100%;
height:auto;
}

.premium-header{
padding:0 12px;
height:70px;
}

.premium-logo{
height:42px;
margin-right:10px;
}

.live-badge{
display:none;
}

.stats-grid{
grid-template-columns:1fr 1fr;
}

.stat-box{
padding:18px;
}

.stat-box h2{
font-size:1.5rem;
}

.ribbon-item{
font-size:.75rem;
padding:10px 14px;
}

.sidebar-header{
flex-direction:column;
align-items:flex-start;
}

}

/* EXTRA SMALL */

@media(max-width:480px){

.hero-title{
font-size:1.55rem;
}

.hero-card{
padding:20px;
}

.control-panel,
.playlist-sidebar{
padding:15px;
}

.premium-input,
.premium-btn{
height:48px;
font-size:.88rem;
}

.playlist-item .title{
font-size:.82rem;
}

.stat-box h2{
font-size:1.35rem;
}

.multi-player{
min-height:190px;
border-radius:14px;
}

}
