:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
}

body {
  font-family: 'Manrope', sans-serif;
  background: #0A0A0A;
  color: #e5e2e3;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .04;
  mix-blend-mode: overlay;
}

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FE2E3D;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border .3s var(--ease);
}

#cursor.grow {
  width: 80px;
  height: 80px;
  background: rgba(254, 46, 61, 0.1);
  border: 1px solid #FE2E3D;
}

.spotlight {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(254,46,61,0.18) 0%, rgba(254,46,61,0) 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: .8;
  mix-blend-mode: screen;
}

:is(a, button, input, textarea) {
  position: relative;
  z-index: 1;
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #FE2E3D, #462AB7);
  z-index: 10000;
  width: 0%;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

.blob-1 {
  filter: blur(120px);
  animation: blob-bounce 20s infinite alternate;
}

.blob-2 {
  filter: blur(100px);
  animation: blob-bounce 15s infinite alternate-reverse;
}

@keyframes blob-bounce {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 50px) scale(1.2); }
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-active {
  color: #fff;
  border-bottom: 2px solid #FE2E3D;
  padding-bottom: 4px;
}

@media (max-width: 900px) {
  body { cursor: auto; }
  #cursor { display: none; }
}
