body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f7fa;

}

header {
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    color: white;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

.banner {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    color: #555;
}

.games, .leaderboard {
    margin: 20px auto;
    padding: 20px;
    flex-grow: 1;
}

.card {
    display: inline-block;
    background: white;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 280px;
}

.card h2 {
    margin-top: 0;
    color: #4a5568;
}

.card p {
    color: #718096;
}

.card button {
    padding: 12px 18px;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.card button:hover {
    background: #45a049;
}

.leaderboard {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



/* Additional Styles from Original Components */
.status {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
    color: #4a5568;
}

.game-container {
    margin: 20px 0;
}

.equation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.tile {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.symbol-tile {
    background-color: #e2e8f0;
}

.answer-tile {
    border: 2px solid #4299e1;
    cursor: text;
    min-width: 60px;
}

.answer-tile:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

.correct {
    background-color: #c6f6d5;
    border-color: #48bb78;
}

.incorrect {
    background-color: #fed7d7;
    border-color: #f56565;
}

.feedback {
    height: 24px;
    margin: 10px 0;
    font-weight: bold;
}

.message-box {
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    background-color: #ebf8ff;
    display: none;
}

.shake {
    animation: shake 0.5s;
}

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

.stats-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.stats-table th, .stats-table td {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.stats-table th {
    background-color: #f7fafc;
}
footer {
    background-color: #333;
    color: white;
    padding: 5px;
    font-size: 0.8em;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}