@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

body {
  font-family: "Share Tech Mono", monospace;
  background-color: #05080f;
  color: #00ff9c;
}

/* Override DaisyUI dark theme base colors to match our palette */
[data-theme="dark"] {
  --color-base-100: #080c14;
  --color-base-200: #0a0f1c;
  --color-base-300: #0d1420;
  --color-base-content: #00ff9c;
  --color-primary: #00ff9c;
  --color-primary-content: #05080f;
}

.logo {
  letter-spacing: 0.15em;
}

/* scanline effect on terminal */
.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 255, 156, 0.03) 3px,
    rgba(0, 255, 156, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

#terminal-text {
  position: relative;
  z-index: 2;
}

#terminal-text::after {
  content: "█";
  animation: blink 1s step-end infinite;
  opacity: 0.8;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0;
  }
}

/* Underline slide-in on nav links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #00ff9c;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
