/* NEXORA V26: continuous neon waves, unified background, mobile-safe CTA.
   All existing 8 sections, DApp selector, signup modal, guides and scroll behavior are retained. */

/* One common surface across all eight sections: no per-section opaque color jump. */
main {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 12% at 78% 6%, rgba(47,84,217,.23), transparent 90%),
    radial-gradient(ellipse 55% 13% at 28% 23%, rgba(105,53,191,.15), transparent 88%),
    radial-gradient(ellipse 67% 11% at 75% 44%, rgba(59,77,192,.17), transparent 85%),
    radial-gradient(ellipse 67% 10% at 24% 66%, rgba(85,42,165,.16), transparent 91%),
    radial-gradient(ellipse 65% 12% at 70% 85%, rgba(41,90,185,.19), transparent 91%),
    linear-gradient(180deg, #060b20 0%, #0a102c 21%, #080d25 43%, #0b112f 63%, #090e29 81%, #070c23 100%);
}
main > .page-flow-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('neon-flow-v26.svg') center top / 100% 100% no-repeat;
  opacity: .94;
}
/* Keep the graphics and text above the decorative continuous layer. */
main > section:is(.hero,.about,.features,.wallets,.swap,.staking,.support,.guides) {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}
/* Retire per-section neon wave fragments: these used to stop abruptly at edges. */
main > section > .section-aurora,
main > .wallets > .wave-lines,
main > .hero > .scene-boundary-blend,
main > .about > .scene-boundary-blend {
  display: none !important;
}
main > .features::after,
main > .wallets::after,
main > .swap::after,
main > .staking::after,
main > .support::after,
main > .guides::before,
main > .about::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* The old hero horizon was a clipped solid-color ellipsoid, not a continuous background. */
main > .hero .horizon {
  opacity: .25 !important;
  filter: blur(18px);
}
/* The blue-violet ambient lighting of the original hero globe remains intact. */
main > .hero::before { opacity:.62; }

/* Footer naturally continues from the shared main background without a border stripe. */
footer.footer {
  position: relative;
  border-top: 0 !important;
  background:
    radial-gradient(ellipse 75% 130% at 62% 0%, rgba(60,75,150,.14), transparent 72%),
    #070c23 !important;
}
footer.footer::before {
  content:''; position:absolute; left:0; right:0; top:-30px; height:60px;
  pointer-events:none; z-index:0;
  background:linear-gradient(180deg, transparent 0%,rgba(7,12,35,.95) 55%,#070c23 100%);
}
footer.footer > .wrap { position: relative; z-index: 1; }

/* Rebuilt CTA: no squeezed form, no broken Korean syllables or cropped labels. */
main .join-banner.join-banner-v26 {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  border: 1px solid rgba(155,132,255,.72);
  background: linear-gradient(106deg, rgba(42,40,98,.86),rgba(37,38,98,.78) 55%,rgba(57,34,116,.87));
  border-radius: 22px;
  padding: clamp(20px, 2.6vw, 32px) clamp(18px, 3vw, 40px);
  box-shadow: 0 0 0 1px rgba(114,127,255,.12) inset, 0 13px 65px rgba(78,54,183,.18), 0 0 28px rgba(118,77,244,.14);
}
.join-banner-v26 .join-community-symbol {
  display:grid; place-items:center; color: #c4d9ff;
  width:44px; height:44px; filter:drop-shadow(0 0 8px rgba(110,140,255,.55));
}
.join-banner-v26 .join-copy { min-width:0; }
.join-banner-v26 h3 {
  font-size: clamp(17px, 1.65vw, 25px);
  line-height:1.32;
  margin:0 0 5px;
  white-space:nowrap;
  word-break:keep-all;
  letter-spacing:-.035em;
}
.join-banner-v26 .join-copy p {
  font-size:clamp(11px, .9vw, 13px);
  line-height:1.5; color:#c7d4f5; margin:0;
  word-break:keep-all;
}
.join-banner-v26 .join-direct-button {
  width:auto !important;
  min-width: clamp(145px, 15vw, 200px);
  min-height:54px;
  display:inline-flex !important; align-items:center; justify-content:center; gap:15px;
  white-space:nowrap !important;
  overflow:visible;
  flex:none;
  font-size:16px;
  font-weight:800;
  line-height:1;
  border-radius:12px;
  padding:13px 25px;
  background:linear-gradient(115deg,#3d93fa 0%,#7367f7 55%,#9a47e6 100%);
  box-shadow:0 0 18px rgba(93,126,255,.28),inset 0 1px 0 rgba(255,255,255,.26);
  cursor:pointer;
}
.join-banner-v26 .join-direct-button span { flex:none; font-size:20px; }
@media(max-width:680px) {
  main > .page-flow-ambient { background-size:auto 100%; background-position:48% top; opacity:.75; }
  main .join-banner.join-banner-v26 {
    grid-template-columns:36px minmax(0,1fr);
    column-gap:10px; row-gap:14px;
    padding:20px 16px;
    border-radius:18px;
  }
  .join-banner-v26 .join-community-symbol,.join-banner-v26 .join-community-symbol svg { width:32px;height:32px; }
  .join-banner-v26 h3 {font-size:clamp(15px,4.3vw,20px);white-space:nowrap;}
  .join-banner-v26 .join-copy p {font-size:11px;}
  .join-banner-v26 .join-direct-button { grid-column:1/-1; width:100% !important; min-width:0; min-height:48px; font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
  main > .page-flow-ambient {animation:none!important;}
}
