@import url('/fonts/cormorant-figtree.css');

/* 508ministry.com Weekly Newsletter Section: Luminous Sunlit Redesign + 60fps Animations */
/* Zero external CDNs. Self-hosted Cormorant + Figtree only. */

#newsletter.sn-nl {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eff6ff 0%, #f7fbff 52%, #edf5ff 100%) !important;
  background-image: linear-gradient(180deg, #eff6ff 0%, #f7fbff 52%, #edf5ff 100%) !important;
  border-top: 1px solid #d9eafa !important;
  color: #172b4d !important;
  padding: 58px 24px 68px !important;
  font-family: 'Figtree', system-ui, -apple-system, sans-serif !important;
}

#newsletter.sn-nl *,
#newsletter.sn-nl *::before,
#newsletter.sn-nl *::after {
  box-sizing: border-box;
}

/* Outer sunlit white & pale-sky-blue rounded frame */
#newsletter.sn-nl .nlv-frame {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 36px 38px 38px;
  border-radius: 28px;
  background:
    radial-gradient(560px 260px at 8% 4%, rgba(219, 234, 254, 0.55) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(520px 280px at 94% 6%, rgba(191, 219, 254, 0.45) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(640px 300px at 50% 100%, rgba(219, 234, 254, 0.45) 0%, rgba(255, 255, 255, 0) 75%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border: 1.5px solid #d9eafa;
  box-shadow:
    0 24px 64px -26px rgba(30, 64, 175, 0.14),
    0 8px 28px -12px rgba(59, 130, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

/* Top Hero Row: 3 columns (Left copy, Center laptop+mug, Right signup card) */
#newsletter.sn-nl .nlv-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 1.04fr) minmax(290px, 1.14fr) minmax(280px, 0.96fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

/* Left Column */
#newsletter.sn-nl .nlv-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#newsletter.sn-nl .sn-nl-eye {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe58f 0%, #f8c445 100%);
  border: 1px solid rgba(217, 155, 22, 0.34);
  box-shadow: 0 4px 12px -4px rgba(234, 179, 8, 0.45);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e2246;
  line-height: 1.1;
}

#newsletter.sn-nl .sn-nl-h {
  margin: 0 0 12px;
  font-family: 'Cormorant', Georgia, serif !important;
  font-size: clamp(34px, 3.2vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.015em !important;
  color: #0d234d !important;
}

#newsletter.sn-nl .sn-nl-lead {
  margin: 0 0 18px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.54;
  color: #21375b !important;
  max-width: 390px;
}

/* Live animated light-blue soundwave + 3 circular storyteller avatars */
#newsletter.sn-nl .nlv-voices {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  max-width: 100%;
}

#newsletter.sn-nl .nlv-wave {
  display: inline-flex;
  align-items: center;
  gap: 2.8px;
  height: 38px;
  padding: 2px 0;
  flex-shrink: 0;
}

#newsletter.sn-nl .nlv-wave-bar {
  display: block;
  width: 2.8px;
  height: var(--bar-h, 18px);
  border-radius: 999px;
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 52%, #93c5fd 100%);
  opacity: var(--bar-o, 0.85);
  transform-origin: center center;
  will-change: transform;
  animation: nlvWavePulse var(--bar-d, 1.5s) ease-in-out var(--bar-delay, 0s) infinite alternate;
}

#newsletter.sn-nl .nlv-avatars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

#newsletter.sn-nl .nlv-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 6px 16px -4px rgba(15, 39, 84, 0.25), 0 0 0 1px rgba(147, 197, 253, 0.45);
  overflow: hidden;
  background: #e0edff;
  margin-left: -10px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  will-change: transform;
}

#newsletter.sn-nl .nlv-avatar:first-child {
  margin-left: 0;
}

#newsletter.sn-nl .nlv-avatar:hover {
  transform: translateY(-3px) scale(1.07);
  z-index: 3;
  box-shadow: 0 10px 22px -6px rgba(37, 99, 235, 0.35), 0 0 0 2px #93c5fd;
}

