/* Nexus Codex — Custom CSS (supplements Tailwind CDN) */

html {
  scroll-behavior: smooth;
}

body {
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Orbitron utility (fallback for non-Tailwind contexts) */
.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}

/* Dark mode grid background */
.dark body,
body.dark {
  background-image:
    repeating-linear-gradient(0deg, rgba(34, 211, 238, 0.03) 0px, rgba(34, 211, 238, 0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.03) 0px, rgba(34, 211, 238, 0.03) 1px, transparent 1px, transparent 60px);
}

/* Gradient border for footer */
.gradient-border-top {
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #3b82f6, #a855f7) 1;
}

/* Dark mode custom scrollbar (webkit) */
.dark ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.dark ::-webkit-scrollbar-track {
  background: #111827;
}

.dark ::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}
