/* =====================================================================
   עידון גדלים (11.2026): הכל קטן בכ-15%–25% – מראה נקי ואלגנטי יותר.
   נטען אחרי app.css; למחיקה = להסיר את השורה של הקובץ הזה מ-index.html.
   ===================================================================== */

/* ---------- hero ---------- */
.hero{padding-top:48px}
.logo{width:min(320px,66vw)}
.logo-egg{display:block;width:fit-content;margin:0 auto}
.slogan{margin-top:8px;font-size:19px}
.gates{margin-top:40px;width:min(560px,100%)}
.pill{height:34px;padding:0 22px;gap:10px;font-size:14px;min-width:180px}
.pill-dot{width:7px;height:7px}
h1{margin-top:18px;font-size:clamp(34px,7.6vw,60px)}
.lead{margin-top:28px;max-width:560px;font-size:17px;line-height:1.7}

/* ---------- email card ---------- */
.card-wrap{margin-top:34px;width:min(560px,100%)}
.card{padding:20px;border-radius:30px}
.card-sheen{border-radius:30px}
.email{height:50px;padding:0 20px;font-size:15.5px}
.send{height:50px;padding:0 26px;font-size:15.5px}
.hint{margin-top:12px;font-size:13px}
.msg{font-size:14px}

/* ---------- countdown ---------- */
.cd-label{margin-top:34px;font-size:15px}
.cd-timer{margin-top:16px;gap:clamp(8px,1.4vw,16px)}
.cd-unit{gap:10px}
.cd-card{min-width:clamp(58px,8.4vw,108px);height:clamp(74px,10vw,128px);border-radius:clamp(18px,2.2vw,28px)}
.cd-num{font-size:clamp(38px,5.8vw,74px)}
.cd-name{font-size:13px}
.cd-date{margin-top:20px;font-size:14px}

/* ---------- counter ---------- */
.counter{padding-top:110px}
.counter-veil{height:340px}
h2{font-size:clamp(28px,3.6vw,44px)}
.counter-sub{margin-top:10px;max-width:500px;font-size:16.5px}
.gate-light{margin-top:44px;width:min(640px,100%);height:20px}
.gate-bar{height:6px}
.gate-cone{height:240px}
.legend{margin-top:32px;gap:22px;font-size:13.5px}
.legend .sq-taken,.legend .sq-free{width:15px}
.nums{margin-top:40px;gap:14px}
.num{flex:0 1 154px;padding:12px;border-radius:58px}
.num-main{flex:0 1 188px;border-radius:70px}
.num-val{font-size:clamp(32px,3.6vw,48px)}
.num-main .num-val{font-size:clamp(44px,5vw,68px)}
.num-label{margin-top:8px;font-size:14px}
.num-main .num-label{font-size:16px}
.progress{margin-top:30px;width:min(600px,100%)}
.progress-row{font-size:13.5px}
.progress-track{margin-top:10px;height:10px}

/* ---------- telegram + footer ---------- */
.tg{padding-top:40px}
.tg-btn{height:50px;padding:0 30px;gap:8px;font-size:15.5px}
.footer{padding-bottom:48px;font-size:13px}

/* ---------- phone ---------- */
@media (max-width:560px){
  .lead{font-size:16px}
  .num-main{min-height:140px;padding:20px 14px;border-radius:40px}
}

/* ---------- העכבר מגיע לפוסטרים ברקע ----------
   אזורי התוכן רחבים (עד 1100px) וחסמו את העכבר מהקיר.
   עכשיו הם "שקופים" לעכבר, ורק מה שבאמת לוחצים עליו נשאר לחיץ */
.hero,.counter,.tg,.footer{pointer-events:none}
.logo-egg,.card-wrap,.cd,.ts-box,.tg-btn,.hero a,.counter a,.footer a{pointer-events:auto}

/* ---------- הצללות בלי "פסים" בצדדים ----------
   ההצללה הייתה אליפסה רחבה מהקופסה שלה ונחתכה בקצוות בקו ישר.
   עכשיו היא נגמרת בדיוק בקצה הקופסה (closest-side), והקופסה רחבה יותר – אותו גודל, בלי חיתוך */
.counter-veil{left:-40%;right:-40%;
  background:radial-gradient(closest-side,rgba(0,0,0,.66) 0%,rgba(0,0,0,.46) 52%,rgba(0,0,0,0) 100%)}
.footer::before{left:-30%;right:-30%;
  background:radial-gradient(closest-side,rgba(0,0,0,.68) 0%,rgba(0,0,0,.56) 28%,rgba(0,0,0,.36) 55%,rgba(0,0,0,.14) 78%,rgba(0,0,0,0) 100%)}

/* ---------- הצללה רכה מאחורי הטקסט ----------
   בלי "קופסה": כתמי הצללה עגולים ורכים (מעבר הדרגתי, בלי קצה) רק מאחורי אזורי הטקסט,
   ועל כל הרקע עוד הצללה אחידה וקלה. */
.bg-top{height:120px;background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,0))}
.bg-bottom{height:240px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8) 70%,#000)}
.bg-veil{background:
  radial-gradient(ellipse 46% 27% at 50% 25%,rgba(0,0,0,0.660) 0%,rgba(0,0,0,0.620) 15%,rgba(0,0,0,0.528) 30%,rgba(0,0,0,0.396) 45%,rgba(0,0,0,0.264) 60%,rgba(0,0,0,0.132) 75%,rgba(0,0,0,0.040) 90%,rgba(0,0,0,0.000) 100%),
  radial-gradient(ellipse 36% 8% at 50% 56%,rgba(0,0,0,0.400) 0%,rgba(0,0,0,0.376) 15%,rgba(0,0,0,0.320) 30%,rgba(0,0,0,0.240) 45%,rgba(0,0,0,0.160) 60%,rgba(0,0,0,0.080) 75%,rgba(0,0,0,0.024) 90%,rgba(0,0,0,0.000) 100%),
  linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}
