/*
 Oryonix Global — HERO SECTION ONLY
 Add this file after oryonix-theme.css in the homepage <head>.
 All selectors are scoped to #home; no other page sections are affected.
*/

/* Dark Malaysia-inspired hero backdrop */
#home.leo-ai-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-color: #06152f !important;
  background-image:
    linear-gradient(90deg,
      rgba(3, 13, 32, .97) 0%,
      rgba(4, 20, 45, .92) 43%,
      rgba(5, 26, 55, .78) 70%,
      rgba(5, 25, 53, .62) 100%),
    url('../images/oryonix-kuala-lumpur-hero-dark.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center center, right center !important;
  background-size: cover, cover !important;
}

#home.leo-ai-hero::before,
#home.leo-ai-hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Hero copy only */
#home .leo-hero-content {
  position: relative !important;
  z-index: 5 !important;
  max-width: 680px !important;
}
#home .leo-hero-content h1 {
  color: #f7f9ff !important;
  font-size: clamp(36px, 4.1vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.4px !important;
  font-weight: 800 !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.28) !important;
}
#home .leo-hero-content p {
  color: rgba(231,239,252,.9) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  text-shadow: none !important;
}
#home .leo-hero-content .connectWalletBtn {
  color: #071a35 !important;
  background: linear-gradient(135deg,#ffe08a,#c99025) !important;
  border: 1px solid rgba(255,224,138,.65) !important;
  box-shadow: 0 10px 28px rgba(201,144,37,.2) !important;
}

/* Right-side blockchain visual: open, unboxed, subtle animation */
#home .og-hero-visual {
  display: block !important;
  position: relative !important;
  min-height: 430px !important;
  overflow: visible !important;
  isolation: isolate !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#home .og-hero-visual-image {
  display: block !important;
  position: absolute !important;
  inset: 2% 0 0 !important;
  opacity: 1 !important;
  background:
    radial-gradient(ellipse at 50% 48%,
      rgba(54,164,255,.16) 0%,
      rgba(30,116,201,.09) 36%,
      transparent 68%) !important;
  mix-blend-mode: screen !important;
  animation: ogx-network-breathe 9s ease-in-out infinite !important;
}
#home .og-hero-visual-image::before {
  content: "" !important;
  position: absolute !important;
  width: min(72%,390px) !important;
  aspect-ratio: 1 !important;
  left: 50% !important;
  top: 48% !important;
  transform: translate(-50%,-50%) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(108,190,255,.3) !important;
  background:
    radial-gradient(circle at 35% 30%,rgba(112,202,255,.13),transparent 40%),
    repeating-radial-gradient(ellipse at center,transparent 0 23px,rgba(93,181,255,.13) 24px 25px,transparent 26px 44px),
    repeating-linear-gradient(0deg,transparent 0 27px,rgba(83,174,255,.1) 28px 29px,transparent 30px 52px),
    radial-gradient(circle,rgba(18,83,150,.13),rgba(3,17,40,.04) 68%,transparent 70%) !important;
  box-shadow: 0 0 55px rgba(43,150,240,.1),inset 0 0 45px rgba(74,171,255,.08) !important;
  animation: ogx-globe-turn 34s linear infinite !important;
}
#home .og-hero-visual-image::after {
  content: "" !important;
  position: absolute !important;
  width: min(84%,450px) !important;
  aspect-ratio: 1 !important;
  left: 50% !important;
  top: 48% !important;
  transform: translate(-50%,-50%) rotate(-22deg) !important;
  border: 1px solid rgba(226,184,98,.22) !important;
  border-radius: 50% !important;
  animation: ogx-orbit-drift 24s ease-in-out infinite alternate !important;
}
#home .og-hero-grid {
  display: block !important;
  position: absolute !important;
  inset: 18% 3% 8% !important;
  opacity: .17 !important;
  background-image: radial-gradient(circle,rgba(110,190,255,.55) 1px,transparent 1.7px) !important;
  background-size: 27px 27px !important;
  transform: none !important;
  mask-image: radial-gradient(ellipse at center,#000 0%,transparent 72%) !important;
  animation: ogx-particle-shimmer 8s ease-in-out infinite alternate !important;
}
#home .og-hero-orbit {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 48% !important;
  width: min(80%,430px) !important;
  aspect-ratio: 1 !important;
  height: auto !important;
  border: 1px solid rgba(94,181,255,.24) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 0 18px rgba(58,153,231,.06) !important;
}
#home .og-hero-orbit-one { animation: ogx-orbit-rotate 38s linear infinite !important; }
#home .og-hero-orbit-two {
  width: min(90%,480px) !important;
  border-color: rgba(221,177,87,.22) !important;
  animation: ogx-orbit-rotate 48s linear infinite reverse !important;
}
#home .og-hero-orbit-three {
  width: min(62%,330px) !important;
  border-color: rgba(91,177,255,.19) !important;
  animation: ogx-orbit-rotate 56s linear infinite !important;
}
#home .og-hero-orbit span {
  position: absolute !important;
  top: 10% !important;
  left: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #e9c46e !important;
  box-shadow: 0 0 12px 3px rgba(233,196,110,.42) !important;
}
#home .og-hero-beam {
  display: block !important;
  position: absolute !important;
  height: 1px !important;
  width: 74% !important;
  left: 13% !important;
  top: 48% !important;
  opacity: .32 !important;
  background: linear-gradient(90deg,transparent,rgba(84,177,255,.65),rgba(224,184,98,.48),transparent) !important;
  transform: rotate(-12deg) !important;
  animation: ogx-beam-glide 11s ease-in-out infinite alternate !important;
}
#home .og-hero-beam-two {
  top: 61% !important;
  transform: rotate(13deg) !important;
  opacity: .2 !important;
  animation-delay: -5s !important;
}
#home .og-hero-node {
  display: flex !important;
  position: absolute !important;
  z-index: 4 !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(119,188,245,.22) !important;
  border-radius: 30px !important;
  background: rgba(7,25,55,.66) !important;
  color: #e8f2ff !important;
  box-shadow: 0 7px 22px rgba(0,0,0,.1) !important;
  backdrop-filter: blur(9px) !important;
  opacity: .88 !important;
  animation: ogx-node-float 7s ease-in-out infinite !important;
}
#home .og-hero-node i {
  display: block !important;
  width: 6px !important;
  height: 6px !important;
  flex: 0 0 6px !important;
  border-radius: 50% !important;
  background: #7dcaff !important;
  box-shadow: 0 0 9px rgba(125,202,255,.55) !important;
}
#home .og-hero-node span {
  padding: 0 !important;
  color: #e6f1ff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 9px !important;
  letter-spacing: 1.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
