body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

#game-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #d9363e; /* A reddish color */
    margin-bottom: 1.5rem;
}

#node-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
}

#options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.option-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.option-button:active {
    background-color: #004494;
    transform: translateY(0);
}

/* Results Screen Styling */
#results-container h2 {
    font-size: 1.8rem;
    color: #28a745;
    margin-bottom: 1rem;
}

#results-container p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: left;
}

#result-stats {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

#result-stats li {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

#restart-button {
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#restart-button:hover {
    background-color: #5a6268;
}

.hidden {
    display: none;
}