/* BODY & HTML SETUP */
html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Cinzel', serif;
    background: #0f0f1f;
    color: #ffffff;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Allows vertical scrolling */
}

/* SPLIT CONTAINER */
.split-container {
    display: flex;
    flex: 1;
    position: relative;
    overflow: auto; /* Allows scrolling on smaller screens */
    min-height: calc(100vh - 150px); /* Prevents collapsing */
}

/* SPLIT SECTIONS */
.split {
    width: 50%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left {
    background-image: url("/images/fantasyKnight.png");
}

.right {
    background-image: url("/images/animeKnight.png");
}

/* OPTIONAL OVERLAY FOR READABILITY */
.overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VAULT BUTTON DESIGN */
.choice-btn {
    position: relative;
    background: linear-gradient(90deg, #e8c547, #ffd700);
    color: #0f0f1f;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 800;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Button hover effects */
.choice-btn:hover {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    transform: scale(1.1);
    box-shadow: 0px 0px 15px #ffeb3b;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        min-height: 100vh; /* Ensure full height */
        overflow: hidden; /* Prevent unintended scrolling */
    }

    .split {
        width: 100%; /* Full width on mobile */
        height: 50vh; /* Each section takes half of the viewport height */
    }

    .overlay {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .choice-btn {
        font-size: 1.2rem; /* Reduce font size */
        padding: 0.8rem 1.5rem; /* Reduce padding */
        border-radius: 6px; /* Slightly smaller border radius */
    }
}