* {
  scroll-behavior: smooth;
  /* outline: 1px solid rgba(255, 0, 0, 0.1); */
}

html {
  color: var(--font-color);
  font-family: var(--font-main);
  font-weight: 400;
  scrollbar-width: none;
  max-width: 100%;
}

/* Mouse gradient effect */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(150px circle at var(--cursor-x) var(--cursor-y), var(--color-accent), transparent 50%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 10;
}

body.cursor-hidden::before {
  display: none;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

section[id] {
  scroll-margin-top: 24px;
}

@media (min-width: 768px) {
  section[id] {
    scroll-margin-top: 96px;
  }
}