/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    width: 100%; height: 100%; overflow: hidden;
    background: #0a0a1a;
    font-family: 'Rajdhani', sans-serif;
}

canvas { display: block; }

/* ===== UI CONTAINER ===== */
#ui-container {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* ===== SCREEN EFFECTS ===== */
#flash-overlay {
    position: absolute; inset: 0;
    background: #ff1100;
    opacity: 0; pointer-events: none;
    z-index: 50; transition: opacity 0.4s;
}

#screen-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
    pointer-events: none; z-index: 1;
}

/* ===== BOSS WARNING ===== */
#boss-warning {
    position: absolute; top: 28%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    color: #ff1a1a;
    text-shadow: 0 0 30px #ff0000, 0 0 60px #ff000088;
    letter-spacing: 0.1em;
    z-index: 60;
    animation: warnPulse 0.6s infinite alternate;
}
#boss-warning.hidden { display: none; }
@keyframes warnPulse {
    from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    to   { transform: translate(-50%, -50%) scale(1.05); opacity: 0.7; }
}

/* ===== BOSS UI (TOP CENTER) ===== */
#boss-ui {
    position: absolute; top: 16px; left: 50%;
    transform: translateX(-50%);
    width: min(55%, 600px);
    text-align: center;
    z-index: 10;
    transition: opacity 0.4s, transform 0.4s;
}
#boss-ui.hidden { opacity: 0; transform: translateX(-50%) translateY(-20px); pointer-events: none; }

#boss-label {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 4px 4px;
}
#boss-name {
    font-family: 'Orbitron', monospace;
    color: #ff4444; font-size: 1.1rem;
    text-shadow: 0 0 10px #ff000088;
    letter-spacing: 0.15em;
}
#boss-phase-label {
    font-family: 'Orbitron', monospace;
    color: #ff8c00; font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.boss-bar-track {
    width: 100%; height: 18px;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,68,68,0.5);
    border-radius: 9px; overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(255,0,0,0.3);
}
.boss-bar-fill {
    height: 100%; width: 100%;
    background: linear-gradient(90deg, #8b0000, #cc0000, #ff4444, #ff6666);
    background-size: 200% 100%;
    animation: bossBarShimmer 2s linear infinite;
    transition: width 0.2s ease-out;
    border-radius: 9px;
}
#boss-health-shine {
    position: absolute; top: 0; left: 0; right: 0;
    height: 40%; background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
    border-radius: 9px 9px 0 0; pointer-events: none;
}
@keyframes bossBarShimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
#boss-hp-text {
    font-family: 'Orbitron', monospace;
    color: #ff9999; font-size: 0.75rem;
    margin-top: 3px; letter-spacing: 0.1em;
}

/* ===== CROSSHAIR ===== */
#crosshair {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    pointer-events: none; z-index: 5;
}
.ch-h {
    position: absolute; top: 50%; left: 0;
    width: 100%; height: 1px;
    background: rgba(255,255,255,0.8);
    transform: translateY(-50%);
    box-shadow: 0 0 4px rgba(255,80,80,0.8);
}
.ch-v {
    position: absolute; top: 0; left: 50%;
    width: 1px; height: 100%;
    background: rgba(255,255,255,0.8);
    transform: translateX(-50%);
    box-shadow: 0 0 4px rgba(255,80,80,0.8);
}
.ch-dot {
    position: absolute; top: 50%; left: 50%;
    width: 3px; height: 3px;
    background: #ff4444;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px #ff0000;
}

/* ===== TARGET LOCK BOX ===== */
#target-box {
    position: absolute; width: 50px; height: 50px;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 5;
    animation: targetSpin 2s linear infinite;
}
#target-box.hidden { display: none; }
@keyframes targetSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}
.corner {
    position: absolute; width: 10px; height: 10px;
    border-color: #ff4444; border-style: solid;
    box-shadow: 0 0 6px #ff000066;
}
.corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* ===== TOP-LEFT HUD ===== */
#hud {
    position: absolute; top: 16px; left: 16px;
    display: flex; flex-direction: column; gap: 10px;
    z-index: 10; max-width: 260px;
}

#hud-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem; font-weight: 700;
    color: #4fc3f7;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px #0288d1;
    border-bottom: 1px solid rgba(79,195,247,0.3);
    padding-bottom: 6px;
}

