* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #071321;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: grid;
    place-items: center;
}

.game-shell {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 960px;
    max-height: 540px;
    background: #071321;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #071321;
    touch-action: none;
}

.panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: rgba(4, 12, 24, 0.76);
}

.panel h1,
.panel h2,
.panel p {
    margin: 0;
}

.panel h1 {
    font-size: clamp(28px, 6vw, 56px);
}

.panel h2 {
    font-size: clamp(26px, 5vw, 48px);
}

.panel p {
    max-width: 620px;
    line-height: 1.55;
    font-size: clamp(14px, 2.7vw, 20px);
}

button {
    min-width: 170px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hidden {
    display: none;
}
