body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    color: #333;
}

.container {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

h1 {
    color: #c0392b; /* Red color often associated with Chinese celebrations */
}

canvas {
    border: 2px solid #34495e;
    background-color: #ecf0f1; /* Light grey background for the game area */
    display: block;
    margin: 10px auto;
    cursor: crosshair;
}

.controls {
    margin-top: 15px;
    font-size: 1.2em;
}

.controls p {
    margin: 5px 0;
}

#restartButton {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #27ae60; /* Green for action */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#restartButton:hover {
    background-color: #2ecc71;
}

.instructions {
    margin-top: 15px;
    font-style: italic;
    color: #7f8c8d;
}

.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
}

/* Removing countdown styles since we're using inline styles */