/* ============================================================
   ערכת "כחול-ורוד" – כמו הגרפיקה של ההופעות:
   קרניים כחול-ורוד, דמות חתוכה על עיגול צהוב, מדבקה כהה עם מסגרת צהובה.
   נטען אחרי polish.css. כדי לחזור למראה הכחול: למחוק את השורה שטוענת
   את הקובץ הזה מכל דף, ולהחזיר ב-index.html את התמונה ל-img/hero.jpg.
   ============================================================ */

/* rays: blue + pink instead of blue + light blue */
.hero::after, .page-head::after {
  background: repeating-conic-gradient(var(--blue) 0deg 9deg, var(--pink) 9deg 18deg);
}

/* lettering: cream layer under the navy one (pink would vanish on pink rays) */
.hero .big, .page-head .big {
  text-shadow: 4px 4px 0 var(--cream), 9px 9px 0 var(--navy);
}

/* photo: yellow disc drawn in CSS, cut-out figure on top that breaks out of it
   (like the show graphic). --D = disc size; the figure is ~1.5x the disc tall. */
.hero .center { --D: clamp(270px, 36vw, 540px); }
.hero .photo {
  width: var(--D); aspect-ratio: 1; border-radius: 50%; position: relative; overflow: visible;
  border: 8px solid var(--navy); outline: none;
  background: var(--yellow); box-shadow: 14px 14px 0 var(--navy);
}
.hero .photo img.me {
  position: absolute; left: 50%; top: -6%; translate: -50% 0;
  width: auto; height: 148%; max-width: none; object-fit: contain; transform: none;
  filter: drop-shadow(calc(var(--D) * .025) calc(var(--D) * .025) 0 var(--navy));
  clip-path: inset(-10% -20% 17% -20%);   /* the legs end under the ticket */
}
/* the next-show ticket overlaps the bottom of the figure, like in the graphic */
.hero .next-show { position: relative; z-index: 3; margin-top: calc(var(--D) * -.14); }

/* the small line under the name becomes a sticker, like "סטנדאפ" in the graphic */
.hero .kicker, .page-head .kicker {
  display: inline-block; background: var(--navy); color: var(--yellow);
  border: 3px solid var(--yellow); border-radius: 12px; padding: 6px 14px;
  box-shadow: 4px 4px 0 var(--navy); rotate: -2deg;
}
.page-head .kicker { margin-bottom: 14px; }

/* sparkles: yellow + cream so they show on both ray colours */
.center::before { background: var(--yellow); }

/* inner sections that used the blue + pink pair keep working; only the nav line follows the theme */
.nav { border-bottom-color: var(--pink); }

/* ============================================================
   כניסה לדף הבית – כמו באנימציה של מודעת ההופעה (גבעתיים):
   הקרניים נפתחות מהמרכז ומסתובבות, העיגול הצהוב קופץ מרחוק,
   אחריו הדמות, אחריה השם – ואז המדבקה, הכפתורים והכרטיס.
   כל התנועה ב-scale / rotate / translate (לא transform), כדי לא
   להתנגש עם הסיבוב האיטי של הקרניים ועם תזוזת העכבר.
   ============================================================ */
:root { --back: cubic-bezier(.3, 1.45, .55, 1); }   /* נכנס ועובר טיפה את המקום */

@keyframes rays-open  { from { scale: 0; rotate: -70deg; } }
@keyframes from-far   { from { scale: 0; } }
@keyframes me-in      { from { scale: .15; opacity: 0; } 35% { opacity: 1; } }
@keyframes name-in    { from { scale: .1; opacity: 0; } 30% { opacity: 1; } }
@keyframes sticker-in { from { scale: 0; rotate: -25deg; } }
@keyframes ticket-up  { from { translate: 0 260px; rotate: -8deg; } }
@keyframes fade-in    { from { opacity: 0; } }

.hero::after  { animation: rays-open .9s var(--out) backwards, spin 240s linear infinite; }
.hero::before { animation: fade-in .6s linear .2s backwards; }

.hero .photo  { animation: from-far .6s var(--back) .3s backwards; }
.hero .photo img { transform-origin: 50% 45%; animation: me-in .6s var(--back) .55s backwards; }

.hero .side-start .big { transform-origin: 50% 60%; animation: name-in .55s var(--back) .8s backwards; }
.hero .side-end .big   { transform-origin: 50% 60%; animation: name-in .55s var(--back) .9s backwards; }
.hero .kicker          { animation: sticker-in .45s var(--back) 1.05s backwards; }
.hero .badge           { animation: sticker-in .45s var(--back) 1.1s backwards; }
.center::before, .center::after { animation: sticker-in .45s var(--back) 1.15s backwards, twinkle 3.2s ease-in-out 1.6s infinite; }
.hero .ctas            { animation: rise .5s var(--out) 1.15s backwards; }
.hero .next-show       { animation: ticket-up .6s var(--back) 1.2s backwards; }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero::before, .hero .photo, .hero .photo img, .hero .big, .hero .kicker,
  .hero .badge, .center::before, .center::after, .hero .ctas, .hero .next-show { animation: none; }
}

/* ===== כרטיס צף: ההופעה הבאה נשארת איתך בגלילה (בצד הנגדי לוואטסאפ) ===== */
.ns-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: flex; align-items: center;
  background: var(--yellow); color: var(--navy);
  border: 4px solid var(--navy); border-radius: 16px;
  box-shadow: 5px 5px 0 var(--navy);
  rotate: -2deg; translate: 0 160%; opacity: 0; pointer-events: none;
  transition: translate .5s var(--back), opacity .2s ease-out;
}
.ns-float.on { translate: 0 0; opacity: 1; pointer-events: auto; }
.nf-link {
  display: grid; grid-template-columns: auto auto; align-items: center;
  column-gap: 14px; padding: 9px 12px 9px 14px; color: inherit; text-decoration: none;
}
.nf-label { grid-column: 1; font-size: 11px; font-weight: 700; letter-spacing: .05em; opacity: .75; }
.nf-date  { grid-column: 1; font-family: "Karantina", sans-serif; font-size: 30px; line-height: .95; }
.nf-venue { grid-column: 1; font-size: 13px; font-weight: 700; }
.nf-btn {
  grid-column: 2; grid-row: 1 / 4; align-self: center;
  background: var(--pink); color: #fff; font-weight: 700; font-size: 15px;
  border: 3px solid var(--navy); border-radius: 999px; padding: 7px 14px;
  transition: scale .2s var(--back);
}
@media (hover: hover) { .nf-link:hover .nf-btn { scale: 1.07; } }
.nf-link:focus-visible, .nf-x:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 10px; }
.nf-x {
  position: absolute; top: -13px; left: -13px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--yellow); border: 3px solid var(--yellow);
  font: 700 17px/1 "Rubik", sans-serif; cursor: pointer; display: grid; place-items: center;
}
/* מובייל: פס צר בין הקצה לכפתור הוואטסאפ */
@media (max-width: 560px) {
  .ns-float { right: 12px; left: 84px; bottom: 16px; rotate: -1deg; }
  .nf-link { width: 100%; grid-template-columns: 1fr auto; padding: 7px 10px; column-gap: 10px; }
  .nf-label { display: none; }
  .nf-date { font-size: 24px; }
  .nf-venue { font-size: 12px; }
  .nf-btn { grid-row: 1 / 3; font-size: 14px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) { .ns-float { transition: opacity .2s; translate: 0 0; } }
