/* Speaker gallery (/didishree.php) — cinematic hero, verse marquee, masonry gallery, lightbox, lite video */

/* ---------- hero ---------- */
/* transparent cut-out stands on the right, in a golden halo with slow rings (mobile: on top, text below) */
.sp-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(78vh, 680px); display: flex; align-items: center; color: #fff;
  background: radial-gradient(ellipse 50% 75% at 74% 48%, rgba(155,36,99,.9), transparent 70%), radial-gradient(ellipse 80% 90% at 18% 40%, #6e1845, #2a0718 72%); }
.sp-hero > .mo-fx { z-index: -2; }
.sp-hero-photo { position: absolute; right: 3%; top: 5%; bottom: 0; width: 46%; z-index: -1; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.sp-hero-photo img { position: relative; z-index: 2; max-width: 100%; max-height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 18px 36px rgba(20,2,10,.45)); transform-origin: 50% 100%;
  animation: sp-photo-in 1.3s .25s cubic-bezier(.2,.8,.25,1) backwards, sp-breathe 8s 1.6s ease-in-out infinite; }
.sp-halo, .sp-ring { position: absolute; left: 50%; top: 40%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.sp-halo { width: 82%; background: radial-gradient(circle, rgba(255,214,110,.6), rgba(255,214,110,.14) 46%, rgba(255,214,110,0) 70%); animation: sp-halo 6s ease-in-out infinite; }
.sp-ring { width: 70%; border: 2px dashed rgba(255,214,110,.5); animation: sp-spin 60s linear infinite; }
.sp-ring.r2 { width: 92%; border: 1px solid rgba(255,214,110,.25); animation-duration: 95s; animation-direction: reverse; }
.sp-hero .mo-mandala { left: 22%; }
.sp-hero-in { position: relative; width: 100%; padding-top: 64px; padding-bottom: 90px; }
.sp-hero-in > * { max-width: 600px; }
#sp-gallery, #sp-video { scroll-margin-top: 84px; }
.sp-kicker { display: inline-block; font-size: 13.5px; font-weight: 600; letter-spacing: .5px; padding: 6px 16px; border-radius: 30px; border: 1px solid rgba(255,214,110,.45); background: rgba(255,255,255,.08); color: #ffe6a8; backdrop-filter: blur(4px); animation: sp-rise .8s .1s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-hero h1 { font-family: var(--font-dev); color: #fff; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.25; margin: 16px 0 8px; perspective: 700px; }
.sp-hero h1 span { display: inline-block; padding: .14em .04em .06em; animation: sp-word 1s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-hero h1 span:first-child { animation-delay: .25s; }
.sp-hero h1 span:last-child { animation-delay: .45s; background: linear-gradient(90deg, #ffd66e, #ffb3d8, #ffe9a8, #ffd66e); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sp-word 1s .45s cubic-bezier(.2,.8,.25,1) backwards, sp-flow 5s 1.4s linear infinite; }
.sp-name { font-family: var(--font-dev); font-size: clamp(18px, 2.3vw, 24px); color: #ffe0ef; animation: sp-rise .9s .65s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-name b { color: #fff; }
.sp-name span { color: #f3c4dd; font-size: .85em; }
.sp-lead { max-width: 560px; color: #f6dcea; margin-top: 10px; line-height: 1.85; animation: sp-rise .9s .8s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; animation: sp-rise .9s .95s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-ghost { background: rgba(255,255,255,.1); color: #fff; border: 2px solid rgba(255,255,255,.75); backdrop-filter: blur(4px); }
.sp-ghost:hover { background: #fff; color: var(--magenta-dark); transform: translateY(-2px); }
.sp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; animation: sp-rise .9s 1.1s cubic-bezier(.2,.8,.25,1) backwards; }
.sp-chips span { font-size: 13px; padding: 7px 14px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #f6dcea; backdrop-filter: blur(4px); }
.sp-chips b { color: #ffd66e; font-size: 15px; }
.sp-scroll { position: absolute; left: 50%; bottom: 22px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.7); border-radius: 16px; }
.sp-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #ffd66e; animation: sp-wheel 1.8s ease-in-out infinite; }

/* ---------- verse marquee ---------- */
.sp-marquee { overflow: hidden; background: linear-gradient(90deg, var(--magenta-dark), var(--magenta), var(--pink)); color: #fff; padding: 14px 0; box-shadow: 0 10px 30px rgba(192,41,122,.25); }
.sp-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: sp-marquee 38s linear infinite; }
.sp-track span { font-family: var(--font-dev); font-size: 19px; white-space: nowrap; }
.sp-track i { font-style: normal; color: #ffd66e; font-size: 15px; }
.sp-marquee:hover .sp-track { animation-play-state: paused; }

/* ---------- masonry gallery ---------- */
.sp-masonry { columns: 3; column-gap: 18px; }
.sp-item { position: relative; display: block; break-inside: avoid; margin-bottom: 18px; padding-top: 22px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(110,24,69,.18); cursor: zoom-in; transition: box-shadow .35s, transform .35s; }
/* cut-outs sit on a glow + sunburst (like the stage curtain) in three site tones */
.sp-item, .sp-item.tone-0 { background: radial-gradient(circle at 50% 36%, rgba(255,214,110,.62), rgba(255,214,110,0) 58%),
  repeating-conic-gradient(from 0deg at 50% 36%, rgba(255,255,255,.07) 0 7deg, rgba(255,255,255,0) 7deg 14deg), linear-gradient(165deg, #9b2463, #4d0f30); }
.sp-item.tone-1 { background: radial-gradient(circle at 50% 36%, rgba(255,226,150,.55), rgba(255,226,150,0) 58%),
  repeating-conic-gradient(from 0deg at 50% 36%, rgba(255,255,255,.09) 0 7deg, rgba(255,255,255,0) 7deg 14deg), linear-gradient(165deg, #e85ba4, #8a1f57); }
.sp-item.tone-2 { background: radial-gradient(circle at 50% 36%, rgba(255,240,205,.55), rgba(255,240,205,0) 58%),
  repeating-conic-gradient(from 0deg at 50% 36%, rgba(255,255,255,.1) 0 7deg, rgba(255,255,255,0) 7deg 14deg), linear-gradient(165deg, #e0a347, #8f4f16); }
.sp-item img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .5s; }
.sp-item::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255,214,110,0); transition: border-color .35s, box-shadow .35s; pointer-events: none; }
.sp-item:hover { box-shadow: 0 22px 48px rgba(110,24,69,.26); }
.sp-item:hover img { transform: scale(1.08); filter: saturate(1.12); }
.sp-item:hover::after { border-color: rgba(255,214,110,.85); box-shadow: inset 0 0 40px rgba(255,214,110,.25); }
.sp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(52,8,30,.88), rgba(52,8,30,0)); transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.sp-cap span { display: block; color: #fff; font-family: var(--font-dev); font-size: 17px; line-height: 1.4; transform: translateY(14px); opacity: 0; transition: transform .45s .08s, opacity .45s .08s; }
.sp-item:hover .sp-cap, .sp-item:focus-visible .sp-cap { transform: none; }
.sp-item:hover .sp-cap span, .sp-item:focus-visible .sp-cap span { transform: none; opacity: 1; }
.sp-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--magenta-dark); font-size: 18px; transform: scale(0) rotate(-90deg); transition: transform .4s cubic-bezier(.2,.9,.3,1.5); }
.sp-item:hover .sp-zoom { transform: none; }
.sp-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sp-item.pre { opacity: 0; }
.sp-item.in { animation: sp-card .9s cubic-bezier(.2,.8,.25,1) backwards; animation-delay: calc(var(--i) * 90ms); }
@media (hover: none) { .sp-cap { transform: none; } .sp-cap span { transform: none; opacity: 1; font-size: 14.5px; } .sp-cap { padding: 28px 12px 10px; } }

/* ---------- lite video ---------- */
.sp-video { position: relative; display: block; width: 100%; max-width: 960px; margin: 0 auto; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 24px 60px rgba(110,24,69,.25); }
.sp-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s, filter .5s; }
.sp-video:hover img { transform: scale(1.04); filter: brightness(.85); }
.sp-play { position: absolute; inset: 0; display: grid; place-items: center; }
.sp-play span { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: #fff; padding-left: 6px; background: linear-gradient(135deg, var(--magenta), var(--pink)); box-shadow: 0 0 0 0 rgba(232,91,164,.6); animation: sp-pulse 2s ease-out infinite; transition: transform .3s; }
.sp-video:hover .sp-play span { transform: scale(1.1); }
.sp-embed { max-width: 960px; margin: 0 auto; border-radius: 20px; }

/* ---------- lightbox ---------- */
body.sp-lb-open { overflow: hidden; }
.sp-lb { position: fixed; inset: 0; z-index: 9500; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; transition: opacity .25s; color: #fff; }
.sp-lb[hidden] { display: none; }
.sp-lb.open { opacity: 1; }
.sp-lb-bg { position: absolute; inset: -80px; z-index: -1; background: #1e0412 center / cover no-repeat; filter: blur(38px) brightness(.4) saturate(1.25); transform: scale(1.1); transition: background-image .5s; }
.sp-lb::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(30,5,18,.25), rgba(30,5,18,.75)); }
.sp-lb-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.sp-lb-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--pink)); }
.sp-lb-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.sp-lb-count { margin-right: auto; font-weight: 600; letter-spacing: 1px; font-size: 14px; color: #f3c4dd; }
.sp-lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font-size: 17px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.sp-lb-btn:hover { background: rgba(255,255,255,.25); transform: scale(1.08); }
.sp-lb-btn.on { background: var(--magenta); border-color: var(--magenta); }
.sp-lb-stage { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 80px; touch-action: pan-y; }
.sp-lb-stage img { max-width: 100%; max-height: calc(100vh - 230px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.55); user-select: none; -webkit-user-drag: none;
  padding-top: 20px; background: radial-gradient(circle at 50% 36%, rgba(255,214,110,.55), rgba(255,214,110,0) 60%), linear-gradient(165deg, #9b2463, #3a0a23); }
.sp-lb-stage figcaption { margin-top: 14px; font-family: var(--font-dev); font-size: 21px; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.5); min-height: 1.5em; }
.sp-in-r { animation: sp-in-r .5s cubic-bezier(.2,.8,.2,1); }
.sp-in-l { animation: sp-in-l .5s cubic-bezier(.2,.8,.2,1); }
.sp-lb-nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.sp-lb-nav:hover { background: rgba(255,255,255,.28); }
.sp-lb-nav.prev { left: 16px; } .sp-lb-nav.next { right: 16px; }
.sp-lb-nav.prev:hover { transform: translateX(-3px); } .sp-lb-nav.next:hover { transform: translateX(3px); }
.sp-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 18px; justify-content: safe center; scrollbar-width: none; }
.sp-lb-thumbs::-webkit-scrollbar { display: none; }
.sp-lb-thumbs button { flex: none; width: 66px; height: 66px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .5; cursor: pointer; transition: opacity .25s, transform .25s, border-color .25s; }
.sp-lb-thumbs button:hover { opacity: .85; }
.sp-lb-thumbs button.on { opacity: 1; border-color: var(--gold); transform: translateY(-5px); }
.sp-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-lb button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- keyframes ---------- */
@keyframes sp-photo-in { from { opacity: 0; transform: translateY(60px) scale(.94); filter: drop-shadow(0 18px 36px rgba(20,2,10,0)) blur(6px); } }
@keyframes sp-breathe { 0%, 100% { transform: none; } 50% { transform: translateY(-6px) scale(1.012); } }
@keyframes sp-halo { 0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); } }
@keyframes sp-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sp-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes sp-word { from { opacity: 0; transform: translateY(40px) rotateX(70deg); filter: blur(8px); } }
@keyframes sp-flow { to { background-position: 220% 0; } }
@keyframes sp-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes sp-marquee { to { transform: translateX(-50%); } }
@keyframes sp-card { from { opacity: 0; transform: translateY(60px) scale(.92) rotate(-1.5deg); clip-path: inset(18% 0 0 0 round 18px); } to { opacity: 1; transform: none; clip-path: inset(0 round 18px); } }
@keyframes sp-pulse { 0% { box-shadow: 0 0 0 0 rgba(232,91,164,.6); } 100% { box-shadow: 0 0 0 28px rgba(232,91,164,0); } }
@keyframes sp-in-r { from { opacity: 0; transform: translateX(70px) scale(.96); } }
@keyframes sp-in-l { from { opacity: 0; transform: translateX(-70px) scale(.96); } }
@keyframes sp-bar { from { width: 0; } to { width: 100%; } }

@media (max-width: 1100px) {
  .sp-hero-photo { width: 42%; right: 1%; }
  .sp-hero-in > * { max-width: 520px; }
}
@media (max-width: 980px) {
  .sp-masonry { columns: 2; column-gap: 14px; }
  .sp-item { margin-bottom: 14px; }
}
@media (max-width: 700px) {
  .sp-hero { display: block; min-height: 0; background: radial-gradient(ellipse 90% 40% at 50% 22%, rgba(155,36,99,.95), transparent 75%), radial-gradient(ellipse 100% 90% at 50% 60%, #6e1845, #2a0718 75%); }
  .sp-hero-photo { left: 0; right: 0; top: 14px; bottom: auto; height: 300px; width: auto; }
  .sp-hero-photo img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
  .sp-halo { width: 300px; top: 46%; } .sp-ring { width: 250px; top: 46%; } .sp-ring.r2 { width: 330px; top: 46%; }
  .sp-hero .mo-mandala { left: 50%; top: 72%; }
  .sp-hero-in { padding-top: 330px; padding-bottom: 72px; text-align: center; }
  .sp-hero-in > * { margin-left: auto; margin-right: auto; }
  .sp-actions, .sp-chips { justify-content: center; }
  .sp-actions .btn { flex: 1 1 100%; text-align: center; }
  .sp-track span { font-size: 16px; }
  .sp-masonry { column-gap: 10px; }
  .sp-item { margin-bottom: 10px; border-radius: 14px; }
  .sp-lb-stage { padding: 0 10px; }
  .sp-lb-stage img { max-height: calc(100vh - 250px); }
  .sp-lb-stage figcaption { font-size: 17px; }
  .sp-lb-nav { top: auto; bottom: 96px; width: 46px; height: 46px; font-size: 28px; margin-top: 0; }
  .sp-lb-thumbs button { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-hero *, .sp-track, .sp-item, .sp-lb * { animation: none !important; transition: none !important; }
  .sp-item.pre { opacity: 1; }
}
