body {
    font-family: 'Georgia', serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

#game-container {
    max-width: 800px;
    padding: 20px;
    padding-bottom: 140px; /* Extra space for fixed buttons */
    text-align: center;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

#story {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 120px; /* Space for fixed buttons */
    text-align: left;
    animation: fadeIn 0.5s ease-in;
}

#choices {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    animation: fadeIn 0.5s ease-in;
    overflow-x: auto; /* In case many buttons */
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

button {
    background-color: #4169E1;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    min-width: 120px;
    text-align: center;
    flex-shrink: 0; /* Prevent shrinking */
}

button:hover {
    background-color: #00bfff;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

button:active {
    transform: scale(0.98);
}

#top-controls button {
    padding: 8px 12px;
    font-size: 0.9em;
    min-width: auto;
}

#start-button {
    font-size: 1.2em;
    padding: 15px 30px;
}