body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23e0e0e0"/><circle cx="20" cy="20" r="5" fill="%23d0d0d0"/><circle cx="50" cy="40" r="7" fill="%23d0d0d0"/><circle cx="80" cy="25" r="6" fill="%23d0d0d0"/><circle cx="30" cy="70" r="8" fill="%23d0d0d0"/><circle cx="70" cy="75" r="5" fill="%23d0d0d0"/></svg>');
}

.game-container {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.game-area {
    margin: 30px 0;
}

.problem {
    font-size: 48px;
    font-weight: bold;
    margin: 30px 0;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.option-button {
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #4CAF50;
    color: white;
}

.option-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.option-button.correct {
    background-color: #4CAF50;
}

.option-button.incorrect {
    background-color: #f44336;
}

.controls {
    margin: 20px 0;
}

button {
    padding: 12px 24px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1976D2;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.status {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    color: #333;
    min-height: 24px;
}

.status.success {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.status.error {
    background-color: #ffcdd2;
    color: #c62828;
}

.instructions {
    margin-top: 20px;
    padding: 15px;
    background-color: #e3f2fd;
    border-radius: 8px;
    text-align: left;
}

.instructions h3 {
    margin-top: 0;
    color: #1976d2;
}

.instructions p {
    margin: 10px 0;
    color: #555;
}

@media (max-width: 600px) {
    .game-container {
        padding: 20px;
    }
    
    .problem {
        font-size: 36px;
        min-height: 50px;
    }
    
    .options {
        grid-template-columns: 1fr;
    }
    
    .option-button {
        font-size: 20px;
        padding: 12px;
    }
    
    .game-info {
        flex-direction: column;
        gap: 10px;
    }
}