/* Hero stats panel */
#hero-stats {
    background: rgba(0,0,10,0.7);
    border: 1px solid rgba(79,195,247,0.2);
    border-radius: 10px;
    padding: 10px 12px;
    backdrop-filter: blur(8px);
    display: flex; flex-direction: column; gap: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05),
                0 4px 20px rgba(0,0,0,0.5);
}
.stat-row {
    display: flex; align-items: center; gap: 8px;
}
.stat-icon {
    font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0;
    filter: drop-shadow(0 0 4px currentColor);
}
.stat-info { flex: 1; }
.stat-label {
    font-size: 0.55rem; color: rgba(255,255,255,0.5);
    letter-spacing: 0.15em; text-transform: uppercase;
    line-height: 1;
}
.bar-track {
    width: 100%; height: 7px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px; overflow: hidden;
    margin: 3px 0 2px;
}
.bar-fill {
    height: 100%; width: 100%;
    border-radius: 4px;
    transition: width 0.15s ease-out;
}
.health-bar { background: linear-gradient(90deg, #1de9b6, #00bcd4); box-shadow: 0 0 6px #00bcd488; }
.energy-bar { background: linear-gradient(90deg, #f9a825, #fdd835); box-shadow: 0 0 6px #fdd83588; }
.combo-bar  { background: linear-gradient(90deg, #e040fb, #ab47bc); box-shadow: 0 0 6px #ab47bc88; }
.stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem; color: rgba(255,255,255,0.7);
    text-align: right; line-height: 1;
}

/* Active Power Display */
#active-power-display {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,200,0,0.3);
    border-radius: 10px; padding: 8px 12px;
    display: flex; align-items: center; gap: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(255,200,0,0.1);
}
#power-icon { font-size: 1.4rem; filter: drop-shadow(0 0 5px gold); }
#power-name-display {
    font-family: 'Orbitron', monospace;
    color: #fdd835; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 0.1em;
    flex: 1;
}
#power-key-hint { font-size: 0.6rem; color: rgba(255,255,255,0.4); }

/* Patrol Tracker */
#patrol-tracker {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,68,68,0.3);
    border-radius: 10px; padding: 8px 12px;
    backdrop-filter: blur(8px);
}
#wave-label {
    font-family: 'Orbitron', monospace;
    color: #ff6b6b; font-size: 0.7rem;
    letter-spacing: 0.15em; margin-bottom: 4px;
}
#kill-row { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
#kill-row .kl { color: rgba(255,255,255,0.5); }
#robots-killed-value { color: #ff6b6b; font-weight: 700; margin: 0 2px; }
#patrol-goal-value { color: rgba(255,255,255,0.5); }

/* ===== TOP-RIGHT SCORE PANEL ===== */
#score-panel {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,10,0.7);
    border: 1px solid rgba(79,195,247,0.2);
    border-radius: 10px; padding: 12px 16px;
    text-align: right;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    min-width: 160px; z-index: 10;
}
#score-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem; color: rgba(255,255,255,0.4);
    letter-spacing: 0.2em;
}
#score-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem; font-weight: 900;
    color: #fdd835;
    text-shadow: 0 0 20px rgba(253,216,53,0.6);
    line-height: 1;
    margin-bottom: 8px;
    transition: transform 0.15s;
}
.score-stat {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.7);
    padding: 2px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.score-stat:last-child { border-bottom: none; }
.sl { color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 0.1em; }

/* ===== CONTROLS PANEL ===== */
#controls-panel {
    position: absolute; bottom: 90px; left: 16px;
    background: rgba(0,0,10,0.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(79,195,247,0.25);
    border-radius: 10px; padding: 12px 14px;
    z-index: 10; width: 220px;
    max-height: 320px;
    pointer-events: auto;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
#controls-panel.collapsed {
    max-height: 44px;
    background-color: rgba(0,0,10,0.95);
    border-color: rgba(79,195,247,0.15);
}
#controls-list {
    overflow-y: auto;
    flex: 1;
    margin-top: 8px;
    transition: opacity 0.2s ease;
    opacity: 1;
}
#controls-panel.collapsed #controls-list {
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}
#controls-list::-webkit-scrollbar { width: 3px; }
#controls-list::-webkit-scrollbar-thumb { background: rgba(79,195,247,0.4); border-radius: 3px; }

