body {
    margin: 0;
    background-color: #4a90e2; /* Sky Blue */
    color: #fff;
    font-family: 'Press Start 2P', cursive; /* Pixelated font */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container {
    position: relative;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

canvas {
    display: block;
    background-color: #4a90e2;
}

.game-info {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px #000;
}

#message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

#message-overlay h1 {
    font-size: 4rem;
    margin: 0;
    text-shadow: 4px 4px 8px #000;
}

#message-overlay p {
    font-size: 1.5rem;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px #000;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.back-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    text-decoration: none;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}
