.navigation-terminal-arrow {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(20, 25, 40, 0.9) 100%
  );
  /* border: 1px solid rgba(0, 255, 140, 0.3); */
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
  margin-top: 70px;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  overflow: hidden;
}

.navigation-terminal-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 140, 0.1),
    transparent
  );
  animation: terminal-scan 3s infinite;
}

.arrow-terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.arrow-dots {
  display: flex;
  gap: 4px;
}

.arrow-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.arrow-dots .dot.pulse {
  animation: dot-pulse 2s infinite;
}

.arrow-terminal-title {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: auto;
}

.arrow-command-line {
  font-size: 0.75rem;
  margin-bottom: 8px;
  color: #94a3b8;
}

.arrow-prompt {
  color: var(--accent);
  font-weight: 600;
}

.arrow-command {
  color: #00ffff;
}

.animated-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.scanning-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 255, 140, 0.2);
  position: relative;
  margin-bottom: 8px;
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan-beam 2s infinite ease-in-out;
}

.arrow-sequence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.arrow-layer {
  color: var(--accent);
  font-size: 1rem;
  font-weight: bold;
  animation: arrow-bounce 1.5s infinite ease-in-out;
  text-shadow: 0 0 10px rgba(0, 255, 140, 0.8);
}

.arrow-layer.delay-1 {
  animation-delay: 0.2s;
  opacity: 0.7;
}

.arrow-layer.delay-2 {
  animation-delay: 0.4s;
  opacity: 0.4;
}

.navigation-text {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.nav-message {
  color: #00ffff;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loading-dots {
  display: flex;
  gap: 2px;
}

.loading-dot {
  color: var(--accent);
  animation: loading-dot-blink 1.5s infinite;
  font-weight: bold;
}

.loading-dot:nth-child(1) {
  animation-delay: 0s;
}
.loading-dot:nth-child(2) {
  animation-delay: 0.3s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes terminal-scan {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@keyframes scan-beam {
  0% {
    left: 0%;
    transform: translateX(-100%);
  }
  50% {
    left: 50%;
    transform: translateX(-50%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.8;
  }
}

@keyframes loading-dot-blink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Hover effect for the entire navigation arrow */
.navigation-terminal-arrow:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 255, 140, 0.4);
}

.navigation-terminal-arrow:hover .arrow-layer {
  animation-duration: 0.8s;
  color: #00ffff;
}

.navigation-terminal-arrow:hover .nav-message {
  color: var(--accent);
}
