*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #1e1810;
    color: #f0e0b8;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
}

header {
    background-color: #140f08;
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid #3a2a14;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.04em;
}

header h1,
header h2,
header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

/* Narrative */
section:first-of-type {
    flex: 1;
    padding: 32px 20px 16px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

section:first-of-type h1,
section:first-of-type h2,
section:first-of-type h3 {
    text-align: center;
}

.scene-image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Choices */
section:last-of-type {
    padding: 20px 20px 32px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

footer {
    background-color: #140f08;
    padding: 12px 24px;
    text-align: center;
    border-top: 1px solid #3a2a14;
    font-size: 13px;
    color: #8a6a38;
}

.button {
    border: 1px solid #8b5e1a;
    color: #f0e0b8;
    background-color: #8b5e1a;
    padding: 12px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', serif;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.button:hover {
    background-color: #a87020;
    border-color: #a87020;
}

/* Mobile: stack buttons full-width */
@media (max-width: 390px) {
    section:last-of-type {
        flex-direction: column;
    }

    .button {
        display: block;
        width: 100%;
    }
}
