/* Final Astrix refinement: animated division planets, Astrix Yoga and starfield sections. */

.world:not(.coming-soon) .world-count::after {
  display: none !important;
  background-image: none !important;
}

.world:not(.coming-soon) .world-count > span:not(.planet-motion),
.world:not(.coming-soon) .world-count > i,
.world:not(.coming-soon) .world-count > small {
  display: none !important;
}

.world-count .planet-motion {
  display: block !important;
  width: clamp(116px, 10.5vw, 174px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .46)) drop-shadow(0 0 18px rgba(226, 189, 115, .3));
  transform: translateZ(0);
  pointer-events: none;
}

/* Let the supplied WebM planets float directly over each world image. */
.world:not(.coming-soon) .world-count {
  padding: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.world-count .planet-motion video {
  width: 178%;
  max-width: none;
  height: 100%;
  margin-left: -39%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}

#coming-soon .world-count > i,
#coming-soon .world-count > small {
  display: none !important;
}

#coming-soon .world-count > span {
  font-size: clamp(78px, 9vw, 150px) !important;
  line-height: .8 !important;
}

.manifesto3,
.world-intro,
.builder,
.system,
.faq3,
.contact3 {
  background-image:
    linear-gradient(180deg, rgba(2, 8, 25, .76), rgba(1, 10, 31, .92)),
    url('/starfield-background.jpeg') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

.manifesto3,
.emi4 {
  background-image:
    linear-gradient(180deg, rgba(1, 5, 18, .38), rgba(2, 13, 31, .68)),
    url('/starfield-background-v2.jpeg') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

.emi4 {
  border-top: 1px solid rgba(125, 185, 230, .16);
  border-bottom: 1px solid rgba(125, 185, 230, .12);
}

.manifesto3,
.world-intro,
.builder,
.system,
.faq3,
.contact3 {
  position: relative;
  isolation: isolate;
}

.manifesto3::before,
.world-intro::before,
.builder::before,
.system::before,
.faq3::before,
.contact3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 78% 22%, rgba(84, 156, 214, .1), transparent 38%);
}

#yoga .world-sticky > picture > img {
  object-position: center;
}

#yoga .world-shade {
  background: linear-gradient(90deg, rgba(2, 8, 24, .93) 0%, rgba(2, 8, 24, .68) 43%, rgba(2, 8, 24, .14) 76%, rgba(2, 8, 24, .34) 100%) !important;
}

/* Planet 13 stays in the same left-top orbit used by the other Astrix worlds. */
#yoga .world-count {
  left: 4vw !important;
  right: auto !important;
  top: 6% !important;
  bottom: auto !important;
}

.cosmic-universe {
  position: relative;
  display: flex !important;
  align-items: baseline !important;
  width: max-content;
  max-width: 100%;
  margin-left: clamp(8px, 1.8vw, 28px) !important;
  gap: clamp(14px, 1.45vw, 26px) !important;
  overflow: visible;
  isolation: isolate;
}

.cosmic-universe .universe-one {
  position: relative;
  z-index: 2;
  font-weight: 250 !important;
  color: var(--gold-light) !important;
  text-shadow: 0 0 24px rgba(226, 189, 115, .12);
}

/* Match the supplied reference: plain inline “Universe.” typography, not a badge. */
.cosmic-universe .universe-o {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  display: block !important;
  place-items: unset !important;
  width: auto !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: var(--cream) !important;
  font: 300 clamp(3.9rem, 6.2vw, 7rem)/.86 var(--font-display) !important;
  font-style: normal !important;
  letter-spacing: -.075em !important;
  text-transform: none !important;
  text-shadow: 0 0 28px rgba(238, 244, 255, .1);
}

.cosmic-universe .universe-o::before,
.cosmic-universe .universe-o::after {
  content: none !important;
  display: none !important;
}

.cosmic-universe .universe-o > span {
  position: static !important;
  inset: auto !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  transform: none !important;
}

