/* ==========================================================================
   ZugUmZug — Online Discount Offer (5–10%)
   Shared styles for:
   1. Landing page popup (#zo-popup) + floating teaser pill (#zo-teaser)
   2. Thank-you page discount reveal (#zo-reveal)
   All selectors are prefixed with "zo-" and scoped by ID to stay isolated
   from the global theme rules (premium-style.css uses many !important rules).
   ========================================================================== */

:root {
  --zo-navy-900: #070d1a;
  --zo-navy-800: #0b1528;
  --zo-navy-700: #0f2342;
  --zo-blue: #0284c7;
  --zo-sky: #38bdf8;
  --zo-green: #68aa00;
  --zo-lime: #a3e635;
  --zo-emerald: #10b981;
  --zo-gold: #fbbf24;
  --zo-amber: #f59e0b;
  --zo-ink: #0f172a;
  --zo-slate: #475569;
  --zo-muted: #64748b;
  --zo-line: #e2e8f0;
  --zo-font-head: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zo-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zo-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --zo-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   1. POPUP OVERLAY
   -------------------------------------------------------------------------- */
#zo-popup {
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 13, 26, 0.62);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  font-family: var(--zo-font-body);
  -webkit-font-smoothing: antialiased;
}
#zo-popup.zo-open {
  opacity: 1;
  visibility: visible;
}
#zo-popup *,
#zo-popup *::before,
#zo-popup *::after,
#zo-teaser *,
#zo-reveal *,
#zo-reveal *::before,
#zo-reveal *::after {
  box-sizing: border-box;
}

#zo-popup .zo-modal {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 40px 90px -20px rgba(2, 8, 23, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition: transform 0.55s var(--zo-ease-out), opacity 0.45s ease;
}
#zo-popup.zo-open .zo-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
#zo-popup .zo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zo-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--zo-slate);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s var(--zo-ease-spring), background 0.2s ease, color 0.2s ease;
}
#zo-popup .zo-close:hover {
  transform: rotate(90deg);
  background: #f1f5f9;
  color: var(--zo-ink);
}
#zo-popup .zo-close:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.45);
  outline-offset: 2px;
}

/* ---------- Visual (left) panel ---------- */
#zo-popup .zo-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(56, 189, 248, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 15% 100%, rgba(104, 170, 0, 0.35) 0%, transparent 50%),
    linear-gradient(160deg, var(--zo-navy-700) 0%, var(--zo-navy-800) 55%, var(--zo-navy-900) 100%);
}
/* Rotating light rays */
#zo-popup .zo-visual::before {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.07) 0deg 9deg, transparent 9deg 24deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: zo-spin 26s linear infinite;
  pointer-events: none;
}
#zo-popup .zo-visual > * {
  position: relative;
  z-index: 1;
}
#zo-popup .zo-visual-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--zo-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0f2fe;
}
#zo-popup .zo-gift-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 18px 0 6px;
}
#zo-popup .zo-gift-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55) 0%, rgba(251, 191, 36, 0) 68%);
  filter: blur(6px);
  animation: zo-glow 2.8s ease-in-out infinite;
}
#zo-popup .zo-gift-svg {
  position: relative;
  width: 100%;
  height: 100%;
  animation: zo-float 3.6s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
}
#zo-popup .zo-gift-lid {
  transform-origin: 60px 52px;
  animation: zo-lid-tease 3.6s var(--zo-ease-spring) infinite;
}
#zo-popup .zo-mystery {
  position: absolute;
  right: -6px;
  top: 6px;
  min-width: 48px;
  height: 48px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zo-gold) 0%, var(--zo-amber) 100%);
  color: #422006;
  font-family: var(--zo-font-head);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  animation: zo-wiggle 3.6s ease-in-out infinite;
}
#zo-popup .zo-range {
  font-family: var(--zo-font-head);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffffff 0%, var(--zo-lime) 45%, #d9f99d 60%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: zo-shine 4.5s linear infinite;
}
#zo-popup .zo-range-sub {
  margin-top: 6px;
  font-family: var(--zo-font-head);
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}
/* Sparkles */
#zo-popup .zo-spark {
  position: absolute;
  z-index: 1;
  color: var(--zo-gold);
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  animation: zo-twinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}
#zo-popup .zo-spark.s1 { top: 16%; left: 16%; animation-delay: 0s; }
#zo-popup .zo-spark.s2 { top: 24%; right: 14%; animation-delay: 0.7s; font-size: 18px; color: #e0f2fe; }
#zo-popup .zo-spark.s3 { bottom: 26%; left: 12%; animation-delay: 1.3s; font-size: 11px; color: var(--zo-lime); }
#zo-popup .zo-spark.s4 { bottom: 18%; right: 18%; animation-delay: 1.9s; }

