/* ——— Hero redesign (top half) ——— */

.hero {
  position: relative;
  min-height: min(100vh, 1100px);
  padding: calc(var(--header-h) + clamp(2rem, 8vw, 4rem)) 0 clamp(3rem, 8vw, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__dot-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__gradual-blur {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__spotlight {
  position: absolute;
  inset: -30% -20%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 55% 45% at 50% 38%,
    rgba(244, 114, 182, 0.14),
    transparent 62%
  );
  animation: heroSpotlight 12s ease-in-out infinite alternate;
}

@keyframes heroSpotlight {
  0% {
    opacity: 0.65;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 2%) scale(1.04);
  }
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__layout--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 54rem;
  margin-inline: auto;
  gap: 0;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 44rem;
}

.hero__float-mount {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__copy {
  opacity: 0;
  transform: translateY(24px);
  animation: heroCopyEnter 1s var(--ease-out) 0.1s forwards;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__copy--centered {
  max-width: 44rem;
  margin-inline: auto;
}

@keyframes heroCopyEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, 0.22);
  background: rgba(22, 14, 32, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text-soft);
  box-shadow: 0 12px 32px -24px rgba(244, 114, 182, 0.35);
}

.hero__badge-accent {
  background: linear-gradient(120deg, var(--pink-bright) 0%, #a855f7 55%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__title-accent {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg, var(--pink-bright) 0%, var(--pink) 45%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  max-width: 50ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.hero-pills {
  list-style: none;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 36rem;
  margin-inline: auto;
}

.hero-pill {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, 0.16);
  background: rgba(22, 14, 32, 0.62);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-faint);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.hero-pill--accent {
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--pink-bright);
  box-shadow: 0 0 24px -8px rgba(168, 85, 247, 0.45);
}

.hero__download {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.store-badges--hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.store-badge--glow:hover {
  box-shadow: 0 12px 32px -12px rgba(244, 114, 182, 0.45),
    0 0 0 1px rgba(244, 114, 182, 0.2);
}

/* Mystery orbit — reused beside pricing */
.hero-orbit {
  --orbit-r: 108px;
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  max-width: 280px;
  opacity: 0.85;
}

.hero-orbit--pricing {
  --orbit-r: 72px;
  width: min(100%, 180px);
  max-width: 200px;
  opacity: 0.42;
}

.hero-orbit--pricing .hero-orbit__ring,
.hero-orbit--pricing .hero-orbit__floats {
  animation-duration: 96s;
}

.hero-orbit--pricing .hero-orbit__aura {
  animation-duration: 6s;
  opacity: 0.45;
}

.hero-orbit--pricing .hero-orbit__core {
  animation: none;
}

.hero-orbit--pricing .hero-orbit__mark {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.hero-orbit--pricing .hero-orbit__emoji {
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  font-size: 1.15rem;
  opacity: 0.75;
}

.hero-orbit__aura {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.2), transparent 68%);
  filter: blur(20px);
  animation: heroAuraPulse 4s ease-in-out infinite;
}

@keyframes heroAuraPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(244, 114, 182, 0.22);
  animation: heroRingSpin 48s linear infinite;
}

@keyframes heroRingSpin {
  to {
    transform: rotate(360deg);
  }
}

.hero-orbit__core {
  position: absolute;
  inset: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 114, 182, 0.25);
  background: radial-gradient(circle at 35% 30%, rgba(244, 114, 182, 0.2), rgba(12, 6, 18, 0.9));
  box-shadow: 0 0 48px rgba(139, 92, 246, 0.2);
  animation: heroCoreFloat 6s ease-in-out infinite;
}

@keyframes heroCoreFloat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.hero-orbit__mark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink-bright), var(--pink), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(244, 114, 182, 0.35));
}

.hero-orbit__floats {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  animation: heroRingSpin 40s linear infinite;
}

