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

body {
    background: #0a0a12;
    color: #f5e6c8;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    /* Keep page chrome above Win11 taskbar when localhosting (itch iframe is tighter). */
    padding: 8px 12px 56px;
}

header.page-header {
    text-align: center;
    margin-bottom: 8px;
}

header.page-header h1 {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

header.page-header p {
    font-size: 0.75rem;
    color: #8ab4c4;
    margin-top: 4px;
}

#game-container {
    width: 960px;
    height: 640px;
    max-width: 100%;
    flex-shrink: 0;
    border: 4px solid #2a1f14;
    border-radius: 4px;
    box-shadow:
        0 0 0 2px #ff6b35,
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    overflow: hidden;
}

#game-container canvas {
    display: block;
}

footer.credits {
    margin-top: 8px;
    margin-bottom: 4px;
    font-size: 0.7rem;
    color: #5a6a7a;
    text-align: center;
    line-height: 1.5;
    flex-shrink: 0;
}