/* ---------- Content (right) panel ---------- */
#zo-popup .zo-content {
  padding: 34px 34px 26px;
  overflow-y: auto;
  color: var(--zo-ink);
}
#zo-popup .zo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-family: var(--zo-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#zo-popup .zo-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zo-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: zo-ping 1.8s ease-out infinite;
}
#zo-popup .zo-title {
  margin: 14px 0 10px;
  font-family: var(--zo-font-head);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--zo-ink);
}
#zo-popup .zo-title-hl {
  background: linear-gradient(90deg, var(--zo-blue) 0%, var(--zo-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#zo-popup .zo-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--zo-slate);
}
#zo-popup .zo-text strong {
  color: var(--zo-ink);
  font-weight: 700;
}
#zo-popup .zo-boost-title {
  margin: 0 0 10px;
  font-family: var(--zo-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zo-muted);
}
#zo-popup .zo-boosts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
#zo-popup .zo-boost {
  position: relative;
  padding: 12px 10px 11px;
  border: 1px solid var(--zo-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
  transition: transform 0.25s var(--zo-ease-spring), border-color 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
}
#zo-popup.zo-open .zo-boost {
  animation: zo-rise 0.5s var(--zo-ease-out) forwards;
}
#zo-popup.zo-open .zo-boost:nth-child(1) { animation-delay: 0.25s; }
#zo-popup.zo-open .zo-boost:nth-child(2) { animation-delay: 0.35s; }
#zo-popup.zo-open .zo-boost:nth-child(3) { animation-delay: 0.45s; }
#zo-popup .zo-boost:hover {
  transform: translateY(-3px);
  border-color: #7dd3fc;
  box-shadow: 0 10px 22px -10px rgba(2, 132, 199, 0.35);
}
#zo-popup .zo-boost-icon {
  display: block;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
#zo-popup .zo-boost-name {
  display: block;
  font-family: var(--zo-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--zo-ink);
  line-height: 1.2;
}
#zo-popup .zo-boost-hint {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--zo-muted);
  line-height: 1.3;
}
#zo-popup .zo-boost-plus {
  position: absolute;
  top: -8px;
  right: -6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--zo-green);
  color: #ffffff;
  font-family: var(--zo-font-head);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(104, 170, 0, 0.4);
}
#zo-popup .zo-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zo-slate);
}
#zo-popup .zo-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#zo-popup .zo-check {
  color: #16a34a;
  font-weight: 900;
}

/* CTA */
#zo-popup a.zo-cta,
#zo-teaser a.zo-teaser-link {
  text-decoration: none !important;
}
#zo-popup a.zo-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7cc400 0%, var(--zo-green) 45%, #4d8400 100%);
  color: #ffffff !important;
  font-family: var(--zo-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px -10px rgba(77, 132, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--zo-ease-spring), box-shadow 0.25s ease;
}
#zo-popup a.zo-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: zo-sweep 3.2s ease-in-out infinite;
}
#zo-popup a.zo-cta:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(77, 132, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
#zo-popup a.zo-cta:focus-visible {
  outline: 3px solid rgba(104, 170, 0, 0.5);
  outline-offset: 3px;
}
#zo-popup .zo-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
#zo-popup a.zo-cta:hover .zo-cta-arrow {
  transform: translateX(4px);
}
#zo-popup .zo-later {
  display: block;
  margin: 12px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--zo-muted);
  font-family: var(--zo-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#zo-popup .zo-later:hover {
  color: var(--zo-ink);
}
#zo-popup .zo-foot {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

