@charset "UTF-8";

/* ============================================================
   Phase 2.12 PART 1 — Ambient backdrop on the wizard shell
   Multi-color radial gradients with slow drift. Sits BEHIND
   all wizard content via a ::before pseudo. Shell stays
   transparent so the modal's own bg shows through.
   ============================================================ */
#ev2bwModal#ev2bwModal#ev2bwModal{
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%,    rgba(253,194,59,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%,   rgba(176,140,255,.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%,   rgba(59,220,255,.08), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%,  rgba(255,95,162,.05), transparent 70%),
    #050509 !important;
}

/* Animated ambient drift via a fixed pseudo-layer below content */
#ev2bwModal#ev2bwModal#ev2bwModal::before{
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background:
    radial-gradient(ellipse 40% 30% at 30% 20%,  rgba(253,194,59,.06),  transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 80%,  rgba(176,140,255,.05), transparent 70%);
  animation: _ev2amb-drift 32s ease-in-out infinite alternate !important;
  opacity: .9 !important;
}
@keyframes _ev2amb-drift {
  0%   { transform: translate3d(0, 0, 0)        scale(1.00); }
  50%  { transform: translate3d(2%, -1.5%, 0)   scale(1.06); }
  100% { transform: translate3d(-2%, 1.5%, 0)   scale(1.00); }
}

/* Shell stays transparent so backdrop shows through; thin gold hairline
   along the inside edges to feel screen-bordered without being a box. */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-shell{
  background: transparent !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-overlay{
  background: transparent !important;
}

/* ============================================================
   Phase 2.12 PART 2 — Universal royal title treatment
   Single-ID specificity so Phase 2.10's triple-ID rules
   inside [data-ev2cs="1"] still win where they apply.
   This catches Step 5 (Hook), Step 6 (Title tone), Step 7
   (Platform), and any other step that uses .ev2bw-opt.
   ============================================================ */
#ev2bwModal .ev2bw-opt-title{
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.15px;
  background: linear-gradient(120deg, #ffd567 0%, #fdc23b 38%, #ff5fa2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Sub-label kept readable in Manrope, slight lift in opacity */
#ev2bwModal .ev2bw-opt-sub{
  font-family: 'Manrope', system-ui, sans-serif;
  color: rgba(220,220,220,.62);
  letter-spacing: .1px;
}

/* Pills: JetBrains Mono caps, restore solid fill so they don't disappear
   under the gradient title text-fill. */
#ev2bwModal .ev2bw-opt-title .ev2bw-pill{
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .5px;
  -webkit-text-fill-color: currentColor;
}

/* ============================================================
   Phase 2.12 PART 3 — Card hover & selected glow
   Triple-ID specificity here so the polished states reliably win.
   ============================================================ */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt{
  transition: transform .22s cubic-bezier(.34,1.56,.64,1),
              border-color .22s ease,
              box-shadow .35s ease,
              background .25s ease !important;
  position: relative !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt:hover:not(.selected):not(.locked){
  transform: translateY(-2px) !important;
  border-color: rgba(253,194,59,.45) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.45),
              0 0 0 1px rgba(253,194,59,.18) inset !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt.selected{
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,95,162,.07), transparent 70%),
    linear-gradient(135deg, rgba(253,194,59,.16), rgba(255,95,162,.06)) !important;
  border: 1.5px solid #fdc23b !important;
  box-shadow:
    0 8px 32px rgba(253,194,59,.28),
    0 0 0 1px rgba(255,95,162,.20) inset,
    0 0 40px -10px rgba(253,194,59,.55) !important;
  animation: _ev2amb-pulse 4.5s ease-in-out infinite !important;
}
@keyframes _ev2amb-pulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(253,194,59,.28),
      0 0 0 1px rgba(255,95,162,.20) inset,
      0 0 40px -10px rgba(253,194,59,.55);
  }
  50% {
    box-shadow:
      0 10px 40px rgba(253,194,59,.40),
      0 0 0 1px rgba(255,95,162,.32) inset,
      0 0 56px -8px rgba(253,194,59,.78);
  }
}

/* Locked cards (paid tiers): gentle gold tint instead of plain dim,
   feels unlock-able rather than walled off. */
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt.locked{
  background: rgba(253,194,59,.018) !important;
  border-color: rgba(253,194,59,.18) !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-opt.locked:hover{
  border-color: rgba(253,194,59,.42) !important;
  background: rgba(253,194,59,.04) !important;
}

/* ============================================================
   Phase 2.12 PART 4 — Headers & tier-divider labels (defensive)
   Targets common tier-label text patterns across phases without
   guessing exact class names.
   ============================================================ */
#ev2bwModal [class*="-tier"][class*="-label"],
#ev2bwModal [class*="tier-header"]{
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  font-style: italic !important;
  letter-spacing: .3px !important;
  color: rgba(253,194,59,.82) !important;
}

/* Step content body — let the ambient show through */
#ev2bwModal#ev2bwModal#ev2bwModal #ev2bwBody,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-body{
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

/* The "DECREE — So Far" rail on the left of the chip strip — the
   little crown icon should glow gold-magenta to match. */
#ev2bwModal .ev2bsf-rail-decree-label{
  background: linear-gradient(120deg, #ffd567, #ff5fa2) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* The big yellow "Continue (FORMAT)" CTA — punch up with subtle gradient,
   keep the italic Fraunces label, add a soft outer glow on hover. */
#ev2bwModal#ev2bwModal#ev2bwModal #ev2bwNext,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-btn-primary{
  background: linear-gradient(135deg, #ffd567 0%, #fdc23b 50%, #c9941f 100%) !important;
  box-shadow: 0 8px 28px rgba(253,194,59,.35),
              0 0 0 1px rgba(0,0,0,.05) inset !important;
  transition: transform .18s ease, box-shadow .25s ease !important;
}
#ev2bwModal#ev2bwModal#ev2bwModal #ev2bwNext:hover,
#ev2bwModal#ev2bwModal#ev2bwModal .ev2bw-btn-primary:hover{
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 12px 40px rgba(253,194,59,.5),
              0 0 60px -10px rgba(253,194,59,.6),
              0 0 0 1px rgba(0,0,0,.05) inset !important;
}

/* "Skip — let AI decide all" link: italic Cormorant whisper */
#ev2bwModal .ev2bw-skip,
#ev2bwModal [class*="-skip"]{
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  font-style: italic !important;
  letter-spacing: .3px !important;
  color: rgba(255,255,255,.4) !important;
  transition: color .2s ease !important;
}
#ev2bwModal .ev2bw-skip:hover,
#ev2bwModal [class*="-skip"]:hover{
  color: rgba(253,194,59,.7) !important;
}