/* Thin orbit behind the numeral, as shown in the reference. */
.cosmic-universe::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(-14px, -.7vw, -7px);
  top: 52%;
  width: clamp(102px, 9.8vw, 164px);
  aspect-ratio: 1;
  border: 1.4px solid rgba(206, 226, 248, .72);
  border-radius: 50%;
  box-shadow:
    -1px -1px 0 rgba(226, 189, 115, .58),
    0 0 22px rgba(103, 203, 231, .12);
  transform: translateY(-50%) rotate(-11deg);
  pointer-events: none;
}

.cosmic-universe::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: clamp(75px, 7.3vw, 122px);
  top: 4%;
  width: clamp(7px, .7vw, 11px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d99b, #99d9ed);
  box-shadow: 0 0 10px rgba(153, 217, 237, .55);
  pointer-events: none;
}

@media (max-width: 800px) {
  .cosmic-universe {
    margin-left: 6px !important;
    gap: clamp(9px, 2.7vw, 13px) !important;
  }

  .cosmic-universe .universe-one {
    font-size: clamp(3.55rem, 15.5vw, 4.45rem) !important;
  }

  .cosmic-universe .universe-o {
    font-size: clamp(2.8rem, 12.4vw, 3.55rem) !important;
    letter-spacing: -.07em !important;
  }

  .cosmic-universe::before {
    left: -7px;
    width: clamp(76px, 22vw, 98px);
  }

  .cosmic-universe::after {
    left: clamp(54px, 15.8vw, 70px);
    top: 3%;
    width: 7px;
  }

  .world-count .planet-motion {
    width: clamp(84px, 26vw, 118px);
    background: transparent !important;
    mix-blend-mode: screen;
    isolation: auto;
    transform: none;
    -webkit-mask-image: radial-gradient(circle at center, #000 0 36%, rgba(0, 0, 0, .96) 40%, rgba(0, 0, 0, .34) 44%, transparent 48%);
    mask-image: radial-gradient(circle at center, #000 0 36%, rgba(0, 0, 0, .96) 40%, rgba(0, 0, 0, .34) 44%, transparent 48%);
  }

  .world-count .planet-motion video {
    background: transparent !important;
    mix-blend-mode: normal;
  }

  .manifesto3,
  .emi4,
  .world-intro,
  .builder,
  .system,
  .faq3,
  .contact3 {
    background-attachment: scroll !important;
  }

  #yoga .world-sticky > picture > img {
    object-position: 66% center;
  }

  #yoga .world-count {
    left: 14px !important;
    right: auto !important;
    top: 14px !important;
    bottom: auto !important;
  }
}

@media (min-width: 801px) {
  .world:not(.coming-soon) .world-count,
  .world:not(.coming-soon).layout-2 .world-count,
  .world:not(.coming-soon).layout-3 .world-count {
    top: 6% !important;
    bottom: auto !important;
  }

  #powerplay .world-count {
    top: 3% !important;
  }
}

/* Exact supplied-reference hero: clean cosmic art with responsive live typography. */
.hero3 {
  min-height: 100vh !important;
  background: #020819 !important;
}

.hero3::before {
  background-image: url('/astrix-hero-reference-desktop-v1.png') !important;
  background-position: center !important;
  background-size: cover !important;
}

.hero3::after,
.hero3 .hero3-shade {
  background: linear-gradient(90deg, rgba(1, 6, 20, .24), transparent 58%) !important;
}

.hero3 .astrix-hero-logo,
.hero3 .hero3-dock {
  display: none !important;
}

.nav3,
.floating-launcher {
  transition: opacity .34s ease, transform .34s ease !important;
}

body:not(.hero-chrome-ready) .nav3,
body:not(.hero-chrome-ready) .floating-launcher,
body.hero-reference-top .nav3,
body.hero-reference-top .floating-launcher {
  opacity: 0 !important;
  pointer-events: none !important;
}

body:not(.hero-chrome-ready) .nav3,
body.hero-reference-top .nav3 {
  transform: translateY(-125%) !important;
}

