/* =========================
   BASE
========================= */

body {

  margin: 0;

  background: #050505;

  color: #00ff00;

  font-family:
    "Courier New",
    monospace;

  overflow-x: hidden;

}

/* =========================
   HEADER
========================= */

header {

  padding: 20px;

  border-bottom:
    1px solid #00ff00;

}

.logo {

  font-size: 18px;

  letter-spacing: 2px;

  opacity: 0.9;

}

.logo,
.logo:visited,
.logo:hover,
.logo:active {

  color: #00ff00;

  text-decoration: none;

}

.logo:hover {

  text-shadow:
    0 0 8px #00ff00;

}

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

.system {

  max-width: 1400px;

  margin: 40px auto;

  padding: 20px;

}

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

.status-panel {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 15px;

  opacity: 0.75;

  gap: 20px;

}

.status,
.telemetry {

  font-size: 13px;

  letter-spacing: 1px;

}

.stats {

  display: flex;

  gap: 20px;

  font-size: 12px;

  opacity: 0.8;

}

/* =========================
   CANVAS
========================= */

.canvas-container {

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 20px 0;

}

canvas {

  border:
    1px solid #00ff00;

  background: #020202;

  image-rendering: pixelated;

  box-shadow:

    0 0 10px #00ff00,

    inset 0 0 10px
    rgba(0,255,0,0.15);

}

/* =========================
   TELEMETRY
========================= */

.telemetry-panel {

  margin-top: 20px;

  padding-top: 15px;

  border-top:
    1px solid #00ff00;

}

#telemetry-feed {

  min-height: 60px;

  font-size: 12px;

  line-height: 1.5;

  opacity: 0.75;

}

/* =========================
   LOGS
========================= */

.message-panel {

  margin-top: 20px;

  padding-top: 15px;

  border-top:
    1px solid #00ff00;

}

.message-title {

  margin-bottom: 10px;

  opacity: 0.7;

  letter-spacing: 1px;

}

#message-feed {

  min-height: 100px;

  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;

  z-index: 999;

  background:
    repeating-linear-gradient(

      to bottom,

      rgba(0,255,0,0.04),

      rgba(0,255,0,0.04) 1px,

      transparent 1px,

      transparent 3px

    );

}

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

}

/* =========================
   PRESSURE STATE
========================= */

body.pressure-high {

  animation:
    pressureFlicker 0.12s infinite;

}

@keyframes pressureFlicker {

  0% {

    filter: brightness(1);

  }

  50% {

    filter: brightness(1.05);

  }

  100% {

    filter: brightness(1);

  }

}