/* Showbly landing — "Saturday-morning studio". Chunky rounded display type,
   a dark stage with spotlights, the cast peeking in from the edges, real
   product frames instead of icons, sticker labels with hard shadows. */
:root {
  --cream: #fff5e1; --cream2: #ffe9c2; --ink: #1b1b2f; --ink2: #4d4d66; --line: #eadcc0;
  --navy: #14122b; --navy2: #241f4a; --purple: #7b2cbf; --violet: #9d4edd; --pink: #ff4d8d; --yellow: #ffc82e; --orange: #ff8a3d;
  --mint: #58e0a8; --sky: #4cc9f0; --white: #fff;
  --display: "Fredoka", "Varela Round", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 0 24px 60px rgba(20, 18, 43, 0.28);
}
[lang="he"] { --display: "Varela Round", "Rubik", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.5; overflow-x: hidden; }
a { color: var(--purple); }
img, canvas, video { max-width: 100%; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- buttons & stickers ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 18px; border: 3px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; background: var(--white); color: var(--ink); box-shadow: var(--shadow-hard); transition: transform 0.08s, box-shadow 0.08s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.btn.primary { background: var(--yellow); }
.btn.pink { background: var(--pink); color: var(--white); }
.btn.big { min-height: 68px; font-size: 22px; padding: 0 34px; border-radius: 22px; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); box-shadow: none; }
.btn.ghost:hover { transform: none; box-shadow: none; border-color: var(--white); }
.sticker { display: inline-block; font-family: var(--display); font-weight: 700; padding: 6px 14px; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--yellow); color: var(--ink); transform: rotate(-3deg); font-size: 16px; }
.sticker.pink { background: var(--pink); color: var(--white); transform: rotate(2deg); }
.sticker.mint { background: var(--mint); transform: rotate(-2deg); }
.sticker.sky { background: var(--sky); transform: rotate(3deg); }

/* ---- nav ---- */
header { position: sticky; top: 0; z-index: 30; background: rgba(255, 245, 225, 0.92); backdrop-filter: blur(12px); border-bottom: 3px solid var(--ink); }
nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--ink); text-decoration: none; }
.logo img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
nav ul a { color: var(--ink); text-decoration: none; font-weight: 700; }
nav ul a:hover { color: var(--purple); }
.nav-right { display: flex; align-items: center; gap: 12px; }
nav .btn { min-height: 48px; font-size: 16px; padding: 0 18px; box-shadow: 4px 4px 0 var(--ink); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 14px; border-radius: 14px; border: 3px solid var(--ink); background: var(--white); }
.lang summary::-webkit-details-marker { display: none; }
.lang div { position: absolute; inset-inline-end: 0; top: 115%; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-hard); padding: 12px; width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; z-index: 20; }
.lang div a { display: block; font-weight: 700; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); text-align: start; }
.lang div a:hover { border-color: var(--ink); background: var(--yellow); }
.lang div a.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lang div .hint { grid-column: 1 / -1; font-size: 12px; color: var(--ink2); line-height: 1.4; padding: 2px 4px 6px; }