.ctrl-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem; color: #4fc3f7;
    letter-spacing: 0.2em; margin-bottom: 6px;
    border-bottom: 1px solid rgba(79,195,247,0.2);
    padding-bottom: 4px;
}
.ctrl-row {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: rgba(255,255,255,0.7);
    padding: 3px 0;
}
.ctrl-row kbd {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px; padding: 1px 5px;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem; color: #fdd835;
    white-space: nowrap; flex-shrink: 0;
}
.ctrl-toggle-btn {
    background: rgba(79,195,247,0.1);
    border: 1px solid rgba(79,195,247,0.3);
    color: #4fc3f7;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ctrl-toggle-btn:hover {
    background: rgba(79,195,247,0.25);
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79,195,247,0.4);
}

/* ===== BOTTOM POWER SLOTS ===== */
#power-slots {
    position: absolute; bottom: 16px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.power-slot {
    width: 58px; height: 58px;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 10px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px;
    cursor: default; transition: all 0.2s; position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.power-slot.active {
    border-color: #fdd835;
    box-shadow: 0 0 15px rgba(253,216,53,0.5), inset 0 0 15px rgba(253,216,53,0.1);
    background: rgba(40,30,0,0.8);
    transform: translateY(-4px);
}
.ps-icon { font-size: 1.4rem; line-height: 1; }
.ps-name { font-size: 0.5rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.ps-key {
    position: absolute; top: 3px; right: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px; padding: 0 3px;
    font-size: 0.5rem; color: rgba(255,255,255,0.5);
    font-family: 'Orbitron', monospace;
}

/* ===== POWER WHEEL ===== */
#power-wheel {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    z-index: 30; pointer-events: none;
}
#power-wheel.hidden { display: none; }
#pw-ring {
    position: relative; width: 100%; height: 100%;
}
.pw-item {
    position: absolute; width: 80px;
    background: rgba(0,0,20,0.85); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px; padding: 8px 4px;
    text-align: center; font-size: 0.6rem; color: rgba(255,255,255,0.7);
    transition: all 0.2s; transform: translate(-50%, -50%);
}
.pw-item.pw-active {
    border-color: #fdd835;
    box-shadow: 0 0 20px rgba(253,216,53,0.6);
    color: #fdd835; transform: translate(-50%, -50%) scale(1.1);
}
.pw-0 { top: 12%; left: 50%; }
.pw-1 { top: 35%; left: 88%; }
.pw-2 { top: 80%; left: 76%; }
.pw-3 { top: 80%; left: 24%; }
.pw-4 { top: 35%; left: 12%; }

.pw-ico { font-size: 1.6rem; margin-bottom: 2px; }

#pw-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px; height: 110px;
    background: rgba(0,0,20,0.9); backdrop-filter: blur(12px);
    border: 2px solid #fdd835;
    border-radius: 50%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    box-shadow: 0 0 30px rgba(253,216,53,0.4);
}
#active-power-text {
    font-family: 'Orbitron', monospace;
    color: #fdd835; font-size: 0.6rem;
    font-weight: 700; letter-spacing: 0.1em; padding: 0 8px;
}
#pw-desc { font-size: 0.55rem; color: rgba(255,255,255,0.5); margin-top: 4px; padding: 0 6px; }

/* ===== MINIMAP ===== */
#minimap-container {
    position: absolute; bottom: 90px; right: 16px;
    z-index: 10;
}
#minimap {
    border: 2px solid rgba(79,195,247,0.4);
    border-radius: 50%; display: block;
    background: rgba(0,0,0,0.7);
    box-shadow: 0 0 20px rgba(79,195,247,0.2), inset 0 0 20px rgba(0,0,0,0.5);
}
#minimap-label {
    text-align: center; font-family: 'Orbitron', monospace;
    font-size: 0.5rem; color: rgba(79,195,247,0.6);
    letter-spacing: 0.2em; margin-top: 3px;
}

