:root {
    --color-bg: #000;
    --color-blue: #2b2b85; /* Celestial Blue */
    --color-white: #f0f0ff; /* Starlight White */
    --color-green: #25d985; /* Emerald Vitality */
    --color-gold: #ffd700; /* Golden Soul */
    --font-main: 'Press Start 2P', monospace;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-main);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#game-container {
    position: relative;
    width: 640px;  /* 16-bit standard resolution scaled up */
    height: 480px;
    box-shadow: 0 0 20px rgba(43, 43, 133, 0.5);
    background-color: #050510;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated; /* Critical for 16-bit look */
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title {
    font-size: 3rem;
    color: var(--color-gold);
    text-shadow: 4px 4px 0px var(--color-blue);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1rem;
    color: var(--color-green);
    margin-bottom: 40px;
}

.instruction {
    font-size: 0.8rem;
    animation: blink 1s infinite;
}

.vitriol-progress {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.7rem;
    color: var(--color-white);
    display: none; /* Hidden on start screen initially */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
