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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f0f7ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#game-stats {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #4CAF50;
    color: white;
    font-size: 1.2em;
}

#game-canvas {
    width: 100%;
    height: auto;
    display: block;
    background: #e8f5e9;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 90%;
    width: 400px;
    text-align: center;
}

#puzzle-question {
    font-size: 1.2em;
    margin: 20px 0;
    color: #333;
}

#puzzle-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#puzzle-answers button {
    padding: 10px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

#puzzle-answers button:hover {
    transform: scale(1.05);
    background: #45a049;
}

@media (max-width: 600px) {
    #game-stats {
        font-size: 1em;
        padding: 10px;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }
} 