.interactiveHero {
  --hero-x: 0;
  --hero-y: 0;
  --hero-text-x: 0px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #050b12;
  color: #f4f7fb;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

body > main > .nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(20px, 4vw, 72px);
  transform: none;
  background: linear-gradient(180deg, rgba(5, 11, 18, .96), rgba(5, 11, 18, .78));
}

.navBrand {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 82px;
  overflow: visible;
}

.navBrand img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(173, 255, 50, .12));
}

.interactiveHero > .ad-zone-top {
  position: absolute;
  top: 94px;
  left: 50%;
  z-index: 3;
  margin: 0;
  transform: translateX(-50%);
}

.heroCanvas,
.heroFallback,
.heroSceneShade,
.heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.heroCanvas {
  z-index: -4;
  display: block;
  transform: scale(1.015) translate3d(calc(var(--hero-x) * -7px), calc(var(--hero-y) * -4px), 0);
  will-change: transform;
}

.heroFallback {
  z-index: -5;
  object-fit: cover;
  object-position: 62% center;
}

.heroSceneShade {
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .98) 0%, rgba(3, 8, 14, .91) 27%, rgba(3, 8, 14, .48) 54%, rgba(3, 8, 14, .1) 78%),
    linear-gradient(180deg, rgba(4, 9, 15, .28), transparent 35%, rgba(4, 9, 15, .72) 100%);
}

.heroGlow {
  position: absolute;
  z-index: -2;
  width: 44rem;
  height: 44rem;
  right: -18rem;
  bottom: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 38, 255, .2), transparent 68%);
  pointer-events: none;
}

.heroParticles {
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(calc(var(--hero-x) * 5px), calc(var(--hero-y) * 3px), 0);
  will-change: transform;
}

.heroParticles i {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: var(--opacity);
  background: #c8ff3d;
  box-shadow: 0 0 12px rgba(188, 255, 48, .8);
  animation: heroDust var(--duration) ease-in-out var(--delay) infinite alternate;
}

@keyframes heroDust {
  to { transform: translate3d(8px, -14px, 0); opacity: .08; }
}

.heroInner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 10vh, 9rem);
  padding-bottom: clamp(5rem, 9vh, 8rem);
}

.heroInner.wrap {
  width: calc(100% - 72px);
  max-width: none;
}

.interactiveHero .heroContent {
  width: min(650px, 54vw);
  transform: translate3d(var(--hero-text-x), 0, 0);
  will-change: transform;
}

.heroBrand {
  margin: 0 0 1.3rem;
  font: 900 clamp(.9rem, 1.2vw, 1.08rem)/1.2 Arial, sans-serif;
  letter-spacing: .28em;
  color: #b5ff32;
  text-shadow: 0 0 18px rgba(172, 255, 49, .32);
}

.heroTitle {
  max-width: 740px;
  margin: 0;
  font: 900 clamp(3.2rem, 6.8vw, 7.2rem)/.9 Arial, sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .42));
}

.heroTitle span {
  display: block;
  color: #b4ff37;
  text-shadow: 0 0 34px rgba(168, 255, 38, .16);
}

.heroDescription {
  max-width: 620px;
  margin: 1.65rem 0 0;
  color: #c4d2e2;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.interactiveHero .heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.interactiveHero .heroActions a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.45rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.interactiveHero .heroActions a:hover,
.interactiveHero .heroActions a:focus-visible {
  transform: translateY(-2px);
}

.heroPrimary {
  color: #07100d;
  background: #adff32;
  box-shadow: 0 0 0 1px rgba(188, 255, 64, .3), 0 12px 36px rgba(143, 255, 30, .16);
}

.heroPrimary:hover,
.heroPrimary:focus-visible { box-shadow: 0 0 30px rgba(173, 255, 50, .34); }

.heroSecondary {
  color: #f4f7fb;
  border: 1px solid rgba(181, 198, 216, .38);
  background: rgba(7, 15, 24, .66);
  backdrop-filter: blur(8px);
}

.heroSecondary:hover,
.heroSecondary:focus-visible { border-color: #9b55ff; box-shadow: 0 0 24px rgba(136, 62, 255, .2); }

.heroInteractionHint {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.3rem, 4vh, 3rem);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .85rem;
  color: rgba(225, 234, 243, .76);
  border: 1px solid rgba(181, 198, 216, .2);
  border-radius: 999px;
  background: rgba(6, 13, 21, .62);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  pointer-events: none;
}

.heroInteractionHint b {
  width: 26px;
  height: 14px;
  border: 1px solid #b5ff32;
  border-radius: 999px;
  position: relative;
}

.heroInteractionHint b::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  top: 4px;
  left: 5px;
  border-radius: 50%;
  background: #b5ff32;
  box-shadow: 0 0 9px #b5ff32;
  animation: heroHint 1.8s ease-in-out infinite alternate;
}

@keyframes heroHint { to { transform: translateX(10px); } }

@media (max-width: 760px) {
  body > main > .nav { width: 100%; }
  .navBrand { width: 64px; }
  .navBrand img { width: 60px; height: 60px; }
  .interactiveHero { min-height: 100svh; }
  .heroInner { min-height: 100svh; align-items: flex-end; padding: 8.5rem 1.2rem 6.5rem; }
  .heroInner.wrap { width: 100%; }
  .interactiveHero .heroContent { width: 100%; }
  .heroSceneShade {
    background:
      linear-gradient(180deg, rgba(4, 9, 15, .08) 0%, rgba(4, 9, 15, .3) 36%, rgba(4, 9, 15, .96) 70%),
      linear-gradient(90deg, rgba(4, 9, 15, .68), rgba(4, 9, 15, .02));
  }
  .heroCanvas { transform: scale(1.015) translate3d(calc(var(--hero-x) * -4px), calc(var(--hero-y) * -2px), 0); }
  .heroFallback { object-position: 67% center; }
  .heroTitle { font-size: clamp(2.65rem, 13vw, 4.4rem); }
  .heroDescription { font-size: 1rem; line-height: 1.55; }
  .interactiveHero .heroActions { display: grid; grid-template-columns: 1fr; }
  .interactiveHero .heroActions a { width: 100%; }
  .heroInteractionHint { left: 50%; right: auto; bottom: 1rem; transform: translateX(-50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .interactiveHero *, .interactiveHero *::before, .interactiveHero *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .heroCanvas, .heroParticles, .interactiveHero .heroContent { transform: none !important; }
  .heroInteractionHint { display: none; }
}
