/* ═══════════════════════════════════════════════════
   SECTION 2 — EVOLUTION CHAKRA
   Styles scoped to .chakra-sec so they never bleed
   into the rest of the site.
═══════════════════════════════════════════════════ */

.chakra-sec {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #030114;
}

/* Background video — absolute within the section */
.chakra-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 2s ease;
  object-fit: cover;
  pointer-events: none;
}

.chakra-vid.on {
  opacity: 0.7;
}

/* Radial dark vignette overlay */
.chakra-ov {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle,
    transparent 15%,
    rgba(2, 1, 14, 0.12) 45%,
    rgba(2, 1, 10, 0.3) 100%
  );
  pointer-events: none;
}

/* Canvases — absolute so they scroll with the section */
.chakra-sec canvas {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
}

#chakraBg { z-index: 1; pointer-events: none; }
#chakraLt { z-index: 2; pointer-events: none; }
#chakraFx { z-index: 3; pointer-events: auto;  }

/* Fade edge at the bottom — matches the site's sec-fade style */
.chakra-sec .sec-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #020108);
  z-index: 10;
  pointer-events: none;
}

.chakra-sec::before {
  display: none;
}

.chakra-sec {
  margin-top: 0;
  scroll-margin-top: 0;
}

.chakra-sec::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;           /* 👈 how tall the fade is — try 140px to 220px */
  background: linear-gradient(
    180deg,
    #020108 0%,            /* 👈 matches the site background exactly */
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 768px) {
  .chakra-sec {
    height: 70vh;   /* 👈 shrinks the section on mobile — try 60vh to 80vh */
  }
}