/* Terminal-style custom styles */
body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: 'Courier New', monospace;
  overflow: hidden;
}

/* Scrolling ticker animation */
@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
}

/* Terminal glow effects */
.terminal-glow {
  text-shadow: 0 0 5px currentColor;
}

/* Custom scrollbar for terminal feel */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
  border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #00aa00;
}

/* Blinking cursor effect */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cursor-blink::after {
  content: '_';
  animation: blink 1s infinite;
  color: #00ff00;
}

/* Terminal screen flicker effect */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.98; }
}

.terminal-flicker {
  animation: flicker 0.15s infinite linear;
}

/* Matrix-style background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Enhanced input focus styles */
input:focus {
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
}

/* Button hover effects */
button:hover {
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  text-shadow: 0 0 5px currentColor;
}

/* ASCII border effects */
.border-ascii {
  border-style: solid;
  border-image: none;
}

/* Terminal startup animation */
@keyframes startup {
  0% { 
    opacity: 0;
    transform: scale(0.8);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
}

.terminal-startup {
  animation: startup 0.5s ease-out;
}