.hero-orbit__emoji {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(12, 6, 18, 0.55);
  border: 1px solid rgba(244, 114, 182, 0.18);
  box-shadow: 0 8px 28px -10px rgba(244, 114, 182, 0.35);
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.25));
  animation: heroEmojiBob 4s ease-in-out infinite;
  animation-delay: calc(var(--orbit-i) * 0.35s);
  transform: rotate(calc(var(--orbit-i) * 90deg)) translateY(calc(-1 * var(--orbit-r, 132px)))
    rotate(calc(var(--orbit-i) * -90deg));
}

.hero-orbit__emoji--plane {
  font-size: 1.5rem;
}

.hero-orbit__emoji--pin {
  font-size: 1.55rem;
}

@keyframes heroEmojiBob {
  0%,
  100% {
    transform: rotate(calc(var(--orbit-i) * 90deg)) translateY(calc(-1 * var(--orbit-r, 132px)))
      rotate(calc(var(--orbit-i) * -90deg)) translateY(0) scale(1);
  }
  50% {
    transform: rotate(calc(var(--orbit-i) * 90deg)) translateY(calc(-1 * var(--orbit-r, 132px)))
      rotate(calc(var(--orbit-i) * -90deg)) translateY(-6px) scale(1.06);
  }
}

@media (max-width: 959px) {
  .hero-orbit {
    width: min(220px, 60vw);
    --orbit-r: 88px;
  }

  .hero-orbit__emoji {
    width: 2.35rem;
    height: 2.35rem;
    margin: -1.175rem 0 0 -1.175rem;
    font-size: 1.4rem;
  }
}

/* Pricing strip — centered card */
.pricing-strip--centered {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}

.pricing-strip--lively {
  background:
    radial-gradient(ellipse 80% 60% at 18% 50%, rgba(236, 72, 153, 0.14), transparent 58%),
    radial-gradient(ellipse 70% 55% at 82% 40%, rgba(168, 85, 247, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(15, 8, 32, 0.5) 0%, transparent 100%);
}

.pricing-strip__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: center;
  justify-items: center;
}

@media (min-width: 860px) {
  .pricing-strip__layout {
    grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
  }

  .pricing-strip__orbit-wrap {
    justify-self: end;
  }

  .pricing-strip__inner {
    justify-self: start;
  }
}

.pricing-strip__orbit-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 200px;
  pointer-events: none;
}

.pricing-strip--centered .pricing-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.pricing-strip--centered .pricing-strip__title {
  margin-bottom: 0;
}

.pricing-card {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.75rem, 5vw, 2.5rem);
  border-radius: var(--radius-card);
  border: 1px solid rgba(236, 72, 153, 0.28);
  background: linear-gradient(
    180deg,
    rgba(236, 72, 153, 0.14) 0%,
    rgba(168, 85, 247, 0.08) 28%,
    rgba(22, 14, 32, 0.9) 52%,
    rgba(12, 6, 18, 0.82) 100%
  );
  box-shadow:
    0 28px 64px -36px rgba(0, 0, 0, 0.7),
    0 0 40px -18px rgba(236, 72, 153, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.pricing-card__label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-bright);
}

.pricing-card__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 0 28px rgba(244, 114, 182, 0.2);
}

.pricing-card__divider {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(244, 114, 182, 0.55),
    transparent
  );
}

.pricing-card__coins {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pink-bright);
}

.pricing-card__hint {
  margin: 0;
  max-width: 32ch;
  margin-inline: auto;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-faint);
}

.pricing-card__shine {
  position: absolute;
  inset: -40% -50%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(251, 158, 206, 0.15) 45%,
    rgba(139, 92, 246, 0.12) 55%,
    transparent 100%
  );
  animation: pricingCardShine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pricingCardShine {
  0% {
    transform: translateX(-45%) rotate(4deg);
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    transform: translateX(45%) rotate(4deg);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__spotlight,
  .hero-orbit__aura,
  .hero-orbit__ring,
  .hero-orbit__floats,
  .hero-orbit__core,
  .hero-orbit__emoji,
  .pricing-card__shine {
    animation: none;
  }
}