#newsletter.sn-nl .nlv-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Center Column: Hero Laptop + Mug Visual */
#newsletter.sn-nl .nlv-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 0;
}

#newsletter.sn-nl .nlv-laptop-stage {
  position: relative;
  width: 100%;
  max-width: 470px;
  will-change: transform;
  animation: nlvHeroFloat 5.6s ease-in-out infinite;
}

#newsletter.sn-nl .nlv-laptop-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(96% 92% at 50% 52%, #000 74%, rgba(0, 0, 0, 0.5) 89%, transparent 100%);
  mask-image: radial-gradient(96% 92% at 50% 52%, #000 74%, rgba(0, 0, 0, 0.5) 89%, transparent 100%);
  filter: contrast(1.02) saturate(1.04);
}

/* Pulsing royal-blue play accent over the laptop mountain banner */
#newsletter.sn-nl .nlv-play-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4ea0ff 0%, #2575f0 58%, #1655c6 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px -4px rgba(22, 85, 198, 0.55);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  will-change: transform;
}

#newsletter.sn-nl .nlv-play-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.6);
  animation: nlvPlayPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

#newsletter.sn-nl .nlv-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 26px -4px rgba(22, 85, 198, 0.65);
}

#newsletter.sn-nl .nlv-play-btn svg {
  width: 44%;
  height: 44%;
  margin-left: 2px;
  fill: #ffffff;
}

#newsletter.sn-nl .nlv-laptop-play {
  width: 40px;
  height: 40px;
  left: 61.5%;
  top: 42.5%;
  transform: translate(-50%, -50%);
}

/* Animated warm-gold radial sparkle ticks */
#newsletter.sn-nl .nlv-sparkles {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  width: 34px;
  height: 34px;
  will-change: transform, opacity;
  animation: nlvSparkleTwinkle 3.2s ease-in-out infinite;
}

#newsletter.sn-nl .nlv-sparkles-hero {
  top: -2px;
  right: 12px;
  width: 40px;
  height: 40px;
}

/* Right Column: Elevated Sunlit Email Signup Card */
#newsletter.sn-nl .nlv-signup-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 251, 255, 0.94) 100%);
  border: 1.5px solid #cfe3f7;
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow:
    0 18px 40px -22px rgba(29, 78, 216, 0.2),
    0 4px 14px -4px rgba(147, 197, 253, 0.3),
    inset 0 1px 0 #ffffff;
}

/* Override legacy dark newsletter.css form styles cleanly */
#newsletter.sn-nl .sn-nl-form {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 100%;
}

#newsletter.sn-nl .sn-nl-label {
  display: block;
  margin: 0 0 10px !important;
  font-family: 'Figtree', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0e2246 !important;
  letter-spacing: -0.01em;
}

#newsletter.sn-nl .sn-nl-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
}

#newsletter.sn-nl .sn-nl-in-email {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid #bfd8f5 !important;
  background: #ffffff !important;
  color: #0f2244 !important;
  font-family: 'Figtree', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#newsletter.sn-nl .sn-nl-in-email::placeholder {
  color: #7c8ea8 !important;
}

#newsletter.sn-nl .sn-nl-in-email:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16) !important;
}

#newsletter.sn-nl .sn-nl-in-email[aria-invalid="true"] {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}

/* Warm honey-gold pill CTA with smooth shine sweep animation */
#newsletter.sn-nl .sn-nl-btn {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  height: 48px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(217, 152, 18, 0.45) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffdd73 0%, #f7be3d 100%) !important;
  color: #0d2246 !important;
  font-family: 'Figtree', system-ui, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow:
    0 10px 22px -8px rgba(217, 152, 18, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.22s ease;
  will-change: transform;
}

#newsletter.sn-nl .sn-nl-btn::after {
  content: '';
  position: absolute;
  top: -15%;
  left: -75%;
  width: 46%;
  height: 130%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg) translateX(0);
  pointer-events: none;
  animation: nlvShineSweep 5.5s ease-in-out infinite;
}