/* ===== FLOATING DAMAGE NUMBERS ===== */
#dmg-numbers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 20; }
.dmg-num {
    position: absolute; font-family: 'Orbitron', monospace;
    font-weight: 900; pointer-events: none;
    animation: floatUp 1.2s ease-out forwards;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.dmg-normal { color: #ff6b6b; font-size: 1.1rem; }
.dmg-crit   { color: #ffd700; font-size: 1.5rem; }
.dmg-heal   { color: #00e5ff; font-size: 1rem; }
@keyframes floatUp {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    50%  { opacity: 1; transform: translateY(-50px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-90px) scale(0.8); }
}

/* ===== NOTIFICATION TOAST ===== */
#notification {
    position: absolute; top: 80px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,20,0.9); backdrop-filter: blur(10px);
    border: 1px solid rgba(79,195,247,0.5);
    border-radius: 25px; padding: 8px 20px;
    font-family: 'Orbitron', monospace; font-size: 0.75rem;
    color: #4fc3f7; letter-spacing: 0.1em;
    white-space: nowrap; z-index: 25;
    transition: opacity 0.4s; box-shadow: 0 0 20px rgba(79,195,247,0.3);
}
#notification.hidden { opacity: 0; pointer-events: none; }

/* ===== KILL FEED ===== */
#kill-feed {
    position: absolute; top: 100px; right: 16px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 10; pointer-events: none;
}
.kill-entry {
    background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
    border-left: 3px solid #ff4444;
    border-radius: 0 6px 6px 0; padding: 4px 10px;
    font-size: 0.7rem; color: rgba(255,255,255,0.8);
    animation: slideIn 0.3s ease-out;
    min-width: 160px;
}
.kill-entry.boss-kill { border-left-color: #ffd700; color: #ffd700; }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* ===== COMBO DISPLAY ===== */
#combo-display {
    position: absolute; top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; pointer-events: none; z-index: 20;
}
#combo-display.hidden { display: none; }
#combo-multiplier {
    font-family: 'Orbitron', monospace;
    font-size: 4rem; font-weight: 900;
    color: #ffd700; text-shadow: 0 0 30px rgba(255,215,0,0.8);
    line-height: 1; animation: comboPop 0.3s ease-out;
}
#combo-word {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem; color: rgba(255,215,0,0.7);
    letter-spacing: 0.3em; animation: comboPop 0.3s ease-out 0.05s backwards;
}
@keyframes comboPop {
    0%   { transform: scale(0.5); opacity: 0; }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== BADGES ===== */
#time-dilation-badge {
    position: absolute; top: 50%; right: 20px;
    transform: translateY(-50%);
    background: rgba(147,0,211,0.3); backdrop-filter: blur(8px);
    border: 1px solid rgba(147,0,211,0.6);
    border-radius: 6px; padding: 5px 12px;
    font-family: 'Orbitron', monospace; font-size: 0.65rem;
    color: #ce93d8; letter-spacing: 0.1em; z-index: 10;
    animation: pulseGlow 1s infinite;
}
#time-dilation-badge.hidden { display: none; }

#held-indicator {
    position: absolute; bottom: 85px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,100,200,0.4); backdrop-filter: blur(8px);
    border: 1px solid rgba(79,195,247,0.5);
    border-radius: 20px; padding: 5px 16px;
    font-size: 0.75rem; color: #4fc3f7;
    letter-spacing: 0.05em; z-index: 10;
    white-space: nowrap;
}
#held-indicator.hidden { display: none; }

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(147,0,211,0.4); }
    50%       { box-shadow: 0 0 20px rgba(147,0,211,0.8); }
}

/* ===== MENU SCREENS ===== */
.menu-screen {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 100; pointer-events: auto;
}
.menu-screen.hidden { display: none; }

/* START SCREEN */
#start-screen {
    background: radial-gradient(ellipse at 30% 40%, rgba(10,20,80,0.95) 0%, rgba(5,5,20,0.98) 100%);
}
#start-bg-anim {
    position: absolute; inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,100,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(150,0,255,0.1) 0%, transparent 50%);
    animation: bgShift 8s ease-in-out infinite;
}
@keyframes bgShift {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}
#start-content { position: relative; text-align: center; z-index: 2; }

