/* =========================================================
   משפחת ספיר - עיצוב האתר (גרסה הולוגרפית כהה)
   ========================================================= */

@font-face {
  font-family: "SapirPop";
  src: url("../fonts/SapirPop.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #070a22;
  --bg-2: #0e1140;
  --ink: #f4f3ff;
  --ink-2: #d6d4f5;
  --ink-soft: #a7a5d6;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --cyan: #28d7ff;
  --violet: #7b5cff;
  --magenta: #ff4fd1;
  --lemon: #ffe14d;
  --mint: #4df5c3;
  --holo: linear-gradient(115deg, #28d7ff 0%, #7b5cff 28%, #ff4fd1 52%, #ffe14d 76%, #28d7ff 100%);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-ink: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px -20px rgba(123, 92, 255, 0.55);
  --font-display: "SapirPop", "Heebo", system-ui, sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gutter: 20px;
  --fs-base: 17px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: var(--fs-base); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body.a11y-contrast { --bg: #000; --bg-2: #000; --glass: #111; --glass-2: #1a1a1a; --line: #666; --ink-soft: #ddd; }
body.a11y-big { --fs-base: 20px; }
body.a11y-bigger { --fs-base: 23px; }
body.a11y-gray { filter: grayscale(1); }
body.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed var(--lemon); outline-offset: 2px; }
body.a11y-font, body.a11y-font h1, body.a11y-font h2, body.a11y-font h3, body.a11y-font .display, body.a11y-font .btn { font-family: Arial, Helvetica, sans-serif !important; }
body.a11y-cursor, body.a11y-cursor a, body.a11y-cursor button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1 4 7-3 2-4-7-5 5z' fill='%23fff' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important; }
body.a11y-contrast .bg-aurora, body.a11y-contrast .bg-stars, body.a11y-contrast .bg-noise { display: none; }
body.a11y-contrast .holo-text, body.a11y-contrast .cycle-word, body.a11y-contrast .photo-caption, body.a11y-contrast .ticker-track span, body.a11y-contrast .numbers .num { background: none; -webkit-text-fill-color: #ffe14d; color: #ffe14d; }
body.a11y-nomotion *, body.a11y-nomotion *::before, body.a11y-nomotion *::after { animation: none !important; transition: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* ---------- רקע: אורורה הולוגרפית + כוכבים ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none;
  background: radial-gradient(1200px 800px at 50% -20%, #1a1e5e 0%, var(--bg) 60%);
}
.bg-aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.bg-aurora span:nth-child(1) { width: 60vw; height: 60vw; background: #2e63ff; top: -20vw; inset-inline-end: -15vw; animation-duration: 28s; }
.bg-aurora span:nth-child(2) { width: 50vw; height: 50vw; background: #ff3fc8; bottom: -15vw; inset-inline-start: -15vw; animation-duration: 34s; animation-delay: -8s; }
.bg-aurora span:nth-child(3) { width: 40vw; height: 40vw; background: #00e5ff; top: 40vh; inset-inline-start: 30vw; opacity: 0.3; animation-duration: 40s; animation-delay: -16s; }
.bg-aurora span:nth-child(4) { width: 35vw; height: 35vw; background: #ffe14d; top: 70vh; inset-inline-end: 10vw; opacity: 0.18; animation-duration: 30s; animation-delay: -4s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, 6vh) scale(1.15); }
  100% { transform: translate(6vw, -8vh) scale(0.95); }
}
.bg-stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .bg-aurora span { animation: none; } }

/* ---------- מעברי עמוד: לוגו SWOOSH + זיקוקים ---------- */
.fx-canvas { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
main { animation: page-in 0.7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main { animation: none; } .fx-canvas { display: none; } }

/* חשיפה בגלילה */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; } }

/* ---------- טיפוגרפיה ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-soft); }

.holo-title { display: inline-block; position: relative; padding-bottom: 0.12em; text-shadow: 0 0 30px rgba(123, 92, 255, 0.35); }
.holo-title::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 0.16em; border-radius: 999px;
  background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite;
  box-shadow: 0 0 18px rgba(255, 79, 209, 0.6);
}
.holo-text {
  background: var(--holo); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-shift 7s linear infinite;
  filter: drop-shadow(0 0 24px rgba(123, 92, 255, 0.45));
}
@keyframes holo-shift { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .holo-title::after, .holo-text { animation: none; } }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.8em 1.5em;
  border-radius: var(--radius-pill); border: 2px solid transparent; font-weight: 700; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn::after {
  /* ברק שעובר על הכפתור */
  content: ""; position: absolute; top: -50%; bottom: -50%; width: 40%; inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: inset-inline-start 0.6s var(--ease); pointer-events: none;
}
.btn:hover::after { inset-inline-start: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-ink { background: #fff; color: #0b0d2e; box-shadow: 0 10px 30px -10px rgba(255,255,255,0.5); }
.btn-ink:hover { box-shadow: 0 16px 40px -12px rgba(255,255,255,0.7); }
.btn-holo { color: #fff; background: var(--bg-2); }
.btn-holo::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite;
}
.btn-holo span, .btn-holo svg { position: relative; }
.btn-holo { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box; }
.btn-holo:hover { box-shadow: 0 0 30px -4px rgba(255, 79, 209, 0.7); }
.btn-ghost { border-color: var(--line-2); background: var(--glass); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #fff; background: var(--glass-2); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.92rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- ניווט ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 34, 0.55);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(7, 10, 34, 0.85); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.nav-logo { display: flex; align-items: center; flex: none; filter: drop-shadow(0 0 14px rgba(40,215,255,0.35)); transition: transform 0.3s var(--ease); }
.nav-logo:hover { transform: scale(1.05) rotate(-2deg); }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.nav-links a {
  display: block; padding: 0.45em 0.75em; border-radius: var(--radius-pill); position: relative;
  text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: 0.98rem; transition: color 0.2s, background 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0.9em; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--holo); background-size: 300% 100%; transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; background: var(--glass); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 74px;
    background: rgba(7, 10, 34, 0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; box-shadow: var(--shadow-ink);
  }
  .nav.open .nav-links a { padding: 0.7em 0.9em; font-size: 1.1rem; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- הירו ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 74px); min-height: calc(100svh - 74px);
  display: flex; align-items: center; padding: clamp(28px, 5vw, 64px) 0 70px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; width: min(var(--container), 100% - 2 * var(--gutter)); }
.hero-text { position: relative; z-index: 2; }
/* קרני אור מסתובבות מאחורי הלוגו */
.hero-rays {
  position: absolute; z-index: 0; inset-inline-end: 8%; top: 50%; width: 110vmin; height: 110vmin; max-width: 1100px; max-height: 1100px;
  transform: translate(0, -50%); pointer-events: none; opacity: 0.55;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0) 0deg 9deg, rgba(123,92,255,0.5) 10deg 12deg, rgba(255,255,255,0) 13deg 18deg, rgba(40,215,255,0.45) 19deg 21deg, rgba(255,255,255,0) 22deg 30deg);
  -webkit-mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,0.6) 35%, transparent 72%); mask: radial-gradient(closest-side, #000 0%, rgba(0,0,0,0.6) 35%, transparent 72%);
  animation: rays 40s linear infinite; mix-blend-mode: screen;
}
@keyframes rays { to { transform: translate(0, -50%) rotate(360deg); } }
.hero .spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px 520px at var(--mx, 70%) var(--my, 40%), rgba(255, 79, 209, 0.22), transparent 60%); }
/* רסיסים הולוגרפיים מרחפים */
.hero-shards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-shards i {
  position: absolute; display: block; width: 18px; height: 18px; opacity: 0;
  background: var(--holo); background-size: 300% 100%;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
  animation: shard 11s ease-in-out infinite, holo-shift 5s linear infinite;
}
.hero-shards i:nth-child(1)  { left: 6%;  top: 70%; animation-delay: 0s;   width: 12px; height: 12px; }
.hero-shards i:nth-child(2)  { left: 14%; top: 20%; animation-delay: 1.5s; }
.hero-shards i:nth-child(3)  { left: 28%; top: 85%; animation-delay: 3s;   width: 10px; height: 10px; }
.hero-shards i:nth-child(4)  { left: 40%; top: 10%; animation-delay: 4.5s; width: 22px; height: 22px; }
.hero-shards i:nth-child(5)  { left: 52%; top: 60%; animation-delay: 2s;   width: 9px;  height: 9px; }
.hero-shards i:nth-child(6)  { left: 63%; top: 90%; animation-delay: 6s; }
.hero-shards i:nth-child(7)  { left: 74%; top: 15%; animation-delay: 7.5s; width: 14px; height: 14px; }
.hero-shards i:nth-child(8)  { left: 86%; top: 55%; animation-delay: 9s;   width: 24px; height: 24px; }
.hero-shards i:nth-child(9)  { left: 93%; top: 30%; animation-delay: 5s;   width: 10px; height: 10px; }
.hero-shards i:nth-child(10) { left: 46%; top: 40%; animation-delay: 8s;   width: 8px;  height: 8px; }
@keyframes shard {
  0% { transform: translateY(40px) rotate(0) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  50% { transform: translateY(-40px) rotate(180deg) scale(1.1); opacity: 0.8; }
  85% { opacity: 0.6; }
  100% { transform: translateY(-120px) rotate(360deg) scale(0.5); opacity: 0; }
}
.hero-logo {
  width: min(100%, 600px); margin-bottom: 10px; position: relative;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(40, 215, 255, 0.45));
  animation: logo-in 1.1s var(--ease) both, float 6s ease-in-out 1.2s infinite;
}
@keyframes logo-in { from { opacity: 0; transform: scale(0.6) rotate(-8deg); filter: blur(14px); } to { opacity: 1; transform: none; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(40,215,255,0.45)); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1deg); } }
.hero-tagline { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.15; margin: 0 0 14px; }
.hero-tagline .tag-static { display: block; font-size: 0.62em; color: var(--ink-2); }
.cycle { display: grid; white-space: nowrap; font-size: 1.25em; }
.cycle-word {
  grid-area: 1 / 1; display: block; background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-shift 6s linear infinite; filter: drop-shadow(0 0 18px rgba(255,79,209,0.5));
  opacity: 0;
}
.cycle-word.is-on { opacity: 1; }
.photo-caption {
  margin: 26px 0 0; text-align: center; font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.3;
  background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-shift 7s linear infinite; filter: drop-shadow(0 0 20px rgba(40,215,255,0.45));
}
.hero-copy { color: var(--ink-2); max-width: 44ch; font-size: 1.1rem; animation: page-in 0.8s var(--ease) 0.5s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; animation: page-in 0.8s var(--ease) 0.7s both; }

