:root {
    --hud-green: #00ff95;
    --hud-blue: #00f2ff;
    --hud-alert: #ff3c00;
    --hud-warn: #fbbf24;
    --glass-bg: rgba(0, 15, 25, 0.7);
    --glass-border: rgba(0, 242, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
    user-select: none;
}

body {
    background: #000;
    color: var(--hud-blue);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    display: block;
}

#hybrid-hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    z-index: 10;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

/* TOP HUD */
.hud-top {
    display: flex;
    justify-content: center;
}

.mode-indicator {
    padding: 0.75rem 2rem;
    border-top: none;
    border-radius: 0 0 12px 12px;
    min-width: 250px;
    text-align: center;
}

#view-mode-text {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-shadow: 0 0 8px var(--hud-blue);
}

/* BOTTOM HUD */
.hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.h-panel {
    padding: 1.25rem;
    min-width: 220px;
    pointer-events: auto;
}

.h-panel.center {
    min-width: unset;
    padding: 0.75rem 2rem;
    text-align: center;
}

.view-toggle-hint {
    font-size: 0.75rem;
    color: var(--hud-warn);
}

.stat-group {
    margin-bottom: 0.75rem;
}

.stat-group label {
    font-size: 0.6rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 2px;
}

.stat-group .value {
    font-size: 1.2rem;
    font-weight: 700;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    appearance: none;
    margin: 8px 0;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--hud-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--hud-blue);
}

.thrust-meter {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    margin: 6px 0;
    border: 1px solid var(--glass-border);
}

.thrust-bar {
    height: 100%;
    background: var(--hud-green);
    width: 11%;
    transition: width 0.1s;
}

.mini-btn {
    background: rgba(255, 60, 0, 0.1);
    border: 1px solid var(--hud-alert);
    color: var(--hud-alert);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
}

.mini-btn:hover {
    background: var(--hud-alert);
    color: #000;
}

/* BOOT SCREEN */
#boot-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    z-index: 100;
    pointer-events: auto;
}

.terminal-content {
    text-align: center;
}

h1.glitch {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.status {
    color: var(--hud-green);
}

button#ignite-btn {
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--hud-blue);
    color: var(--hud-blue);
    font-size: 1.1rem;
    cursor: pointer;
}

button#ignite-btn:hover {
    background: var(--hud-blue);
    color: #000;
}