* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

h2, h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.setup-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-bank-controls {
    margin-top: 15px;
}

.custom-bank-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.bank-textarea {
    min-height: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 80px;
}

#game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-box {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    flex: 1;
    margin: 0 5px;
}

#range-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
}

#current-player, #round-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2980b9;
}

#question-section {
    margin-bottom: 20px;
}

#question-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.answer-option {
    background-color: #ecf0f1;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.answer-option:hover {
    background-color: #d6dbdf;
}

#guess-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#guess-input {
    flex-grow: 1;
    width: auto;
}

#message-area {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    font-size: 1.1rem;
    text-align: center;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
}

.message-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

#player-status {
    margin-top: 20px;
}

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

.player-card {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.player-active {
    border: 2px solid #2980b9;
}

.player-skipped {
    opacity: 0.6;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

#result-message {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.instructions {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.instructions h3 {
    color: #2980b9;
    margin-bottom: 10px;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
}

select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
    background-color: white;
    font-size: 1rem;
}

.footer {
    text-align: right;
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
    padding-right: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 32px;
    height: 32px;
}