.hero-photo { position: relative; z-index: 2; perspective: 1000px; margin: 30px 0 20px; animation: page-in 1s var(--ease) 0.35s both; }
.hero-photo .frame {
  position: relative; border-radius: 28px; padding: 5px;
  background: var(--holo); background-size: 300% 100%; animation: holo-shift 9s linear infinite;
  transform: rotate(-3deg); transform-style: preserve-3d;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 70px -10px rgba(255, 79, 209, 0.5), 0 0 120px -20px rgba(40,215,255,0.4);
  transition: transform 0.2s ease-out;
}
.hero-photo .frame img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-photo .frame::after { content: ""; position: absolute; inset: 5px; border-radius: 24px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.28), transparent 40%, transparent 60%, rgba(255,255,255,0.12)); }
.hero-photo .sticker {
  position: absolute; bottom: -10px; inset-inline-start: 6%; z-index: 3;
  background: var(--lemon); color: #0b0d2e; font-family: var(--font-display);
  padding: 8px 18px; border-radius: 14px; transform: rotate(4deg); font-size: 1.2rem;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.8), 0 0 24px rgba(255,225,77,0.5);
  animation: sticker-in 0.6s var(--ease) 1s both;
}
@keyframes sticker-in { from { opacity: 0; transform: rotate(14deg) scale(0.5); } to { opacity: 1; transform: rotate(4deg) scale(1); } }
/* מדבקות סושיאל מרחפות סביב התמונה */
.float-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
  background: rgba(10, 13, 45, 0.75); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 16px 6px 8px;
  backdrop-filter: blur(14px); box-shadow: 0 16px 40px -14px rgba(0,0,0,0.9), 0 0 0 0 rgba(255,255,255,0);
  animation: bob 5s ease-in-out infinite, badge-in 0.7s var(--ease) both; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.float-badge:hover { box-shadow: 0 16px 40px -14px rgba(0,0,0,0.9), 0 0 30px rgba(255,255,255,0.35); animation-play-state: paused; transform: scale(1.08); }
