/* =============================================
   WELCOME POPUP — ALL NATURALS
   ============================================= */

/* ── Backdrop ── */
#an-welcome-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 30, 0.72);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(3px);
}

#an-welcome-backdrop.an-welcome-visible {
  opacity: 1;
}

/* ── Box ── */
#an-welcome-box {
  position: relative;
  background: linear-gradient(160deg, #fff8fb 0%, #fdf4ff 50%, #f8f0ff 100%);
  border: 2px solid rgba(209, 95, 138, 0.3);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(155, 89, 182, 0.25),
    0 8px 24px rgba(209, 95, 138, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: scale(0.88) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#an-welcome-backdrop.an-welcome-visible #an-welcome-box {
  transform: scale(1) translateY(0);
}

/* ── Close button ── */
#an-welcome-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #c8a0c0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

#an-welcome-close:hover {
  color: #d15f8a;
  background: rgba(209, 95, 138, 0.1);
}

/* ── Flame icon ── */
.an-wlc-flame {
  font-size: 2.8rem;
  margin-bottom: 10px;
  animation: an-wlc-sway 3s ease-in-out infinite;
  display: block;
}

@keyframes an-wlc-sway {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50%       { transform: rotate(4deg)  scale(1.08); }
}

/* ── Title ── */
.an-wlc-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #5f3b7a;
  margin: 0 0 10px;
  line-height: 1.2;
}

/* ── Body text ── */
.an-wlc-text {
  color: #7a5a8a;
  font-size: 1rem;
  margin: 0 0 16px;
  line-height: 1.55;
}

/* ── 10% badge ── */
.an-wlc-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e07a9f, #c14a7b, #9b59b6);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  padding: 10px 32px;
  border-radius: 60px;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(193, 74, 123, 0.4);
  margin-bottom: 14px;
  animation: an-wlc-pulse 2.2s ease-in-out infinite;
}

@keyframes an-wlc-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(193, 74, 123, 0.4); }
  50%       { box-shadow: 0 8px 30px rgba(193, 74, 123, 0.7), 0 0 0 6px rgba(193,74,123,0.12); }
}

/* ── Sub-text ── */
.an-wlc-subtext {
  color: #7a5a8a;
  font-size: 0.95rem;
  margin: 0 0 16px;
}

/* ── Coupon row ── */
.an-wlc-coupon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.an-wlc-coupon {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #4a2060;
  background: #f0e8ff;
  border: 2px dashed #c5a0e0;
  border-radius: 10px;
  padding: 10px 20px;
  user-select: all;
}

.an-wlc-copy {
  background: linear-gradient(135deg, #9b59b6, #7d3c98);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.an-wlc-copy:hover {
  background: linear-gradient(135deg, #b07ed4, #9b59b6);
  transform: translateY(-1px);
}

.an-wlc-copy:active {
  transform: translateY(1px);
}

/* ── Fine print ── */
.an-wlc-fine {
  font-size: 0.75rem;
  color: #b090c0;
  margin: 0 0 22px;
  line-height: 1.4;
}

/* ── CTA button ── */
.an-wlc-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #e07a9f, #c14a7b, #9b59b6);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(193, 74, 123, 0.35);
  transition: all 0.3s ease;
}

.an-wlc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(193, 74, 123, 0.5);
  background: linear-gradient(135deg, #f8a5c2, #d15f8a, #b07ed4);
}

/* ── Mobile ── */
@media (max-width: 480px) {
  #an-welcome-box {
    padding: 36px 22px 28px;
    border-radius: 18px;
  }
  .an-wlc-title  { font-size: 1.3rem; }
  .an-wlc-badge  { font-size: 1.7rem; padding: 8px 24px; }
  .an-wlc-coupon { font-size: 1rem; letter-spacing: 2px; padding: 8px 14px; }
}
