/* ==========================================================================
   INNOVERSE OFFICIAL WEBSITE - INTERACTIVE ANIMATIONS STYLESHEET
   Controls: Canvas background, Custom Cursor, Scroll Reveals, Hex Floaters
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PARTICLE CANVAS BACKDROP
   Stretches fixed behind the transparent body to act as the primary theme layer.
   -------------------------------------------------------------------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background-color: #07050f;
  /* Deep dark background */
}


/* --------------------------------------------------------------------------
   3. SCROLL REVEALS (Intersection Observer)
   -------------------------------------------------------------------------- */
.rv {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv[data-reveal="left"] {
  transform: translateX(-50px);
}

.rv[data-reveal="right"] {
  transform: translateX(50px);
}

.rv[data-reveal="bottom"] {
  transform: translateY(50px);
}

.rv[data-reveal="top"] {
  transform: translateY(-50px);
}

/* Activated state when element enters the viewport */
.rv.on {
  opacity: 1;
  transform: translate(0);
}

/* --------------------------------------------------------------------------
   4. FLOATING HEX BACKGROUND SYMBOLS
   -------------------------------------------------------------------------- */
.hex-float {
  position: absolute;
  bottom: -50px;
  color: rgba(0, 245, 255, 0.2);
  /* Increased opacity for visibility */
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: floatUp 15s linear infinite;
  font-family: var(--font-heading, sans-serif);
}

/* Alternate violet theme colors for visual variety */
.hex-float:nth-child(even) {
  color: rgba(124, 58, 237, 0.2);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}