* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text-main);
  background: radial-gradient(circle at 20% 0%, rgba(32,215,255,0.12), transparent 30%),
              radial-gradient(circle at 85% 8%, rgba(255,157,47,0.12), transparent 30%),
              radial-gradient(circle at 50% 90%, rgba(47,128,255,0.1), transparent 40%),
              linear-gradient(180deg, #040815 0%, #07101e 45%, #030611 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(32, 215, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(32, 215, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);
  z-index: -2;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
}

p {
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #aeeeff 33%, #ffae45 72%, #fff2d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
