/* css/style.css (更新) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 800px;
    height: 600px;
    border: 4px solid #333;
    background-color: #5C94FC;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated; /* 像素风格渲染 */
    image-rendering: crisp-edges;
}


/* 像素风格按钮 */
.pixel-button {
    background: #4CAF50;
    border: 4px solid #2E7D32;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    image-rendering: pixelated;
}

.pixel-button:hover {
    background: #45a049;
}

.pixel-button:active {
    background: #3d8b40;
    border: 4px solid #1B5E20;
}