/* ============================================================
   MIRROR — Promo Popup STYLES (Salla → Custom CSS)
   Editorial white · bold typography · coral accent
   Paired with mirror-popup.js
   ============================================================ */

/* Backdrop */
.mirror-promo {
  position: fixed; inset: 0;
  background: rgba(20, 18, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  z-index: 999999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  font-family: "Almarai", "Cairo", "Segoe UI", sans-serif;
  direction: rtl;
}
.mirror-promo.is-open { opacity: 1; visibility: visible; }

/* Card */
.mirror-promo__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.8rem 2.2rem 2rem;
  text-align: center;
  color: #1a1a1a;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.55s cubic-bezier(.16,.84,.32,1);
  overflow: hidden;
}
.mirror-promo.is-open .mirror-promo__card { transform: scale(1) translateY(0); }

/* Soft coral blob top-right */
.mirror-promo__card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd9d9 0%, #ffe9e3 40%, transparent 75%);
  pointer-events: none;
  opacity: 0.9;
  animation: mirrorPromoBlobA 12s ease-in-out infinite;
}
/* Soft cream blob bottom-left */
.mirror-promo__card::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4e6 0%, #fff9f0 50%, transparent 75%);
  pointer-events: none;
  animation: mirrorPromoBlobB 14s ease-in-out infinite;
}
@keyframes mirrorPromoBlobA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-12px, 14px) scale(1.05); }
}
@keyframes mirrorPromoBlobB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(10px, -10px) scale(1.03); }
}

/* Close */
.mirror-promo__close {
  position: absolute; top: 0.9rem; left: 0.9rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: #f4f3f1;
  border: none; color: #1a1a1a;
  font-size: 1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
  font-family: inherit;
  z-index: 5;
}
.mirror-promo__close:hover {
  background: #1a1a1a; color: #fff;
  transform: rotate(90deg);
}

/* Eyebrow */
.mirror-promo__eyebrow {
  position: relative; z-index: 2;
  display: inline-block;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.4em;
  color: #f25b65;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* Hide the big number — kept in HTML for layout but invisible */
.mirror-promo__sparkles { display: none; }
.mirror-promo__big {
  position: relative; z-index: 2;
  font-family: "Cormorant Garamond", "Almarai", serif;
  font-size: clamp(5rem, 13vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f25b65;
  margin: 0.2rem 0 0.6rem;
  display: inline-block;
  animation: mirrorPromoBob 4s ease-in-out infinite;
}
@keyframes mirrorPromoBob {
  0%, 100% { transform: translateY(0)    rotate(-2deg); }
  50%      { transform: translateY(-4px) rotate(2deg);  }
}

/* Headline */
.mirror-promo__headline {
  position: relative; z-index: 2;
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.mirror-promo__headline .gold {  /* class kept for compatibility — now coral */
  color: #f25b65;
  font-weight: 800;
}

/* Lead */
.mirror-promo__lead {
  position: relative; z-index: 2;
  font-size: 0.92rem;
  color: #6a6a6a;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  max-width: 350px;
  margin-inline: auto;
}

/* Deal chip — coral pill */
.mirror-promo__deal {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  font-size: 0.85rem; font-weight: 800;
  color: #f25b65;
  background: #ffeceb;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

/* CTA — solid black with shimmer */
.mirror-promo__cta {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: #1a1a1a; color: #fff;
  text-decoration: none; font-weight: 800; font-size: 0.95rem;
  padding: 1rem 2rem; border-radius: 999px;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
}
.mirror-promo__cta::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.9s cubic-bezier(.16,.84,.32,1);
}
.mirror-promo__cta:hover {
  background: #f25b65;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(242, 91, 101, 0.35);
}
.mirror-promo__cta:hover::before { left: 125%; }

/* Fine print */
.mirror-promo__fine {
  position: relative; z-index: 2;
  margin-top: 0.9rem;
  font-size: 0.68rem;
  color: #b0b0b0;
  letter-spacing: 0.05em;
}
.mirror-promo__fine button {
  background: none; border: none;
  color: #8a8a8a;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; font-family: inherit; font-size: inherit;
}
.mirror-promo__fine button:hover { color: #1a1a1a; }

@media (max-width: 520px) {
  .mirror-promo__card { padding: 2.4rem 1.4rem 1.7rem; }
  .mirror-promo__big  { font-size: 5.2rem; }
}