#game-logo { margin-bottom: 40px; }
#logo-top {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1rem, 3vw, 1.8rem);
    color: #4fc3f7; letter-spacing: 0.4em;
    font-weight: 400; opacity: 0.8;
}
#logo-main {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900; line-height: 0.9;
    background: linear-gradient(135deg, #fff 0%, #4fc3f7 40%, #7c4dff 80%, #e040fb 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(79,195,247,0.5));
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(79,195,247,0.5)); }
    50%       { filter: drop-shadow(0 0 50px rgba(124,77,255,0.7)); }
}
#logo-sub {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.5rem, 1.5vw, 0.8rem);
    color: rgba(255,255,255,0.35); letter-spacing: 0.3em;
    margin-top: 6px;
}

#start-features {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}
.feature {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 6px 14px;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

#start-tip {
    margin-top: 16px; font-size: 0.75rem; color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

/* Buttons */
.menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px;
    font-family: 'Orbitron', monospace; font-size: 1rem;
    font-weight: 700; letter-spacing: 0.15em;
    border: none; border-radius: 8px; cursor: pointer;
    transition: all 0.15s; text-transform: uppercase;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    user-select: none;
}
.primary-btn {
    background: linear-gradient(135deg, #1565c0, #4fc3f7);
    color: white;
    box-shadow: 0 4px 20px rgba(79,195,247,0.4), 0 0 0 1px rgba(79,195,247,0.3);
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,195,247,0.6); }
.primary-btn:active { transform: translateY(1px); }
.green-btn {
    background: linear-gradient(135deg, #00897b, #00e5ff);
    color: white;
    box-shadow: 0 4px 20px rgba(0,229,255,0.4);
}
.green-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.6); }
.red-btn {
    background: linear-gradient(135deg, #c62828, #ef5350);
    color: white;
    box-shadow: 0 4px 20px rgba(239,83,80,0.4);
}
.red-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(239,83,80,0.6); }
.purple-btn {
    background: linear-gradient(135deg, #6a1b9a, #ce93d8);
    color: white !important;
    box-shadow: 0 4px 20px rgba(206,147,216,0.45);
}
.purple-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(206,147,216,0.7); }
.purple-btn:active { transform: translateY(1px); }
.btn-icon { font-size: 0.9rem; }

/* PAUSE SCREEN */
#pause-screen { background: rgba(0,0,20,0.88); backdrop-filter: blur(6px); }
#pause-content { text-align: center; }
.menu-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900; color: #4fc3f7;
    text-shadow: 0 0 30px rgba(79,195,247,0.5);
    letter-spacing: 0.1em; margin-bottom: 30px;
}
.red-title { color: #ff4444; text-shadow: 0 0 30px rgba(255,68,68,0.5); }
.gold-title { color: #ffd700; text-shadow: 0 0 30px rgba(255,215,0,0.5); }
#pause-stats, #final-stats, #victory-stats {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; padding: 16px 30px;
    margin-bottom: 30px; min-width: 280px;
}
.ps-row, .fs-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem; color: rgba(255,255,255,0.8);
}
.ps-row:last-child, .fs-row:last-child { border-bottom: none; }
.ps-row span:last-child, .fs-row span:last-child {
    color: #4fc3f7; font-family: 'Orbitron', monospace;
}

/* GAME OVER */
#game-over-screen { background: radial-gradient(ellipse at center, rgba(60,0,0,0.95), rgba(0,0,0,0.98)); }
#skull-icon, #trophy-icon { font-size: 5rem; margin-bottom: 10px; animation: iconBounce 1s ease-out; }
@keyframes iconBounce {
    0%   { transform: scale(0) rotate(-180deg); }
    70%  { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.menu-sub { font-size: 1rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* VICTORY */
#victory-screen { background: radial-gradient(ellipse at center, rgba(30,60,0,0.95), rgba(0,0,0,0.98)); }

/* MOBILE CONTROLS OVERLAY */
#mobile-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    user-select: none;
}

/* Joystick Zone */
#joystick-zone {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 150px;
    height: 150px;
    pointer-events: auto;
}
#joystick-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(79, 195, 247, 0.4);
    position: relative;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.1);
}
#joystick-knob {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #4fc3f7, #1565c0);
    position: absolute;
    top: 48px;
    left: 48px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 10px #4fc3f7;
    transition: transform 0.05s ease-out;
}

