/* =========================
   🎬 SECRET SCENE (Cinematic)
========================= */

.secret-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  transition: background 1.2s ease;
}

.secret-overlay.is-white{
  background:#fff;
}

.secret-overlay.fade-black{
  background:#000;
}

.secret-overlay.silence{
  background:#000;
}

/* =========================
   IRIS OPEN
========================= */

.iris-open{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#fff;
  transform: translate(-50%, -50%);
  left:50%;
  top:50%;
  animation: irisOpen 1.6s ease forwards;
}

@keyframes irisOpen{
  to{
    width:320vw;
    height:320vw;
  }
}

/* =========================
   TEXT
========================= */

.secret-text{
  position:absolute;
  max-width:min(760px, 82vw);
  text-align:center;
  font-size:28px;
  font-weight:700;
  line-height:1.35;
  opacity:0;
  z-index: 6;
  letter-spacing:1.5px;
}

.secret-text.black{ color:#000; }
.secret-text.white{ color:#fff; }

.fade-in{ animation: fadeIn 1.2s ease forwards; }
.fade-out{ animation: fadeOut 1.2s ease forwards; }

@keyframes fadeIn{ to{opacity:1;} }
@keyframes fadeOut{ to{opacity:0;} }

/* =========================
   FIREWORKS
========================= */

.secret-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* =========================
   FILM STRIP
========================= */

.film-stage{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
}

.film-viewport{
  position:relative;
  width:min(1100px, 92vw);
  height:min(420px, 56vh);
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 70px rgba(0,0,0,.55);
  background: rgba(0,0,0,.35);
}

.film-track{
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  display:flex;
  gap:18px;
  will-change: transform;
  padding: 0 18px;
}

.film-frame{
  width:min(320px, 28vw);
  height: min(380px, 52vh);
  border-radius:18px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  flex:0 0 auto;
}

.film-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* =========================
   FINAL STILL
========================= */

.final-still{
  position:absolute;
  inset:0;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  z-index: 1;
  transition: opacity 1s ease;
}

.final-still.show{
  opacity:1;
}

.final-still img{
  max-width:100%;
  max-height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform 3s ease-in-out;
}

.final-still.zoom img{
  transform: scale(2.5);
}

/* =========================
   WHITE IRIS CLOSE
========================= */

.iris-white{
  position:absolute;
  inset:0;
  z-index: 5;
  background:#fff;
  clip-path: circle(160% at 50% 50%);
  animation: irisWhiteClose 1.4s ease forwards;
}

@keyframes irisWhiteClose{
  to{
    clip-path: circle(0% at 50% 50%);
  }
}

.final-still.hide{
  opacity:0;
  transition: opacity .35s ease;
}
