.zoroya-hub-page.theme-stars-animated {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.zoroya-hub-page.theme-stars-animated .zha-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #FFFFFF;
  background: #071127;
  padding: 0;
}

.zoroya-hub-page.theme-stars-animated .zha-hero::after {
  display: none;
}

.zoroya-hub-page .zha-hero__art,
.zoroya-hub-page .zha-hero__shade,
.zoroya-hub-page .zha-hero__stars {
  position: absolute;
  inset: 0;
}

.zoroya-hub-page .zha-hero__art {
  z-index: -5;
  background: url("../../src/hero-constellation-mascot-v1.webp") center / cover no-repeat;
  transform: translate3d(var(--zha-art-x, 0), var(--zha-art-y, 0), 0) scale(1.035);
  animation: zhaHeroBreath 10s ease-in-out infinite alternate;
  will-change: transform;
}

.zoroya-hub-page .zha-hero__shade {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 9, 23, .96) 0%, rgba(3, 9, 23, .81) 32%, rgba(3, 9, 23, .22) 64%, rgba(3, 9, 23, .05) 100%),
    linear-gradient(0deg, rgba(3, 9, 23, .56) 0%, transparent 34%);
}

.zoroya-hub-page .zha-hero__stars {
  z-index: -3;
  pointer-events: none;
}

.zoroya-hub-page .zha-twinkle {
  position: absolute;
  width: var(--zha-size);
  height: var(--zha-size);
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px 2px rgba(175, 216, 255, .72);
  opacity: .15;
  animation: zhaTwinkle var(--zha-duration) ease-in-out var(--zha-delay) infinite;
}

.zoroya-hub-page.theme-stars-animated .zha-hero__inner {
  position: relative;
  z-index: 10;
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.zoroya-hub-page.theme-stars-animated .zha-hero .zha-hero__copy {
  width: min(610px, 47vw);
  max-width: none;
  margin: 0;
  padding-top: 48px;
  text-align: left;
}

.zoroya-hub-page .zha-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(44px, 5.35vw, 72px);
  line-height: 1.35;
  letter-spacing: .02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .58);
}

.zoroya-hub-page .zha-hero h1 span {
  display: block;
  white-space: nowrap;
}

.zoroya-hub-page .zha-hero h1 span:last-child {
  color: #FFF6D7;
}

.zoroya-hub-page .zha-hero .hero-lead {
  max-width: 38em;
  color: #EDF3FF;
  font-size: 17px;
  line-height: 1.9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .68);
}

.zoroya-hub-page.theme-stars-animated .zha-hero .choices {
  justify-content: flex-start;
}

.zoroya-hub-page .zha-hero .choice {
  min-height: 48px;
  justify-content: center;
  background: rgba(8, 24, 52, .42);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.zoroya-hub-page .zha-hero .choice::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 11px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.zoroya-hub-page .zha-hero .zha-choice--primary {
  border-color: #EAC975;
  background: #D5A43E;
  color: #12203A;
}

.zoroya-hub-page .zha-hero .choice:hover {
  border-color: #F6D886;
  background: rgba(34, 61, 103, .72);
  transform: translateY(-2px);
}

.zoroya-hub-page .zha-hero .zha-choice--primary:hover {
  background: #F0C765;
}

.zoroya-hub-page .zha-orbit {
  position: absolute;
  z-index: 2;
  right: -80px;
  top: 50%;
  border: 1px solid rgba(229, 190, 95, .22);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-50%) rotate(0deg);
}

.zoroya-hub-page .zha-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF3BE;
  box-shadow: 0 0 18px 6px rgba(226, 180, 83, .48);
}

.zoroya-hub-page .zha-orbit--one {
  width: 730px;
  height: 730px;
  animation: zhaOrbitSpin 44s linear infinite;
}

.zoroya-hub-page .zha-orbit--two {
  right: 40px;
  width: 550px;
  height: 550px;
  border-color: rgba(145, 195, 255, .17);
  animation: zhaOrbitSpinReverse 36s linear infinite;
}

