/* 像素打砖块 - 主样式表 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0e27;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Press Start 2P', monospace;
}

#gameContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gameCanvas {
    background: #0d1321;
    border: 4px solid #1a2639;
    box-shadow: 0 0 30px rgba(77, 166, 255, 0.3);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    max-width: 100%;
    max-height: 100%;
}

@media (orientation: portrait) {
    #gameCanvas {
        width: 100vw;
        height: auto;
        border-width: 2px;
    }
}

@media (orientation: landscape) {
    #gameContainer {
        padding: 20px;
    }
    #gameCanvas {
        height: 90vh;
        width: auto;
    }
}
