/* === GLOW EFFECT === */
@keyframes glow {
  0% { text-shadow: 0 0 2px #00ff91, 0 0 5px #00ff91; }
  50% { text-shadow: 0 0 4px #00ffaa, 0 0 10px #00ffaa; }
  100% { text-shadow: 0 0 2px #00ff91, 0 0 5px #00ff91; }
}

.glow-text {
  animation: glow 2s ease-in-out infinite;
}

/* === SLIDE IN FROM LEFT === */
@keyframes slide-in-left {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slide-in-left 1s ease-out;
}

/* === FLICKER === */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.4; }
  50% { opacity: 0.8; }
  55% { opacity: 0.2; }
  60% { opacity: 0.9; }
}

.flicker {
  animation: flicker 1.5s infinite;
}

/* === SCANLINES (retro CRT effect) === */
@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

.scanlines::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2) 50%, transparent 50%);
  background-size: 100% 4px;
  animation: scanlines 1.5s linear infinite;
  z-index: 2;
}

/* === FADE-IN === */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fade-in 1.2s ease-in-out both;
}

/* === TYPEWRITER === */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid #00ff91;
  white-space: nowrap;
  animation: typewriter 4s steps(40, end), blink 1s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* === SHADOW HOVER === */
.shadow-hover:hover {
  text-shadow: 0 0 8px #00ff91;
  transition: text-shadow 0.3s ease;
}