/* --- Basic Setup --- */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars */
    background-color: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Game & Canvas --- */
#game-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

/* --- Dashboard & Meters (Overlay) --- */
#dashboard {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(20, 20, 20, 0.7);
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid #555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.meter {
    width: 220px;
    text-align: center;
}

.meter-label {
    font-size: 0.8em;
    color: #aaa;
    letter-spacing: 2px;
}

.meter-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #00d1ff;
    margin: 2px 0;
    text-shadow: 0 0 10px #00d1ff;
}

.meter-bar-container {
    background-color: #333;
    border-radius: 5px;
    height: 8px;
    overflow: hidden;
    border: 1px solid #444;
}

.meter-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00d1ff, #00ff88);
    transition: width 0.1s linear;
    border-radius: 5px;
}

.meter-bar-alt {
    width: 100%; /* Static bar for now */
    height: 100%;
    background: linear-gradient(90deg, #ffdd00, #ff8800);
    border-radius: 5px;
}

/* --- Instructions & Overlay --- */
#instructions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5em;
    z-index: 10;
    color: #fff;
    transition: opacity 0.5s ease;
}

#instructions p {
    margin: 0;
}
