/* Anayanex hero — animated 3D orb (replaces static center-hero.webp) */
.wpr-banner-area .banner-content-area .section-title .mid-icon.wow,
.wpr-banner-area .banner-content-area .section-title .mid-icon {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.anayanex-hero-orb-wrap {
  --orb-size: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--orb-size);
  height: var(--orb-size);
  min-width: var(--orb-size);
  min-height: var(--orb-size);
  perspective: 1000px;
  vertical-align: middle;
  position: relative;
  z-index: 5;
}

.anayanex-hero-orb {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.ax-orb-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 255, 0.55) 0%, rgba(0, 102, 255, 0.35) 40%, transparent 72%);
  filter: blur(22px);
  animation: ax-orb-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.ax-orb-core {
  position: absolute;
  inset: 16%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  z-index: 2;
}

.ax-orb-sphere {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, #ffffff 0%, #d7e3f2 12%, #5b6b82 36%, #0d1524 68%, #02040a 100%);
  box-shadow:
    inset -20px -24px 44px rgba(0, 0, 0, 0.65),
    inset 14px 12px 26px rgba(255, 255, 255, 0.4),
    0 20px 48px rgba(0, 50, 120, 0.35),
    0 0 0 2px rgba(0, 180, 255, 0.25);
  animation: ax-orb-float 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.ax-orb-grid {
  position: absolute;
  inset: -12%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 10%,
      rgba(0, 224, 255, 0.28) 10%,
      rgba(0, 224, 255, 0.28) 11%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 10%,
      rgba(0, 102, 255, 0.2) 10%,
      rgba(0, 102, 255, 0.2) 11%
    );
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: ax-orb-spin 14s linear infinite;
  opacity: 0.9;
}

.ax-orb-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.18) 24%, transparent 48%),
    linear-gradient(155deg, transparent 45%, rgba(0, 224, 255, 0.35) 100%);
  pointer-events: none;
}

.ax-orb-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 80, 180, 0.65);
  z-index: 2;
}

.ax-orb-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #00e0ff;
  border-right-color: rgba(0, 102, 255, 0.45);
  box-shadow: 0 0 22px rgba(0, 180, 255, 0.35);
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 1;
}

.ax-orb-ring--a {
  transform: rotateX(68deg);
  animation: ax-ring-a 7s linear infinite;
}

.ax-orb-ring--b {
  inset: 0%;
  border-top-color: #0066ff;
  border-left-color: rgba(0, 224, 255, 0.4);
  transform: rotateY(55deg) rotateX(20deg);
  animation: ax-ring-b 10s linear infinite;
}

.ax-orb-ring--c {
  inset: 11%;
  border-bottom-color: rgba(255, 255, 255, 0.7);
  border-left-color: rgba(0, 224, 255, 0.55);
  transform: rotateX(-62deg) rotateY(25deg);
  animation: ax-ring-c 5.5s linear infinite reverse;
}

.ax-orb-nodes {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: ax-nodes-spin 18s linear infinite;
  z-index: 3;
  pointer-events: none;
}

.ax-orb-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00e0ff, #0066ff);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.9);
}

.ax-orb-node:nth-child(1) { transform: rotateZ(0deg) translateX(48%) rotateY(70deg); }
.ax-orb-node:nth-child(2) { transform: rotateZ(60deg) translateX(48%) rotateY(70deg); }
.ax-orb-node:nth-child(3) { transform: rotateZ(120deg) translateX(48%) rotateY(70deg); }
.ax-orb-node:nth-child(4) { transform: rotateZ(180deg) translateX(48%) rotateY(70deg); }
.ax-orb-node:nth-child(5) { transform: rotateZ(240deg) translateX(48%) rotateY(70deg); }
.ax-orb-node:nth-child(6) { transform: rotateZ(300deg) translateX(48%) rotateY(70deg); }

@keyframes ax-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes ax-orb-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes ax-orb-spin {
  to { transform: rotate(360deg); }
}