#newsletter.sn-nl .sn-nl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 14px 26px -8px rgba(217, 152, 18, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

#newsletter.sn-nl .sn-nl-btn:hover::after {
  animation: nlvShineSweepHover 0.72s ease-out forwards;
}

#newsletter.sn-nl .sn-nl-btn:active {
  transform: translateY(0);
}

#newsletter.sn-nl .sn-nl-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

#newsletter.sn-nl .sn-nl-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#newsletter.sn-nl .sn-nl-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
  font-family: 'Figtree', system-ui, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #465d7e !important;
  cursor: pointer;
}

#newsletter.sn-nl .sn-nl-consent input[type="checkbox"] {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: #2563eb;
  cursor: pointer;
}

#newsletter.sn-nl .sn-nl-consent a {
  color: #1d4ed8 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

#newsletter.sn-nl .sn-nl-consent a:hover {
  color: #0e2246 !important;
}

#newsletter.sn-nl .sn-nl-msg {
  margin: 10px 0 0 !important;
  min-height: 0;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

#newsletter.sn-nl .sn-nl-msg:empty {
  display: none;
}

#newsletter.sn-nl .sn-nl-msg.ok {
  color: #047857 !important;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 8px 11px;
}

#newsletter.sn-nl .sn-nl-msg.err {
  color: #b91c1c !important;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 8px 11px;
}

/* Bottom 2x2 Feature Cards Grid */
#newsletter.sn-nl .nlv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#newsletter.sn-nl .nlv-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(175px, 0.88fr);
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1.5px solid #cfe3f7;
  box-shadow:
    0 12px 30px -20px rgba(30, 64, 175, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: visible;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--nlv-delay, 0ms),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--nlv-delay, 0ms),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  will-change: transform, opacity;
}

#newsletter.sn-nl .nlv-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#newsletter.sn-nl .nlv-card.is-visible:hover,
#newsletter.sn-nl .nlv-card.is-visible:focus-visible {
  transform: translateY(-4px);
  border-color: #60a5fa;
  box-shadow:
    0 22px 44px -20px rgba(29, 78, 216, 0.28),
    0 0 0 3px rgba(96, 165, 250, 0.2),
    0 0 26px rgba(147, 197, 253, 0.28),
    inset 0 1px 0 #ffffff;
  transition-delay: 0ms;
}

#newsletter.sn-nl .nlv-card:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

/* Card left column: honey-gold icon tile + title & copy */
#newsletter.sn-nl .nlv-card-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

#newsletter.sn-nl .nlv-icon-tile {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffe58f 0%, #f8c546 100%);
  border: 1px solid rgba(217, 155, 22, 0.32);
  box-shadow: 0 6px 14px -6px rgba(217, 152, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0e2246;
  margin-top: 2px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#newsletter.sn-nl .nlv-card:hover .nlv-icon-tile {
  transform: scale(1.07) rotate(-3deg);
}

#newsletter.sn-nl .nlv-icon-tile svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #0e2246;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#newsletter.sn-nl .nlv-card-text {
  min-width: 0;
}

#newsletter.sn-nl .nlv-card-title {
  margin: 0 0 6px;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #0d234d;
}

#newsletter.sn-nl .nlv-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

#newsletter.sn-nl .nlv-card-title a:hover {
  color: #1d4ed8;
}

#newsletter.sn-nl .nlv-card-desc {
  margin: 0;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #294166;
}

/* Subtle "Explore ->" micro-hint on every clickable card */
#newsletter.sn-nl .nlv-explore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1d5fd6;
  opacity: 0.84;
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.22s ease;
}

#newsletter.sn-nl .nlv-explore svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#newsletter.sn-nl .nlv-card:hover .nlv-explore,
#newsletter.sn-nl .nlv-card:focus-visible .nlv-explore {
  opacity: 1;
  color: #1448b5;
}

