/* Landing-page extras on top of site.css (hasfaniyot.net design system). */

.lp-desk { display: none; }
@media (min-width: 900px) { .lp-desk { display: inline-flex; } .hero__actions.lp-desk { display: flex; } }
.lp-head-cta { margin-inline-start: auto; display: flex; gap: 8px; }
.lp-big { padding: 15px 30px; font-size: 18px; }

/* LP-1 mini hero: gallery starts on the first screen */
.hero.lp-mini { padding-block: clamp(22px, 4vw, 44px) clamp(28px, 5vw, 56px); }
.lp-mini__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(18px, 3vw, 30px); }
.lp-mini__head .hero__eyebrow { white-space: normal; text-align: center; margin-bottom: 14px; }
.lp-mini h1 { max-width: none; margin-bottom: 8px; }
.lp-mini .hero__lead { margin-bottom: 14px; }
.lp-mini .hero__actions { margin: 6px 0 0; }
.lp-live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 6px 14px; border-radius: var(--r-full); background: rgba(62, 224, 122, .1); border: 1px solid rgba(62, 224, 122, .4); color: #6ff0a1; font-weight: 700; font-size: 14.5px; }

/* gallery: 12 cards = 2 cols mobile, 3 tablet, 4 desktop */
.lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .lp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card__story { position: absolute; inset: 0; z-index: 1; width: 100%; cursor: zoom-in; }
.card__media .card__badge, .card__media .card__live { position: absolute; }
.card__caption, .card__badge { pointer-events: none; }
.card__badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(8, 8, 10, .62); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-strong); }
.card__badge svg { width: 13px; height: 13px; fill: currentColor; }
.card__body .btn { position: relative; z-index: 3; padding: 11px 10px; }
@media (max-width: 520px) { .card__desc { display: none; } .card__body { padding: 10px; } .card__name { font-size: 17px; } }
.lp-real { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; color: var(--text); font-weight: 600; text-align: center; }
.lp-real svg { width: 19px; height: 19px; fill: var(--brand); flex: none; }

/* event-type tags (not clickable – just "this fits you") */
.lp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.lp-tags li { padding: 9px 17px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); font-size: 14.5px; font-weight: 600; }

/* areas (cities are plain text here, styled like the site's city pills) */
.lp-areas { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.area li span { display: inline-flex; padding: 6px 12px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }

/* event cards with photo */
.lp-events .feature { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lp-events img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-event__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-event__body p { flex: 1; margin-bottom: 8px; }

/* closer + "3 taps" builder */
.lp-closer { text-align: center; max-width: 780px; margin-inline: auto; padding: clamp(26px, 5vw, 44px) clamp(16px, 4vw, 40px); border-radius: var(--r-lg); background: radial-gradient(90% 120% at 50% 0%, rgba(232, 184, 74, .16), transparent 65%), var(--surface); border: 1px solid rgba(232, 184, 74, .35); box-shadow: var(--shadow-lg), 0 0 40px var(--brand-glow); }
.lp-closer .section-sub { margin-bottom: 22px; }
.lp-builder fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.lp-builder legend { margin: 0 auto 8px; font-weight: 700; color: var(--brand); font-size: 15px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lp-chips .chip { min-height: 42px; }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--brand-soft), var(--brand)); border-color: var(--brand); color: var(--on-brand); }
.lp-bubble { margin: 8px auto 22px; max-width: 430px; background: #005c4b; color: #e9fdf4; border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 15.5px; text-align: right; box-shadow: var(--shadow); }
.lp-bubble::before { content: "תצוגה מקדימה של ההודעה"; display: block; font-size: 11.5px; opacity: .7; margin-bottom: 2px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }

.site-footer { margin-top: 0; }

/* confetti when the party is built */
.confetti { position: fixed; top: -12px; width: 9px; height: 13px; z-index: 1200; pointer-events: none; border-radius: 2px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(720deg); } }

/* story viewer */
.story { position: fixed; inset: 0; z-index: 1100; background: #000; display: flex; align-items: center; justify-content: center; }
.story[hidden] { display: none; }
.story > img { width: 100%; height: 100%; max-width: 560px; object-fit: cover; }
.bars { position: absolute; top: 10px; inset-inline: 12px; display: flex; gap: 4px; z-index: 2; max-width: 536px; margin: 0 auto; }
.bars span { flex: 1; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 2px; overflow: hidden; }
.bars span i { display: block; height: 100%; width: 0; background: #fff; }
.bars span.done i { width: 100%; }
.bars span.on i { animation: fill 5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.story .x { position: absolute; top: 22px; inset-inline-end: 14px; z-index: 3; font-size: 34px; line-height: 1; width: 44px; height: 44px; color: #fff; }
.story .nav { position: absolute; top: 0; bottom: 130px; width: 35%; z-index: 1; display: block; }
.story .prev { right: 0; } .story .next { left: 0; }
.cap { position: absolute; bottom: 0; inset-inline: 0; padding: 60px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(11, 11, 13, .95)); text-align: center; z-index: 2; }
.cap h3 { font-size: 26px; margin: 0; }
.cap p { color: var(--brand-soft); margin: 2px 0 12px; }

@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* photo badge is a small round icon so it never collides with "פנויה הערב" */
.card__media .card__badge { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 50%; }
.card__badge svg { width: 15px; height: 15px; }

@media (max-width: 699px) {
	.lp-events { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lp-event__body { padding: 12px; }
	.lp-event__body h3 { font-size: 15.5px; }
	.lp-event__body p { font-size: 13px; }
	.lp-event__body .btn { padding: 9px 6px; font-size: 13.5px; }
}

/* rotating status, geo line, reviews, payments */
.lp-rot { display: inline-block; transition: opacity .3s, transform .3s; }
.lp-rot.out { opacity: 0; transform: translateY(-6px); }
.lp-geo { margin: 4px 0 12px; padding: 8px 14px; border-radius: var(--r); background: rgba(232, 184, 74, .1); border: 1px dashed rgba(232, 184, 74, .5); color: var(--text); font-weight: 600; font-size: 15px; display: inline-block; }
.lp-geo[hidden] { display: none; }
.hero .lp-geo { margin-top: -10px; margin-bottom: 22px; }
.lp-reviews { transition: opacity .35s; }
.lp-reviews.out { opacity: 0; }
.lp-reviews[data-n="1"] { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
.lp-src { color: var(--text-faint); font-size: 13px; font-weight: 400; }
.lp-rev-title { text-align: center; margin-bottom: 16px; }
.lp-rev-title small { display: block; font-size: 14px; color: var(--text-dim); font-weight: 500; margin-top: 4px; }
.lp-pay { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; align-items: center; font-size: 14px; color: var(--text-dim); }
.lp-pay span { padding: 4px 11px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.review blockquote { margin: 0; }

/* payment methods */
.lp-paygrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lp-paygrid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color .3s, transform .3s; }
.lp-paygrid li:hover { border-color: rgba(232, 184, 74, .45); transform: translateY(-3px); }
.lp-payicon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(232, 184, 74, .14); margin-bottom: 6px; }
.lp-payicon svg { width: 26px; height: 26px; fill: var(--brand); }
.lp-paygrid b { font-size: 16px; }
.lp-paygrid small { color: var(--text-dim); font-size: 12.5px; }
@media (max-width: 699px) { .lp-paygrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-paygrid li { padding: 14px 6px; } }
