/* Hero CTA buttons.
   The banners are plain artwork — the button is a real <a>, so it is
   selectable, keyboard-reachable, readable by screen readers and crisp at
   every zoom level. Positions are percentages of the banner, so the button
   tracks the headline baked into the artwork as the banner scales.
   Colours reuse the site's own gradient (#FF5858 -> #E4A1FF). */

.pl-hero-cta {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border: 0;
  border-radius: 999px;
  background-image: linear-gradient(to right, #FF5858, #E4A1FF);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(228, 161, 255, .38);
  transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease;
}

.pl-hero-cta:hover,
.pl-hero-cta:focus-visible {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 88, 88, .45);
}

.pl-hero-cta .pl-arrow {
  transition: transform .22s cubic-bezier(.2, .7, .3, 1);
}

.pl-hero-cta:hover .pl-arrow {
  transform: translateX(4px);
}

/* Desktop artwork: headline sits at ~6% from the left, text block ends ~55%. */
.pl-hero-cta--desktop {
  left: 5.7%;
  top: 68%;
}

/* Mobile artwork is centred, with the copy block ending around 76%. */
.pl-hero-cta--mobile {
  left: 50%;
  top: 80%;
  transform: translateX(-50%);
  padding: 18px 38px;
  font-size: 16px;
}

.pl-hero-cta--mobile:hover,
.pl-hero-cta--mobile:focus-visible {
  transform: translateX(-50%) translateY(-2px);
}

/* The banner-wide link underneath must not swallow clicks on the button. */
.banner-layers .pl-hero-cta {
  pointer-events: auto;
}

/* Narrow phones: keep the button inside the artwork. */
@media (max-width: 420px) {
  .pl-hero-cta--mobile {
    padding: 14px 26px;
    font-size: 14px;
    letter-spacing: .04em;
  }
}

/* Small desktop windows: the banner shrinks, so the button follows. */
@media (min-width: 550px) and (max-width: 1100px) {
  .pl-hero-cta--desktop {
    padding: 12px 24px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero-cta,
  .pl-hero-cta .pl-arrow { transition: none; }
  .pl-hero-cta:hover { transform: none; }
  .pl-hero-cta--mobile:hover { transform: translateX(-50%); }
}