/* ---------- Popup responsive: bottom sheet on mobile ---------- */
@media (max-width: 760px) {
  #zo-popup {
    align-items: flex-end;
    padding: 0;
  }
  #zo-popup .zo-modal {
    grid-template-columns: 1fr;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  #zo-popup.zo-open .zo-modal {
    transform: translateY(0);
  }
  #zo-popup .zo-visual {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 56px 18px 18px;
    text-align: left;
  }
  #zo-popup .zo-visual-label {
    display: none;
  }
  #zo-popup .zo-gift-wrap {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    margin: 0;
  }
  #zo-popup .zo-mystery {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    right: -8px;
    top: -2px;
  }
  #zo-popup .zo-range {
    font-size: 40px;
  }
  #zo-popup .zo-range-sub {
    font-size: 13px;
    margin-top: 2px;
  }
  #zo-popup .zo-close {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }
  #zo-popup .zo-close:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
  }
  #zo-popup .zo-content {
    padding: 20px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  #zo-popup .zo-title {
    font-size: 23px;
    margin-top: 10px;
  }
  #zo-popup .zo-text {
    font-size: 14px;
    margin-bottom: 14px;
  }
  #zo-popup .zo-boosts {
    gap: 8px;
    margin-bottom: 14px;
  }
  #zo-popup .zo-boost {
    padding: 10px 6px 9px;
  }
  #zo-popup .zo-boost-icon {
    font-size: 18px;
  }
  #zo-popup .zo-boost-name {
    font-size: 12px;
  }
  #zo-popup .zo-boost-hint {
    font-size: 10px;
  }
  #zo-popup .zo-guarantees {
    font-size: 12px;
    margin-bottom: 14px;
  }
  #zo-popup a.zo-cta {
    font-size: 16px;
    padding: 15px 18px;
  }
}
@media (max-width: 380px) {
  #zo-popup .zo-boost-hint {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   2. FLOATING TEASER PILL (after popup is dismissed)
   -------------------------------------------------------------------------- */
#zo-teaser {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99980;
  display: flex;
  align-items: center;
  font-family: var(--zo-font-head);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.55s var(--zo-ease-spring), opacity 0.35s ease;
}
#zo-teaser.zo-show {
  transform: translateY(0);
  opacity: 1;
}
#zo-teaser a.zo-teaser-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 40px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zo-navy-700) 0%, var(--zo-navy-900) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  box-shadow: 0 14px 30px -10px rgba(2, 8, 23, 0.6), 0 0 0 4px rgba(104, 170, 0, 0.12);
  transition: transform 0.25s var(--zo-ease-spring), box-shadow 0.25s ease;
}
#zo-teaser a.zo-teaser-link:hover {
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(2, 8, 23, 0.7), 0 0 0 5px rgba(104, 170, 0, 0.22);
}
#zo-teaser .zo-teaser-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zo-gold) 0%, var(--zo-amber) 100%);
  font-size: 19px;
  animation: zo-wiggle 3s ease-in-out infinite;
}
#zo-teaser .zo-teaser-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
#zo-teaser .zo-teaser-main {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}
#zo-teaser .zo-teaser-main b {
  color: var(--zo-lime);
}
#zo-teaser .zo-teaser-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
}
#zo-teaser .zo-teaser-x {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
#zo-teaser .zo-teaser-x:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
body.mobile-nav-open #zo-teaser {
  display: none;
}
@media (max-width: 480px) {
  #zo-teaser {
    left: 12px;
    bottom: 14px;
  }
  #zo-teaser .zo-teaser-sub {
    display: none;
  }
  #zo-teaser a.zo-teaser-link {
    padding: 7px 36px 7px 7px;
  }
  #zo-teaser .zo-teaser-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  #zo-teaser .zo-teaser-main {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   3. THANK-YOU PAGE: DISCOUNT REVEAL
   -------------------------------------------------------------------------- */
