/* === SATORI.EXE Style === */

body {
  background-color: #0a0a0f;
  color: #00ff9f;
  font-family: "Courier New", monospace;
  margin: 0;
  padding: 2em;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* CRT scanlines overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    rgba(0, 255, 159, 0.03) 0,
    rgba(0, 255, 159, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* Subtle flicker animation for the screen */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 0.99;
  }
  20%, 24%, 55% {
    opacity: 0.97;
  }
}

.terminal {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #00ff9f;
  padding: 2em;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px #00ff9f44;
  animation: flicker 2s infinite;
}

/* Titles with glitch effect */
h1, h2 {
  color: #00ffe0;
  position: relative;
  display: inline-block;
  animation: text-glitch 1.5s infinite linear alternate-reverse;
}

@keyframes text-glitch {
  0% { text-shadow: 1px 0 magenta, -1px 0 cyan; }
  20% { text-shadow: 2px 0 lime, -2px 0 red; }
  40% { text-shadow: -2px 0 magenta, 2px 0 cyan; }
  60% { text-shadow: 1px 0 lime, -1px 0 cyan; }
  80% { text-shadow: -1px 0 red, 1px 0 magenta; }
  100% { text-shadow: 0 0 transparent; }
}

/* Links and buttons */
a {
  color: #00ff9f;
  text-decoration: none;
  transition: text-shadow 0.3s;
}

a:hover {
  text-shadow: 0 0 5px #00ffcc;
}

.button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.4em 0.8em;
  border: 1px solid #00ff9f;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #00ff9f22;
}

.active {
  color: #00ffe0;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0.4; }
}

/* Section separation */
section {
  margin-top: 2em;
  border-top: 1px dashed #00ff9f33;
  padding-top: 1em;
}

/* Floating "network noise" — optional */
@keyframes float {
  from { transform: translateY(0); opacity: 0.5; }
  to { transform: translateY(-10px); opacity: 0; }
}

.whisper {
  position: fixed;
  color: #00ffff;
  font-size: 0.8rem;
  opacity: 0.6;
  animation: float 5s forwards;
  pointer-events: none;
  z-index: 50;
}
