* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 24px 12px;
    background: #090910;
    color: #e2e0ee;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    width: min(1100px, 96vw);
    text-align: center;
}

h1 {
    margin: 0 0 14px;
    color: #c4badf;
    letter-spacing: 5px;
    font-size: 22px;
}

.screen-frame {
    position: relative;
    width: 100%;
    line-height: 0;
    border: 2px solid #454056;
    background: #000;
    box-shadow: 0 0 28px #171126;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

#loadingMessage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 5px #000;
    pointer-events: none;
}

.controls {
    margin: 12px 0 4px;
    color: #c7c1d9;
    font-size: 14px;
}

.help {
    margin: 0;
    color: #898398;
    font-size: 12px;
}
