/* ============================================================
   InteractiveWish — Diwali Scratch Card Landing CSS
   Prefix: dsc-
   Extends universal-landing.css
   Palette allineata all'editor: oro dei lumi #F2B632,
   bordeaux #7B1E3A, blu notte #1A1040, crema #FFF8EC.
   ============================================================ */

/* ── SPOOKY (hero) ─────────────────────────────────────────── */
.dsc-lights-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.dsc-lights-item {
  position: absolute;
  animation: dsc-float linear infinite;
  opacity: 0;
  user-select: none;
  font-style: normal;
}
@keyframes dsc-float {
  0%   { opacity: 0; transform: translateY(0) rotate(-6deg) scale(0.7); }
  8%   { opacity: 0.8; }
  50%  { transform: translateY(-55vh) rotate(8deg) scale(1.05); }
  92%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-110vh) rotate(-5deg) scale(1.1); }
}

/* ── HERO title em ──────────────────────────────────────────── */
.ulp-hero-title em {
  background: linear-gradient(135deg, #f2b632 0%, #ff9f1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Idea card borders — alternate gold / maroon ──────────── */
.ulp-idea-card {
  border-left-color: #f2b632;
}
.ulp-idea-card:nth-child(2n) {
  border-left-color: #7b1e3a;
}

/* ── Emotional close block ──────────────────────────────────── */
.dsc-emotional-close {
  background: linear-gradient(135deg, rgba(242,182,50,0.16) 0%, rgba(123,30,58,0.14) 100%);
  border-color: rgba(242,182,50,0.3);
}

/* ── CTA primary ────────────────────────────────────────────── */
.ulp-cta--primary {
  background: linear-gradient(135deg, #f2b632 0%, #c8891a 100%);
  color: #1a1040;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(242,182,50,0.4);
}
.ulp-cta--primary:hover {
  background: linear-gradient(135deg, #f6c552 0%, #f2b632 100%);
  box-shadow: 0 8px 26px rgba(242,182,50,0.5);
}

/* ── Step number — maroon for even ────────────────────── */
.ulp-how-step:nth-child(2n) .ulp-how-step-num {
  background: linear-gradient(135deg, #7b1e3a 0%, #561428 100%);
  color: #fff;
}

/* ── Nav CTA ────────────────────────────────────────────────── */
.ulp-nav-cta--primary {
  background: linear-gradient(135deg, #f2b632 0%, #c8891a 100%);
  color: #1a1040;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(242,182,50,0.38);
}

/* ── Eyebrow gradient ───────────────────────────────────────── */
.ulp-eyebrow {
  background: linear-gradient(135deg, #f2b632 0%, #7b1e3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Logo gradient ──────────────────────────────────────────── */
.ulp-logo-text {
  background: linear-gradient(135deg, #f2b632 0%, #ff9f1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Sections: crema calda e lavanda, come l'editor ─────────── */
.ulp-section--alt {
  background: #fff8ec;
}
.ulp-section--light {
  background: #fff1dc;
}

/* ── Example cards: il messaggio e il protagonista ──────────── */
.ulp-example-card {
  border-color: rgba(242,182,50,0.3);
}
.ulp-example-label {
  color: #c8891a;
}

/* ── Stars ──────────────────────────────────────────────────── */
.ulp-stars {
  color: #f2b632;
}

@media (prefers-reduced-motion: reduce) {
  .dsc-lights-item {
    animation: none;
    opacity: 0.4;
  }
}

/* ── PLANS (free vs premium) ────────────────────────────────── */
.dsc-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}
.dsc-plan {
  background: #fff;
  border-radius: var(--ulp-radius, 16px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23, 19, 38, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Il premium sta leggermente più in alto: a parità di contenuto l'occhio
   si ferma prima sul riquadro che sporge. */
.dsc-plan--featured {
  box-shadow: 0 10px 40px rgba(242, 182, 50, 0.28);
  border: 2px solid rgba(242, 182, 50, 0.45);
}
@media (min-width: 720px) {
  .dsc-plan--featured {
    transform: translateY(-8px);
  }
}
.dsc-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f2b632 0%, #c8891a 100%);
  color: #1a1040;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.dsc-plan-header {
  padding: 28px 22px 20px;
  text-align: center;
}
.dsc-plan-header--free {
  background: #fff1dc;
}
.dsc-plan-header--premium {
  background: linear-gradient(160deg, #fff4e5 0%, #ffe0c2 100%);
}
.dsc-plan-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
}
.dsc-plan-header h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: #1a1040;
}
.dsc-plan-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: #c8891a;
  line-height: 1.1;
}
.dsc-plan-header--free .dsc-plan-price {
  color: #7b1e3a;
}
.dsc-plan-price s {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.55;
  margin-left: 6px;
}
.dsc-plan-desc {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #4a3a5c;
  line-height: 1.5;
}
.dsc-plan-features {
  list-style: none;
  margin: 0;
  padding: 20px 22px;
  flex: 1;
}
.dsc-plan-features li {
  padding: 9px 0;
  font-size: 0.94rem;
  color: #24152f;
  border-bottom: 1px solid rgba(123, 30, 58, 0.1);
}
.dsc-plan-features li:last-child {
  border-bottom: none;
}
.dsc-plan-cta {
  margin: 0 22px 22px;
  text-align: center;
}
/* La gratuita non deve competere col premium: contorno invece di pieno. */
.dsc-plan-cta--free {
  background: #fff;
  color: #7b1e3a;
  border: 2px solid #7b1e3a;
  box-shadow: none;
}
.dsc-plan-cta--free:hover {
  background: #fff1dc;
}
.dsc-plans-note {
  text-align: center;
  margin: 28px auto 0;
  font-size: 0.88rem;
  color: #4a3a5c;
  max-width: 480px;
}