/* Actions panel on right */
#mobile-actions {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}
.mobile-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.mobile-btn {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background 0.1s, transform 0.05s;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.15);
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
.mobile-btn:active {
    transform: scale(0.95);
}

.circle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: white;
}
.pink-btn { background: linear-gradient(135deg, #d81b60, #ec407a); box-shadow: 0 3px 8px rgba(236,64,122,0.4); color: white !important; }
.mobile-btn.purple-btn { background: linear-gradient(135deg, #6a1b9a, #ab47bc); box-shadow: 0 3px 8px rgba(171,71,188,0.4); }
.orange-btn { background: linear-gradient(135deg, #ef6c00, #ffa726); box-shadow: 0 3px 8px rgba(255,167,38,0.4); color: white !important; }

.rect-btn {
    padding: 8px 16px;
    height: 44px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: white;
}
.blue-btn { background: linear-gradient(135deg, #0d47a1, #1e88e5); box-shadow: 0 3px 8px rgba(30,136,229,0.4); }
.cyan-btn { background: linear-gradient(135deg, #006064, #00acc1); box-shadow: 0 3px 8px rgba(0,172,193,0.4); }

.action-btn {
    padding: 14px 24px;
    height: 54px;
    border-radius: 8px;
    font-size: 1rem;
    color: white;
}
.q-btn { background: linear-gradient(135deg, #7c4dff, #b47cff); box-shadow: 0 4px 12px rgba(180,124,255,0.5); }
.lmb-btn { background: linear-gradient(135deg, #e65100, #ff9100); box-shadow: 0 4px 12px rgba(255,145,0,0.5); }

/* Pause button for mobile */
.pause-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    height: 40px;
    border-radius: 6px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: auto;
}

/* Standalone Power Cycle button */
.power-cycle-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    height: 42px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: white;
    background: linear-gradient(135deg, #263238, #37474f);
    border: 1px solid rgba(79, 195, 247, 0.3);
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    pointer-events: auto;
}
.power-cycle-btn:active {
    transform: translate(-50%, 2px) scale(0.95);
}

/* ============================================================
   FULLSCREEN TOGGLE BUTTON
   ============================================================ */
.fs-btn {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 10, 30, 0.75);
    border: 1px solid rgba(79, 195, 247, 0.4);
    color: #4fc3f7;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}
.fs-btn:hover {
    background: rgba(79, 195, 247, 0.25);
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    transform: scale(1.05);
}
.fs-btn:active {
    transform: scale(0.95);
}

/* ============================================================
   STAGE SCREENS (INTRO & PLATFORM SELECT)
   ============================================================ */
.full-stage-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0a192f 0%, #020c1b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    pointer-events: auto;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.full-stage-screen.hidden {
    display: none !important;
}
.full-stage-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* STEP 1: INTRO SCREEN */
#intro-content {
    text-align: center;
    max-width: 600px;
    padding: 30px;
    animation: introZoom 0.5s cubic-bezier(0.1, 0.9, 0.2, 1);
}
@keyframes introZoom {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.intro-company {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #4fc3f7;
    text-shadow: 0 0 25px rgba(79,195,247,0.7);
    line-height: 1.1;
}
.intro-presents {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.7);
    margin: 8px 0 20px;
}
.intro-hero-badge {
    display: inline-block;
    background: rgba(229, 57, 53, 0.2);
    border: 1px solid rgba(229, 57, 53, 0.5);
    border-radius: 20px;
    padding: 6px 16px;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff5252;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}
.intro-game-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #ffffff 0%, #00e5ff 40%, #ffd700 80%, #ff1744 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.6));
    line-height: 1;
    margin-bottom: 6px;
}
.intro-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: #ffd700;
    margin-bottom: 35px;
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}
.intro-loader-track {
    width: 320px;
    max-width: 85vw;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 8px;
    margin: 0 auto 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
#intro-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #d50000, #ff9100, #00e5ff);
    border-radius: 8px;
    box-shadow: 0 0 12px #00e5ff;
    transition: width 0.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}
.intro-loading-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.25em;
}

/* STEP 2: CHOOSE PLATFORM / LAYOUT SCREEN */
#layout-choice-screen {
    z-index: 1999;
}
#layout-choice-content {
    text-align: center;
    max-width: 850px;
    width: 92vw;
    padding: 20px;
    animation: introZoom 0.4s ease-out;
}
.stage-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #00e5ff;
    letter-spacing: 0.3em;
    margin-bottom: 8px;
}
.layout-screen-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
    text-shadow: 0 0 25px rgba(255,255,255,0.4);
    margin-bottom: 6px;
}
.layout-screen-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}
.layout-big-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}
.layout-big-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: rgba(10, 25, 50, 0.75);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.layout-big-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00e5ff;
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.15);
}
.lbc-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.6));
}
.lbc-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 4px;
}
.lbc-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: #00e5ff;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}
.lbc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}
.lbc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lbc-features li span {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255,215,0,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,215,0,0.3);
}
.lbc-select-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0288d1, #00e5ff);
    color: #001020;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
    transition: all 0.2s;
}
.layout-big-card:hover .lbc-select-btn {
    background: linear-gradient(135deg, #00e5ff, #fff);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.7);
}

/* ============================================================
   PC vs ANDROID LAYOUT SPECIFIC ADJUSTMENTS
   ============================================================ */
/* When PC Mode is active */
body.layout-pc #mobile-controls-overlay {
    display: none !important;
}
body.layout-pc #controls-panel {
    display: flex !important;
}
body.layout-pc #power-slots {
    display: flex !important;
}

