/* פתיח העיניים: שכבה מעל הדף, פעם אחת בכל ביקור. כל התזמון ב-intro.js.
   html.intro נקבע בסקריפט שבראש index.html (לפני הציור הראשון), כדי שהדף לא יבהב לפני הפתיח. */
html.intro .nav, html.intro main, html.intro .foot { opacity: 0 }

.intro-layer {
  position: fixed; inset: 0; z-index: 10000; /* מעל הודעת העוגיות (9999) */ display: grid; place-items: center;
  background: #0E0F15; overflow: hidden; cursor: pointer;
}
/* זוהר מאחורי העיניים */
.intro-glow { position: absolute; width: min(90vw, 900px); aspect-ratio: 2 / 1; pointer-events: none;
  background:
    radial-gradient(closest-side at 37% 50%, rgba(131, 149, 167, 0.55), transparent),
    radial-gradient(closest-side at 61% 50%, rgba(216, 167, 177, 0.5), transparent);
  filter: blur(40px); opacity: 0 }
.intro-ring { position: absolute; width: 22vmin; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(189, 181, 236, 0.6); box-shadow: 0 0 40px rgba(189, 181, 236, 0.35), inset 0 0 40px rgba(189, 181, 236, 0.2); opacity: 0 }
/* נקודת הזום: בין שתי העיניים, כך שה"מעוף" עובר בדיוק דרכן */
.intro-logo { position: relative; width: min(78vw, 640px); height: auto; overflow: visible; direction: ltr; transform-origin: 48.6% 49% }
.intro-logo .i-eye, .intro-logo .i-L, .intro-logo .i-p { transform-box: fill-box; transform-origin: center }
.intro-logo .i-pupil { transform-box: view-box }

.intro-skip {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 24px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: #F1F2F7; font: 600 15px var(--font);
  box-shadow: inset 0 0 0 1px rgba(230, 234, 255, 0.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.intro-skip:focus-visible { outline: 3px solid #BDB5EC; outline-offset: 3px }
@media (hover: hover) and (pointer: fine) { .intro-skip:hover { background: rgba(255, 255, 255, 0.14) } }
