/* ==========================================
   GLOBAL
========================================== */

body {
    margin: 0;
    background: #0d0d0d;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
    color: #9146ff;
    margin: 20px 0;
}

/* ==========================================
   PAGE LAYOUT
========================================== */

.container {
    width: 100%;
    min-height: 100vh;
}

/* ==========================================
   OFFLINE PAGE
========================================== */

.offline-section {
    width: 100%;
    text-align: center;
}

.offline-section img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.offline-section p {
    padding: 20px;
    font-size: 1.2rem;
}


/* ==========================================
   TWITCH BUTTON
========================================== */

.twitch-button {
    display: inline-block;
    background: #9146ff;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid #a970ff;
    box-shadow: 0 0 15px rgba(145,70,255,.5);
    transition: .3s ease;
}

.twitch-button:hover {
    background: #772ce8;
    box-shadow: 0 0 25px rgba(145,70,255,.8);
}

/* ==========================================
   LIVE SECTION
========================================== */

.live-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.live-badge {
    display: inline-block;
    background: #e91916;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.stream-info {
    color: #9146ff;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* ==========================================
   STREAM + CHAT LAYOUT
========================================== */

.live-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stream-player {
    flex: 1 1 900px;
}

.chat-container {
    flex: 0 0 350px;
}

.stream-player iframe {
    width: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(145,70,255,.4);
}

.chat-container iframe {
    width: 100%;
    height: 720px;
    border: none;
    border-radius: 15px;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 1000px) {

    .live-layout {
        flex-direction: column;
    }

    .stream-player,
    .chat-container {
        width: 100%;
    }

    .chat-container iframe {
        height: 500px;
    }

    .stream-info {
        font-size: 1.5rem;
    }
}