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

* {

  box-sizing: border-box;

  cursor: none !important;
}

body {

  margin: 0;

  background: #050505;

  color: #00ff00;

  font-family:
    "Courier New",
    monospace;

  overflow: hidden;
}

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

header {

  padding: 20px;

  border-bottom:
    1px solid #00ff00;

  position: relative;

  z-index: 10;
}

.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;
}

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

.system {

  max-width: 1400px;

  margin: 0 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;
}

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

.canvas-container {

  display: flex;

  justify-content: center;

  padding: 10px 0 20px;
}

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);
}

/* =========================
   MESSAGE PANEL
========================= */

.message-panel {

  margin-top: 10px;

  border-top:
    1px solid #00ff00;

  padding-top: 15px;
}

.message-title {

  margin-bottom: 10px;

  opacity: 0.7;

  letter-spacing: 1px;
}

#message-feed {

  min-height: 70px;

  font-size: 13px;

  line-height: 1.5;

  opacity: 0.85;
}

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

/* =========================
   AMBIENT VIGNETTE
========================= */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(

      circle at center,

      transparent 50%,
      rgba(0,0,0,0.45)
    );

  z-index: 998;
}

/* =========================
   CURSOR
========================= */

.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);
}

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

/* =========================
   CRT FLICKER
========================= */

canvas {

  animation:
    crtFlicker 6s linear infinite;
}

@keyframes crtFlicker {

  0% {

    opacity: 1;
  }

  1% {

    opacity: 0.985;
  }

  2% {

    opacity: 1;
  }

  8% {

    opacity: 0.992;
  }

  9% {

    opacity: 1;
  }

  100% {

    opacity: 1;
  }
}

/* =========================
   HALLWAY FEEL
========================= */

.status,
.telemetry,
.message-title {

  text-shadow:
    0 0 4px rgba(0,255,0,0.45);
}

#message-feed {

  transition:
    opacity 0.2s ease;
}