body {
    background-color: #0b061f;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1px;
    background: #14103b;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

.stream-container {
    width: 90%;
    max-width: 900px;
    margin-top: 20px;
    background: #12102f;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stream-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.link-options {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.link-options a {
    background: #0078ff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.iframe-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tags {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #0078ff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.extra-info {
    margin-top: 20px;
    text-align: left;
    padding: 15px;
    background: #1b1746;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
}

.extra-info h3 {
    margin-bottom: 10px;
}

.extra-info p {
    font-size: 14px;
    line-height: 1.5;
}

.section-footer {
    background-color: #14103b;
    color: white;
    padding: 8px;
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
    width: 100%;
    /* Make it full width */
    max-width: 100%;
    /* Ensure it doesn't get constrained */
    margin-left: 0;
    /* Remove left margin */
    margin-right: 0;
    /* Remove right margin */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.section-footer a {
    color: #0078ff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .stream-container {
        width: 95%;
        padding: 10px;
    }

    .stream-title {
        font-size: 18px;
    }

    .iframe-container {
        aspect-ratio: 16 / 9;
    }

    .tags {
        gap: 5px;
    }

    .extra-info {
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        gap: 0;
        /* Reduce gap between items */
    }

    .nav a {
        font-size: 12px;
        /* Make text smaller */
        padding: 4px 8px;
        /* Adjust padding for better spacing */
    }
}