body:not(.hero-chrome-ready) .floating-launcher,
body.hero-reference-top .floating-launcher {
  transform: translateY(140%) !important;
}

.hero3 .hero3-copy {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.hero3 .hero3-copy > .overline {
  position: absolute !important;
  left: 6.2% !important;
  top: 6.2% !important;
  margin: 0 !important;
  padding-top: 10px !important;
  color: rgba(247, 246, 239, .92) !important;
  font: 300 clamp(13px, 1.22vw, 21px)/1 var(--font-display) !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.hero3 .hero3-copy > .overline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  height: 2px;
  background: linear-gradient(90deg, #e8c786, rgba(211, 224, 255, .76));
}

.hero3 .cosmic-lockup,
.hero3:not(.previewing) h1.cosmic-lockup {
  position: absolute !important;
  left: 6.2% !important;
  top: 14.4% !important;
  right: 3% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(34px, 4vw, 62px) !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: visible !important;
  font-size: medium !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.hero3 .cosmic-lockup > span {
  display: flex !important;
  align-items: baseline !important;
  min-width: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  line-height: .82 !important;
  letter-spacing: -.072em !important;
}

.hero3 .cosmic-planets {
  gap: clamp(18px, 2vw, 36px) !important;
}

.hero3 .cosmic-planets .planet-number {
  padding: 0 !important;
  font: 300 clamp(96px, 10.2vw, 172px)/.82 var(--font-display) !important;
}

.hero3 .cosmic-planets > b {
  font: 280 clamp(86px, 9vw, 152px)/.82 var(--font-display) !important;
}

.hero3 .cosmic-universe {
  margin-left: 0 !important;
  gap: clamp(8px, 1.1vw, 18px) !important;
}

.hero3 .cosmic-universe .universe-one {
  font: 300 clamp(92px, 9.9vw, 166px)/.82 var(--font-display) !important;
}

.hero3 .cosmic-universe .universe-o {
  font: 280 clamp(72px, 7.35vw, 124px)/.82 var(--font-display) !important;
}

.hero3 .cosmic-universe::before,
.hero3 .cosmic-universe::after {
  content: none !important;
  display: none !important;
}

.hero3 .cosmic-stars {
  gap: clamp(24px, 2.8vw, 48px) !important;
  margin-left: 1.2% !important;
}

.hero3 .cosmic-stars > b {
  font: 300 clamp(90px, 9.6vw, 162px)/.82 var(--font-display) !important;
}

.hero3 .cosmic-lockup .cosmic-stars > em {
  font: 280 clamp(76px, 7.9vw, 134px)/.82 var(--font-display) !important;
  font-style: normal !important;
}

.hero3 .planet-number,
.hero3 .cosmic-planets > b,
.hero3 .universe-one,
.hero3 .universe-o,
.hero3 .cosmic-stars > b,
.hero3 .cosmic-stars > em {
  color: transparent !important;
  background: linear-gradient(105deg, #f0c98b 0%, #f8f3df 28%, #dce9ff 59%, #d6c6ff 78%, #e4f3ef 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 16px rgba(183, 212, 255, .08));
  text-shadow: none !important;
}

.hero3 .staff-constellation {
  display: none !important;
}

.hero3 .hero3-copy > p:not(.overline) {
  position: absolute !important;
  left: 6.7% !important;
  top: 67.2% !important;
  width: min(770px, 53vw) !important;
  max-width: none !important;
  margin: 0 !important;
  color: rgba(243, 244, 247, .86) !important;
  font: 280 clamp(16px, 1.52vw, 25px)/1.48 var(--font-display) !important;
  letter-spacing: -.025em !important;
}

.hero3 .hero3-actions {
  position: absolute !important;
  left: 6.7% !important;
  top: 81.2% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 1.5vw, 26px) !important;
  width: min(980px, 74vw) !important;
  margin: 0 !important;
}

.hero3 .hero3-actions > a,
.hero3 .hero3-actions > button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: clamp(62px, 6vw, 88px) !important;
  padding: 0 clamp(24px, 2.2vw, 38px) !important;
  border: 1px solid rgba(236, 242, 255, .28) !important;
  border-radius: 999px !important;
  color: #f6f6f4 !important;
  background: rgba(3, 11, 31, .08) !important;
  box-shadow: none !important;
  font: 430 clamp(17px, 1.55vw, 25px)/1 var(--font-display) !important;
  letter-spacing: -.035em !important;
  text-decoration: none !important;
  backdrop-filter: blur(3px);
}

.hero3 .hero3-actions > a:first-child {
  border-color: rgba(255, 255, 255, .35) !important;
  color: #0b1730 !important;
  background: linear-gradient(110deg, rgba(255, 189, 170, .96), rgba(244, 231, 199, .94) 34%, rgba(207, 218, 248, .95) 66%, rgba(191, 239, 204, .92)) !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .32) !important;
}

.hero3 .hero3-actions svg {
  flex: 0 0 auto !important;
  width: 1.25em !important;
  height: 1.25em !important;
  margin-left: 18px !important;
  stroke-width: 1.5 !important;
}

@media (max-width: 800px) {
  html body .hero3 {
    min-height: 100svh !important;
    height: 100svh !important;
  }

  html body .hero3:not(.previewing) .hero3-copy,
  html body .hero3 .hero3-copy {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  .hero3::before {
    background-image: url('/astrix-hero-reference-mobile-v1.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
  }

  .hero3::after,
  .hero3 .hero3-shade {
    background: linear-gradient(180deg, rgba(1, 5, 18, .06), rgba(1, 5, 18, .12)) !important;
  }

  .hero3 .hero3-copy > .overline {
    left: 9.3% !important;
    top: 4.2% !important;
    padding-top: 7px !important;
    font-size: clamp(11px, 3.25vw, 14px) !important;
    letter-spacing: .16em !important;
  }

  .hero3 .cosmic-lockup,
  .hero3:not(.previewing) h1.cosmic-lockup {
    left: 9.3% !important;
    top: 10.8% !important;
    right: 2% !important;
    gap: clamp(60px, 8.3vh, 72px) !important;
  }

  .hero3 .cosmic-planets {
    gap: clamp(9px, 3.2vw, 13px) !important;
  }

  .hero3 .cosmic-planets .planet-number {
    font-size: clamp(54px, 15.2vw, 62px) !important;
  }

  .hero3 .cosmic-planets > b {
    font-size: clamp(42px, 11.8vw, 48px) !important;
  }

  .hero3 .cosmic-universe {
    margin-left: 0 !important;
    gap: clamp(36px, 12vw, 48px) !important;
  }

  .hero3 .cosmic-universe .universe-one {
    font-size: clamp(58px, 17vw, 68px) !important;
  }

  .hero3 .cosmic-universe .universe-o {
    font-size: clamp(39px, 11.4vw, 46px) !important;
  }

  .hero3 .cosmic-stars {
    gap: clamp(18px, 6.5vw, 28px) !important;
    margin-left: 0 !important;
  }

  .hero3 .cosmic-stars > b {
    font-size: clamp(58px, 17vw, 68px) !important;
  }

  .hero3 .cosmic-lockup .cosmic-stars > em {
    font-size: clamp(46px, 13.4vw, 54px) !important;
  }

  .hero3 .hero3-copy > p:not(.overline) {
    left: 9.3% !important;
    top: 55.8% !important;
    width: 82% !important;
    font-size: clamp(14px, 3.9vw, 17px) !important;
    line-height: 1.52 !important;
  }

  .hero3 .hero3-actions {
    left: 9.3% !important;
    top: 69.2% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 81.5% !important;
  }

  .hero3 .hero3-actions > a,
  .hero3 .hero3-actions > button {
    min-height: 58px !important;
    padding: 0 22px !important;
    font-size: clamp(15px, 4.1vw, 18px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-count .planet-motion video {
    animation: none !important;
  }
}
