@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

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

.game-container {
    display: flex;
    max-width: 1200px;
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.sidebar {
    width: 250px;
    background-color: #007BFF;
    color: white;
    padding: 20px;
    border-radius: 15px 0 0 15px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.sidebar button {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    border: none;
    background-color: #0056b3;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: left;
    font-size: 1em;
}

.sidebar button:hover {
    background-color: #004494;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.customization.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.customization input, .customization select {
    padding: 15px;
    margin: 10px 0;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
}

.content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2em;
    color: #007BFF;
    margin: 0;
}

.stats, .player-info, .achievements, .tutorial, .side-quests, .player-choices, .dynamic-events, .settings {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    max-width: 800px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    margin: 10px;
    border: none;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.group-container > div {
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.actions, .upgrades, .progress, .policies, .regions {
    margin-top: 20px;
    padding: 0 20px;
}

.upgrades h2, .progress h2, .achievements h2, .tutorial h2, .side-quests h2, .player-choices h2, .dynamic-events h2, .settings h2, .actions h2, .policies h2, .regions h2 {
    margin-bottom: 10px;
    color: #007BFF;
    font-size: 1.5em;
}

#progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

#progress-fill {
    height: 100%;
    width: 0;
    background-color: #007BFF;
    transition: width 0.3s;
}

#achievements-list, #quests-list, #choices-list, #events-list {
    list-style: none;
    padding: 0;
}

#quests-list li, #choices-list li, #events-list li {
    padding: 10px;
    background-color: #f9f9f9;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#quests-list li:hover, #choices-list li:hover, #events-list li:hover {
    background-color: #e0e0e0;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
}

.notification {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInOut 5s;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.notification .close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.scenario {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    z-index: 2000;
}

.actions, .policies {
    margin-top: 20px;
}

.actions h2, .policies h2 {
    margin-bottom: 10px;
    color: #007BFF;
    font-size: 1.5em;
}

#choices-list li {
    padding: 10px;
    background-color: #f9f9f9;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#choices-list li:hover {
    background-color: #e0e0e0;
}

.tutorial-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
}
