/* NEXORA V27 | A single seamless ground, alternate center-left/right pink-violet glow.
   The entire homepage shares the hero's base color #060b20; gradients die out
   within each section, so they never form horizontal edges. Existing V26 neon
   waves stay mounted on main > .page-flow-ambient. */
:root { --nexora-unified-ground: #060b20; }
html, body { background-color: var(--nexora-unified-ground) !important; }
main {
  background-color: var(--nexora-unified-ground) !important;
  background-image: none !important;
  background: var(--nexora-unified-ground) !important;
}
/* Override every legacy per-section gradient, image and border. */
main > section,
main > section:is(.hero,.about,.features,.wallets,.swap,.staking,.support,.guides) {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
/* The full-height neon flow art from V26 remains one uninterrupted layer. */
main > .page-flow-ambient {
  display: block !important;
  background-image: url('neon-flow-v26.svg') !important;
  background-position: center top !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  opacity: .91;
}
/* All pink/purple glows sit on ONE continuous plane behind the neon lines.
   No per-section element clips the glow at a page boundary. The JS sets each
   focal point at the actual midpoint of its section; it never runs per frame. */
main > .ambient-bloom-field-v27 {
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
main > .ambient-bloom-field-v27 > .ambient-bloom-v27 {
  position:absolute;
  display:block;
  left:27%;
  top:10%;
  width:min(90vw, 1320px);
  height:1200px;
  transform:translate(-50%,-50%);
  background:
    radial-gradient(ellipse at center,
      rgba(228, 70, 165, .21) 0%,
      rgba(171, 60, 179, .135) 25%,
      rgba(108, 53, 170, .065) 43%,
      rgba(80, 40, 134, .018) 61%,
      rgba(80, 40, 134, 0) 74%);
  background-repeat:no-repeat;
  will-change:auto;
}
main > .ambient-bloom-field-v27 > .ambient-bloom-v27[data-side="right"] { left:73%; }
/* Neon lines remain above the light field and below all section content. */
main > .page-flow-ambient { z-index:1 !important; }
main > section:is(.hero,.about,.features,.wallets,.swap,.staking,.support,.guides) { z-index:2; }
/* Preserve hero's WebGL light, but eliminate its old opaque horizon: it
   produced a horizontal stripe across the entire screen at its bottom. */
main > .hero .horizon { display:none !important; }
/* V25/V26 seam layers and duplicated bottom glows must stay disabled. */
main > section > .scene-boundary-blend,
main > section > .section-aurora,
main > .wallets > .wave-lines {
  display: none !important;
}
main > .hero::after,
main > .about::after,
main > .features::after,
main > .wallets::after,
main > .swap::after,
main > .staking::after,
main > .support::after,
main > .guides::before {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* Same exact surface at the footer: no end-of-main strip or new gradient. */
footer.footer {
  background: var(--nexora-unified-ground) !important;
  background-image: none !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
footer.footer::before { display: none !important; content:none !important; }
/* Narrow screens: the same continuous light field stays inside the viewport.
   No expensive CSS blur or repaint-loop animations. */
@media (max-width:760px) {
  main > .ambient-bloom-field-v27 > .ambient-bloom-v27 {
    width:125vw;
    opacity:.87;
  }
  main > .ambient-bloom-field-v27 > .ambient-bloom-v27[data-side="left"] { left:20%; }
  main > .ambient-bloom-field-v27 > .ambient-bloom-v27[data-side="right"] { left:80%; }
}

