import React, { useState } from 'react'; import { Brain, AlertCircle } from 'lucide-react'; export default function VillainControlPanel() { const [packing, setPacking] = useState(60); const [restraint, setRestraint] = useState(75); const [neural, setNeural] = useState(40); const [sedative, setSedative] = useState(25); const [timeDilation, setTimeDilation] = useState(1); const [isoLevel, setIsoLevel] = useState(2); const getTimeDilationDisplay = (val) => { if (val === 0) return '0.75x'; if (val === 1) return '1.0x'; if (val === 2) return '2.0x'; if (val === 3) return '4.0x'; if (val === 4) return '8.0x'; return '12.0x'; }; return (
{/* Top Alert Banner */}
SUBJECT APPROACHING COMPLIANCE STATE
{/* Main Content Area */}
{/* Left Side - Vitals & Chamber ID */}

NEST/3

92
BPM
38%
BRAIN
54%
RESIST
{/* Middle - Physical Controls */}

PHYSICAL CONTROLS

PACKING {packing}%
setPacking(Number(e.target.value))} className="w-full h-8 rounded-lg appearance-none cursor-pointer" style={{ background: `linear-gradient(to right, #fb923c ${packing}%, #374151 ${packing}%)` }} />
RESTRAINT {restraint}%
setRestraint(Number(e.target.value))} className="w-full h-8 rounded-lg appearance-none cursor-pointer" style={{ background: `linear-gradient(to right, #f87171 ${restraint}%, #374151 ${restraint}%)` }} />
ISO LEVEL
{[0, 1, 2, 3].map((level) => ( ))}
{/* Right - Headspace Controls */}

HEADSPACE

NEURAL {neural}%
setNeural(Number(e.target.value))} className="w-full h-8 rounded-lg appearance-none cursor-pointer" style={{ background: `linear-gradient(to right, #c084fc ${neural}%, #374151 ${neural}%)` }} />
SEDATIVE {sedative}%
setSedative(Number(e.target.value))} className="w-full h-8 rounded-lg appearance-none cursor-pointer" style={{ background: `linear-gradient(to right, #22d3ee ${sedative}%, #374151 ${sedative}%)` }} />
TIME DILATION {getTimeDilationDisplay(timeDilation)}
setTimeDilation(Number(e.target.value))} className="w-full h-8 rounded-lg appearance-none cursor-pointer" style={{ background: `linear-gradient(to right, #ec4899 ${(timeDilation/5)*100}%, #374151 ${(timeDilation/5)*100}%)` }} />
{/* Bottom Status Bar */}
CHAMBER INTEGRITY: 100% (UNBREAKABLE)
BIOMETRIC LOCK: ENGAGED
EST. TIME TO COMPLIANCE: 4H:47M
); }