/* =========================
   BASE
========================= */
body {
  margin: 0;
  background: #050505;
  color: #00ff00;
  font-family: "Courier New", monospace;
}
/* =========================
   HEADER
========================= */
header {
  padding: 20px;
  border-bottom: 1px solid #00ff00;
}
.logo {
  font-size: 18px;
  letter-spacing: 2px;
}
.logo,
.logo:visited,
.logo:hover,
.logo:active {
  color: #00ff00;
  text-decoration: none;
}
.logo:hover {
  text-shadow: 0 0 10px #00ff00;
}
/* =========================
   MAIN SYSTEM
========================= */
.system {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}
/* =========================
   STATUS PANEL
========================= */
.status-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  opacity: 0.75;
  font-size: 13px;
}
.stats {
  display: flex;
  gap: 20px;
  font-size: 12px;
}
/* =========================
   DUO HUD
========================= */
.duo-hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #00ff00;
  box-shadow: 0 0 8px rgba(0,255,0,0.15);
}
.agent-card {
  border: 1px solid #003300;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.agent-name {
  font-size: 15px;
  letter-spacing: 2px;
}
.agent-stat {
  font-size: 11px;
  opacity: 0.7;
}
.agent-bar-wrap {
  width: 100%;
  height: 4px;
  background: #001100;
  border: 1px solid #003300;
}
.agent-bar {
  height: 100%;
  width: 0%;
  background: #00ff00;
  transition: width 0.3s, background 0.3s;
}
.objective-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}
.obj-desc {
  font-size: 10px;
  opacity: 0.5;
  letter-spacing: 1px;
  line-height: 1.4;
}
.obj-label {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.6;
}
.obj-progress {
  font-size: 20px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #00ff00;
}
.result-banner {
  font-size: 13px;
  letter-spacing: 2px;
  padding: 6px 10px;
  border: 1px solid #00ff00;
  text-shadow: 0 0 8px #00ff00;
}
.result-banner.success {
  border-color: #00ff00;
  color: #00ff00;
  text-shadow: 0 0 10px #00ff00;
}
.result-banner.failure {
  border-color: #ff4040;
  color: #ff4040;
  text-shadow: 0 0 10px #ff4040;
}
/* =========================
   CANVAS
========================= */
.canvas-container {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
canvas {
  border: 1px solid #00ff00;
  box-shadow:
    0 0 10px #00ff00,
    inset 0 0 10px rgba(0,255,0,0.15);
  background: #020202;
}
/* =========================
   MESSAGE PANEL
========================= */
.message-panel {
  margin-top: 20px;
  border-top: 1px solid #00ff00;
  padding-top: 15px;
}
.message-title {
  margin-bottom: 10px;
  opacity: 0.7;
  letter-spacing: 1px;
}
#message-feed {
  min-height: 80px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}
/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 5px;
  box-shadow: 0 0 5px #00ff00;
}
::-webkit-scrollbar-thumb:hover { background: #00cc00; }
/* =========================
   SCANLINES
========================= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,0,0.05),
    rgba(0,255,0,0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 999;
}
/* =========================
   CURSOR
========================= */
* { cursor: none !important; }
.custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 2px #000)
    drop-shadow(0 0 4px #00ff00);
}