:root {
  --color-primary: #3b82f6;
  --color-bg: #0f172a;
  --color-text: #f1f5f9;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}
.font-space {
  font-family: "Space Grotesk", sans-serif;
}
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.neon-text {
  text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}
.neon-border {
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}
.shadow-neon {
  filter: drop-shadow(0 0 5px currentColor);
}
.tracker-widest {
  letter-spacing: 0.3em;
}

/* Smooth Entrance Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.float-anim {
  animation: float 4s ease-in-out infinite;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 255, 0.3);
  border-radius: 3px;
}
.mobile-nav-link {
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}
.mobile-nav-link:hover {
  color: #22d3ee;
}

/* Utility Classes for Dynamic Components */
.animate-spin-slow {
  animation: spin 8s linear infinite;
}
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