.float-badge .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.float-badge .ico svg { width: 20px; height: 20px; }
.float-badge b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.float-badge small { font-size: 0.78rem; color: var(--ink-soft); display: block; line-height: 1.1; }
.float-badge b + small { margin-inline-start: -4px; }
.fb-yt  { top: -8%;  inset-inline-end: -6%;  animation-delay: 1.1s, 1.1s; }
.fb-ig  { top: 32%;  inset-inline-start: -9%; animation-delay: 1.3s, 1.3s; animation-duration: 6s, 0.7s; }
.fb-tt  { bottom: 14%; inset-inline-end: -8%; animation-delay: 1.5s, 1.5s; animation-duration: 5.5s, 0.7s; }
.fb-all { top: -6%;  inset-inline-start: 8%;  animation-delay: 1.7s, 1.7s; animation-duration: 6.5s, 0.7s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes badge-in { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
.ico-yt { background: #ff2d55; }
.ico-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.ico-tt { background: #000; border: 1px solid var(--line-2); }
.ico-all { background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite; }

.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; display: block; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* פס רץ הולוגרפי */
.ticker-wrap { overflow: hidden; margin: 6px 0 30px; padding: 14px 0; }
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); transform: rotate(-1deg); margin-inline: -2%; width: 104%; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 34px; width: max-content; padding: 12px 0; font-family: var(--font-display); font-size: 1.35rem; white-space: nowrap; animation: ticker 24s linear infinite; will-change: transform; }
.ticker-track span { background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-shift 7s linear infinite; }
.ticker-track em { color: var(--lemon); font-style: normal; }
@keyframes ticker { from { transform: translate3d(0,0,0); } to { transform: translate3d(25%,0,0); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 18px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .hero-rays { inset-inline-end: auto; left: 50%; top: 22%; width: 150vmin; height: 150vmin; transform: translate(-50%, -50%); opacity: 0.45; }
  @keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
  .hero-logo, .hero-copy { margin-inline: auto; }
  .hero-logo { width: min(100%, 420px); }
  .hero-tagline { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .hero-actions { justify-content: center; }
  .hero-photo { max-width: 400px; margin: 34px auto 10px; width: calc(100% - 44px); }
  .hero-photo .frame img { aspect-ratio: 4 / 3.2; }
  .float-badge { padding: 4px 12px 4px 5px; gap: 7px; }
  .float-badge .ico { width: 32px; height: 32px; }
  .float-badge .ico svg { width: 16px; height: 16px; }
  .float-badge b { font-size: 1.1rem; }
  .float-badge small { font-size: 0.7rem; }
  .fb-yt { top: -7%; inset-inline-end: -8%; }
  .fb-ig { top: 36%; inset-inline-start: -11%; }
  .fb-tt { bottom: 8%; inset-inline-end: -9%; }
  .fb-all { top: -7%; inset-inline-start: 2%; }
  .hero-photo .sticker { inset-inline-start: 50%; transform: translateX(50%) rotate(4deg); bottom: -16px; }
  @keyframes sticker-in { from { opacity: 0; transform: translateX(50%) rotate(14deg) scale(0.5); } to { opacity: 1; transform: translateX(50%) rotate(4deg) scale(1); } }
  .scroll-hint { display: none; }
  .ticker-track { font-size: 1.1rem; animation-duration: 16s; }
}
@media (prefers-reduced-motion: reduce) { .hero-rays, .hero-shards i, .ticker-track, .float-badge, .scroll-hint span { animation: none; } .hero-shards { display: none; } }

/* ---------- פס עוקבים ---------- */
.stats-strip { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.stat .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.8); }
.stat .ico svg { width: 24px; height: 24px; }
.stat .num { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.stat .lbl { color: var(--ink-soft); font-size: 0.92rem; }
.ico-yt { background: #ff2d55; }
.ico-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.ico-tt { background: #000; border: 1px solid var(--line-2); }
.ico-all { background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite; }
@media (max-width: 900px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- מקטעים ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 52ch; }
.section-head .btn { margin-bottom: 6px; }

/* כרטיסים (זכוכית + מסגרת הולוגרפית בהובר) */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s;
}
.card:hover::before, a.card:focus-visible::before { opacity: 1; }
a.card:hover, .card.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-soft); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* משחקים */
.game-tile { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; color: #fff; text-align: center; padding: 20px; }
.game-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 50% 120%, rgba(255,255,255,0.4), transparent 60%); }
.game-tile::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,0.25) 80%, transparent 90%); animation: spin 6s linear infinite; opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }
.game-tile .name { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; text-shadow: 0 6px 20px rgba(0,0,0,0.45); position: relative; z-index: 1; }
.game-tile .kind { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(0,0,0,0.4); backdrop-filter: blur(6px); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; z-index: 1; }
.game-tile svg { width: clamp(54px, 7vw, 84px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); position: relative; z-index: 1; transition: transform 0.4s var(--ease); }
a.card:hover .game-tile svg, .game-row:hover .game-tile svg { transform: translateY(-8px) scale(1.1) rotate(-6deg); }
.tile-fighter { background: linear-gradient(135deg, #ff3d6e, #ff8a3d); }
.tile-tower { background: linear-gradient(135deg, #28d7ff, #3d7bff); }
.tile-run { background: linear-gradient(135deg, #22c55e, #0e9f6e); }
.tile-word { background: linear-gradient(135deg, #7b5cff, #b23dff); }
.tile-virus { background: linear-gradient(135deg, #2a2f8a, #7b2bd6); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--glass-2); color: var(--ink); border: 1px solid var(--line); }
.badge-live { background: rgba(77, 245, 195, 0.15); color: #7dffd6; border-color: rgba(77,245,195,0.35); box-shadow: 0 0 14px rgba(77,245,195,0.25); }
.badge-soon { background: rgba(255, 225, 77, 0.14); color: #ffe88a; border-color: rgba(255,225,77,0.35); }
.badge-kids { background: rgba(255, 79, 209, 0.16); color: #ff9ae6; border-color: rgba(255,79,209,0.4); }
.badge-parents { background: rgba(40, 215, 255, 0.14); color: #8fe9ff; border-color: rgba(40,215,255,0.4); }

/* וידאו */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #05071a; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 24px;
  background: radial-gradient(600px 300px at 50% 120%, rgba(123,92,255,0.6), transparent 60%), radial-gradient(400px 200px at 20% 0%, rgba(40,215,255,0.3), transparent 60%), #0a0d33;
}
.video-placeholder .play { width: 76px; height: 76px; border-radius: 50%; background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite, pulse 2.4s ease-in-out infinite; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 0 40px rgba(255,79,209,0.6); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,79,209,0.6); } 50% { box-shadow: 0 0 0 18px rgba(255,79,209,0); } }
.video-placeholder .play svg { width: 30px; height: 30px; fill: #0b0d2e; margin-inline-start: -4px; }
.video-placeholder strong { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.video-placeholder small { color: rgba(255,255,255,0.7); display: block; line-height: 1.4; }
@media (max-width: 640px) {
  .video-placeholder { padding: 14px; }
  .video-placeholder .play { width: 52px; height: 52px; margin-bottom: 8px; }
  .video-placeholder strong { font-size: 1.15rem; }
  .video-placeholder small { font-size: 0.78rem; }
}

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { border: 1px solid var(--line-2); background: var(--glass); color: var(--ink-2); padding: 0.5em 1.1em; border-radius: 999px; font-weight: 600; text-decoration: none; transition: all 0.25s var(--ease); }
.tab:hover { background: var(--glass-2); color: #fff; transform: translateY(-2px); }
.tab[aria-selected="true"] { background: #fff; color: #0b0d2e; border-color: #fff; box-shadow: 0 0 24px rgba(255,255,255,0.35); }

.channel-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; flex-direction: row; }
.channel-card .avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: #fff; flex: none; box-shadow: 0 0 22px -4px currentColor; overflow: hidden; border: 2px solid rgba(255,255,255,0.2); }
.channel-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.channels-grid .channel-card h3 { font-size: 1.05rem; }
.channel-card h3 { font-size: 1.15rem; margin: 0; font-family: var(--font-body); font-weight: 800; }
.channel-card p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }

/* בלוג */
.post-card .cover { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-card .cover .emoji { font-size: 4rem; line-height: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); transition: transform 0.5s var(--ease); }
.post-card:hover .cover .emoji { transform: scale(1.2) rotate(-8deg); }
.post-card .meta { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); flex-wrap: wrap; }
.cover-parents { background: linear-gradient(135deg, #1b4a8a, #4a2fb0); }
.cover-kids { background: linear-gradient(135deg, #b0237a, #e0772f); }

.post-hero { padding-top: 40px; max-width: 760px; margin-inline: auto; }
.post-body { max-width: 720px; margin: 28px auto 0; font-size: 1.1rem; line-height: 1.85; color: var(--ink-2); }
.post-body h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--ink); }
.post-body ul, .post-body ol { padding-inline-start: 1.4em; }
.post-body li { margin-bottom: 0.4em; }
.post-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-inline-start: 5px solid var(--magenta); background: var(--glass); border-radius: 0 14px 14px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* תולי */
.tuli-band {
  margin-top: 60px; border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 0%, rgba(255, 225, 77, 0.35), transparent 60%),
              radial-gradient(600px 300px at 0% 100%, rgba(77, 245, 195, 0.3), transparent 60%), rgba(14, 17, 64, 0.5);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; border: 1px solid rgba(255, 225, 77, 0.35);
  box-shadow: 0 0 80px -30px rgba(255,225,77,0.5);
}
.tuli-friends { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.friend { display: flex; align-items: center; gap: 10px; background: var(--glass-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 700; transition: transform 0.3s var(--ease); }
.friend:hover { transform: translateY(-3px) rotate(-2deg); }
.friend .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; }
.tuli-mark { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; text-align: center; animation: float 5s ease-in-out infinite; }
@media (max-width: 900px) { .tuli-band { grid-template-columns: 1fr; } }

/* מותגים / קשר */
.cta-band {
  margin-top: 70px; border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px);
  background: rgba(14, 17, 64, 0.6); color: #fff; position: relative; overflow: hidden; border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--holo); filter: blur(80px); opacity: 0.55; animation: drift 20s ease-in-out infinite alternate; }
.cta-band > * { position: relative; }
.cta-band p { color: rgba(255,255,255,0.8); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kv div { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 14px 16px; backdrop-filter: blur(8px); }
.kv .num { font-family: var(--font-display); font-size: 1.8rem; display: block; }
.kv .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } }

/* טפסים */
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; padding: 0.75em 1em; border: 1.5px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,0.25); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.form select option { color: #000; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 4px rgba(40,215,255,0.2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* פרסומות */
.ad-slot {
  margin: 36px auto 0; border: 2px dashed rgba(255,255,255,0.2); border-radius: 16px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.05) 12px, rgba(255,255,255,0.05) 24px);
  display: grid; place-items: center; color: var(--ink-soft); font-size: 0.9rem; text-align: center; padding: 10px;
}
.ad-leaderboard { max-width: 970px; min-height: 110px; }
.ad-rect { max-width: 336px; min-height: 280px; }
.ad-slot small { display: block; color: rgba(255,255,255,0.4); }

.with-side { display: grid; grid-template-columns: 1fr 336px; gap: 36px; align-items: start; }
@media (max-width: 1000px) { .with-side { grid-template-columns: 1fr; } }
.side-sticky { position: sticky; top: 92px; }

.page-head { padding: clamp(40px, 6vw, 70px) 0 10px; }
.prose { max-width: 760px; font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; font-family: var(--font-body); font-weight: 800; color: var(--ink); }
.prose ul { padding-inline-start: 1.3em; }
.prose a { color: #8fe9ff; }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 0.95rem; color: #fff;
  transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s;
}
.social-row a:hover { border-color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(255,255,255,0.5); }
.social-row svg { width: 20px; height: 20px; }

/* ---------- פוטר ---------- */
.site-footer { margin-top: clamp(70px, 10vw, 120px); background: rgba(3, 5, 20, 0.7); color: #fff; padding: 56px 0 28px; position: relative; overflow: hidden; border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 1rem; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s, padding 0.2s; }
.footer-grid a:hover { color: #fff; padding-inline-start: 4px; }
.footer-logo { width: 190px; margin-bottom: 14px; filter: drop-shadow(0 0 20px rgba(40,215,255,0.3)); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* נגישות */
.a11y-btn { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(14,17,64,0.9); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-ink); backdrop-filter: blur(10px); transition: transform 0.3s var(--ease); }
.a11y-btn:hover { transform: scale(1.08); }
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-panel { position: fixed; bottom: 80px; inset-inline-start: 18px; z-index: 60; width: 240px; background: rgba(14,17,64,0.96); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-ink); display: none; gap: 8px; backdrop-filter: blur(16px); }
.a11y-panel.open { display: grid; animation: page-in 0.3s var(--ease); }
.a11y-panel button { border: 1px solid var(--line); background: var(--glass); color: #fff; border-radius: 10px; padding: 8px 12px; text-align: right; font-weight: 600; }
.a11y-panel button[aria-pressed="true"] { background: #fff; color: #0b0d2e; border-color: #fff; }
.a11y-panel a { color: #8fe9ff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.today { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .today { grid-template-columns: 1fr; } }
.today-post { background: var(--glass); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); backdrop-filter: blur(12px); position: relative; overflow: hidden; }
.today-post::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--magenta); filter: blur(70px); opacity: 0.35; }
.today-post > * { position: relative; }
.today-post .emoji { font-size: 2.6rem; line-height: 1; }
.today-post h3 { margin: 0; }
.today-post .btn { margin-top: auto; align-self: flex-start; }

.empty { padding: 40px; text-align: center; color: var(--ink-soft); background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.dummy-note { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* כפתור חזרה למעלה */
.to-top { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(14,17,64,0.9); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all 0.3s var(--ease); backdrop-filter: blur(10px); }
.to-top.show { opacity: 1; pointer-events: all; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- שדרוגים גלובליים ---------- */
.skip-link { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 200; background: #fff; color: #0b0d2e; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; width: 100%; height: 3px; z-index: 70; background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite; transform-origin: right; transform: scaleX(0); pointer-events: none; }

/* הטיית כרטיסים */
.tilting { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px) !important; transition: transform 0.08s linear, box-shadow 0.3s !important; }
a.card, .game-row, .card.tilt { transform-style: preserve-3d; }
a.card::after, .game-row::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(400px 300px at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.16), transparent 60%); }
a.card.tilting::after, .game-row.tilting::after { opacity: 1; }

/* ניווט תחתון במובייל */
.tabbar { display: none; }
@media (max-width: 900px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; inset-inline: 0; z-index: 65;
    background: rgba(7, 10, 34, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; text-decoration: none; color: var(--ink-soft); font-size: 0.72rem; font-weight: 600; padding: 4px 0; border-radius: 12px; position: relative; }
  .tabbar .ti { width: 38px; height: 26px; display: grid; place-items: center; border-radius: 999px; transition: background 0.25s, transform 0.25s var(--ease); }
  .tabbar .ti svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .tabbar a[aria-current="page"] .ti { background: var(--holo); background-size: 300% 100%; animation: holo-shift 7s linear infinite; color: #0b0d2e; transform: translateY(-2px); box-shadow: 0 0 18px rgba(255,79,209,0.6); }
  .tabbar a:active .ti { transform: scale(0.9); }
  body { padding-bottom: 76px; }
  .a11y-btn { bottom: 86px; }
  .to-top { bottom: 86px; }
  .site-footer { padding-bottom: 20px; }
}

/* שאלות נפוצות */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); background: var(--glass-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--magenta); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 18px; color: var(--ink-2); animation: page-in 0.4s var(--ease); }

/* ניוזלטר */
.newsletter { margin-top: 70px; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: auto auto -50% -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); filter: blur(90px); opacity: 0.3; }
.newsletter > * { position: relative; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { font: inherit; padding: 0.8em 1.1em; border-radius: 999px; border: 1.5px solid var(--line-2); background: rgba(0,0,0,0.3); color: #fff; min-width: 260px; }
.newsletter input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(40,215,255,0.2); }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } .newsletter input { min-width: 0; flex: 1; } }

/* שורטס */
.shorts-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.short { aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--line); display: grid; place-items: end; padding: 16px; text-decoration: none; color: #fff; background: var(--bg-2); }
.short .play { position: absolute; inset: 0; display: grid; place-items: center; }
.short .play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s; }
.short .play svg { width: 24px; height: 24px; fill: #fff; margin-inline-start: -3px; }
.short:hover .play span { transform: scale(1.15); background: #fff; }
.short:hover .play svg { fill: #0b0d2e; }
.short b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; text-shadow: 0 4px 16px rgba(0,0,0,0.7); position: relative; }
.short small { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(0,0,0,0.45); padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; }
@media (max-width: 900px) { .shorts-row { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; } .shorts-row .vcard .vtitle { font-size: 0.75rem; -webkit-line-clamp: 2; } }

/* פוסט מומלץ */
.featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--glass); text-decoration: none; color: inherit; margin-bottom: 28px; position: relative; }
.featured-post .cover { min-height: 300px; display: grid; place-items: center; font-size: 7rem; position: relative; }
.featured-post .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 50% 110%, rgba(255,255,255,0.35), transparent 60%); }
.featured-post .cover span { position: relative; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); transition: transform 0.5s var(--ease); }
.featured-post:hover .cover span { transform: scale(1.15) rotate(-6deg); }
.featured-post .body { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured-post h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.featured-post .tag { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--lemon); color: #0b0d2e; font-weight: 800; padding: 4px 14px; border-radius: 999px; font-size: 0.85rem; z-index: 1; }
@media (max-width: 800px) { .featured-post { grid-template-columns: 1fr; } .featured-post .cover { min-height: 200px; font-size: 5rem; } }

/* כרטיסי דמויות מתהפכים */
.flip { perspective: 1000px; background: none; border: 0; cursor: pointer; }
.flip-inner { position: relative; width: 100%; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform 0.8s var(--ease); }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; background: var(--glass); backdrop-filter: blur(12px); }
.flip-back { transform: rotateY(180deg); }
.flip-face .face { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 3.4rem; margin-bottom: 14px; box-shadow: 0 0 36px -6px currentColor; }
.flip-face h3 { margin: 0 0 4px; }
.flip-face .power { display: inline-block; font-weight: 800; padding: 4px 14px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); font-size: 0.95rem; }
.flip-back .power { background: var(--holo); color: #0b0d2e; border: 0; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 10px; }
.flip-hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }

/* מקטע מספרים */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.numbers div { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--glass); position: relative; overflow: hidden; }
.numbers .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; display: block; background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-shift 7s linear infinite; }
.numbers .lbl { color: var(--ink-soft); margin-top: 6px; display: block; }
@media (max-width: 800px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

/* ---------- תולי: גרפיקות אמיתיות ---------- */
.tuli-logo { width: min(100%, 300px); height: auto; margin-bottom: 10px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); animation: float 6s ease-in-out infinite; }
.tuli-band-art { position: relative; overflow: visible; min-height: 380px; }
.tuli-crew { position: relative; height: 100%; min-height: 320px; }
.tuli-crew .crew { position: absolute; bottom: -62px; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); transition: transform 0.4s var(--ease); }
.tuli-crew .tuli { width: 54%; left: 50%; transform: translateX(-50%); z-index: 2; animation: crew-bob 4s ease-in-out infinite; }
.tuli-crew .fox { width: 40%; left: 2%; bottom: -50px; animation: crew-bob 4.6s ease-in-out 0.4s infinite; }
.tuli-crew .hop { width: 30%; right: 4%; bottom: -50px; animation: crew-bob 4.2s ease-in-out 0.8s infinite; }
@keyframes crew-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.tuli-band-art:hover .crew.tuli { transform: translateX(-50%) scale(1.04); }
@media (max-width: 900px) { .tuli-band-art { padding-bottom: 0; } .tuli-crew { min-height: 260px; } .tuli-crew .crew { bottom: -30px; } .tuli-crew .fox, .tuli-crew .hop { bottom: -20px; } .tuli-band-art + * { margin-top: 70px; } }

.tuli-hero-art { position: relative; overflow: visible; align-items: end; padding-bottom: 0 !important; }
.tuli-hero-text { padding-bottom: clamp(36px, 6vw, 72px); }
.tuli-hero-char { width: min(100%, 520px); height: auto; justify-self: center; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); margin-bottom: -4px; animation: page-in 1s var(--ease) 0.3s both; }
.tuli-hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(255,225,77,0.12), transparent); border-radius: 0 0 var(--radius-xl) var(--radius-xl); pointer-events: none; }
@media (max-width: 900px) { .tuli-hero-text { padding-bottom: 10px; } .tuli-hero-char { width: min(100%, 360px); } }

