/* Paula landing page final overrides.
   This file loads after the legacy stylesheet so the restored card-fan hero
   and Paula's product path stay stable without disturbing the rest of the site. */

body[data-page="home"] #home .motion-hero {
  min-height: 100dvh !important;
  height: auto !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 248, 230, 0.84), rgba(245, 231, 209, 0.56) 38%, rgba(150, 70, 63, 0.12) 70%),
    linear-gradient(180deg, rgba(255, 247, 229, 0.78), rgba(239, 205, 187, 0.52) 58%, rgba(112, 28, 33, 0.44)) !important;
}

body[data-page="home"] #home .hero-video {
  display: block !important;
  opacity: 0.5 !important;
  filter: blur(2.15px) brightness(0.78) saturate(0.9) contrast(0.94) !important;
  transform: scale(1.045) !important;
}

body[data-page="home"] #home .hero-video-scrim {
  opacity: 1 !important;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 249, 232, 0.62), rgba(242, 220, 199, 0.4) 38%, rgba(126, 45, 44, 0.18) 70%),
    linear-gradient(180deg, rgba(255, 247, 226, 0.38), rgba(208, 140, 124, 0.26) 54%, rgba(82, 8, 17, 0.5) 100%) !important;
}

body[data-page="home"] #home .motion-hero::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 29%, rgba(255, 247, 225, 0.25), rgba(255, 247, 225, 0.05) 36%, rgba(56, 5, 12, 0.08) 78%),
    linear-gradient(180deg, rgba(255, 245, 225, 0.04), rgba(95, 15, 24, 0.13) 100%);
}
body[data-page="home"] #home .motion-copy.landing-copy {
  z-index: 24 !important;
  top: clamp(5.85rem, 10.2vh, 7rem) !important;
  width: min(58rem, calc(100vw - 3rem)) !important;
}

body[data-page="home"] #home .landing-copy h1 {
  color: rgba(83, 28, 38, 0.96) !important;
  font-size: clamp(4rem, 6.45vw, 6.35rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.052em !important;
}

body[data-page="home"] #home .landing-copy p {
  max-width: 42rem !important;
  margin-top: 0.9rem !important;
  color: rgba(55, 35, 35, 0.86) !important;
  font-size: clamp(1.04rem, 1.25vw, 1.24rem) !important;
}

body[data-page="home"] #home .landing-pill-stage {
  position: absolute !important;
  z-index: 42 !important;
  top: 20.65rem !important;
  left: 50% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.7rem, 0.9vw, 0.95rem) !important;
  width: min(75rem, calc(100vw - 7rem)) !important;
  transform: translateX(-50%) !important;
}

body[data-page="home"] #home .landing-action-pill {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.68rem;
  min-height: 4.05rem;
  padding: 0.42rem 0.52rem 0.42rem 0.42rem;
  border: 1px solid rgba(234, 191, 88, 0.36);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% -20%, rgba(255, 239, 171, 0.24), rgba(255, 239, 171, 0) 42%),
    linear-gradient(180deg, rgba(255, 252, 232, 0.13), rgba(255, 252, 232, 0.02) 44%, rgba(31, 3, 10, 0.15)),
    linear-gradient(145deg, rgba(123, 42, 46, 0.92), rgba(52, 6, 15, 0.96)),
    rgba(53, 7, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 198, 0.28),
    inset 0 -1px 0 rgba(51, 5, 12, 0.72),
    0 0.85rem 2.1rem rgba(62, 8, 14, 0.24);
  color: #fff8ea;
  overflow: visible;
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-page="home"] #home .landing-action-pill::before {
  position: absolute;
  inset: 0.2rem 0.36rem auto;
  height: 48%;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 247, 212, 0.02), rgba(255, 247, 212, 0.13), rgba(255, 247, 212, 0.02));
  pointer-events: none;
  z-index: -1;
}

body[data-page="home"] #home .landing-action-pill:hover,
body[data-page="home"] #home .landing-action-pill:focus-within {
  border-color: rgba(255, 216, 105, 0.72);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 189, 0.25),
    inset 0 -1px 0 rgba(51, 5, 12, 0.72),
    0 1.35rem 3.1rem rgba(62, 8, 14, 0.32);
}