.zoroya-hub-page .zha-orbit--three {
  right: 135px;
  width: 370px;
  height: 370px;
  animation: zhaOrbitSpin 29s linear infinite;
}

.zoroya-hub-page .zha-nodes {
  position: absolute;
  z-index: 12;
  inset: 0;
  pointer-events: none;
}

.zoroya-hub-page .zha-node {
  --zha-node-delay: 0s;
  position: absolute;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 215, 132, .5);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(57, 93, 146, .92), rgba(7, 22, 50, .87));
  box-shadow: 0 0 0 7px rgba(190, 217, 255, .045), 0 0 28px rgba(111, 174, 255, .24);
  color: #FFFFFF;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  pointer-events: auto;
  animation: zhaNodeFloat 5.8s ease-in-out var(--zha-node-delay) infinite;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.zoroya-hub-page .zha-node::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: inherit;
}

.zoroya-hub-page .zha-node::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFF4BF;
  box-shadow: 0 0 12px 4px rgba(255, 224, 146, .55);
}

.zoroya-hub-page .zha-node:hover {
  border-color: #FFE39A;
  box-shadow: 0 0 0 9px rgba(255, 225, 145, .07), 0 0 42px rgba(226, 180, 83, .48);
}

.zoroya-hub-page .zha-node--reading { right: 34%; top: 18%; }
.zoroya-hub-page .zha-node--course { right: 8%; top: 18%; --zha-node-delay: -1.45s; }
.zoroya-hub-page .zha-node--report { right: 5%; bottom: 13%; --zha-node-delay: -2.9s; }
.zoroya-hub-page .zha-node--free { right: 34%; bottom: 12%; --zha-node-delay: -4.35s; }

