@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap);
.boot-screen,
.loading-text,
.retro-screen,
body,
button,
div,
h1 {
  font-family: Silkscreen, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.chaos-overlay,
.screen-inner::before {
  bottom: 0;
  pointer-events: none;
  right: 0;
}
@keyframes scanlines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 10px;
  }
}
@keyframes flicker {
  0%,
  10%,
  100%,
  25% {
    opacity: 0.9;
  }
  5% {
    opacity: 0.8;
  }
  15% {
    opacity: 0.85;
  }
  20% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}
@keyframes infinite-spin {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(1.5px);
  }
}
@keyframes criticalFlash {
  0%,
  100% {
    background-color: #1a1a1a;
  }
  50% {
    background-color: #300;
  }
}
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink {
  from,
  to {
    border-color: #fff0;
  }
  50% {
    border-color: #f7474f;
  }
}
@keyframes dots {
  0% {
    content: " _     ";
  }
  33% {
    content: "   _   ";
  }
  66% {
    content: "     _ ";
  }
}
.loading-text {
  overflow: hidden;
  border-right: 5px solid #f7474f;
  position: sticky;
  right: 55em;
  text-align: left;
  white-space: nowrap;
  margin: 0 auto;
  width: 240px;
  animation: 2s steps(20) 1.5s both typewriter, 0.5s steps(1) infinite blink;
}
.error-close,
.error-header {
  font-weight: 700;
  display: flex;
}
.loading-text::after {
  content: "DEVELOPMENT IN PROCESS";
  content: "       ";
  white-space: pre;
  width: 240px;
  animation: 2s steps(1) infinite dots;
}
.infinite-spin {
  animation: 2s steps(10, end) infinite infinite-spin;
}
.retro-screen {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: relative;
  font-family: Doto, sans-serif;
  background-color: #262626;
  overflow: auto;
}
.contact-btn,
.panic-btn,
.stop-panic-btn {
  position: relative;
  overflow: hidden;
}
.screen-inner {
  animation: 0.1s infinite flicker;
  background-image: linear-gradient(rgb(255 55 0 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 47 0 / 0.05) 1px, transparent 1px);
  background-size: 10px 10px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding: 2rem;
  align-items: center;
  justify-content: center;
}
.screen-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(#fff0 50%, rgb(0 0 0 / 0.25) 50%);
  background-size: 100% 4px;
  animation: 0.5s linear infinite scanlines;
}
.contact-btn::before,
.panic-btn::before,
.stop-panic-btn::before {
  content: "";
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
  top: 0;
}
.loader {
  width: 60px;
  height: 60px;
  border: 10px solid #702327;
  border-top: 10px solid #f7474f;
  border-radius: 50%;
  animation: 1.5s steps(2, end) infinite infinite-spin;
}
.contact-btn {
  box-shadow: 0 0 15px rgb(0 255 60 / 0.3);
}
.contact-btn::before {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(0 255 60 / 0.2),
    transparent
  );
}
.contact-btn:hover::before,
.panic-btn:hover::before,
.stop-panic-btn:hover::before {
  left: 100%;
}
.panic-btn {
  box-shadow: 0 0 15px rgb(255 68 68 / 0.3);
}
.error-dialog,
.stop-panic-btn {
  box-shadow: 0 0 20px rgb(255 68 68 / 0.6);
}
.panic-btn::before {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 68 68 / 0.2),
    transparent
  );
}
.stop-panic-btn {
  animation: 2s infinite pulse;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgb(255 68 68 / 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgb(255 68 68 / 0.9);
  }
}
.stop-panic-btn::before {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 0.2),
    transparent
  );
}
.error-dialog {
  position: absolute;
  min-width: 300px;
  background: #1a1a1a;
  border: 2px solid #f44;
  border-radius: 5px;
  z-index: 1000;
  cursor: move;
  animation: 0.5s ease-in-out shake;
}
.error-dialog.critical {
  animation: 0.5s ease-in-out 3 criticalFlash, 0.5s ease-in-out shake;
  border-color: red;
  box-shadow: 0 0 25px rgb(255 0 0 / 0.8);
}
.error-header {
  background: #f44;
  color: #fff;
  padding: 8px 12px;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  cursor: move;
}
.error-header.critical {
  background: red;
}
.error-content {
  padding: 15px;
  color: #00ff3c;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.4;
}
.error-close {
  background: 0 0;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.error-close:hover {
  background: rgb(255 255 255 / 0.3);
}
.chaos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: radial-gradient(circle, transparent 20%, rgb(255 0 0 / 0.1) 100%);
  animation: 0.1s infinite flicker;
}
.connection-warning {
  color: #f44 !important;
  animation: 1s infinite;
}
