html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('<?php echo $background['image_url']; ?>') no-repeat center center/cover;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.logo {
    width: 130px;
    height: auto;
}

h1, .section-title {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0 0 20px #0299a0;
    text-align: center;
    margin-top: 10px;
}


.container, .left-section, .center-section, .right-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 153, 153, 0.5);
    margin: 10px;
    gap: 15px;
    box-sizing: border-box;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0299a0;
}

.center-section {
    flex-grow: 1;
    text-align: center;
}

.notification-box {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 153, 153, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.notification-box button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.notification-box button:hover {
    color: white;
}

.notification-box a {
    color: #0299a0;
    text-decoration: none;
}

.notification-box a:hover {
    text-decoration: underline;
}

.social-media {
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.social-media a {
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: #ffffff;
}

.social-media a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.social-media a.youtube {
    color: #ff0000;
}

.social-media a.twitch {
    color: #9146ff;
}

.social-media a.kick {
    color: #52c41a;
}

.social-media a.discord {
    color: #5865f2;
}

.social-media a.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    color: transparent;
}

.social-media a.tiktok {
    background: linear-gradient(45deg, #69C9D0, #EE1D52);
    -webkit-background-clip: text;
    color: transparent;
}


.social-media a.whatsapp {
    color: #25D366;
}


.stream-status-container {
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.streams {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stream {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stream-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}



.stream-details h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}

.stream-status {
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
}

.stream-status.online {
    background-color: #28a745;
    color: white;
}

.stream-status.offline {
    background-color: #dc3545;
    color: white;
}

.watch-now {
    background-color: #ff0000;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.watch-now:hover {
    background-color: #d70000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.latest-videos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.latest-videos .video-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.latest-videos .video-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.latest-videos h3 {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;

}

.latest-videos .watch-video-btn {
    background-color: #ff0000;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.latest-videos .watch-video-btn:hover {
    background-color: #d70000;
}

.left-section {
    width: 20%;
}

.center-section {
    width: 60%;
    text-align: center;
}

.right-section {
    width: 20%;
}

.server-logo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        overflow-y: auto;
    }

    .container, .left-section, .center-section, .right-section {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .logo {
        width: 100px;
    }

    .notification-box {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .notification-box {
        order: 1;
    }

    .center-section {
        order: 2;
    }

    .right-section {
        order: 3;
    }

    .left-section {
        order: 4;
    }



    .latest-videos .video-thumbnail {
        width: 100%;
    }

    .latest-videos h4 {
        font-size: 0.85rem;
    }

    .watch-now {
        width: 100%;
        font-size: 1rem;
    }

    .streams {
        flex-direction: column;
        align-items: center;
    }

    .stream {
        flex-direction: column;
        align-items: center;
    }

    .server-logo {
        width: 90px;
        height: 90px;
    }

    .stream-status-container {
        width: 90%;
    }

    .left-section, .right-section {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .center-section {
        width: 100%;
    }
}
