.hp-intro {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 0.85rem 0.9rem 1.1rem;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 75% 60% at 50% 40%, rgba(255, 184, 77, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.94) 0%, rgba(12, 14, 18, 0.96) 55%, rgba(6, 7, 10, 0.98) 100%);
  color: #f4efe6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hp-intro.is-on {
  opacity: 1;
  pointer-events: auto;
}

.hp-intro.is-out {
  opacity: 0;
  transition-duration: 0.35s;
}

.hp-intro__stage {
  position: relative;
  width: min(22rem, 100%);
  text-align: center;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s ease;
}

.hp-intro.is-on .hp-intro__stage {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hp-intro__glow {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 9rem;
  height: 9rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.3), transparent 68%);
  filter: blur(6px);
  animation: hp-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.hp-intro__icon {
  position: relative;
  z-index: 1;
  width: clamp(3.6rem, 18%, 5.4rem);
  height: clamp(3.6rem, 18%, 5.4rem);
  margin: 0 auto 0.85rem;
  color: #ffd27a;
  filter: drop-shadow(0 0 12px rgba(255, 184, 77, 0.35));
  animation: hp-float 2.6s ease-in-out infinite;
}

.hp-intro__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hp-intro__waves {
  position: absolute;
  inset: 6% 0 16%;
  pointer-events: none;
}

.hp-intro__wave {
  position: absolute;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.42rem;
  border: 2px solid rgba(255, 210, 122, 0.55);
  border-radius: 50%;
  opacity: 0;
  animation: hp-wave 2.2s ease-out infinite;
}

.hp-intro__wave--l {
  left: 0;
  animation-delay: 0.15s;
}

.hp-intro__wave--r {
  right: 0;
  animation-delay: 0.15s;
}

.hp-intro__wave--l2 {
  left: -0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.68rem;
  animation-delay: 0.75s;
}

.hp-intro__wave--r2 {
  right: -0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.68rem;
  animation-delay: 0.75s;
}

.hp-intro__kicker {
  margin: 0 0 0.4rem;
  font-family: "Onest", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 210, 122, 0.78);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.hp-intro.is-on .hp-intro__kicker {
  opacity: 1;
  transform: translateY(0);
}

.hp-intro__title {
  margin: 0;
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: clamp(1.05rem, 4.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease 0.32s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s;
}

.hp-intro.is-on .hp-intro__title {
  opacity: 1;
  transform: translateY(0);
}

.hp-intro__sub {
  margin: 0.55rem auto 0;
  max-width: 18rem;
  font-family: "Onest", system-ui, sans-serif;
  font-size: clamp(0.78rem, 2.2vw, 0.92rem);
  line-height: 1.4;
  color: rgba(244, 239, 230, 0.72);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease 0.5s, transform 0.55s ease 0.5s;
}

.hp-intro.is-on .hp-intro__sub {
  opacity: 1;
  transform: translateY(0);
}

.hp-intro__hint {
  margin: 0.95rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.38);
  opacity: 0;
  transition: opacity 0.45s ease 0.9s;
}

.hp-intro.is-on .hp-intro__hint {
  opacity: 1;
}

.hp-intro__bar {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.7rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hp-intro__bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb84d, #ffe0a3);
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.5);
  transition: width linear;
}

@keyframes hp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes hp-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes hp-wave {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  25% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-intro,
  .hp-intro__stage,
  .hp-intro__kicker,
  .hp-intro__title,
  .hp-intro__sub,
  .hp-intro__hint,
  .hp-intro__bar > span {
    transition: none !important;
    animation: none !important;
  }

  .hp-intro__icon,
  .hp-intro__glow,
  .hp-intro__wave {
    animation: none !important;
  }
}