/* ---- hero: the stage ---- */
.stage { background: radial-gradient(60% 80% at 20% 0%, rgba(157, 78, 221, 0.55), transparent 60%), radial-gradient(50% 70% at 85% 10%, rgba(255, 77, 141, 0.45), transparent 60%), radial-gradient(40% 50% at 55% 100%, rgba(76, 201, 240, 0.25), transparent 60%), var(--navy); color: var(--white); position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.6px); background-size: 34px 34px; opacity: 0.5; pointer-events: none; }
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 72px 96px; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--yellow); position: relative; display: inline-block; }
.hero .lead { font-size: 20px; color: #d9d4ff; margin: 0 0 28px; max-width: 540px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 14px; color: #b9b3e6; margin-top: 16px; }
.tv-wrap { position: relative; padding: 30px 40px 60px; }
.tv { position: relative; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-soft), 10px 10px 0 var(--ink); transform: rotate(-1.5deg); }
.tv canvas { width: 100%; height: 100%; display: block; }
.tv .sticker { position: absolute; top: 14px; left: 14px; }
.tv-wrap .btn.jingle { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%) rotate(1deg); min-height: 46px; font-size: 15px; padding: 0 16px; background: var(--white); }
.peek { position: absolute; width: 190px; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.35)); animation: bob 3.2s ease-in-out infinite; pointer-events: none; }
.peek.left { left: -40px; bottom: 10px; }
.peek.right { right: -50px; bottom: 30px; width: 210px; animation-delay: -1.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ---- marquee ---- */
.marquee { background: var(--yellow); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); overflow: hidden; white-space: nowrap; padding: 12px 0; font-family: var(--display); font-weight: 700; font-size: 20px; }
.marquee span { display: inline-block; padding-inline-end: 28px; animation: scroll 28s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee span { animation-name: scroll-rtl; }
@keyframes scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---- sections ---- */
section { padding-block: 88px; }
.kicker { display: inline-block; font-family: var(--display); font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; margin-bottom: 12px; }
section h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 14px; }
.sub { color: var(--ink2); font-size: 19px; margin: 0 0 44px; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* filmstrip (how it works) */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.frame { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-hard); overflow: hidden; transition: transform 0.15s; }
.frame:hover { transform: translateY(-6px) rotate(-1deg); }
.frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--ink); }
.frame .body { padding: 16px 18px 20px; }
.frame h3 { font-size: 21px; margin: 0 0 6px; }
.frame p { margin: 0; color: var(--ink2); font-size: 15px; }
.frame .num { position: absolute; top: 10px; inset-inline-start: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--pink); color: var(--white); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 20px; box-shadow: 3px 3px 0 var(--ink); }

/* gallery (what kids make) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shot { position: relative; border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-hard); background: #000; transform: rotate(var(--tilt, 0deg)); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.shot .sticker { position: absolute; bottom: -14px; inset-inline-start: 14px; }

/* features: asymmetric rows */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px 0; }
.feat:nth-child(even) .visual { order: -1; }
.feat h3 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; }
.feat p { font-size: 18px; color: var(--ink2); margin: 0 0 14px; }
.feat .visual { position: relative; }
.feat .visual img.frame-img { width: 100%; border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-hard); display: block; }
.feat .visual .char { position: absolute; width: 150px; bottom: -30px; inset-inline-end: -30px; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.3)); animation: bob 3.6s ease-in-out infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--display); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); }

/* parents (dark) */
.parents-band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.parents-band .kicker { color: var(--yellow); }
.parents-band .sub { color: #cfc8ff; }
.parents { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.16); border-radius: 18px; padding: 14px 16px; }
.checks .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--mint); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.checks b { display: block; font-family: var(--display); font-size: 18px; }
.checks span { color: #cfc8ff; font-size: 15px; }
.parents .robo { width: 100%; max-width: 380px; margin: 0 auto; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.45)); animation: bob 4s ease-in-out infinite; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(280px, 420px)); gap: 26px; justify-content: center; }
.plan { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 32px 30px; box-shadow: var(--shadow-hard); display: flex; flex-direction: column; gap: 14px; }
.plan.pro { background: var(--navy); color: var(--white); }
.plan h3 { margin: 0; font-size: 28px; }
.plan .price { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; }
.plan .price small { font-size: 18px; font-weight: 500; opacity: 0.75; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; }
.plan li::before { content: "✓  "; color: var(--mint); font-weight: 900; }
.plan .sticker { position: absolute; top: -16px; inset-inline-end: 22px; }
.plans.one { grid-template-columns: minmax(280px, 520px); }
.plan-note { margin: 4px 0 0; font-size: 15px; line-height: 1.5; opacity: 0.85; border-top: 2px dashed rgba(255,255,255,0.3); padding-top: 12px; }
.feedback { margin-top: 26px; font-size: 16px; }
.feedback a { font-weight: 700; color: var(--purple); }
nav .btn .short { display: none; }
.plan .mascot { position: absolute; width: 120px; top: -70px; inset-inline-start: -30px; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.3)); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details.q { background: var(--white); border: 3px solid var(--ink); border-radius: 18px; padding: 4px 22px; box-shadow: 4px 4px 0 var(--ink); }
details.q summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-size: 26px; color: var(--purple); }
details.q[open] summary::after { content: "–"; }
details.q p { margin: 0 0 18px; color: var(--ink2); }

