:root { 
    --space-black: #020617; 
    --neon-green: #10b981; 
    --neon-amber: #f59e0b; 
    --deep-navy: #0f172a;
}

.hotspot-poly {
    fill: rgba(16, 185, 129, 0.2); /* Made slightly more visible for the demo */
    stroke: #10b981;
    stroke-width: 1;
    opacity: 1 !important; /* Force visibility */
    cursor: pointer;
}


/* 1. GLOBAL & SPLASH */
/* @STABLE: SPLASH_AESTHETIC */
body { background: var(--space-black); color: white; font-family: 'JetBrains Mono', monospace; margin: 0; overflow: hidden; }

@keyframes shipFadeIn {
    from { opacity: 0; transform: scale(0.95); filter: blur(15px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}
.ship-fade { animation: shipFadeIn 3s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
/* @ENDSTABLE */

/* 2. STICKY BRIEFING (The Anchor) */
.mission-brief-sticky {
    position: sticky; top: 0; z-index: 200;
    background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.4);
    padding: 25px 40px; transition: all 0.4s ease;
    cursor: pointer; max-height: 90px; overflow: hidden;
    border-radius: 0 0 20px 20px;
}
.mission-brief-sticky.expanded { max-height: 600px; background: rgba(15, 23, 42, 1); }
.expand-indicator {
    font-size: 9px; color: var(--neon-green); text-transform: uppercase;
    font-weight: 900; letter-spacing: 3px; margin-bottom: 10px; display: block;
}

/* 3. THE 65:35 GRID */
.engine-shell { display: grid; grid-template-columns: 65fr 35fr; height: 100vh; width: 100vw; }
.logic-lane {
    position: relative; border-right: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(135deg, var(--space-black) 0%, var(--deep-navy) 100%);
    display: flex; flex-direction: column; height: 100vh;
}
.scroll-container { flex-grow: 1; overflow-y: auto; padding: 60px; padding-bottom: 45vh; scroll-behavior: smooth; }

/* 4. COCKPIT & HUD */
.cockpit-wrap { 
    position: absolute; bottom: 0; left: 0; width: 100%; z-index: 100; 
    background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(20px); 
    border-top: 1px solid rgba(16, 185, 129, 0.2); padding: 20px; 
}
.action-btn { 
    width: 100%; background: var(--neon-green); color: black; font-weight: 800; 
    padding: 22px; text-transform: uppercase; letter-spacing: 0.3em; 
    font-size: 16px; border: none; cursor: pointer; border-radius: 16px; 
    margin-bottom: 20px; transition: 0.3s; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.face-bar { display: none; justify-content: space-around; padding: 15px; margin-bottom: 15px; }
.face-btn { font-size: 2.2rem; cursor: pointer; transition: 0.2s; }
.hud-main { height: 20vh; display: grid; grid-template-columns: 1.2fr 1fr; gap: 25px; }
.hud-divider { border-right: 1px solid rgba(255,255,255,0.05); }
#intel-stack { font-size: 15px; line-height: 1.6; color: #d1d5db; }

/* 5. MATH & INTERACTION */
.step-block { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 60px; margin-bottom: 40px; }
.hidden-math { filter: blur(15px); opacity: 0.15; pointer-events: none; transform: scale(0.98); }
.affirm-circle { 
    height: 34px; width: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); 
    display: flex; align-items: center; justify-content: center; cursor: pointer; 
}
.affirm-active { background: var(--neon-green); border-color: var(--neon-green); box-shadow: 0 0 15px var(--neon-green); }

/* 6. VIEWPORT (RIGHT) */
.viewport-lane {
    position: relative; background: url('../assets/captain_bridge.png') no-repeat center center;
    background-size: cover; display: flex; flex-direction: column;
    justify-content: space-between; padding: 30px; height: 100vh;
    box-shadow: inset 30px 0 50px -20px rgba(0,0,0,0.9);
}
.tactical-brief { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px); border-left: 4px solid var(--neon-green); padding: 20px; border-radius: 12px; }
.deluxe-trophy-img { height: 15vh; filter: drop-shadow(0 0 30px var(--neon-green)); }

/* 7. MAPPER & UTILS */
.hotspot-poly { fill: rgba(16, 185, 129, 0.1); stroke: #10b981; stroke-width: 0.5; opacity: 0; cursor: pointer; transition: 0.3s; }
.hotspot-poly[points]:not([points=""]) { opacity: 1; }
.node { position: absolute; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; z-index: 200; transform: translate(-50%, -50%); pointer-events: none; }
.swish-in { animation: swish 0.6s cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes swish { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.hidden { display: none !important; }