body[data-page="home"] #home .landing-pill-suit {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 216, 105, 0.36);
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 236, 143, 0.3), rgba(255, 236, 143, 0.06) 58%, rgba(69, 13, 16, 0.28)),
    rgba(255, 217, 93, 0.08);
  color: #ffd95d;
  font-size: 0.95rem;
  text-shadow: 0 0 1rem rgba(255, 217, 93, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 210, 0.2),
    0 0.55rem 1.25rem rgba(28, 3, 8, 0.22);
}

body[data-page="home"] #home .landing-action-pill small,
body[data-page="home"] #home .landing-live-reading small {
  display: block;
  color: #e5bf4c;
  font-family: var(--sans-font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="home"] #home .landing-action-pill h2 {
  margin: 0.1rem 0 0;
  color: #fff8ea;
  font-size: clamp(1rem, 0.98vw, 1.14rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

body[data-page="home"] #home .landing-card-summary,
body[data-page="home"] #home .landing-card-details p {
  margin: 0.45rem 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-family: var(--display-font);
  font-size: 0.82rem;
  line-height: 1.18;
}

body[data-page="home"] #home .landing-pill-actions {
  display: flex;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 0.38rem;
  flex-wrap: nowrap;
  margin-top: 0;
  height: auto;
  transform: translateY(-0.24rem);
}

body[data-page="home"] #home .landing-learn-toggle,
body[data-page="home"] #home .landing-card-cta,
body[data-page="home"] #home .landing-live-reading a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 999px;
  font-family: var(--sans-font);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

body[data-page="home"] #home .landing-learn-toggle {
  padding: 0 0.72rem;
  border: 1px solid rgba(255, 214, 91, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 236, 159, 0.14), rgba(111, 44, 17, 0.08)),
    rgba(75, 24, 20, 0.35);
  color: #ffe08d;
  box-shadow: inset 0 1px 0 rgba(255, 247, 207, 0.18);
}

body[data-page="home"] #home .landing-card-cta,
body[data-page="home"] #home .landing-live-reading a {
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 216, 127, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 216, 162, 0.18), rgba(255, 216, 162, 0) 46%),
    linear-gradient(180deg, #a43b30, #671b16);
  color: #fff8ea;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 218, 0.19),
    0 0.75rem 1.4rem rgba(35, 3, 8, 0.22);
}

body[data-page="home"] #home .landing-learn-toggle:hover,
body[data-page="home"] #home .landing-card-cta:hover,
body[data-page="home"] #home .landing-live-reading a:hover {
  transform: translateY(-1px);
}

body[data-page="home"] #home .landing-card-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 260ms var(--ease), opacity 220ms ease;
}

body[data-page="home"] #home .landing-card-details > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

body[data-page="home"] #home .landing-action-pill.is-open .landing-card-details {
  grid-template-rows: 1fr;
  margin-top: 0.55rem;
  opacity: 1;
}

body[data-page="home"] #home .landing-live-reading {
  position: absolute !important;
  z-index: 34 !important;
  top: 25.85rem !important;
  left: 50% !important;
  bottom: auto !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.72rem !important;
  width: min(47rem, calc(100vw - 7rem)) !important;
  min-height: 4rem !important;
  padding: 0.5rem 0.62rem 0.5rem 0.52rem !important;
  border: 1px solid rgba(234, 191, 88, 0.36) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 18% -30%, rgba(255, 239, 171, 0.18), rgba(255, 239, 171, 0) 42%),
    linear-gradient(180deg, rgba(255, 252, 232, 0.1), rgba(255, 252, 232, 0.02) 44%, rgba(31, 3, 10, 0.15)),
    rgba(42, 5, 12, 0.86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 181, 0.2),
    inset 0 -1px 0 rgba(51, 5, 12, 0.72),
    0 1rem 2.7rem rgba(48, 4, 10, 0.25) !important;
  color: #fff8ea !important;
  transform: translateX(-50%) !important;
}

body[data-page="home"] #home .landing-live-reading > span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 236, 143, 0.3), rgba(255, 236, 143, 0.06) 58%, rgba(69, 13, 16, 0.28)),
    rgba(255, 217, 93, 0.08);
  color: #ffd95d;
}