#home .og-hero-node-one { left: 4% !important; top: 17% !important; }
#home .og-hero-node-two { right: 1% !important; top: 39% !important; animation-delay: -2.5s !important; }
#home .og-hero-node-three { left: 13% !important; bottom: 13% !important; animation-delay: -4.5s !important; }
#home .og-hero-caption {
  display: flex !important;
  position: absolute !important;
  right: 2% !important;
  bottom: 2% !important;
  z-index: 3 !important;
  text-align: right !important;
  text-shadow: none !important;
}
#home .og-hero-caption small { color: #e6c477 !important; font-size: 9px !important; letter-spacing: 2.5px !important; }
#home .og-hero-caption strong { color: #f2f6ff !important; font-size: clamp(15px,1.8vw,21px) !important; }

/* Animation definitions are prefixed to avoid collisions */
@keyframes ogx-network-breathe { 0%,100%{opacity:.72} 50%{opacity:1} }
@keyframes ogx-globe-turn { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes ogx-orbit-drift { 0%{transform:translate(-50%,-50%) rotate(-22deg) scale(.98)} 100%{transform:translate(-50%,-50%) rotate(-12deg) scale(1.02)} }
@keyframes ogx-orbit-rotate { from{rotate:0deg} to{rotate:360deg} }
@keyframes ogx-particle-shimmer { from{opacity:.09;translate:0 0} to{opacity:.21;translate:0 -5px} }
@keyframes ogx-beam-glide { from{opacity:.12;translate:-8px 0} to{opacity:.36;translate:8px 0} }
@keyframes ogx-node-float { 0%,100%{translate:0 0} 50%{translate:0 -8px} }

@media(max-width:991px) {
  #home .og-hero-visual { min-height:320px !important; margin-top:18px !important; }
  #home .og-hero-visual-image::before { width:min(65%,280px) !important; }
  #home .og-hero-node { padding:6px 9px !important; }
}
@media(prefers-reduced-motion:reduce) {
  #home .og-hero-visual * { animation:none !important; }
}
