:root {
    --primary-color: #1F4C6B;
    --secondary-color: #C3A678;
    --accent-color: #8BA88F;
    --background-color: #F8F6F1;
    --text-color: #2C3E50;
    --correct-color: #4CAF50;
    --wrong-color: #F44336;
    --neutral-color: #FFFFFF;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--neutral-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.question-container {
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
}

.question-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-color);
}

.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option {
    padding: 1rem;
    background-color: var(--neutral-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.option:hover {
    background-color: rgba(31, 76, 107, 0.1);
}

.option.selected {
    background-color: var(--primary-color);
    color: white;
}

.option.correct {
    background-color: var(--correct-color);
    color: white;
    border-color: var(--correct-color);
}

.option.wrong {
    background-color: var(--wrong-color);
    color: white;
    border-color: var(--wrong-color);
}

.option-letter {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.option.selected .option-letter,
.option:hover .option-letter {
    background-color: white;
    color: var(--primary-color);
}

.option.correct .option-letter {
    background-color: white;
    color: var(--correct-color);
}

.option.wrong .option-letter {
    background-color: white;
    color: var(--wrong-color);
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--background-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e0dcd3;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feedback {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
}

.feedback.correct {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--correct-color);
}

.feedback.wrong {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--wrong-color);
}

.result-container {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 10px;
    display: none;
}

.result-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-score {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.result-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.progress-container {
    height: 10px;
    background-color: var(--background-color);
    border-radius: 5px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    width: 0;
    transition: width 0.5s ease;
}

@media (max-width: 768px) {
    .game-container {
        padding: 1rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}