.zoroya-hub-page .zha-scroll i {
  display: block;
  width: 1px;
  height: 22px;
  margin: 8px auto 0;
  background: linear-gradient(#FFFFFF, transparent);
  animation: zhaScrollPulse 2s ease-in-out infinite;
}

.zoroya-hub-page.theme-stars-animated .zha-hero .zha-scroll {
  display: grid;
  justify-items: center;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}

@keyframes zhaHeroBreath {
  from { transform: translate3d(var(--zha-art-x, 0), var(--zha-art-y, 0), 0) scale(1.035); }
  to { transform: translate3d(var(--zha-art-x, 0), var(--zha-art-y, 0), 0) scale(1.07); }
}

@keyframes zhaTwinkle {
  0%, 100% { opacity: .12; transform: scale(.7); }
  50% { opacity: .86; transform: scale(1.2); }
}

@keyframes zhaOrbitSpin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes zhaOrbitSpinReverse { to { transform: translateY(-50%) rotate(-360deg); } }

@keyframes zhaNodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes zhaScrollPulse {
  0%, 100% { opacity: .28; transform: scaleY(.65); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 1080px) {
  .zoroya-hub-page.theme-stars-animated .zha-hero {
    min-height: 860px;
    align-items: flex-start;
  }

  .zoroya-hub-page .zha-hero__art { background-position: 56% center; }

  .zoroya-hub-page .zha-hero__shade {
    background: linear-gradient(180deg, rgba(3, 9, 23, .94) 0%, rgba(3, 9, 23, .73) 42%, rgba(3, 9, 23, .18) 78%, rgba(3, 9, 23, .6) 100%);
  }

  .zoroya-hub-page.theme-stars-animated .zha-hero__inner { padding-top: 115px; }

  .zoroya-hub-page.theme-stars-animated .zha-hero .zha-hero__copy {
    width: min(620px, 76vw);
    max-width: none;
  }

  .zoroya-hub-page .zha-node { width: 86px; height: 86px; font-size: 12px; }
  .zoroya-hub-page .zha-orbit { top: 70%; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .zoroya-hub-page .zha-nodes {
    top: auto;
    right: 28px;
    bottom: 38px;
    left: 28px;
    height: 86px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .zoroya-hub-page .zha-node {
    position: relative;
    inset: auto;
    width: auto;
    height: 68px;
    border-radius: 18px;
    background: rgba(6, 20, 47, .82);
    box-shadow: 0 0 18px rgba(96, 163, 255, .14);
    animation: none;
    backdrop-filter: blur(8px);
  }

  .zoroya-hub-page .zha-node::before { inset: 5px; border-radius: 13px; }
  .zoroya-hub-page .zha-scroll { display: none; }
}

@media (max-width: 720px) {
  .zoroya-hub-page.theme-stars-animated .zha-hero { min-height: 850px; }

  .zoroya-hub-page .zha-hero__art {
    inset: 300px -160px -10px -160px;
    background-position: 100% center;
    animation-duration: 12s;
  }

  .zoroya-hub-page .zha-hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 9, 23, .98) 0%, rgba(3, 9, 23, .93) 38%, rgba(3, 9, 23, .2) 70%, rgba(3, 9, 23, .7) 100%),
      linear-gradient(90deg, rgba(3, 9, 23, .2), transparent);
  }

  .zoroya-hub-page.theme-stars-animated .zha-hero__inner {
    width: calc(100% - 30px);
    padding-top: 90px;
  }

  .zoroya-hub-page.theme-stars-animated .zha-hero .zha-hero__copy {
    width: 100%;
    padding-top: 0;
  }

  .zoroya-hub-page .zha-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1.37;
  }

  .zoroya-hub-page .zha-hero .hero-lead {
    max-width: 35em;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
  }

  .zoroya-hub-page .zha-hero .choices { gap: 8px; }

  .zoroya-hub-page .zha-hero .choice {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .zoroya-hub-page .zha-nodes {
    top: auto;
    right: 15px;
    bottom: 55px;
    left: 15px;
    height: 96px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .zoroya-hub-page .zha-node {
    position: relative;
    inset: auto;
    width: auto;
    height: 72px;
    border-radius: 18px;
    background: rgba(6, 20, 47, .8);
    box-shadow: 0 0 18px rgba(96, 163, 255, .14);
    font-size: 11px;
    animation: none;
    backdrop-filter: blur(8px);
  }

  .zoroya-hub-page .zha-node::before { inset: 5px; border-radius: 13px; }
  .zoroya-hub-page .zha-node::after { top: 8px; right: 9px; width: 4px; height: 4px; }

  .zoroya-hub-page .zha-orbit {
    right: 50%;
    top: 68%;
    transform: translate(50%, -50%);
    opacity: .6;
  }

  .zoroya-hub-page .zha-orbit--one { width: 560px; height: 560px; }
  .zoroya-hub-page .zha-orbit--two { width: 410px; height: 410px; }
  .zoroya-hub-page .zha-orbit--three { width: 280px; height: 280px; }
  .zoroya-hub-page .zha-scroll { display: none; }
}

@media (max-width: 390px) {
  .zoroya-hub-page .zha-hero h1 { font-size: 34px; }
  .zoroya-hub-page .zha-hero h1 span { white-space: normal; }
  .zoroya-hub-page .zha-hero .hero-lead { font-size: 13px; }
  .zoroya-hub-page .zha-hero .choice { font-size: 11px; }
}

@media (max-width: 480px) {
  .zoroya-hub-page .zha-hero .choices { gap: 6px; }
  .zoroya-hub-page .zha-hero .choice {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }
  .zoroya-hub-page .zha-hero .choice::after { margin-left: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .zoroya-hub-page .zha-hero *,
  .zoroya-hub-page .zha-hero *::before,
  .zoroya-hub-page .zha-hero *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .zoroya-hub-page .zha-hero__art { transform: none !important; }
}

.zoroya-hub-page .guide-steps a.guide-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.zoroya-hub-page .guide-steps a.guide-step::after {
  content: "→";
  flex: 0 0 auto;
  color: #F2CF78;
  font-size: 18px;
}

.zoroya-hub-page .guide-steps a.guide-step:hover,
.zoroya-hub-page .guide-steps a.guide-step:focus-visible {
  transform: translateX(4px);
  border-color: rgba(242, 207, 120, .72);
  background: rgba(255, 255, 255, .12);
  outline: none;
}
