* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

.game-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.game-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.3em;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat .label {
    margin-right: 10px;
    font-weight: bold;
}

.stat .value {
    font-weight: bold;
    color: #ffd700;
}

.game-board {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.question-section {
    text-align: center;
    margin-bottom: 40px;
}

.question-text {
    font-size: 2em;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.answers-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.answer-btn {
    padding: 20px;
    font-size: 1.3em;
    font-weight: bold;
    border: 3px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.answer-btn:active {
    transform: scale(0.98);
}

.answer-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.answer-btn.correct {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
    animation: bounce 0.5s;
}

.answer-btn.incorrect {
    background: #f44336;
    border-color: #f44336;
    color: white;
    animation: shake 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.feedback {
    text-align: center;
    min-height: 40px;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 20px;
}

.feedback.correct {
    color: #4caf50;
}

.feedback.incorrect {
    color: #f44336;
}

.next-btn, .reset-btn {
    width: 48%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-btn {
    background: #4caf50;
    color: white;
    margin-right: 2%;
}

.next-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.reset-btn {
    background: #ff9800;
    color: white;
}

.reset-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.next-btn:disabled, .reset-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .game-header h1 {
        font-size: 1.8em;
    }

    .game-board {
        padding: 20px;
    }

    .question-text {
        font-size: 1.5em;
    }

    .answer-btn {
        padding: 15px;
        font-size: 1.1em;
    }

    .stats {
        gap: 20px;
        font-size: 1em;
    }
}
