*, *::before, *::after {
  box-sizing: border-box;
}

.stage-viewport-outer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
}

.stage-scale-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
}

.stage-layer {
  position: relative;
  width: 1920px;
  height: 1080px;
  background: #000000;
  color: #F8FAFC;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  overflow: hidden;
}

.stage-layer-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stage-layer-front {
  position: relative;
  z-index: 2;
}

.stage-slide-wrap {
  position: relative;
  width: 1920px;
  height: 1080px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-slide-img {
  width: 1920px;
  height: 1080px;
  object-fit: contain;
  display: block;
  user-select: none;
}

.stage-video-wrap {
  width: 1920px;
  height: 1080px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stage-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.stage-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 80px;
  color: #E2E8F0;
}

.stage-title-slide {
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 140px;
  text-align: center;
  position: relative;
}

.stage-title-logo {
  max-width: 420px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 44px;
}

.stage-title-kicker {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 18px;
}

.stage-title-main {
  font-size: 92px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  max-width: 1500px;
  white-space: pre-wrap;
}

.stage-title-divider {
  width: 160px;
  height: 7px;
  border-radius: 99px;
  margin: 34px 0;
}

.stage-title-sub {
  font-size: 42px;
  font-weight: 500;
  opacity: 0.85;
  margin: 0;
  max-width: 1400px;
  white-space: pre-wrap;
}

.stage-pause-slide {
  width: 1920px;
  height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 110px;
  gap: 72px;
  position: relative;
}

.stage-pause-slide.is-centered {
  flex-direction: column;
  text-align: center;
  gap: 32px;
}

.stage-pause-copy {
  flex: 1;
  min-width: 0;
}

.stage-pause-title {
  font-size: 80px;
  font-weight: 800;
  margin: 0 0 18px 0;
  line-height: 1.1;
  white-space: pre-wrap;
}

.stage-pause-sub {
  font-size: 38px;
  opacity: 0.84;
  margin: 0 0 34px 0;
  white-space: pre-wrap;
}

.stage-pause-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 112px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 20px 44px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.stage-pause-photo {
  flex: 1.15;
  height: 780px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-pause-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PowerPoint & Regie Transitions (2-Layer Seamless Playback) */
.stage-layer.trans-in-fade {
  animation: slideFadeIn var(--trans-ms, 600ms) ease both;
}

.stage-layer.trans-in-push-left,
.stage-layer.trans-in-slide {
  animation: slidePushInLeft var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-out-push-left,
.stage-layer.trans-out-slide {
  animation: slidePushOutLeft var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-layer.trans-in-push-right {
  animation: slidePushInRight var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-out-push-right {
  animation: slidePushOutRight var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-layer.trans-in-push-up {
  animation: slidePushInUp var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-out-push-up {
  animation: slidePushOutUp var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-layer.trans-in-push-down {
  animation: slidePushInDown var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-out-push-down {
  animation: slidePushOutDown var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-layer.trans-in-cover-left {
  animation: slidePushInLeft var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-in-cover-right {
  animation: slidePushInRight var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-in-cover-up {
  animation: slidePushInUp var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-in-cover-down {
  animation: slidePushInDown var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-layer.trans-in-wipe-left {
  animation: slideWipeLeft var(--trans-ms, 650ms) ease-out both;
}
.stage-layer.trans-in-wipe-right {
  animation: slideWipeRight var(--trans-ms, 650ms) ease-out both;
}
.stage-layer.trans-in-wipe-up {
  animation: slideWipeUp var(--trans-ms, 650ms) ease-out both;
}
.stage-layer.trans-in-wipe-down {
  animation: slideWipeDown var(--trans-ms, 650ms) ease-out both;
}

.stage-layer.trans-in-zoom-in {
  animation: slideZoomIn var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-in-zoom-out {
  animation: slideZoomOut var(--trans-ms, 650ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stage-layer.trans-in-split {
  animation: slideSplitIn var(--trans-ms, 650ms) ease-out both;
}

@keyframes slideFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slidePushInLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes slidePushOutLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@keyframes slidePushInRight {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@keyframes slidePushOutRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}
@keyframes slidePushInUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes slidePushOutUp {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
@keyframes slidePushInDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@keyframes slidePushOutDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}
@keyframes slideWipeLeft {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes slideWipeRight {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes slideWipeUp {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes slideWipeDown {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes slideZoomIn {
  from { opacity: 0; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideZoomOut {
  from { opacity: 0; transform: scale(1.18); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideSplitIn {
  from { clip-path: inset(0 50% 0 50%); }
  to { clip-path: inset(0 0 0 0); }
}

.stage-overlay-blackout {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.stage-overlay-blackout.active {
  opacity: 1;
  pointer-events: auto;
}

.stage-overlay-standby {
  position: absolute;
  inset: 0;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.stage-overlay-standby.active {
  opacity: 1;
  pointer-events: auto;
}