#zo-reveal {
  position: relative;
  max-width: 620px;
  margin: 18px auto 28px;
  font-family: var(--zo-font-body);
  text-align: center;
  -webkit-font-smoothing: antialiased;
}
#zo-reveal[hidden] {
  display: none !important;
}
#zo-reveal .zo-rv-card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 26px;
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(104, 170, 0, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.18) 0%, transparent 45%),
    linear-gradient(160deg, var(--zo-navy-700) 0%, var(--zo-navy-800) 55%, var(--zo-navy-900) 100%);
  box-shadow: 0 30px 70px -25px rgba(2, 8, 23, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: zo-rise 0.7s var(--zo-ease-out) both;
}
#zo-reveal .zo-rv-card::before {
  content: '';
  position: absolute;
  top: 140px;
  left: 50%;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.06) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle, #000 0%, transparent 60%);
  animation: zo-spin 30s linear infinite;
  pointer-events: none;
}
#zo-reveal .zo-rv-card > * {
  position: relative;
  z-index: 1;
}
#zo-reveal .zo-rv-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
#zo-reveal .zo-rv-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--zo-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0f2fe;
}
#zo-reveal .zo-rv-title {
  margin: 12px 0 4px;
  font-family: var(--zo-font-head);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}
#zo-reveal .zo-rv-sub {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
}

/* Stage: gift box (before) / percent (after) */
#zo-reveal .zo-rv-stage {
  position: relative;
  height: 190px;
  margin: 10px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#zo-reveal .zo-rv-gift {
  position: relative;
  width: 160px;
  height: 160px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.25s var(--zo-ease-spring), opacity 0.4s ease;
  animation: zo-float 3.2s ease-in-out infinite;
}
#zo-reveal .zo-rv-gift:hover {
  transform: scale(1.05);
}
#zo-reveal .zo-rv-gift:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.6);
  outline-offset: 6px;
  border-radius: 20px;
}
#zo-reveal .zo-rv-gift .zo-gift-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, rgba(251, 191, 36, 0) 68%);
  filter: blur(8px);
  animation: zo-glow 2.2s ease-in-out infinite;
}
#zo-reveal .zo-rv-gift svg {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5));
}
#zo-reveal .zo-gift-lid {
  transform-origin: 60px 52px;
  animation: zo-lid-shake 1.6s ease-in-out infinite;
}
#zo-reveal.zo-opened .zo-rv-gift {
  animation: none;
  pointer-events: none;
}
#zo-reveal.zo-opened .zo-gift-lid {
  animation: zo-lid-fly 0.75s var(--zo-ease-out) forwards;
}
#zo-reveal.zo-opened .zo-gift-base {
  animation: zo-base-drop 0.9s 0.35s ease forwards;
}
#zo-reveal .zo-rv-percent {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -30%) scale(0.3);
  opacity: 0;
  display: flex;
  align-items: flex-start;
  font-family: var(--zo-font-head);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
#zo-reveal.zo-opened .zo-rv-percent {
  animation: zo-pop 0.8s 0.35s var(--zo-ease-spring) forwards;
}
#zo-reveal .zo-rv-num {
  font-size: 128px;
  background: linear-gradient(180deg, #ffffff 0%, var(--zo-lime) 70%, #65a30d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(163, 230, 53, 0.35));
}
#zo-reveal .zo-rv-pct {
  margin-top: 14px;
  font-size: 58px;
  color: var(--zo-lime);
}
#zo-reveal .zo-rv-tap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zo-gold) 0%, var(--zo-amber) 100%);
  color: #422006;
  font-family: var(--zo-font-head);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.7);
  transition: transform 0.25s var(--zo-ease-spring), opacity 0.3s ease;
  animation: zo-pulse-btn 1.8s ease-in-out infinite;
}
#zo-reveal .zo-rv-tap:hover {
  transform: translateY(-2px) scale(1.03);
}
#zo-reveal.zo-opened .zo-rv-tap {
  display: none;
}

/* Result details (after reveal) */
#zo-reveal .zo-rv-result {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--zo-ease-out), opacity 0.6s ease;
}
#zo-reveal.zo-done .zo-rv-result {
  max-height: 640px;
  opacity: 1;
}
#zo-reveal .zo-rv-congrats {
  margin: 4px 0 14px;
  font-family: var(--zo-font-head);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}
