/* ─────────────────────────────────────────────────────────────
   Animated spotlight banners
   - blurred, slowly drifting copy of the flyer fills the frame (no black bars)
   - active flyer fades/unblurs in, then slowly zooms (Ken Burns)
   - story-style progress bars across the top (tap to jump)
   - caption details animate in; chips label each highlight
   ───────────────────────────────────────────────────────────── */
.spot-stage{position:relative;overflow:hidden}

/* frame */
.spot .spotlight-media{
  position:relative;display:grid;place-items:center;overflow:hidden;
  aspect-ratio:16/9;background:#06110b;isolation:isolate;
}
.spot .spotlight-media::after{content:none}
.spot-ambient{
  position:absolute;inset:-14%;z-index:-2;
  background:var(--bg) center / cover no-repeat;
  filter:blur(34px) saturate(1.35) brightness(.72);
  animation:ambientIn 1s ease-out both,ambientDrift 18s ease-in-out infinite alternate;
}
.spot .spotlight-media::before{ /* soft vignette for depth */
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(120% 90% at 50% 50%,transparent 55%,rgba(3,10,6,.55) 100%);
}
.spot .spotlight-media img.spot-img{
  position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.35));
  transform-origin:50% 50%;
}
.spot .spotlight-slide:not([hidden]) .spot-img{
  animation:spotImgIn .85s cubic-bezier(.22,1,.36,1) both,kenburns var(--slide-ms,8000ms) linear both;
}
.spot.is-paused .spotlight-slide:not([hidden]) .spot-img{animation-play-state:running,paused}
.spot.is-paused .spot-ambient{animation-play-state:running,paused}
@keyframes spotImgIn{from{opacity:0;filter:blur(12px) drop-shadow(0 18px 30px rgba(0,0,0,0));translate:0 14px}to{opacity:1;filter:blur(0) drop-shadow(0 18px 30px rgba(0,0,0,.35));translate:0 0}}
@keyframes kenburns{from{scale:1}to{scale:1.04}}
@keyframes ambientIn{from{opacity:0}to{opacity:1}}
@keyframes ambientDrift{from{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(2%,1.5%,0) scale(1.06)}}

/* story bars */
.spot-bars{
  position:absolute;top:0;left:0;right:0;z-index:5;display:flex;gap:6px;
  padding:12px 16px 26px;pointer-events:none;
  background:linear-gradient(180deg,rgba(3,10,6,.55),rgba(3,10,6,0));
}
.spot-bar{flex:1;pointer-events:auto;height:20px;padding:8px 0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.spot-bar>span{position:relative;display:block;height:4px;border-radius:4px;overflow:hidden;background:rgba(255,255,255,.32);transition:background .25s ease}
.spot-bar:hover>span{background:rgba(255,255,255,.5)}
.spot-bar>span::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,#fff,var(--gold-bright));transform-origin:left;transform:scaleX(0)}
.spot-bar.done>span::after{transform:scaleX(1);background:#fff}
.spot-bar.current>span::after{animation:optfill var(--slide-ms,8000ms) linear forwards}
.spot.is-paused .spot-bar.current>span::after{animation-play-state:paused}
.spot.is-user-paused .spot-bar.current>span::after,
.spot.is-user-paused .opt[aria-selected="true"] .opt-progress.run{animation:none;transform:scaleX(1)}
.spot-bar:focus-visible{outline:none}
.spot-bar:focus-visible>span{outline:2px solid var(--gold-bright);outline-offset:3px}

/* enlarge chip */
.spot-zoom{
  position:absolute;right:14px;bottom:14px;z-index:4;
  display:inline-flex;align-items:center;gap:.45rem;height:38px;padding:0 .8rem 0 .7rem;border-radius:999px;
  background:rgba(255,255,255,.92);color:var(--emerald-deep);font-size:.8rem;font-weight:600;
  box-shadow:0 10px 24px -10px rgba(0,0,0,.45);
  transform:translateY(6px);opacity:0;transition:opacity .3s ease,transform .3s cubic-bezier(.22,1,.36,1),background .2s;
  pointer-events:none;
}
.spot-zoom svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.spot .spotlight-media:hover .spot-zoom,.spot .spotlight-media:focus-visible .spot-zoom{opacity:1;transform:none}
@media(hover:none){.spot-zoom{opacity:1;transform:none;width:38px;padding:0;justify-content:center}.spot-zoom span{display:none}}

/* caption */
.spot-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.65rem}
.chip{display:inline-flex;align-items:center;gap:.4rem;padding:.32rem .72rem;border-radius:999px;background:#F0EEE6;color:var(--emerald-deep);font-size:.78rem;font-weight:600;line-height:1}
.chip svg{width:14px;height:14px;fill:none;stroke:var(--gold-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip-hot{background:linear-gradient(120deg,#C9A227,#E8C766);color:#1A1405}
.chip-hot i{width:7px;height:7px;border-radius:50%;background:#1A1405;animation:hotdot 1.6s ease-in-out infinite}
@keyframes hotdot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.spot .spotlight-caption h3{font-size:1.5rem;line-height:1.2}
.spot .spotlight-slide:not([hidden]) .spot-chips,
.spot .spotlight-slide:not([hidden]) .spotlight-caption h3,
.spot .spotlight-slide:not([hidden]) .spotlight-caption p,
.spot .spotlight-slide:not([hidden]) .spotlight-caption .pill{animation:capIn .6s cubic-bezier(.22,1,.36,1) both}
.spot .spotlight-slide:not([hidden]) .spotlight-caption h3{animation-delay:.08s}
.spot .spotlight-slide:not([hidden]) .spotlight-caption p{animation-delay:.16s}
.spot .spotlight-slide:not([hidden]) .spotlight-caption .pill{animation-delay:.24s}
@keyframes capIn{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
.spot .spotlight-slide:not([hidden]){animation:none}

@media(max-width:768px){
  .spot-bars{padding:10px 12px 22px}
  .spot .spotlight-caption h3{font-size:1.3rem}
}
@media(prefers-reduced-motion:reduce){
  .spot-ambient,.spot .spotlight-slide:not([hidden]) .spot-img,.spot-bar>span::after,.chip-hot i,
  .spot .spotlight-slide:not([hidden]) .spot-chips,.spot .spotlight-slide:not([hidden]) .spotlight-caption *{animation:none!important}
  .spot-bar.current>span::after{transform:scaleX(1)}
}
