/* NEXORA V25 — genuinely seamless scene edges.
   V24 adjusted sizes but left translucent Canvas surfaces and the About SVG
   decorative wave with hard, rectangular clipping edges. These changes blend
   both render layers into their section backgrounds without resizing the globe
   or token. The section-by-section scroll behavior is deliberately untouched. */

/* Remove the rectangular edge of the hero render stack, including its own
   pseudo-element glow, while retaining the original middle 80% completely. */
main > .hero .hero-globe-webgl {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.18) 3%,
    #000 9%,
    #000 88%,
    rgba(0,0,0,.82) 93%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.18) 3%,
    #000 9%,
    #000 88%,
    rgba(0,0,0,.82) 93%,
    transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Keep the coin, inscriptions and pedestal crisp. Feather only the free space
   at the top and under the pedestal, where its 2D backing glow used to end. */
main > .about .coin-visual {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 8%,
    #000 93%,
    rgba(0,0,0,.86) 96%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    #000 8%,
    #000 93%,
    rgba(0,0,0,.86) 96%,
    transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* The cropped arc at the foot of the About section was not part of the token:
   it came from V8's neon-ribbon.svg in .about::after and from .section-aurora
   on the section boundary. Replace only these stray lines with soft glow. */
main > .about::after {
  background: radial-gradient(ellipse 65% 78% at 53% 60%,
     rgba(89,105,246,.20) 0%,
     rgba(124,73,215,.10) 43%,
     transparent 76%) !important;
  filter: blur(30px) !important;
  opacity: .72 !important;
  transform: none !important;
  bottom: -80px !important;
}
main > .about > .section-aurora {
  transform: none !important;
  opacity: .50 !important;
  background: radial-gradient(ellipse at 58% 66%,
    rgba(114,110,249,.20),
    rgba(45,112,214,.07) 48%,
    transparent 75%);
  filter: blur(23px) !important;
}
main > .about > .section-aurora svg { display: none !important; }

/* Matching cross-section color prevents a crisp horizontal split when the
   final hero / initial coin section occupy adjacent scroll positions. */
main > .hero > .scene-boundary-blend {
  position:absolute;
  z-index:4;
  bottom:0;
  left:0;
  width:100%;
  height:clamp(64px, 12svh, 125px);
  pointer-events:none;
  background:linear-gradient(to bottom, transparent, #0b102b);
}
main > .about > .scene-boundary-blend {
  position:absolute;
  z-index:1;
  top:0;
  left:0;
  width:100%;
  height:clamp(64px, 12svh, 125px);
  pointer-events:none;
  background:linear-gradient(to bottom, #0b102b, transparent);
}
/* Counteract the old 2-px fluorescent border in some legacy browser engines. */
main > .hero:after { border:0 !important; box-shadow:none !important; }

@media(max-width:760px) {
  main > .hero .hero-globe-webgl {
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent 100%);
    mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent 100%);
  }
  main > .about > .scene-boundary-blend,
  main > .hero > .scene-boundary-blend { height:clamp(46px,8svh,80px); }
}
