@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Inter:wght@300;400;500&display=swap');

html, body {
  margin: 0;
  padding: 0;
  background-color: #050B14; /* Deep Navy */
  color: #a1a1aa; /* slate-400 */
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Infinite Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); } /* Accounts for gap */
}

.animate-marquee {
  animation: marquee 35s linear infinite;
}

/* Tactical UI Elements */
.hud-border {
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.hud-border::before,
.hud-border::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(139, 92, 246, 0.5); /* Violet accent corner */
  pointer-events: none;
}

.hud-border::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.hud-border::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* Button Styling - Clean, Sharp, No Glow */
.btn-primary {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Custom Selection */
::selection {
  background-color: rgba(139, 92, 246, 0.2);
  color: #fff;
}

/* Glitch Image Hover - More subtle and cinematic */
.artifact-img {
  transition: filter 0.5s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.1) brightness(0.8) grayscale(0.5);
}

.artifact-img:hover {
  filter: contrast(1.2) brightness(1.1) grayscale(0);
  transform: scale(1.02);
}