/* styles.css - small tweaks */
body {
  font-family:
    "Outfit",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
}
#project-list li {
  cursor: pointer;
}
.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.75rem;
}
pre {
  white-space: pre-wrap;
  word-break: break-all;
}

/* Row highlight animation */
@keyframes rowFlash {
  0% {
    background-color: #e0f2fe;
  }
  100% {
    background-color: transparent;
  }
}

.row-updated {
  animation: rowFlash 1s ease-out;
}

/* Smooth row transition */
tr {
  transition: all 0.3s ease;
}

/* Processing pulse */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.processing {
  animation: pulse 1.5s infinite;
}

tr:hover {
  background-color: #f5f5f5;
}

/* nicer scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

pre span {
  font-weight: 500;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}
/* Animated Gradient */
.bg-animated {
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #0f172a);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Glow */
.glow:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.glowli:hover {
  box-shadow: 0 0 10px rgba(172, 155, 212, 0.4);
}
/* Scroll Animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
/* Particles Canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}
/* Glow trail */
.trail {
  position: absolute; /* 🔥 change from fixed */
  width: 140px;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.25),
    transparent 70%
  );
  filter: blur(30px);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 9999;
}
/* Icon micro interaction */
.icon-animate {
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.icon-animate:hover {
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
}
/* Floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.float {
  animation: float 4s ease-in-out infinite;
}
/* Gradient border (Linear style) */
.gradient-border {
  position: relative;
  border-radius: 16px;
}
.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(120deg, #6366f1, #a855f7, #ec4899);
  z-index: -1;
  opacity: 0.3;
}
.parallax {
  transition: transform 0.2s ease-out;
}
button:active {
  transform: scale(0.96);
}
.glass:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 9999;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}
#terminal {
  font-size: 15px !important;
}
