@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&display=swap');

body {
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.015em;
  background-color: #0d0d0d;
  color: #e6e6e6;
}

h1, h2, h3 {
  text-transform: uppercase;
}

a {
  color: #00ffc6;
  transition: color 0.2s ease;
}

a:hover {
  color: #a855f7;
}

.btn-primary {
  background: linear-gradient(90deg, #00ffc6, #a855f7);
  color: #0d0d0d;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.card {
  background-color: #121212;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #00ffc6;
}

/* Neon Glow Effect */
.hover-glow:hover {
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.25),
              0 0 40px rgba(168, 85, 247, 0.15);
}

/* Nav underline + active color */
.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ffc6, #a855f7);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.text-teal-400::after {
  width: 100%;
}

[data-include] {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

[data-include].loaded {
  opacity: 1;
}

section.text-center a.btn-primary {
  display: inline-block;
  margin-top: 1rem;
}

/* Secret project card with time pulse */
.pulse-card {
  position: relative;
  overflow: hidden;
}

.pulse-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 198, 0.1),
              0 0 50px rgba(168, 85, 247, 0.05);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: pulseGlow 3s infinite ease-in-out;
  pointer-events: none;
}

.pulse-card:hover::after {
  opacity: 1;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(0, 255, 198, 0.15),
                0 0 30px rgba(168, 85, 247, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 255, 198, 0.35),
                0 0 70px rgba(168, 85, 247, 0.25);
  }
  100% {
    box-shadow: 0 0 15px rgba(0, 255, 198, 0.15),
                0 0 30px rgba(168, 85, 247, 0.1);
  }
}

#menu {
  transition: all 0.3s ease-in-out;
}
#menu.flex {
  flex-direction: column;
  background-color: rgba(13, 13, 13, 0.95);
  border-top: 1px solid #1e1e1e;
  padding: 1rem 0;
}
