/* Synth Swarm — Nova Forge Demo (Premier Tier) */

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

body {
    background: #0a0a12;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #e4e4f0;
    width: 100vw;
    height: 100vh;
}

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

#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* HUD */
#hud {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    background: rgba(10, 10, 18, 0.75);
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    backdrop-filter: blur(6px);
    z-index: 10;
    pointer-events: none;
}

#swarm-display { color: #a78bfa; }
#energy-display { color: #4ade80; }
#score-display { color: #67e8f9; }

/* Minimap */
#minimap {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 160px;
    height: 160px;
    background: rgba(10, 10, 18, 0.7);
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 6px;
    z-index: 10;
    pointer-events: none;
}

/* Overlay screens */
.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 18, 0.92);
    z-index: 100;
    text-align: center;
    backdrop-filter: blur(8px);
}

.game-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 48px;
    line-height: 1.3;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(167, 139, 250, 0.3);
}

.subtitle {
    font-size: 14px;
    color: #a78bfa;
    margin-bottom: 24px;
    opacity: 0.8;
}

.instructions {
    font-size: 14px;
    line-height: 1.8;
    color: #c4c4d4;
    margin-bottom: 32px;
}

.game-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #a78bfa, #67e8f9);
    color: #0a0a12;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(167, 139, 250, 0.5);
}

.controls-hint {
    margin-top: 20px;
    font-size: 11px;
    color: #888;
}

.final-score {
    font-family: 'Press Start 2P', monospace;
    font-size: 20px;
    color: #67e8f9;
    margin-bottom: 16px;
}

.final-stats {
    font-size: 13px;
    color: #a0a0b8;
    line-height: 2;
    margin-bottom: 28px;
}

/* Badge */
#badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 11px;
    color: #666;
    z-index: 10;
    pointer-events: none;
}

#badge strong {
    color: #a78bfa;
}