#zo-reveal .zo-rv-congrats b {
  color: var(--zo-lime);
}
#zo-reveal .zo-rv-list {
  list-style: none;
  margin: 0 auto 14px;
  padding: 6px 16px;
  max-width: 400px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
#zo-reveal .zo-rv-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #e2e8f0;
  opacity: 0;
  transform: translateX(-8px);
}
#zo-reveal.zo-done .zo-rv-list li {
  animation: zo-slide-in 0.45s var(--zo-ease-out) forwards;
}
#zo-reveal .zo-rv-list li:last-child {
  border-bottom: 0;
}
#zo-reveal .zo-rv-list li.zo-rv-total {
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  font-family: var(--zo-font-head);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}
#zo-reveal .zo-rv-list .zo-rv-val {
  flex: 0 0 auto;
  font-family: var(--zo-font-head);
  font-weight: 800;
  color: var(--zo-lime);
}
#zo-reveal .zo-rv-list .zo-rv-cap {
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}
#zo-reveal .zo-rv-note {
  margin: 0 auto;
  max-width: 470px;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}
#zo-reveal .zo-rv-note strong {
  color: #ffffff;
}
#zo-reveal .zo-rv-fine {
  margin: 10px auto 0;
  max-width: 470px;
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
}
@media (max-width: 520px) {
  #zo-reveal .zo-rv-card {
    padding: 24px 16px 20px;
    border-radius: 20px;
  }
  #zo-reveal .zo-rv-title {
    font-size: 20px;
  }
  #zo-reveal .zo-rv-stage {
    height: 160px;
  }
  #zo-reveal .zo-rv-gift {
    width: 130px;
    height: 130px;
  }
  #zo-reveal .zo-rv-num {
    font-size: 104px;
  }
  #zo-reveal .zo-rv-pct {
    font-size: 46px;
  }
}

/* --------------------------------------------------------------------------
   4. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes zo-spin { to { transform: rotate(360deg); } }
@keyframes zo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes zo-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes zo-lid-tease {
  0%, 70%, 100% { transform: translateY(0) rotate(0deg); }
  76% { transform: translateY(-9px) rotate(-6deg); }
  82% { transform: translateY(-4px) rotate(5deg); }
  88% { transform: translateY(-7px) rotate(-3deg); }
  94% { transform: translateY(0) rotate(0deg); }
}
@keyframes zo-lid-shake {
  0%, 60%, 100% { transform: translateY(0) rotate(0deg); }
  68% { transform: translateY(-6px) rotate(-7deg); }
  76% { transform: translateY(-3px) rotate(6deg); }
  84% { transform: translateY(-5px) rotate(-4deg); }
  92% { transform: translateY(0) rotate(0deg); }
}
@keyframes zo-lid-fly {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translate(30px, -150px) rotate(38deg); opacity: 0; }
}
@keyframes zo-base-drop {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}
@keyframes zo-pop {
  0% { transform: translate(-50%, -30%) scale(0.3); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes zo-wiggle {
  0%, 80%, 100% { transform: rotate(0deg) scale(1); }
  84% { transform: rotate(-12deg) scale(1.08); }
  88% { transform: rotate(10deg) scale(1.08); }
  92% { transform: rotate(-6deg) scale(1.04); }
  96% { transform: rotate(0deg) scale(1); }
}
@keyframes zo-shine { to { background-position: -220% center; } }
@keyframes zo-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(90deg); }
}
@keyframes zo-ping {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
@keyframes zo-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zo-slide-in {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes zo-sweep {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
@keyframes zo-pulse-btn {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.7), 0 0 0 0 rgba(251, 191, 36, 0.5); }
  50% { box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.7), 0 0 0 10px rgba(251, 191, 36, 0); }
}

@media (prefers-reduced-motion: reduce) {
  #zo-popup *,
  #zo-popup *::before,
  #zo-popup *::after,
  #zo-teaser *,
  #zo-reveal *,
  #zo-reveal *::before,
  #zo-reveal *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
