body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #1c2957;
    margin-bottom: 10px;
}

h2 {
    color: #555;
    font-weight: 400;
    margin-bottom: 30px;
}

.card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
}

.question {
    font-size: 1.3em;
    font-weight: 500;
    color: #333;
}

.answer {
    font-size: 1.1em;
    color: #0056b3;
    font-weight: 500;
}

.hidden {
    display: none;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#show-answer-btn {
    background-color: #28a745;
}

#show-answer-btn:hover {
    background-color: #218838;
}