#newsletter.sn-nl .nlv-card:hover .nlv-explore svg,
#newsletter.sn-nl .nlv-card:focus-visible .nlv-explore svg {
  transform: translateX(3px);
}

#newsletter.sn-nl .nlv-card:hover .nlv-card-title,
#newsletter.sn-nl .nlv-card:focus-visible .nlv-card-title {
  color: #1648b2;
}

#newsletter.sn-nl .nlv-card:hover .nlv-field-play,
#newsletter.sn-nl .nlv-card:focus-visible .nlv-field-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 26px -4px rgba(22, 85, 198, 0.68);
}

#newsletter.sn-nl .nlv-card:hover .nlv-disciple-pill,
#newsletter.sn-nl .nlv-card:focus-visible .nlv-disciple-pill {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-3px) scale(1.04);
  background: linear-gradient(180deg, #2575f0 0%, #1655c6 100%);
  border-color: #1655c6;
  color: #ffffff;
  box-shadow: 0 14px 28px -8px rgba(22, 85, 198, 0.52);
}

/* Card right column: artwork + animated badges + sparkle ticks */
#newsletter.sn-nl .nlv-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 136px;
}

#newsletter.sn-nl .nlv-card-img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 138px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Seamless white-studio blending for cards 1, 3, and 4 */
#newsletter.sn-nl .nlv-card--blend .nlv-card-img {
  object-fit: contain;
  height: 146px;
  border-radius: 12px;
  mix-blend-mode: multiply;
  filter: brightness(1.045) contrast(1.04);
  -webkit-mask-image: radial-gradient(92% 90% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(92% 90% at 50% 50%, #000 72%, transparent 100%);
}

#newsletter.sn-nl .nlv-card:hover .nlv-card-img {
  transform: scale(1.03);
}

/* Card 2 photo frame styling */
#newsletter.sn-nl .nlv-card--field .nlv-card-img {
  border-radius: 16px;
  border: 2px solid #ffffff;
  box-shadow: 0 12px 26px -12px rgba(15, 39, 84, 0.32);
}

/* Card sparkle tick positioning */
#newsletter.sn-nl .nlv-card .nlv-sparkles {
  top: -12px;
  right: -8px;
  width: 30px;
  height: 30px;
}

#newsletter.sn-nl .nlv-card--field .nlv-sparkles {
  top: -18px;
  right: -12px;
}

/* Card 1: Gentle bouncing royal-blue map pin badge */
#newsletter.sn-nl .nlv-map-pin {
  position: absolute;
  right: 6px;
  bottom: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  background: radial-gradient(circle at 32% 28%, #52a4ff 0%, #2474f0 60%, #1553c4 100%);
  box-shadow: 0 10px 22px -6px rgba(21, 83, 196, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  will-change: transform;
  animation: nlvPinBounce 2.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

#newsletter.sn-nl .nlv-map-pin svg {
  width: 21px;
  height: 21px;
  fill: #ffffff;
}

/* Card 2: Pulsing royal-blue play circle centered over children photo */
#newsletter.sn-nl .nlv-field-play {
  width: 46px;
  height: 46px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* Card 3: Clickable luminous pill "This Week's Disciple" */
#newsletter.sn-nl .nlv-disciple-pill {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  border: 1.5px solid #bfdbfe;
  box-shadow:
    0 10px 24px -8px rgba(29, 78, 216, 0.34),
    0 0 18px rgba(147, 197, 253, 0.45);
  color: #1655c6;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  z-index: 3;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
  will-change: transform;
  animation: nlvPillFloat 4.2s ease-in-out infinite;
}

#newsletter.sn-nl .nlv-disciple-pill:hover {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-3px) scale(1.04);
  background: linear-gradient(180deg, #2575f0 0%, #1655c6 100%);
  border-color: #1655c6;
  color: #ffffff;
  box-shadow: 0 14px 28px -8px rgba(22, 85, 198, 0.52);
}

