/* ===== Booth screen (shared by the hero mini demo and the full showcase) ===== */
.bscr { position: absolute; inset: 0; overflow: hidden; background: #0a0908; container-type: size; isolation: isolate; }
.bscr__pose { position: absolute; inset: 0; transition: opacity 0.7s ease, filter 0.6s ease; }
.bscr[data-stage='0'] .bscr__pose .crop img { animation: livedrift 6s ease-in-out infinite alternate; }
@keyframes livedrift { from { transform: scale(1); } to { transform: scale(1.06); } }
.bscr[data-stage='1'] .bscr__pose { filter: brightness(0.82); }
.bscr[data-stage='2'] .bscr__pose { opacity: 0; }
.bscr__vig { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.62)); }
.bscr__brk { position: absolute; width: 13%; aspect-ratio: 1; border: 0 solid rgba(242, 216, 139, 0.9); }
.bscr__brk--tl { top: 7%; left: 8%; border-top-width: 1.5px; border-left-width: 1.5px; }
.bscr__brk--tr { top: 7%; right: 8%; border-top-width: 1.5px; border-right-width: 1.5px; }
.bscr__brk--bl { bottom: 7%; left: 8%; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bscr__brk--br { bottom: 7%; right: 8%; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.bscr__ring { position: absolute; left: 50%; top: 44%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border: 1.5px solid rgba(242, 216, 139, 0.95); border-radius: 50%; opacity: 0; transform: scale(1.5); transition: opacity 0.35s ease, transform 0.55s var(--ease); }
.bscr[data-step='focus'] .bscr__ring { opacity: 1; transform: scale(1.5); }
.bscr[data-step='c3'] .bscr__ring, .bscr[data-step='c2'] .bscr__ring, .bscr[data-step='c1'] .bscr__ring { opacity: 1; transform: scale(1); }
.bscr__count { position: absolute; left: 50%; top: 44%; font-family: var(--f-head); font-weight: 400; font-size: 40cqw; line-height: 1; color: #f6e3ae; text-shadow: 0 0 20px rgba(212, 175, 55, 0.6); transform: translate(-50%, -50%); opacity: 0; }
.bscr[data-step='c3'] .bscr__count, .bscr[data-step='c2'] .bscr__count, .bscr[data-step='c1'] .bscr__count { animation: countpop 0.8s var(--ease) both; }
@keyframes countpop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } 25%, 70% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.88); } }
.bscr__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.bscr[data-step='flash'] .bscr__flash { animation: scrflash 0.7s ease-out both; }
@keyframes scrflash { 0% { opacity: 0; } 14% { opacity: 0.8; } 100% { opacity: 0; } }
.bscr__done { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a2113, #0a0908 70%); opacity: 0; transition: opacity 0.6s ease; }
.bscr[data-stage='2'] .bscr__done { opacity: 1; }
.bscr__photo { position: relative; width: 74%; aspect-ratio: 0.9; background: #fbf8f1; border: 1px solid #c9a45c; transform: scale(0.7) rotate(-4deg); transition: transform 1s var(--ease) 0.1s; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); }
.bscr__photo .crop--fill { inset: 5%; }
.bscr[data-stage='2'] .bscr__photo { transform: rotate(-2deg); }
.bscr__share { position: absolute; right: 7%; bottom: 6%; width: 17cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #080808; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); opacity: 0; transform: scale(0.4); transition: opacity 0.5s ease 0.7s, transform 0.7s var(--ease) 0.7s; }
.bscr__share svg { width: 58%; height: 58%; }
.bscr[data-stage='2'] .bscr__share { opacity: 1; transform: none; }
.bscr__label { position: absolute; left: 0; right: 0; bottom: 3%; text-align: center; font-family: var(--f-accent); font-style: italic; font-size: max(12px, 6.5cqw); color: #f6e3ae; letter-spacing: 0.02em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); z-index: 2; }
.bscr__label span { display: none; }
.bscr[data-stage='0'] .bscr__label [data-for='0'], .bscr[data-stage='1'] .bscr__label [data-for='1'], .bscr[data-stage='2'] .bscr__label [data-for='2'] { display: inline; }
.bscr[data-stage='2'] .bscr__label { display: none; }

/* ===== Showcase (reusable PhotoboothExperienceShowcase) ===== */
.pbx { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(4.5rem, 9vw, 8rem) clamp(6rem, 12vw, 11rem); }
.pbx__copy { position: relative; z-index: 2; }
.pbx__h { max-width: 11em; }
.pbx__sub { margin-top: 1.4rem; max-width: 30rem; color: var(--muted); }
.pbx__stages { margin-top: 2.2rem; border-bottom: 1px solid var(--hairline); }
.pbx__stage { position: relative; display: grid; grid-template-columns: clamp(3rem, 5vw, 3.6rem) minmax(0, 1fr); gap: 0 0.6rem; align-items: center; width: 100%; text-align: left; padding: 1.15rem 0 1.3rem; background: none; border: 0; border-top: 1px solid var(--hairline); color: var(--muted); transition: color 0.4s; }
.pbx__stage:hover { color: var(--ivory); }
.pbx__n { font-family: var(--f-accent); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--gold); opacity: 0.55; transition: opacity 0.4s, transform 0.5s var(--ease); }
.pbx__stage.is-active .pbx__n { opacity: 1; transform: translateX(2px); }
.pbx__txt { display: grid; gap: 0.15rem; }
.pbx__t { font-family: var(--f-head); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.08em; text-transform: uppercase; }
.pbx__l { font-family: var(--f-accent); font-style: italic; font-size: 1.25rem; line-height: 1.3; }
.pbx__stage.is-active { color: var(--ivory); }
.pbx__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.pbx__bar i { display: block; width: 100%; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.pbx__bar i.run { animation: pbxbar linear forwards; }
@keyframes pbxbar { to { transform: scaleX(1); } }
.pbx__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 1.4rem; }
.pbx__play { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.5rem 1.1rem; background: none; border: 1px solid var(--hairline); border-radius: 999px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.pbx__play:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.pbx__note { font-family: var(--f-accent); font-style: italic; font-size: 1.05rem; color: var(--muted); max-width: 24rem; }

.pbx__stagewrap { position: relative; z-index: 1; width: min(100%, 640px); justify-self: center; }
.pbx__bignum { position: absolute; z-index: 0; left: -4%; top: -9%; font-family: var(--f-head); font-size: clamp(7rem, 17vw, 15rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, 0.3); pointer-events: none; animation: numin 0.9s var(--ease) both; }
@keyframes numin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pbx__stage3d { position: relative; z-index: 1; aspect-ratio: 1; --dx: 0; --dy: 0; }
.pbx__halo { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 66%); filter: blur(12px); }
.pbx__booth { position: absolute; inset: 0; transform: translate3d(calc(var(--dx) * -8px), calc(var(--dy) * -6px), 0); transition: transform 0.6s var(--ease); }
.pbx__booth > img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.pbx__screen { position: absolute; border-radius: 3% / 2.4%; overflow: hidden; transition: box-shadow 0.6s ease; }
.pbx__stage3d[data-step='c1'] .pbx__screen, .pbx__stage3d[data-step='flash'] .pbx__screen, .pbx__stage3d[data-stage='2'] .pbx__screen { box-shadow: 0 0 60px 14px rgba(255, 236, 190, 0.45); }
.pbx__glow { position: absolute; inset: 22% 18% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 200, 0.28), transparent 65%); opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.pbx__stage3d[data-step='c1'] .pbx__glow, .pbx__stage3d[data-step='flash'] .pbx__glow, .pbx__stage3d[data-stage='2'] .pbx__glow { opacity: 1; }
.pbx__stripwrap { position: absolute; z-index: 3; right: -1%; top: 12%; width: 25%; opacity: 0; transform: translate3d(-135%, 46%, 0) scale(0.35) rotate(10deg); transition: opacity 0.7s var(--ease), transform 1.3s var(--ease); pointer-events: none; }
.pbx__stage3d[data-stage='2'] .pbx__stripwrap { opacity: 1; transform: translate3d(calc(var(--dx) * 12px), calc(var(--dy) * 8px), 0) perspective(900px) rotateY(-14deg) rotate(5deg); }
.pbx__sharebtn { position: absolute; left: -30%; bottom: 5%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-grad); color: #080808; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.8); }
.pbx__sharebtn::after { content: ''; position: absolute; inset: -6px; border: 1px solid rgba(242, 216, 139, 0.7); border-radius: 50%; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.pbx__chip { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(8, 8, 8, 0.75); border: 1px solid var(--gold); color: var(--gold); animation: bob 3.6s ease-in-out infinite; }
.pbx__chip--a { left: -62%; bottom: 20%; }
.pbx__chip--b { left: -12%; bottom: -6%; animation-delay: -1.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.pbx__star { position: absolute; z-index: 4; animation: twinkle 3.6s ease-in-out infinite; }
.pbx__star--a { left: 6%; top: 18%; }
.pbx__star--b { right: 12%; bottom: 18%; animation-delay: -1.6s; }
.pbx__tag { position: absolute; z-index: 5; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem; border: 1px solid rgba(201, 164, 92, 0.55); border-radius: 999px; background: rgba(8, 8, 8, 0.75); backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.pbx__tag span { font-family: var(--f-accent); font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--gold); }
.pbx__label { margin-top: 1.1rem; text-align: center; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }

@media (min-width: 1000px) { .pbx { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); } }
@media (max-width: 699px) {
  .pbx__stripwrap { width: 27%; right: 0; }
  .pbx__sharebtn { left: -20%; width: 40px; height: 40px; }
  .pbx__chip--a { display: none; }
  .pbx__tag { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bscr[data-stage='0'] .bscr__pose .crop img, .pbx__sharebtn::after, .pbx__chip, .pbx__star, .pbx__bignum { animation: none; }
  .pbx__booth, .pbx__stripwrap, .bscr__photo, .bscr__share { transition: none; }
  .pbx__stripwrap { transform: none; }
  .pbx__stage3d[data-stage='2'] .pbx__stripwrap { transform: rotate(5deg); }
  .bscr__count { animation: none !important; opacity: 1; }
  .bscr[data-step='focus'] .bscr__count, .bscr[data-step='idle'] .bscr__count, .bscr[data-step='done'] .bscr__count, .bscr__count:empty { opacity: 0; }
}
