*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:#ffffff;
    font-family:Arial,Helvetica,sans-serif;
    padding:20px;
}

.container{
    max-width:1700px;
    margin:auto;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.logo{
    font-size:42px;
    font-weight:bold;
    letter-spacing:3px;
}

.status{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
}

.live-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#00ff55;
}

main{
    display:grid;
    grid-template-columns:1fr 340px;
    gap:20px;
}

.player-column{
    display:flex;
    flex-direction:column;
}

.player-box{
    width:100%;
    aspect-ratio:16/9;
    background:#000;
    border:1px solid #333;
    border-radius:12px;
    overflow:hidden;
}

.player-box video{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:#000;
}

.stream-info{
    margin-top:20px;
    padding:20px;
    background:#101010;
    border:1px solid #333;
    border-radius:12px;
}

.stream-info h2{
    font-size:30px;
    margin-bottom:12px;
}

.stream-info p{
    color:#bdbdbd;
    line-height:1.6;
}

.viewer-box{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
    padding:10px 16px;
    background:#181818;
    border-radius:10px;
}

.green-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#00ff55;
}

.chat-column{
    display:flex;
    flex-direction:column;
    height:720px;
    background:#101010;
    border:1px solid #333;
    border-radius:12px;
}

.chat-header{
    padding:18px;
    font-size:24px;
    font-weight:bold;
    border-bottom:1px solid #333;
}

.chat-messages{
    flex:1;
    overflow-y:auto;
    padding:18px;
}

.chat-messages::-webkit-scrollbar{
    width:8px;
}

.chat-messages::-webkit-scrollbar-thumb{
    background:#444;
    border-radius:8px;
}

.system-message{
    color:#888;
}

.message{
    margin-bottom:4px;
    line-height:1.5;
    word-break:break-word;
    padding:2px 0;
}

.chat-input-box{
    display:flex;
    gap:10px;
    padding:18px;
    border-top:1px solid #333;
}

.chat-input-box input{
    flex:1;
    background:#1b1b1b;
    color:white;
    border:1px solid #444;
    border-radius:8px;
    padding:12px;
    outline:none;
    font-size:15px;
}

.chat-input-box input:focus{
    border-color:#777;
}

.chat-input-box button{
    width:60px;
    background:#222;
    color:white;
    border:1px solid #444;
    border-radius:8px;
    cursor:pointer;
    font-size:22px;
    transition:.2s;
}

.chat-input-box button:hover{
    background:#2c2c2c;
}

@media(max-width:1200px){

main{
    grid-template-columns:1fr;
}

.chat-column{
    height:500px;
}

}

@media(max-width:700px){

body{
    padding:10px;
}

header{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.logo{
    font-size:30px;
}

.chat-column{
    height:450px;
}

}