/* When Android Mode is active */
body.layout-android #mobile-controls-overlay {
    display: block !important;
}
body.layout-android #controls-panel {
    display: none !important;
}
body.layout-android #power-slots {
    display: none !important; /* Android has cycle power button & direct power action */
}
body.layout-android #crosshair {
    opacity: 0.7;
}

/* Top-right Score Panel: Positioned neatly below Pause & Fullscreen buttons, compact and non-overlapping */
body.layout-android #score-panel {
    top: 60px;
    right: 12px;
    padding: 6px 10px;
    min-width: 110px;
    max-width: 140px;
    z-index: 30;
    pointer-events: auto;
}
body.layout-android #score-value {
    font-size: 1.25rem;
    margin-bottom: 3px;
}
body.layout-android .score-stat {
    font-size: 0.65rem;
    padding: 1px 0;
}

/* Top-left HUD: Compact so it never clashes with joystick or banners */
body.layout-android #hud {
    top: 10px;
    left: 10px;
    max-width: 180px;
    gap: 5px;
    z-index: 30;
}
body.layout-android #hud-title {
    font-size: 0.6rem;
    padding-bottom: 3px;
}
body.layout-android #hero-stats {
    gap: 4px;
}
body.layout-android .stat-row {
    gap: 5px;
}
body.layout-android #active-power-display {
    padding: 4px 8px;
    gap: 6px;
}
body.layout-android #patrol-tracker {
    padding: 4px 8px;
}

/* Minimap on Android: Docked cleanly below the HUD on the left, completely separated from top-right controls and action buttons! */
body.layout-android #minimap-container {
    bottom: auto;
    top: 240px;
    left: 10px;
    right: auto;
    z-index: 30;
}
body.layout-android #minimap {
    width: 65px;
    height: 65px;
}
body.layout-android #minimap-label {
    display: none;
}

/* Mobile Pause Button: Beside the Fullscreen button at top-right */
body.layout-android .pause-btn {
    top: 12px;
    right: 66px; /* Beside the 44px fullscreen button */
    height: 38px;
    padding: 4px 12px;
    font-size: 0.75rem;
    z-index: 1000;
}

/* Joystick on Android: Positioned nicely at bottom-left */
body.layout-android #joystick-zone {
    bottom: 20px;
    left: 16px;
    width: 130px;
    height: 130px;
    z-index: 40;
}
body.layout-android #joystick-knob {
    width: 44px;
    height: 44px;
    top: 41px;
    left: 41px;
}

