/* 老粉终身会员回馈弹窗 — 贴合狗运极佳 island 视觉 */
.promo-lifetime-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(61, 52, 40, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.promo-lifetime-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.promo-lifetime-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  color: #725d42;
  background: #f8f8f0;
  border: 2px solid #c4b89e;
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(121, 79, 39, 0.14), 0 24px 48px rgba(61, 52, 40, 0.18);
  font-family: Nunito, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-weight: 500;
  line-height: 1.65;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s ease;
}

.promo-lifetime-overlay.is-open .promo-lifetime-modal {
  transform: translateY(0) scale(1);
}

.promo-lifetime-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #8a7b66;
  background: #fffdf3;
  border: 2px solid #9f927d;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.promo-lifetime-close:hover {
  color: #794f27;
  transform: scale(1.05);
}

.promo-lifetime-ribbon {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 16px;
  padding: 0 24px;
  color: #fff;
  background: #e59266;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
  filter: drop-shadow(0 3px 0 rgba(121, 79, 39, 0.2));
}

.promo-lifetime-title {
  margin: 0 0 6px;
  color: #794f27;
  font-size: clamp(22px, 5vw, 26px);
  font-weight: 900;
  line-height: 1.25;
}

.promo-lifetime-subtitle {
  margin: 0 0 18px;
  color: #8a7b66;
  font-size: 14px;
  font-weight: 700;
}

.promo-lifetime-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.promo-lifetime-price-old {
  color: #a89882;
  font-size: 20px;
  font-weight: 800;
  text-decoration: line-through;
}

.promo-lifetime-price-new {
  color: #19c8b9;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.promo-lifetime-price-new small {
  font-size: 22px;
}

.promo-lifetime-save {
  padding: 4px 10px;
  color: #794f27;
  background: rgba(25, 200, 185, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.promo-lifetime-deadline {
  margin-bottom: 16px;
  padding: 10px 14px;
  color: #794f27;
  background: rgba(229, 146, 102, 0.14);
  border: 1px solid rgba(229, 146, 102, 0.35);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.promo-lifetime-deadline strong {
  color: #c45a2a;
}

.promo-lifetime-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  color: #634a2e;
}

.promo-lifetime-perks li::before {
  content: "✓ ";
  color: #19c8b9;
}

.promo-lifetime-cta {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 0 20px;
  color: #fff9e3;
  background: #19c8b9;
  border: 2px solid #0ea99d;
  border-radius: 50px;
  box-shadow: 0 5px 0 #0ea99d;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-lifetime-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #0ea99d;
}

.promo-lifetime-dismiss {
  display: block;
  width: 100%;
  padding: 8px;
  color: #8a7b66;
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.promo-lifetime-dismiss:hover {
  color: #794f27;
}

.promo-lifetime-wechat {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px dashed rgba(196, 184, 158, 0.7);
}

.promo-lifetime-wechat.is-visible {
  display: block;
}

.promo-lifetime-wechat-title {
  margin: 0 0 12px;
  color: #794f27;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.promo-lifetime-wechat-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}

.promo-lifetime-qr {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid #c4b89e;
  background: #fff;
}

.promo-lifetime-wechat-info {
  display: grid;
  gap: 8px;
}

.promo-lifetime-wechat-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #634a2e;
}

.promo-lifetime-copy {
  padding: 6px 12px;
  color: #794f27;
  background: #fffdf3;
  border: 2px solid #9f927d;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease;
}

.promo-lifetime-copy:hover {
  background: #fff;
}

.promo-lifetime-copy.is-copied {
  color: #0ea99d;
  border-color: #19c8b9;
}

.promo-lifetime-wechat-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #8a7b66;
  line-height: 1.5;
}

.promo-lifetime-note {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #a89882;
  line-height: 1.5;
  text-align: center;
}

.promo-lifetime-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #fff9e3;
  background: #e59266;
  border: 2px solid #c45a2a;
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(121, 79, 39, 0.22);
  font-family: Nunito, "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.promo-lifetime-fab.is-visible {
  display: inline-flex;
}

.promo-lifetime-fab:hover {
  transform: translateY(-2px);
}

@media (max-width: 400px) {
  .promo-lifetime-wechat-body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .promo-lifetime-wechat-id {
    justify-content: center;
  }
}
