
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.app-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

h1, h2, h3 {
    color: #2c3e50;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 30px;
}

.card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#verse-text, #quiz-question {
    font-size: 1.4em;
    line-height: 1.6;
    margin-bottom: 10px;
}

#verse-reference {
    font-style: italic;
    color: #555;
    text-align: right;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

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

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

input[type="text"] {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    margin: 15px 0;
}

#quiz-feedback {
    margin-top: 15px;
    font-weight: bold;
    min-height: 24px;
}

.quiz-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quiz-card-item {
    background-color: #e9ecef;
    border: 2px solid #ced4da;
    border-radius: 8px;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    font-weight: 500;
}

.quiz-card-item.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
    transform: scale(1.05);
}

.quiz-card-item.matched {
    background-color: #2ecc71;
    color: white;
    border-color: #27ae60;
    cursor: default;
}

.feedback-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2em;
}

#level-cleared-message {
    background-color: #d4edda;
    color: #155724;
}

#game-completed-message {
    background-color: #cce5ff;
    color: #004085;
}