.counter-veil{left:-45%;right:-45%;
  background:radial-gradient(closest-side,rgba(0,0,0,0.620) 0%,rgba(0,0,0,0.583) 15%,rgba(0,0,0,0.496) 30%,rgba(0,0,0,0.372) 45%,rgba(0,0,0,0.248) 60%,rgba(0,0,0,0.124) 75%,rgba(0,0,0,0.037) 90%,rgba(0,0,0,0.000) 100%)}
.footer::before{left:-35%;right:-35%;
  background:radial-gradient(closest-side,rgba(0,0,0,0.660) 0%,rgba(0,0,0,0.620) 15%,rgba(0,0,0,0.528) 30%,rgba(0,0,0,0.396) 45%,rgba(0,0,0,0.264) 60%,rgba(0,0,0,0.132) 75%,rgba(0,0,0,0.040) 90%,rgba(0,0,0,0.000) 100%)}
@media (max-width:700px){
  .bg-veil{background:
    radial-gradient(ellipse 95% 28% at 50% 26%,rgba(0,0,0,0.620) 0%,rgba(0,0,0,0.583) 15%,rgba(0,0,0,0.496) 30%,rgba(0,0,0,0.372) 45%,rgba(0,0,0,0.248) 60%,rgba(0,0,0,0.124) 75%,rgba(0,0,0,0.037) 90%,rgba(0,0,0,0.000) 100%),
    linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.34))}
}

/* ---------- העתקה/הדבקה ----------
   סימון טקסט עם העכבר מתוך שדה האימייל לא "בורח" לטקסט של הדף (ואז מועתק כל הדף) */
.page{-webkit-user-select:none;user-select:none}
.email{-webkit-user-select:text;user-select:text}

/* ---------- כפתור "הדבקה" בתוך שדה האימייל ---------- */
.email-wrap{position:relative;flex:1 1 250px;min-width:0;display:flex}
.email-wrap .email{flex:1 1 auto;width:100%;padding-right:56px}
.paste-btn{position:absolute;right:7px;top:50%;width:36px;height:36px;margin-top:-18px;padding:0;
  display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:rgba(255,255,255,.85);
  -webkit-tap-highlight-color:transparent;
  transition:transform .35s cubic-bezier(.34,1.45,.5,1),background .25s ease,border-color .25s ease,box-shadow .25s ease,color .25s ease}
.paste-btn[hidden]{display:none}
.paste-btn .i-ok{display:none}
.paste-btn.done .i-paste{display:none}
.paste-btn.done .i-ok{display:block}
.paste-btn.done{color:#fff;background:linear-gradient(180deg,#7B52FF,#6A38F5);border-color:rgba(255,255,255,.3)}
@media (hover:hover){
  .paste-btn:hover{transform:scale(1.08);background:rgba(143,107,255,.28);border-color:rgba(167,139,255,.6);
    box-shadow:0 0 0 4px rgba(143,107,255,.14);color:#fff}
}
.paste-btn:active{transform:scale(.92);transition-duration:.12s}
.paste-btn:focus-visible{outline:3px solid rgba(201,184,255,.9);outline-offset:2px}
.paste-btn.shake{animation:paste-shake .4s ease}
@keyframes paste-shake{25%{translate:-3px 0}50%{translate:3px 0}75%{translate:-2px 0}}

/* ---------- אימוג'ים במשבצות של המונה ---------- */
#grid{pointer-events:auto}
#grid .sq-taken,#grid .sq-free{cursor:default}
.sq-emoji{position:absolute;z-index:50;pointer-events:none;line-height:1;
  translate:-50% -50%;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.55))}
/* תפוסה: תנועה אחת רציפה – עולה בהאטה הדרגתית (בלי עצירה), קפיצה קטנה בגודל, ודעיכה רכה בסוף.
   כל תכונה באנימציה נפרדת כדי שלא "יתקעו" אחת את השנייה */
.sq-emoji.is-happy{
  animation:sq-rise 1.5s cubic-bezier(.22,.61,.36,1) forwards,
            sq-pop .6s cubic-bezier(.34,1.4,.5,1) forwards,
            sq-fade 1.5s ease forwards}
@keyframes sq-rise{from{transform:translateY(6px) rotate(0)} to{transform:translateY(-44px) rotate(var(--rot))}}
@keyframes sq-pop{from{scale:.35} to{scale:1}}
@keyframes sq-fade{0%{opacity:0} 14%{opacity:1} 62%{opacity:1} 100%{opacity:0}}
/* פנויה: 🫥 לא יוצא מהמשבצת – מופיע בתוכה ונעלם ברכות */
.sq-emoji.is-empty{
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));
  animation:sq-ghost 1.05s ease-in-out forwards}
@keyframes sq-ghost{
  0%  {opacity:0; scale:.82}
  35% {opacity:.95; scale:1}
  55% {opacity:.95; scale:1}
  100%{opacity:0; scale:.94}
}
@media (prefers-reduced-motion:reduce){
  .sq-emoji.is-happy,.sq-emoji.is-empty{animation:sq-fade 1.5s ease forwards}
}

/* ---------- נבגים סגולים בכרטיס "הזמנות פנויות" ---------- */
.num-main{position:relative;overflow:hidden;isolation:isolate}
.num-main .num-val,.num-main .num-label{position:relative;z-index:1}
.num-spores{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;border-radius:inherit}
@media (prefers-reduced-motion:reduce){ .num-spores{display:none} }