.face-img { background: var(--glass-2); border: 1px solid var(--line); overflow: hidden; color: #ffe14d; }
.face-img img { width: 86%; height: 86%; object-fit: contain; object-position: top; margin-top: 10%; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }

.tuli-stage { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-ink); aspect-ratio: 21 / 9; }
.tuli-stage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 8s ease; }
.tuli-stage:hover img { transform: scale(1.06); }
.tuli-stage-text { position: absolute; inset: auto 0 0; padding: clamp(20px, 4vw, 40px); background: linear-gradient(to top, rgba(7,10,34,0.95), rgba(7,10,34,0.5) 60%, transparent); }
.tuli-stage-text h2 { margin: 0 0 6px; }
.tuli-stage-text p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.tuli-stage-text a { color: var(--lemon); font-weight: 700; }
@media (max-width: 700px) { .tuli-stage { aspect-ratio: 4 / 5; } }

.tuli-stage-side { position: relative; border-radius: 24px; padding: 4px; background: var(--holo); background-size: 300% 100%; animation: holo-shift 9s linear infinite; transform: rotate(2deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 50px -10px rgba(255,225,77,0.5); transition: transform 0.4s var(--ease); }
.tuli-stage-side img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.tuli-band-art:hover .tuli-stage-side { transform: rotate(0deg) scale(1.02); }
.tuli-band-art { min-height: 0; }

/* ---------- כרטיסי וידאו ונגן צף ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vgrid { grid-template-columns: 1fr; } }
.vcard { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; padding: 0 0 12px; text-align: right; color: inherit; display: grid; gap: 6px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; cursor: pointer; font: inherit; }
.vcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-glow); }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.vcard:hover .vthumb img { transform: scale(1.06); }
.vplay { position: absolute; inset: 0; display: grid; place-items: center; }
.vplay svg { width: 54px; height: 54px; fill: #fff; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.7)); opacity: 0.9; transition: transform 0.3s var(--ease); }
.vcard:hover .vplay svg { transform: scale(1.15); }
.vthumb small { position: absolute; bottom: 8px; inset-inline-start: 8px; background: rgba(0,0,0,0.7); padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; color: #fff; }
.vtitle { padding: 6px 12px 0; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vdate { padding: 0 12px; font-size: 0.82rem; color: var(--ink-soft); }
.vcard.vshort .vthumb { aspect-ratio: 9 / 16; }
.vcard.vshort .vtitle { font-size: 0.85rem; padding: 4px 8px 0; }
.vcard.vshort .vdate { display: none; }
.vcard.vshort { padding-bottom: 8px; }
.vcard.vshort .vthumb img { object-fit: cover; }
.vcard.vbig .vtitle { font-size: 1.2rem; -webkit-line-clamp: 2; }
.vmodal { position: fixed; inset: 0; z-index: 120; background: rgba(3,5,20,0.85); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; animation: page-in 0.25s var(--ease); }
.vmodal[hidden] { display: none; }
.vmodal-box { width: min(1100px, 100%); position: relative; }
.vmodal .video-frame { box-shadow: 0 40px 100px -20px rgba(0,0,0,0.9); }
.vclose { position: absolute; top: -48px; inset-inline-start: 0; background: var(--glass-2); border: 1px solid var(--line-2); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; }
.vmodal-title { margin-top: 12px; font-weight: 700; font-size: 1.1rem; }
.shorts-row .vcard { flex: 0 0 auto; }

/* פאנל נגישות מורחב + עוגיות */
.a11y-panel { width: 260px; max-height: calc(100vh - 110px); overflow: auto; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.a11y-close { background: none; border: 0; color: #fff; font-size: 1rem; width: 32px; height: 32px; border-radius: 50%; }
.a11y-close:hover { background: var(--glass-2); }
.cookie-bar { position: fixed; bottom: 16px; inset-inline: 16px; z-index: 110; margin-inline: auto; max-width: 980px; background: rgba(10, 13, 45, 0.96); border: 1px solid var(--line-2); border-radius: 20px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-ink); backdrop-filter: blur(16px); animation: page-in 0.5s var(--ease); transition: opacity 0.4s, transform 0.4s; }
.cookie-bar.bye { opacity: 0; transform: translateY(20px); }
.cookie-text { flex: 1 1 420px; font-size: 0.95rem; color: var(--ink-2); }
.cookie-text strong { color: #fff; display: block; }
.cookie-text a { color: #8fe9ff; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .cookie-bar { bottom: 84px; } }
