/* ==========================================================================
   liv-packs-reset.css  — ver=1  (2026-11-28)
   /packs (AF 2224) — "Gratitude Reset 2027" promo row, first card on the page.
   Links to /reset (DistID carries over via DNN session — verified with
   mylivzone.com/6441 → /packs?SponsorID=6441 → /reset DistID 6441).
   Self-hides after Mon 12/7 11:59 PM HST via html.livpk-rst-off
   (set by the inline script in page-header-packs-reset.html).
   John removes the row manually on 12/8.
   Prefix: livpk-rst-   ·  rem @ 10px DNN root
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Caveat+Brush&family=Figtree:wght@500;600&display=swap');

#pnlContent2224 .livpk-rst-row {
  --livpk-rst-night:    #0e2632;   /* banner sky */
  --livpk-rst-night-2:  #1b2d44;
  --livpk-rst-lagoon:   #0b5361;
  --livpk-rst-hibiscus: #e0336b;
  --livpk-rst-mango:    #f5872a;
  --livpk-rst-sun:      #ffc93c;
  --livpk-rst-cream:    #fffaf1;
  --livpk-rst-cream-70: rgba(255, 250, 241, .72);
  --livpk-rst-rainbow:  linear-gradient(92deg, #e0336b 0%, #f5872a 30%, #ffc93c 52%, #7cc96b 72%, #14808f 100%);
  --livpk-rst-display:  'Bricolage Grotesque', 'Lato', sans-serif;
  --livpk-rst-script:   'Caveat Brush', cursive;
  --livpk-rst-body:     'Figtree', 'Lato', sans-serif;
  --livpk-rst-radius:   1.6rem;      /* matches .modern-promo-card */
}

/* ---- Auto-hide after the sale (12/7 HST) ---------------------------------- */
html.livpk-rst-off #pnlContent2224 .livpk-rst-row { display: none !important; }

/* ---- Card ------------------------------------------------------------------ */
#pnlContent2224 .livpk-rst-card {
  position: relative;
  display: block;
  margin: 0 0 4rem;
  overflow: hidden;
  border-radius: var(--livpk-rst-radius);
  background: var(--livpk-rst-night);
  box-shadow: 0 2.4rem 5rem -2.2rem rgba(14, 38, 50, .55), 0 .6rem 2.5rem rgba(0, 0, 0, .10);
  text-decoration: none !important;
  color: var(--livpk-rst-cream) !important;
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  animation: livpkRstRise .7s cubic-bezier(.2, .8, .2, 1) both;
}
#pnlContent2224 .livpk-rst-card:hover,
#pnlContent2224 .livpk-rst-card:focus-visible {
  transform: translateY(-.4rem);
  box-shadow: 0 3.2rem 6rem -2.2rem rgba(14, 38, 50, .65), 0 .8rem 3rem rgba(224, 51, 107, .18);
  outline: none;
}
#pnlContent2224 .livpk-rst-card:focus-visible { box-shadow: 0 0 0 .4rem var(--livpk-rst-sun), 0 3.2rem 6rem -2.2rem rgba(14, 38, 50, .65); }

/* rainbow ribbon on top edge */
#pnlContent2224 .livpk-rst-card::before {
  content: "";
  position: absolute; z-index: 2; left: 0; right: 0; top: 0;
  height: .6rem;
  background: var(--livpk-rst-rainbow);
}

/* ---- Banner ---------------------------------------------------------------- */
#pnlContent2224 .livpk-rst-art {
  display: block;
  overflow: hidden;
  aspect-ratio: 2200 / 900;
  background: var(--livpk-rst-night);
}
#pnlContent2224 .livpk-rst-art img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
#pnlContent2224 .livpk-rst-card:hover .livpk-rst-art img { transform: scale(1.02); }

/* ---- Bottom strip ---------------------------------------------------------- */
#pnlContent2224 .livpk-rst-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.2rem 3.2rem 2.4rem;
  background:
    radial-gradient(60rem 14rem at 85% 120%, rgba(224, 51, 107, .28), transparent 70%),
    linear-gradient(180deg, var(--livpk-rst-night-2) 0%, var(--livpk-rst-night) 100%);
  border-top: 1px solid rgba(255, 201, 60, .18);
}
#pnlContent2224 .livpk-rst-copy { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
#pnlContent2224 .livpk-rst-kicker {
  font-family: var(--livpk-rst-script);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--livpk-rst-sun);
  transform: rotate(-2deg);
  transform-origin: left center;
}
#pnlContent2224 .livpk-rst-line {
  font-family: var(--livpk-rst-body);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.45;
  color: var(--livpk-rst-cream-70);
}
#pnlContent2224 .livpk-rst-line strong { color: var(--livpk-rst-cream); font-weight: 600; }

/* CTA — looks like a button, the whole card is the link */
#pnlContent2224 .livpk-rst-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.8rem;
  border-radius: 99rem;
  background: linear-gradient(100deg, var(--livpk-rst-hibiscus) 0%, var(--livpk-rst-mango) 100%);
  box-shadow: 0 1rem 2.4rem -1rem rgba(224, 51, 107, .75), inset 0 -.3rem 0 rgba(0, 0, 0, .14);
  font-family: var(--livpk-rst-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: filter .25s ease;
}
#pnlContent2224 .livpk-rst-cta-arrow {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
#pnlContent2224 .livpk-rst-card:hover .livpk-rst-cta { filter: brightness(1.06) saturate(1.05); }
#pnlContent2224 .livpk-rst-card:hover .livpk-rst-cta-arrow { transform: translateX(.5rem); }

@keyframes livpkRstRise {
  from { opacity: 0; transform: translateY(1.6rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Phone ------------------------------------------------------------------ */
@media (max-width: 767px) {
  #pnlContent2224 .livpk-rst-card { margin-bottom: 3rem; border-radius: 1.2rem; }
  #pnlContent2224 .livpk-rst-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
    padding: 1.8rem 1.8rem 2rem;
    text-align: center;
  }
  #pnlContent2224 .livpk-rst-kicker { font-size: 2.4rem; transform: rotate(-2deg); transform-origin: center; }
  #pnlContent2224 .livpk-rst-line { font-size: 1.5rem; }
  #pnlContent2224 .livpk-rst-cta { justify-content: center; padding: 1.5rem 2rem; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  #pnlContent2224 .livpk-rst-card,
  #pnlContent2224 .livpk-rst-art img,
  #pnlContent2224 .livpk-rst-cta-arrow { animation: none; transition: none; }
}
