/* 太空侵略者样式 */
.space-invaders-container {
    background-color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-family: 'Courier New', Courier, monospace; /* 复古终端字体 */
}

#space-invaders-canvas {
    border: 2px solid #33ff33; /* 复古荧光绿边框 */
    background-color: #000;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.2);
    image-rendering: pixelated; /* 保持像素清晰 */
}

.space-invaders-ui {
    width: 480px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #33ff33;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.space-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #33ff33;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border: 2px solid #33ff33;
    display: none;
    z-index: 10;
}

.space-overlay h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #003300;
}

.space-btn {
    background: #000;
    color: #33ff33;
    border: 2px solid #33ff33;
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.1s;
}

.space-btn:hover {
    background: #33ff33;
    color: #000;
}

.space-controls-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #00aa00;
}