/* newsletter + footer */
.news { background: var(--pink); color: var(--white); border: 3px solid var(--ink); border-radius: 30px; padding: 48px 40px; box-shadow: var(--shadow-hard); text-align: center; }
.news h2 { color: var(--white); }
.news p { color: #ffe1ec; }
.news form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.news input { min-height: 56px; border-radius: 18px; border: 3px solid var(--ink); padding: 0 18px; font-size: 17px; min-width: 300px; font-family: inherit; }
footer { background: var(--navy); color: #cfc8ff; padding: 60px 0 40px; margin-top: 60px; }
footer .lineup { display: block; width: 100%; max-width: 900px; margin: 0 auto 30px; border-radius: 22px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; font-size: 14px; }
footer a { color: #fff; margin-inline-end: 16px; }

/* legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 40px 20px 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p, .legal li { color: #3a3a52; }

@media (max-width: 960px) {
  .hero, .parents, .feat { grid-template-columns: 1fr; }
  .feat:nth-child(even) .visual { order: 0; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .tv-wrap { padding: 20px 10px 60px; }
  .peek { width: 120px; }
  .peek.right { width: 130px; right: -10px; }
  .peek.left { left: -10px; }
}
@media (max-width: 600px) {
  .strip, .gallery { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 60px; }
  .news { padding: 30px 18px; }
  .plan .mascot { display: none; }
  /* phones: logo, language and "try" must share one row without overlapping */
  nav { gap: 8px; }
  .logo { font-size: 22px; gap: 6px; min-width: 0; }
  .logo img { width: 34px; height: 34px; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  .nav-right { gap: 8px; flex-shrink: 0; }
  .lang summary { padding: 8px 10px; }
  nav .btn { min-height: 42px; font-size: 14px; padding: 0 12px; white-space: nowrap; }
  nav .btn .long { display: none; }
  nav .btn .short { display: inline; }
  .lang div { width: min(300px, calc(100vw - 32px)); }
}
@media (max-width: 360px) {
  .logo { font-size: 0; } /* icon only on the narrowest phones */
}
@media (prefers-reduced-motion: reduce) { .peek, .marquee span, .feat .visual .char, .parents .robo { animation: none; } }

/* ---------- arcade ---------- */
.arcade-band { background: var(--ink); color: var(--white); }
.arcade-band .kicker { color: var(--yellow); }
.arcade-band .sub { color: #d9d2ff; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; text-align: start; }
.game { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 6px 6px 0 var(--purple); }
.game img { width: 100%; aspect-ratio: 16 / 9; display: block; border-bottom: 3px solid var(--ink); }
.game h3 { font-size: 22px; margin: 14px 16px 6px; }
.game p { margin: 0 16px 16px; color: var(--ink2); font-size: 16px; }
.live-callout { display: flex; gap: 18px; align-items: center; text-align: start; margin: 34px auto 0; max-width: 820px; background: rgba(255, 255, 255, 0.08); border: 3px solid var(--yellow); border-radius: 22px; padding: 18px 22px; }
.live-callout h3 { margin: 0 0 6px; font-size: 22px; }
.live-callout p { margin: 0; color: #d9d2ff; }
.live-ico { font-size: 54px; line-height: 1; flex: none; }
@media (max-width: 760px) { .games { grid-template-columns: 1fr; } .live-callout { flex-direction: column; text-align: center; } }
