body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0;
    background-color: #1F211E;
    color: #ffffff;
}

.livestream {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 0;
}

.stream-container {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stream-title {
    font-family: nimbus-bld, Arial, sans-serif;
    color: #E4E4D1;
    font-size: 3rem;
    letter-spacing: 12px;
    margin: 0;
    margin-right: -12px;
    text-align: center;
    width: fit-content;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.iframe-wrapper {
    flex: 1;
    width: 100%;
    min-height: 0;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.yt-button {
    background-color: #2b3124;
    color: #E4E4D1;
    font-family: nimbus-bld, Arial, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 5px;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s ease-out;
}

.yt-button:hover {
    background-color: #A6CE39;
    color: #2b3124;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .livestream {
        justify-content: center;
        padding: 30px 15px;
    }

    .stream-container {
        height: auto;
        gap: 30px;
    }
    
    .stream-title {
        font-size: 2rem;
        letter-spacing: 6px;
        margin-right: -6px;
        padding: 0;
        text-align: center;
    }

    .iframe-wrapper {
        flex: none;
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
    
    .yt-button {
        font-size: 1rem;
        padding: 15px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }
}