#newsletter.sn-nl .nlv-disciple-pill svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card 4: Gentle bobbing gift-box animation */
#newsletter.sn-nl .nlv-card--gift .nlv-card-img {
  animation: nlvGiftBob 3.8s ease-in-out infinite;
}

/* Keyframes (60fps GPU transform/opacity only) */
@keyframes nlvWavePulse {
  0% {
    transform: scaleY(0.42);
    opacity: 0.62;
  }
  50% {
    transform: scaleY(1.06);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.58);
    opacity: 0.78;
  }
}

@keyframes nlvHeroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes nlvPlayPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.42);
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@keyframes nlvSparkleTwinkle {
  0%, 100% {
    transform: scale(0.92) rotate(-4deg);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
  }
}

@keyframes nlvPinBounce {
  0%, 100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-7px);
  }
  65% {
    transform: translateY(-2px);
  }
}

@keyframes nlvPillFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes nlvGiftBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-0.8deg);
  }
}

@keyframes nlvShineSweep {
  0%, 72% {
    transform: skewX(-20deg) translateX(0);
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: skewX(-20deg) translateX(460%);
    opacity: 0;
  }
}

@keyframes nlvShineSweepHover {
  0% {
    transform: skewX(-20deg) translateX(0);
    opacity: 1;
  }
  100% {
    transform: skewX(-20deg) translateX(460%);
    opacity: 0;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  #newsletter.sn-nl .nlv-frame {
    padding: 30px 26px 32px;
  }
  #newsletter.sn-nl .nlv-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
  }
  #newsletter.sn-nl .nlv-signup-card {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 920px) {
  #newsletter.sn-nl .nlv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #newsletter.sn-nl {
    padding: 38px 14px 48px !important;
  }
  #newsletter.sn-nl .nlv-frame {
    padding: 24px 18px 24px;
    border-radius: 22px;
  }
  #newsletter.sn-nl .nlv-top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 22px;
  }
  #newsletter.sn-nl .sn-nl-h {
    font-size: 33px !important;
  }
  #newsletter.sn-nl .nlv-voices {
    gap: 10px;
  }
  #newsletter.sn-nl .nlv-wave {
    gap: 2px;
  }
  #newsletter.sn-nl .nlv-avatar {
    width: 38px;
    height: 38px;
    margin-left: -8px;
  }
  #newsletter.sn-nl .nlv-laptop-play {
    width: 34px;
    height: 34px;
  }
  #newsletter.sn-nl .nlv-signup-card {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }
  #newsletter.sn-nl .nlv-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 18px;
  }
  #newsletter.sn-nl .nlv-card-media {
    min-height: 150px;
  }
  #newsletter.sn-nl .nlv-card-img {
    max-width: 100%;
    height: 168px;
  }
  #newsletter.sn-nl .nlv-card--blend .nlv-card-img {
    height: 168px;
  }
  #newsletter.sn-nl .nlv-card .nlv-sparkles {
    top: -10px;
    right: 0px;
  }
  #newsletter.sn-nl .nlv-card--field .nlv-sparkles {
    top: -18px;
    right: -4px;
  }
  #newsletter.sn-nl .nlv-map-pin {
    right: 12px;
    bottom: 2px;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  #newsletter.sn-nl .nlv-wave-bar,
  #newsletter.sn-nl .nlv-laptop-stage,
  #newsletter.sn-nl .nlv-play-btn::before,
  #newsletter.sn-nl .nlv-sparkles,
  #newsletter.sn-nl .nlv-map-pin,
  #newsletter.sn-nl .nlv-disciple-pill,
  #newsletter.sn-nl .nlv-card--gift .nlv-card-img,
  #newsletter.sn-nl .sn-nl-btn::after {
    animation: none !important;
  }
  #newsletter.sn-nl .nlv-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #newsletter.sn-nl .nlv-avatar,
  #newsletter.sn-nl .nlv-icon-tile,
  #newsletter.sn-nl .nlv-card-img,
  #newsletter.sn-nl .sn-nl-btn {
    transition: none !important;
  }
}
