@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

body {
  background: #000;
  overflow-x: hidden;
}

.glitch-text {
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%, 90%, 100% {
    transform: translate3d(0, 0, 0);
  }
  10% {
    transform: translate3d(-1px, 0, 0);
  }
  20% {
    transform: translate3d(1px, 0, 0);
  }
  30% {
    transform: translate3d(0, 1px, 0);
  }
  40% {
    transform: translate3d(1px, -1px, 0);
  }
  50% {
    transform: translate3d(-1px, 1px, 0);
  }
  60% {
    transform: translate3d(-1px, -1px, 0);
  }
  70% {
    transform: translate3d(1px, 1px, 0);
  }
  80% {
    transform: translate3d(-1px, 0, 0);
  }
}

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

/* CRT Screen curvature effect */
.crt-screen {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.crt-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Phosphor glow effect */
.phosphor-glow {
  text-shadow: 
    0 0 5px #00ff41,
    0 0 10px #00ff41,
    0 0 15px #00ff41,
    0 0 20px #00ff41;
}

/* Terminal cursor */
.terminal-cursor::after {
  content: '█';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Button hover effects */
button {
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

/* Scrollbar styling for terminal */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #00ff41;
  border-radius: 3px;
}

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

/* Retro container styling */
.retro-container {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  box-shadow: 
    inset 0 0 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 65, 0.1);
}

/* Green glow for interactive elements */
.glow-green {
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.glow-green:hover {
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}