body[data-page="home"] #home .landing-live-reading p {
  margin: 0.06rem 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-family: var(--display-font);
  font-size: 0.8rem;
  line-height: 1.15;
}

body[data-page="home"] #home .landing-live-reading a {
  align-self: center !important;
  margin: 0 !important;
  min-height: 2.1rem !important;
}

body[data-page="home"] #home .hero-card-stage {
  z-index: 18 !important;
  bottom: -1.9rem !important;
  height: clamp(22rem, 41vh, 27.5rem) !important;
  transform: none !important;
  transform-origin: bottom center !important;
}

body[data-page="home"] #home .hero-card {
  flex-basis: clamp(10rem, 13.4vw, 13.75rem) !important;
  height: clamp(18rem, 32.5vh, 23.4rem) !important;
}

body[data-page="home"] #home .hero-card-3 {
  flex-basis: clamp(10.65rem, 14vw, 14.4rem) !important;
  height: clamp(18.9rem, 34vh, 24.4rem) !important;
}

body[data-page="home"] #home .hero-card-inner {
  animation: none !important;
  transform: none !important;
  transform-style: flat !important;
  will-change: auto !important;
}

body[data-page="home"] #home .hero-card-front {
  opacity: 1 !important;
  transform: none !important;
  backface-visibility: visible !important;
}

body[data-page="home"] #home .hero-card-back {
  display: none !important;
}

body[data-page="home"] #home .hero-card-art {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 761px) {
  body[data-page="home"] #home .landing-card-summary {
    display: none;
  }

  body[data-page="home"] #home .landing-card-details {
    position: absolute;
    top: calc(100% + 0.46rem);
    bottom: auto;
    left: 2.7rem;
    right: 1rem;
    z-index: 80;
    display: block;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(217, 173, 67, 0.34);
    border-radius: 1rem;
    background:
      linear-gradient(180deg, rgba(255, 247, 218, 0.08), rgba(255, 247, 218, 0)),
      rgba(42, 5, 12, 0.98);
    box-shadow: 0 1.2rem 2.4rem rgba(30, 2, 8, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.18rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body[data-page="home"] #home .landing-card-details > p {
    overflow: visible;
    font-size: 0.78rem;
    line-height: 1.22;
  }

  body[data-page="home"] #home .landing-action-pill.is-open .landing-card-details {
    margin-top: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (min-width: 761px) and (max-height: 880px) {
  body[data-page="home"] #home .motion-copy.landing-copy {
    top: 5rem !important;
  }

  body[data-page="home"] #home .landing-pill-stage {
    top: 18.7rem !important;
  }

  body[data-page="home"] #home .landing-action-pill {
    min-height: 3.62rem;
    padding: 0.4rem 0.46rem;
  }

  body[data-page="home"] #home .landing-live-reading {
    top: 23.4rem !important;
  }

  body[data-page="home"] #home .hero-card-stage {
    bottom: -5.85rem !important;
    height: clamp(22rem, 40vh, 27rem) !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] #home.panel {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] #home .motion-hero {
    position: relative !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: calc(var(--nav-height, 4.9rem) + 1rem) 1rem 3.5rem !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] #home .motion-copy.landing-copy,
  body[data-page="home"] #home .landing-pill-stage,
  body[data-page="home"] #home .landing-live-reading {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] #home .motion-copy.landing-copy {
    width: min(100%, calc(100vw - 2rem), 23rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0 auto !important;
    padding-top: 0.35rem !important;
    text-align: center !important;
  }

  body[data-page="home"] #home .landing-copy h1 {
    font-size: clamp(3.05rem, 15.2vw, 4.55rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.05em !important;
  }

  body[data-page="home"] #home .landing-copy p {
    width: min(100%, 21.5rem) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    font-size: 0.98rem !important;
    line-height: 1.4 !important;
  }

  body[data-page="home"] #home .landing-pill-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(100%, calc(100vw - 2rem), 23.25rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 1.45rem auto 0 !important;
    gap: 0.72rem !important;
  }

  body[data-page="home"] #home .landing-action-pill {
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 0.68rem !important;
    row-gap: 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 0.78rem !important;
    border-radius: 1.15rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #home .landing-action-pill::before {
    inset: 0.22rem 0.32rem auto !important;
    height: 42% !important;
  }

  body[data-page="home"] #home .landing-action-pill > div,
  body[data-page="home"] #home .landing-card-details,
  body[data-page="home"] #home .landing-card-details > p {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-page="home"] #home .landing-pill-suit {
    width: 1.95rem !important;
    height: 1.95rem !important;
  }

  body[data-page="home"] #home .landing-action-pill h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.48rem) !important;
  }

  body[data-page="home"] #home .landing-pill-actions {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
    height: auto !important;
    transform: none !important;
  }

  body[data-page="home"] #home .landing-learn-toggle,
  body[data-page="home"] #home .landing-card-cta {
    flex: 1 1 0 !important;
    min-height: 2rem !important;
    padding-inline: 0.82rem !important;
    font-size: 0.68rem !important;
  }

  body[data-page="home"] #home .landing-card-summary {
    font-size: 0.8rem !important;
    line-height: 1.16 !important;
  }

  body[data-page="home"] #home .landing-live-reading {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    width: min(100%, calc(100vw - 2rem), 23.25rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0.9rem auto 0 !important;
    padding: 1rem !important;
    border-radius: 1.15rem !important;
  }

  body[data-page="home"] #home .landing-live-reading a {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0.35rem 0 0 !important;
  }

  body[data-page="home"] #home .hero-card-stage {
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 50rem !important;
    max-width: none !important;
    height: 17.5rem !important;
    margin: 0.2rem 0 -5.25rem !important;
    transform: translateX(-50%) scale(0.42) !important;
    transform-origin: top center !important;
  }

  body[data-page="home"] #panel-dots {
    bottom: max(0.18rem, env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%) scale(0.72) !important;
    opacity: 0.72 !important;
  }
}

