html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: #0a0014;
  color: #fff;
  font-family: "Inter", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  overflow-x: hidden;
}

.hero {
  position: relative;
  background-color: #0a0014;
  background-image: url("../images/v2/PIXEL2k_banner.gif");
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit; /* uses same background image */
  filter: blur(8px); /* adjust blur intensity */
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1; /* content stays above the blur */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
.animate-marquee {
  animation: marquee 20s linear infinite;
}
.animate-marquee-reverse {
  display: flex;
  width: max-content;
  animation: marquee-reverse 25s linear infinite;
}

/* Prevents flash of unstyled content before GSAP runs */
.gsap-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ScrollBar */

.scrollbarStyle::-webkit-scrollbar {
  width: 0.3rem;
  height: 0.01rem;
}

.scrollbarStyle::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.scrollbarStyle::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

body::-webkit-scrollbar {
  width: 0.3rem;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.letter-wrapper {
  display: inline-block;
  perspective: 600px; /* gives 3D depth */
}
.x {
  display: inline-block;
  transform-style: preserve-3d;
}

.custom-shadow {
  box-shadow: inset 0px -31px 13px -1px rgba(0, 0, 0, 0.64);
}

[x-cloak] { display: none !important; }