html,
body {
  cursor: url('../images/rayo_cursor.png'), auto;
}

.circuit-pattern {
  background-image: radial-gradient(#09415f 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.05;
}

.parallax-hero {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.brand-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.025em;
}

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

/* Infinite Carousel Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333333%);
  }
}

.animate-scroll {
  animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Short Circuit / Lightning Animation */
@keyframes short-circuit {
  0% {
    transform: translate(0, 0);
    border-color: transparent;
    box-shadow: none;
  }

  10% {
    transform: translate(-1px, 1px);
    border-color: #eeb144;
    box-shadow: 0 0 5px #eeb144, inset 0 0 2px #eeb144;
  }

  20% {
    transform: translate(1px, -1px);
    border-color: transparent;
    box-shadow: none;
  }

  30% {
    transform: translate(-1px, -1px);
    border-color: #eeb144;
    box-shadow: 0 0 8px #eeb144, inset 0 0 4px #eeb144;
  }

  40% {
    transform: translate(1px, 1px);
    border-color: transparent;
    box-shadow: none;
  }

  50% {
    transform: translate(-0.5px, 0.5px);
    border-color: #eeb144;
    box-shadow: 0 0 4px #eeb144;
  }

  60% {
    transform: translate(0, 0);
    border-color: transparent;
    box-shadow: none;
  }

  100% {
    transform: translate(0, 0);
    border-color: #eeb144;
    box-shadow: 0 0 12px #eeb144, inset 0 0 8px #eeb144;
  }
}

.short-circuit-hover:hover {
  animation: short-circuit 0.6s ease-in-out infinite alternate;
  border-color: #eeb144 !important;
  /* Force border color persistence */
}

/* Footer Logo Boxed Style */
.footer-logo-enhance {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.40);
  width: 100%;
  transition: background 0.3s ease;
  border: 1px solid rgba(255, 251, 2, 0.507);
}

/* Cookie-like Hover Animation for Links */
.hover-underline {
  display: inline-block;
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.25s ease-in-out;
}

.hover-underline:hover {
  background-size: 100% 1px;
}