#pet-psychic .pet-coming-actions {
  display: grid !important;
  gap: 0.62rem !important;
  width: min(42rem, calc(100vw - 2rem)) !important;
  padding: 0.58rem !important;
  border: 1px solid rgba(224, 181, 91, 0.28) !important;
  border-radius: 1.35rem !important;
  background:
    linear-gradient(180deg, rgba(255, 248, 226, 0.08), rgba(255, 248, 226, 0)),
    rgba(39, 5, 12, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 206, 0.14),
    0 1rem 2.25rem rgba(33, 4, 10, 0.24) !important;
}

#pet-psychic .pet-coming-actions .kp-contact-card {
  display: grid !important;
  grid-template-columns: 2.15rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-height: 3.85rem !important;
  padding: 0.74rem 0.95rem !important;
  border: 1px solid rgba(224, 181, 91, 0.25) !important;
  border-radius: 1rem !important;
  background:
    radial-gradient(circle at 18% -20%, rgba(255, 228, 145, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(117, 42, 45, 0.7), rgba(42, 5, 12, 0.86)) !important;
  color: #fff8ea !important;
  text-align: left !important;
  text-decoration: none !important;
}

#pet-psychic .pet-coming-actions .kp-contact-icon {
  display: grid !important;
  place-items: center !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border-radius: 999px !important;
  background: rgba(229, 191, 76, 0.13) !important;
  color: #e5bf4c !important;
  font-size: 0.88rem !important;
}

#pet-psychic .pet-coming-actions small {
  display: block !important;
  color: #e5bf4c !important;
  font-family: var(--sans-font) !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

#pet-psychic .pet-coming-actions b {
  display: block !important;
  margin-top: 0.2rem !important;
  color: #fff8ea !important;
  font-size: clamp(1rem, 1.08vw, 1.15rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.01em !important;
  overflow-wrap: anywhere !important;
  text-shadow: 0 0.5rem 1.5rem rgba(20, 2, 6, 0.28) !important;
}

@media (max-width: 760px) {
  #pet-psychic .pet-coming-actions {
    width: min(100%, calc(100vw - 2rem)) !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 540px) {
  body[data-page="home"] #home .motion-copy.landing-copy,
  body[data-page="home"] #home .landing-pill-stage,
  body[data-page="home"] #home .landing-live-reading {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
