.pulse-hero {
  position: relative; min-height: 510px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,78,120,.32), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(99,230,184,.18), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(131,199,255,.2), transparent 28%),
    linear-gradient(180deg, rgba(21,13,32,.94), rgba(5,13,24,.96));
}
.pulse-hero::before {
  content: ""; position: absolute; inset: 42px -40px auto; height: 260px; opacity: .52;
  background:
    radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(99,230,184,.55) 1px, transparent 1.5px);
  background-size: 34px 34px, 62px 62px; mask-image: radial-gradient(circle, #000 28%, transparent 72%);
  animation: pulseDust 10s linear infinite; pointer-events: none;
}
.pulse-stage {
  height: 244px; margin: 4px -4px 0; isolation: isolate;
}
.pulse-aura {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.pulse-aura i {
  position: absolute; width: 164px; height: 164px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 0 26px rgba(255,78,120,.16);
  animation: auraRing 3.8s ease-in-out infinite;
}
.pulse-aura i:nth-child(2) {
  width: 226px; height: 126px; transform: rotate(-12deg); border-color: rgba(99,230,184,.26);
  animation-delay: -.8s;
}
.pulse-aura i:nth-child(3) {
  width: 286px; height: 92px; transform: rotate(16deg); border-color: rgba(131,199,255,.24);
  animation-delay: -1.6s;
}
.pulse-thread {
  position: absolute; left: 52px; right: 52px; top: 112px; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--mint), #fff8df, var(--pink), transparent);
  box-shadow: 0 0 18px rgba(255,78,120,.5); animation: threadGlow 2.2s ease-in-out infinite;
}
.pulse-thread::before, .pulse-thread::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  transform: translateY(-50%); background: #fff8df; box-shadow: 0 0 18px currentColor;
}
.pulse-thread::before { left: 24px; color: var(--mint); }
.pulse-thread::after { right: 24px; color: var(--pink); }
.pulse-hero .pulse-pet {
  z-index: 2; top: 44px; transform: scale(.48); filter: drop-shadow(0 18px 20px rgba(0,0,0,.34));
}
.pulse-hero .pulse-pet.left {
  left: -22px; animation: petFloatLeft 4.8s ease-in-out infinite;
}
.pulse-hero .pulse-pet.right {
  right: -28px; animation: petFloatRight 4.8s ease-in-out infinite;
}
.heart-orb {
  position: relative; z-index: 1; width: 178px; height: 178px; overflow: visible;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 42% 35%, rgba(255,255,255,.55), transparent 8%),
    radial-gradient(circle at 50% 52%, rgba(255,78,120,.78), rgba(255,78,120,.16) 45%, transparent 70%),
    conic-gradient(from 0deg, rgba(99,230,184,.38), rgba(255,176,95,.42), rgba(255,78,120,.44), rgba(99,230,184,.38));
  box-shadow: 0 0 44px rgba(255,78,120,.46), inset 0 0 34px rgba(255,255,255,.1);
  animation: syncHeartbeat 1.62s ease-in-out infinite;
}
.heart-orb b {
  position: absolute; inset: 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255,248,223,.2), rgba(255,78,120,.08), transparent 70%);
  animation: coreBreath 2.4s ease-in-out infinite;
}
.heart-orb i {
  position: relative; width: 74px; height: 74px; display: block; border-radius: 17px;
  transform: rotate(-45deg); background: linear-gradient(135deg, #ff3f79, #ff8e55 62%, #ffe58a);
  box-shadow: 0 12px 30px rgba(255,78,120,.38); z-index: 2;
}
.heart-orb i::before, .heart-orb i::after {
  content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; background: inherit;
}
.heart-orb i::before { top: -37px; left: 0; }
.heart-orb i::after { top: 0; left: 37px; }
.heart-orb span, .heart-orb em {
  position: absolute; width: 16px; height: 16px; border-radius: 50%; z-index: 3;
  background: #fff8df; box-shadow: 0 0 18px rgba(255,248,223,.75);
}
.heart-orb span { left: 26px; top: 44px; animation: smallOrbit 3.2s linear infinite; }
.heart-orb em { right: 28px; bottom: 42px; animation: smallOrbit 3.2s linear infinite reverse; }
.pulse-hero > strong {
  position: relative; display: inline-block; margin-top: -2px; padding: 0 20px;
  color: #fff8df; font-size: 74px; text-shadow: 0 0 22px rgba(255,78,120,.7), 0 0 46px rgba(99,230,184,.24);
}
.pulse-hero > strong::before, .pulse-hero > strong::after {
  content: ""; position: absolute; top: 50%; width: 42px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--pink));
}
.pulse-hero > strong::before { right: 100%; }
.pulse-hero > strong::after { left: 100%; transform: scaleX(-1); }
.pulse-copy {
  margin-top: 2px; color: #fff !important; text-shadow: 0 0 16px rgba(255,255,255,.24);
}
.pulse-bar {
  position: relative; height: 13px; margin-top: 18px; background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.pulse-bar::after {
  content: ""; position: absolute; inset: -5px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  animation: meterSweep 2.8s linear infinite;
}
.pulse-bar i {
  position: relative; z-index: 1; background: linear-gradient(90deg, var(--mint), #fff18c, var(--pink));
  box-shadow: 0 0 18px rgba(255,78,120,.44);
}
@keyframes syncHeartbeat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  12% { transform: scale(1.08) rotate(-1deg); }
  24% { transform: scale(.98) rotate(1deg); }
  38% { transform: scale(1.05) rotate(0deg); }
}
@keyframes auraRing {
  0%, 100% { opacity: .42; transform: scale(.96) rotate(0deg); }
  50% { opacity: .82; transform: scale(1.06) rotate(8deg); }
}
@keyframes petFloatLeft {
  0%, 100% { transform: translate(0, 0) scale(.48) rotate(-2deg); }
  50% { transform: translate(10px, -8px) scale(.5) rotate(1deg); }
}
@keyframes petFloatRight {
  0%, 100% { transform: translate(0, 0) scale(.48) rotate(2deg); }
  50% { transform: translate(-10px, -8px) scale(.5) rotate(-1deg); }
}
@keyframes threadGlow {
  0%, 100% { opacity: .45; filter: blur(0); }
  50% { opacity: 1; filter: blur(.3px); }
}
@keyframes coreBreath {
  0%, 100% { opacity: .58; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes smallOrbit {
  from { transform: rotate(0deg) translateX(6px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(6px) rotate(-360deg); }
}
@keyframes meterSweep {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}
@keyframes pulseDust {
  from { background-position: 0 0, 0 0; }
  to { background-position: 34px 34px, -62px 62px; }
}
