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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1a1512; /* Dark brownish */
    color: #e5c158; /* Brass / Gold */
    font-family: 'Courier New', Courier, monospace;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to game logic if needed, handle on window */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10;
}

#score-display {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 0px #3a220e, 0 0 10px rgba(229, 193, 88, 0.5);
}

.screen {
    background: rgba(26, 21, 18, 0.85);
    border: 4px solid #8c5a2b; /* Copper border */
    box-shadow: 0 0 20px #e5c15844, inset 0 0 15px #000;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    pointer-events: auto; /* Buttons or just area to capture */
    transition: opacity 0.3s ease;
}

.screen h1 {
    font-size: 64px;
    margin-bottom: 20px;
    color: #f7d67c;
    text-shadow: 3px 3px 0 #5c3514;
    letter-spacing: 4px;
    line-height: 1.1;
}

.screen p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #a88560;
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}