/* Mobile Action Buttons: Compact, ergonomic spacing on bottom-right with maximum z-index & touch responsiveness */
body.layout-android #mobile-actions {
    bottom: 16px;
    right: 14px;
    gap: 8px;
    z-index: 60;
    pointer-events: auto;
}
body.layout-android .mobile-row {
    gap: 8px;
    pointer-events: auto;
}
body.layout-android .circle-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    pointer-events: auto;
    touch-action: manipulation;
}
body.layout-android .rect-btn {
    height: 40px;
    padding: 6px 12px;
    font-size: 0.78rem;
    pointer-events: auto;
    touch-action: manipulation;
}
body.layout-android .action-btn {
    height: 48px;
    padding: 8px 14px;
    font-size: 0.88rem;
    pointer-events: auto;
    touch-action: manipulation;
}
body.layout-android .power-cycle-btn {
    bottom: 16px;
    height: 38px;
    padding: 6px 16px;
    font-size: 0.75rem;
    z-index: 60;
    pointer-events: auto;
    touch-action: manipulation;
}

/* Space Flight Telemetry Card on Android: Positioned higher in space so it doesn't overlap action buttons */
body.layout-android #space-telemetry-card {
    bottom: auto;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    gap: 12px;
    max-width: 90vw;
    z-index: 35;
}
body.layout-android .st-header {
    font-size: 0.7rem;
    padding-right: 10px;
}
body.layout-android .st-row {
    font-size: 0.75rem;
    gap: 4px;
}
body.layout-android .st-row b {
    font-size: 0.75rem;
}

/* Crime Mission Banner on Android: Centered nicely without colliding with HUD or top buttons */
body.layout-android #crime-mission-banner {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 42vw;
    padding: 5px 10px;
    z-index: 35;
}
body.layout-android .cmb-badge {
    font-size: 0.58rem;
}
body.layout-android .cmb-title {
    font-size: 0.72rem;
}
body.layout-android .cmb-info {
    font-size: 0.68rem;
    gap: 5px;
}

/* ============================================================
   GTA 5 SPACE TRAVEL NAVIGATION HUD STYLES
   ============================================================ */
#space-nav-hud {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 25;
}
#space-nav-hud.hidden { display: none; }

/* Celestial Diamond Waypoint Lock-on Markers */
.planet-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: transform 0.05s linear;
}
.pm-diamond {
    width: 28px;
    height: 28px;
    border: 2px solid var(--marker-col, #00e5ff);
    transform: rotate(45deg);
    box-shadow: 0 0 12px var(--marker-col, #00e5ff);
    animation: diamondPulse 1.8s infinite alternate;
}
@keyframes diamondPulse {
    0%   { transform: rotate(45deg) scale(0.9); opacity: 0.7; }
    100% { transform: rotate(45deg) scale(1.15); opacity: 1; box-shadow: 0 0 20px var(--marker-col, #00e5ff); }
}
.pm-info {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(5, 10, 25, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 6px;
    padding: 2px 8px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.7);
}
.pm-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--marker-col, #00e5ff);
    letter-spacing: 0.15em;
    text-shadow: 0 0 8px currentColor;
}
.pm-dist {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

/* Space Flight Telemetry Card (GTA Style Top Center/Right) */
#space-telemetry-card {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(3, 8, 22, 0.9), rgba(10, 25, 50, 0.85));
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 12px;
    padding: 10px 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    z-index: 30;
}
.st-header {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 900;
    color: #00e5ff;
    letter-spacing: 0.15em;
    text-shadow: 0 0 10px #00e5ff;
    border-right: 1px solid rgba(0, 229, 255, 0.3);
    padding-right: 16px;
}
.st-row {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: 6px;
}
.st-row b {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
}

/* Dynamic Crime Mission Banner */
#crime-mission-banner {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(20, 0, 8, 0.92), rgba(40, 5, 15, 0.88));
    border: 1px solid rgba(255, 23, 68, 0.7);
    border-radius: 12px;
    padding: 10px 22px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.4), inset 0 0 15px rgba(255, 23, 68, 0.15);
    z-index: 25;
    pointer-events: none;
    animation: cmbPulse 2s infinite ease-in-out;
}
@keyframes cmbPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 23, 68, 0.35); border-color: rgba(255, 23, 68, 0.6); }
    50% { box-shadow: 0 0 35px rgba(255, 23, 68, 0.7); border-color: rgba(255, 23, 68, 1); }
}
.cmb-badge {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 900;
    color: #ff1744;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.8);
    margin-bottom: 2px;
}
.cmb-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}
.cmb-info {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.cmb-info b {
    font-family: 'Orbitron', monospace;
}



