/* =========================
   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;
  cursor: pointer;
}

/* =========================
   MAIN SYSTEM
========================= */

.system {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

/* =========================
   CONTROLS
========================= */

#controls {
  display: flex;
  gap: 10px;

  padding-bottom: 10px;
  border-bottom: 1px solid #00ff00;

  margin-bottom: 15px;
}

#controls button {
  background: transparent;

  border: 1px solid #00ff00;
  color: #00ff00;

  padding: 5px 10px;

  font-family: inherit;

  cursor: pointer;

  transition: 0.15s;
}

#controls button:hover {
  background: #00ff00;
  color: black;
}

/* =========================
   STATUS PANEL
========================= */

.status-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 15px;

  opacity: 0.75;
}

.status,
.telemetry {
  font-size: 13px;
}

/* =========================
   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);
}

.score-panel {

  margin-top: 20px;

  padding: 15px;

  border: 1px solid #00ff00;

  box-shadow: 0 0 10px #00ff00;

}

#scoreboard {

  font-size: 12px;

  line-height: 1.5;

}

.stats {

  margin-top: 10px;

  display: flex;

  gap: 20px;

  opacity: 0.8;

  font-size: 12px;

}