@keyframes ax-ring-a {
  from { transform: rotateX(68deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes ax-ring-b {
  from { transform: rotateY(55deg) rotateX(20deg) rotateZ(0deg); }
  to { transform: rotateY(55deg) rotateX(20deg) rotateZ(360deg); }
}

@keyframes ax-ring-c {
  from { transform: rotateX(-62deg) rotateY(25deg) rotateZ(0deg); }
  to { transform: rotateX(-62deg) rotateY(25deg) rotateZ(360deg); }
}

@keyframes ax-nodes-spin {
  to { transform: rotateY(360deg) rotateX(18deg); }
}

@media (max-width: 991px) {
  .anayanex-hero-orb-wrap {
    --orb-size: 210px !important;
  }
}

@media (max-width: 575px) {
  .anayanex-hero-orb-wrap {
    --orb-size: 150px !important;
  }
  .ax-orb-mark {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-orb-glow,
  .ax-orb-sphere,
  .ax-orb-grid,
  .ax-orb-ring,
  .ax-orb-nodes {
    animation: none !important;
  }
  .ax-hero-marquee__track {
    animation: none !important;
    transform: none !important;
  }
}

/* ===== Hero title marquee (ANAYANEX / BUILDS) ===== */
.wpr-banner-area .banner-content-area .section-title .left-area,
.wpr-banner-area .banner-content-area .section-title .right-area {
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.wpr-banner-area .banner-content-area .section-title .left-area.wow,
.wpr-banner-area .banner-content-area .section-title .right-area.wow {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Kill theme gradient-clip on marquee — it made child text invisible */
.wpr-banner-area .banner-content-area .section-title .text.ax-hero-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: left;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(42px, 6.2vw, 92px);
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #0a0a0a !important;
  color: #0a0a0a !important;
  animation: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ax-hero-marquee__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 0;
  will-change: transform;
}

.ax-hero-marquee--left .ax-hero-marquee__track {
  animation: ax-hero-marquee-left 22s linear infinite;
}

.ax-hero-marquee--right .ax-hero-marquee__track {
  animation: ax-hero-marquee-right 22s linear infinite;
}

.ax-hero-marquee__item {
  flex: 0 0 auto;
  padding: 0 0.08em;
  white-space: nowrap;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  background: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 700;
  text-shadow: none;
}

/* Brand words slightly stronger */
.ax-hero-marquee__item:nth-child(4n + 1) {
  color: #0066FF !important;
  -webkit-text-fill-color: #0066FF !important;
}

.ax-hero-marquee__sep {
  flex: 0 0 auto;
  width: 0.22em;
  height: 0.22em;
  margin: 0 0.5em;
  border-radius: 50%;
  background: linear-gradient(178.82deg, #0066FF 1.01%, #00E0FF 105.12%) !important;
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.45);
  -webkit-text-fill-color: initial;
  color: initial;
  position: relative;
  top: -0.04em;
  opacity: 1 !important;
}

@keyframes ax-hero-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@keyframes ax-hero-marquee-right {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

@media (max-width: 1199px) {
  .wpr-banner-area .banner-content-area .section-title .text.ax-hero-marquee {
    font-size: clamp(36px, 5.5vw, 72px);
  }
}

@media (max-width: 767px) {
  .wpr-banner-area .banner-content-area .section-title .text.ax-hero-marquee {
    font-size: clamp(28px, 8vw, 44px);
  }
  .ax-hero-marquee--left .ax-hero-marquee__track,
  .ax-hero-marquee--right .ax-hero-marquee__track {
    animation-duration: 16s;
  }
}

/* Banner corner shapes — soft glow on gradient blocks */
.wpr-banner-area .banner-content-area .banner-shape-area img.one,
.wpr-banner-area .banner-content-area .banner-shape-area img.two {
  filter: drop-shadow(0 8px 24px rgba(0, 102, 255, 0.28));
  opacity: 0.95;
}
