body {
  background-color: #050505;
  margin: 0;
  /* Custom scrollbar for webkit */
  scrollbar-width: thin;
  scrollbar-color: #4a044e #0f0518;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f0518;
}

::-webkit-scrollbar-thumb {
  background: #701a75;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d946ef;
}

.font-vt323 {
  font-family: 'VT323', monospace;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* CRT Effect Overlay */
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 50;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

.text-glow {
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.7);
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(147, 51, 234, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147, 51, 234, 0.05) 1px, transparent 1px);
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Loading bar animation */
@keyframes loadingBar {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

#loading-bar {
  animation: loadingBar 1.5s ease-out forwards;
}