/* --- [ CRT MONITOR EFFECT ] --- */
body {
  background-color: #050505;
  color: #00ff41;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* Blocky, retro crosshair */
  /*cursor: crosshair;*/
}

/* This creates the scanlines over the entire screen! */
body::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 4px, 6px 100%;
  pointer-events: none; /* Crucial: lets you click the buttons underneath! */
}

/* --- [ MAIN TERMINAL WINDOW ] --- */
.terminal-container {
  width: 100%;
  max-width: 800px;
  border: 2px solid #00ff41;
  background-color: #000;
  box-shadow: 0 0 15px #008f11, inset 0 0 15px #003b00;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* --- [ HEADER & ASCII ] --- */
.ascii-art {
  white-space: pre;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #008f11;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #003b00;
}

.sys-header {
  border-bottom: 1px dashed #00ff41;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-weight: bold;
}

/* --- [ BLINKING CURSOR EFFECT ] --- */
.typewriter {
  display: inline-block;
}
.typewriter::after {
  content: '█';
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* --- [ LAYOUT GRID ] --- */
.grid-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}

/* --- [ LEFT COLUMN: PFP & STATS ] --- */
.profile-pic-container {
  border: 2px solid #00ff41;
  padding: 5px;
  margin-bottom: 15px;
  background: #003b00;
}

.profile-pic {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  /* THE MAGIC FILTER: Turns ANY photo into a green phosphor image */
  filter: grayscale(100%) sepia(100%) hue-rotate(70deg) saturate(500%) contrast(1.5);
}

.stat-block {
  border: 1px solid #008f11;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 15px;
}

.stat-block div {
  margin-bottom: 5px;
}

/* --- [ RIGHT COLUMN: DATA & AUDIO ] --- */
.data-panel h2 {
  margin-top: 0;
  font-size: 18px;
  background: #00ff41;
  color: #000;
  padding: 2px 10px;
  display: inline-block;
}

p {
  line-height: 1.5;
  font-size: 14px;
}

a {
  color: #00ff41;
  text-decoration: none;
  /* sborder-bottom: 1px solid #008f11; */
}

a:hover {
  background: #00ff41;
  color: #000;
}

/* --- [ FUNCTIONAL AUDIO TERMINAL ] --- */
.audio-terminal {
  border: 1px solid #00ff41;
  padding: 15px;
  margin-top: 20px;
  background: rgba(0, 255, 65, 0.05);
}

.audio-cmd-line {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.cmd-prompt {
  color: #008f11;
}

.term-btn {
  background: transparent;
  color: #00ff41;
  border: 1px solid #00ff41;
  font-family: 'Courier New', Courier, monospace;
  padding: 2px 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}

.term-btn:hover {
  background: #00ff41;
  color: #000;
}

.term-btn:active {
  transform: translateY(1px);
}

/* --- [ MOBILE RESPONSIVENESS ] --- */
@media (max-width: 600px) {
  .grid-layout {
      grid-template-columns: 1fr;
  }
  .ascii-art {
      display: none; /* Hide complex ASCII on tiny screens */
  }
}