body {
    background-color: #121212;
    color: #ffffff;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#app {
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.hidden {
    display: none;
}

#setup-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#player-inputs {
    display: flex;
    gap: 10px;
}

input,
button {
    padding: 10px;
    border-radius: 5px;
    border: none;
}

button {
    cursor: pointer;
    background-color: #1e88e5;
    color: white;
}

#game-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#player-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* Modal Styles */
#role-reveal-modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #2a2a2a;
    padding: 30px;
    border: 1px solid #888;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#role-reveal-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

#role-reveal-close {
    background-color: #1e88e5;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}