/* 全局样式 */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2c3e50;
    font-family: 'Press Start 2P', system-ui, sans-serif;
}

/* 游戏容器 */
.game-container {
    text-align: center;
    padding: 20px;
    background: #34495e;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* 标题样式 */
h1 {
    color: #e74c3c;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 20px;
}

/* 游戏信息区域 */
.game-info {
    margin-bottom: 20px;
    color: #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* 画布样式 */
#gameCanvas {
    background: #2c3e50;
    border: 4px solid #e74c3c;
    border-radius: 5px;
}

/* 按钮样式 */
button {
    background: #e74c3c;
    border: none;
    padding: 10px 20px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

button:hover {
    background: #c0392b;
}

/* 游戏结束界面 */
.game-over {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(44, 62, 80, 0.95);
    padding: 30px;
    border-radius: 10px;
    color: #ecf0f1;
    text-align: center;
}

.hidden {
    display: none;
} 