/* system/css/intro-wow.css, סרטון הוואו בחלון מעל הבית של המערכת, רק ב-?intro=wow. 29/11/2026, js/intro-wow.js.
   הסרטון ריבועי, 720 על 720. הרוחב לפי הקטן מבין הרוחב, הגובה פחות הכפתור, ו-560. */

.iw-overlay {
  /* ‏10002, מעל #feedback-fab שיושב ב-10000. עד 29/11/2026 היה 1000 */
  position: fixed; inset: 0; z-index: 10002;
  background: rgba(16, 40, 60, 0.78);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.iw-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(560px, 92vw, calc(100vh - 130px));
  width: min(560px, 92vw, calc(100svh - 130px));
}
.iw-stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  border-radius: 18px; overflow: hidden; background: #0f1a2e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.iw-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0f1a2e; }
.iw-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--orange-deep, #e8854a); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.iw-play svg { margin-inline-start: 0; transform: translateX(3px); }
.iw-play:hover { background: #d9733a; transform: translate(-50%, -50%) scale(1.05); }
.iw-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.iw-play[hidden] { display: none; }
.iw-tour {
  min-height: 56px; padding: 12px 34px; border-radius: 50px; cursor: pointer;
  font-family: inherit; font-size: 1.15rem; font-weight: 800;
  background: #fff8ef; color: var(--navy, #1a4a6b); border: 2px solid #fff8ef;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.iw-tour:hover { background: #fdeede; }
.iw-tour:focus-visible { outline: 3px solid var(--orange-deep, #e8854a); outline-offset: 3px; }
/* בסוף הסרטון הכפתור בולט, כי זה הצעד הבא */
.iw-tour.iw-tour-end { background: var(--orange-deep, #e8854a); border-color: var(--orange-deep, #e8854a); color: #102f44; transform: scale(1.06); }
/* ‏29/11/2026, שיווק 24f9. כשבסרטון נאמר "לחצו למטה", 116.1 שניות, הכפתור קופץ פעם אחת ונשאר מודגש. בלי פעימה חוזרת */
.iw-tour.iw-tour-cue { animation: iw-cue 0.7s ease-out 1 both; }
@keyframes iw-cue {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); box-shadow: 0 0 0 10px rgba(232, 133, 74, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25); }
  100% { transform: scale(1.06); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .iw-play, .iw-tour { transition: none; }
  .iw-tour.iw-tour-end { transform: none; }
  .iw-tour.iw-tour-cue { animation: none; }
}
