body {
    background-color: #000;
    color: #0A0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    line-height: 1.5;
}

#game-container {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    border: 2px solid #0A0;
    padding: 1rem;
    height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#output {
    white-space: pre-wrap;
    flex-grow: 1;
}

#choices button {
    background-color: #000;
    color: #0A0;
    border: 1px solid #0A0;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

#choices button:hover {
    background-color: #0A0;
    color: #000;
}

#input-container {
    margin-top: 1rem;
}

#player-input {
    background-color: #000;
    color: #0A0;
    border: none;
    border-bottom: 1px solid #0A0;
    font-family: inherit;
    font-size: 1.2rem;
    width: 50%;
}

#player-input:focus {
    outline: none;
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    opacity: 0.5;
}

#video-player-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 100;
}

#story-video {
    width: 80%;
    max-width: 900px;
}

#close-video {
    margin-top: 1rem;
    background-color: #000;
    color: #0A0;
    border: 1px solid #0A0;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    #game-container {
        width: 95%;
        margin: 1rem auto;
        height: 90vh;
    }

    #player-input {
        width: 100%;
    }

    #choices button {
        padding: 0.4rem 0.8rem;
    }

    #story-video {
        width: 95%;
    }
}
