* { margin:0; padding:0; box-sizing:border-box; font-family:'Montserrat', sans-serif; }

html, body { width:100%; height:100%; overflow:hidden; }

body { background:#0b0c14; color:white; }

#container { width:100%; height:100%; position:relative; display:flex; justify-content:center; align-items:center; }

/* LIVE BADGE */
.live-badge {
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    padding:10px 28px;
    border-radius:40px;
    background:#7c0707;
    font-size:18px;
    font-weight:bold;
    letter-spacing:2px;
    color:white;
    z-index:10;
    box-shadow:0 0 15px #7c0707,0 0 30px #7c0707,0 0 60px #7c0707;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow:0 0 10px #6e091c; }
    50% { box-shadow:0 0 25px #6e091c; }
    100% { box-shadow:0 0 10px #6e091c; }
}
#liveBackground {
    position: fixed;        
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/Black_White_Blue_Modern_Animated_Bright_Light_Space_Youtube_Intro__.png') no-repeat center center;
    background-size: cover;
    z-index: 0;             
}

#liveBackground::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);  
}
/* LIVE LAYOUT */
.live-layout { display:flex; gap:20px; opacity:0; transform:translateY(10px); transition: all 0.5s ease; position:relative; width:95%; max-width:1500px; }
.live-layout.active { opacity:1; transform:translateY(0); }

iframe { border:none; border-radius:14px; box-shadow:0 0 25px rgba(0,0,0,0.6); }
#video { flex:3; height:80vh; border-radius:16px; box-shadow:0 0 20px rgba(150, 1, 34, 0.4), 0 0 60px rgba(255,30,77,0.2); transition:0.4s ease; }
#chat { flex:1; height:80vh; border-radius:16px; }


#offline {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    color:white;
    z-index:5;
    background: url('27.png') no-repeat center center;
    background-size: cover;
}


#offline::before {
    content:"";
    position:absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5);
    z-index:1;
}
.offline-content {
    position:relative; z-index:2;
}
.offline-content h1 {
    font-size:clamp(40px,6vw,64px);
    margin-bottom:15px;
    color:#fff;
    text-shadow:0 0 20px #7c0707,0 0 40px #7c0707;
}
.offline-content p {
    font-size:clamp(16px,2vw,20px);
    margin-bottom:30px;
    opacity:0.8;
}
.btn-primary {
    display:inline-block;
    padding:14px 40px;
    border-radius:50px;
    background:linear-gradient(90deg,#7c0707,#7c0707);
    color:#fff;
    font-weight:600;
    letter-spacing:1px;
    box-shadow:0 0 15px #7c0707,0 0 30px #7c0707;
    text-decoration:none;
    transition:0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { transform:translateY(-5px) scale(1.05); box-shadow:0 0 25px #7c0707,0 0 50px #7c0707; }
#logo {
    position: fixed;          
    top: 20px;
    left: 20px;
    z-index: 20;             
    display: flex;
    align-items: center;
}

#logo img {
    height: 70px;          
    width: auto;
    filter: drop-shadow(0 0 6px #7c0707)
            drop-shadow(0 0 12px #7c0707); 
    transition: transform 0.3s ease, filter 0.3s ease;
}

#logo img:hover {
    transform: scale(1.05);  
    filter: drop-shadow(0 0 8px #7c0707)
            drop-shadow(0 0 16px #7c0707); 
}

#offline .streamer-intro {
    margin-top: 40px;
    text-align: center;
    max-width: 600px;
    color: #ffffffcc;
}

#offline .streamer-intro .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #6e091c;
    box-shadow: 0 0 15px #6e091c;
    margin-bottom: 15px;
}

#offline .streamer-intro h2 {
    font-size: 28px;
    color: #6e091c;
    margin-bottom: 10px;
}

#offline .streamer-intro p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

#offline .streamer-intro .social-links a {
    display: inline-block;
    margin: 0 8px;
    padding: 8px 16px;
    background: rgba(255,30,77,0.2);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

#offline .streamer-intro .social-links a:hover {
    background: #6e091c;
    color: white;
    box-shadow: 0 0 10px #6e091c;
}