/* style.css */

body {
  margin: 0;
  background: black;
  color: #00ffee;
  font-family: monospace;
  overflow-x: hidden;
}

#matrix {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 2px,
      rgba(0,255,255,0.03) 3px
    );
  pointer-events: none;
  z-index: -1;
}

.container {
  text-align: center;
  padding: 20px;
}

.glow {
  font-size: 3rem;
  color: #00ffee;
  text-shadow:
    0 0 10px #00ffee,
    0 0 20px #00ffee,
    0 0 40px #00ffee;
}

.glitch {
  position: relative;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

#statusBar {
  margin: 20px auto;
  border: 1px solid red;
  padding: 10px;
  width: fit-content;
  color: red;
  box-shadow: 0 0 20px red;
}

#terminal {
  margin-top: 20px;
  color: #00ff88;
  min-height: 150px;
  text-align: left;
  max-width: 700px;
  margin-inline: auto;
  border: 1px solid #00ffee;
  padding: 15px;
  background: rgba(0,255,255,0.05);
  box-shadow: 0 0 20px #00ffee;
}

button {
  margin-top: 25px;
  padding: 15px 35px;
  background: transparent;
  border: 2px solid #00ffee;
  color: #00ffee;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}

button:hover {
  background: #00ffee;
  color: black;
  box-shadow: 0 0 20px #00ffee;
}

.hidden {
  display: none;
}

.videoContainer {
  position: relative;
  display: inline-block;
  margin-top: 30px;
}

video,
img {
  width: 320px;
  border: 3px solid #00ffee;
  box-shadow: 0 0 30px #00ffee;
}

.scanner {
  position: absolute;
  width: 100%;
  height: 4px;
  background: red;
  box-shadow: 0 0 20px red;
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.report {
  margin-top: 30px;
  border: 2px solid red;
  background: rgba(255,0,0,0.08);
  padding: 20px;
  box-shadow: 0 0 30px red;
}

#roast {
  color: red;
  font-size: 1.3rem;
  margin: 20px 0;
}

.stats p,
.crimes p {
  color: #ff6666;
}

.finalMsg {
  margin-top: 30px;
  color: yellow;
  text-shadow: 0 0 10px yellow;
}

.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}