/* Clean 4-section layout */

@import url("ambient-bg.css?v=6");

body.clean-site {
  background: transparent;
  overflow-x: clip;
  --clean-nav-clear: 56px;
  --electric: #62ebe0;
  --clean-site-bg: #62ebe0;
  --clean-panel-hero: #62ebe0;
  --clean-panel-about: #8ef0e8;
  --clean-panel-soft: var(--clean-bg-how, #b8fff5);
  --clean-panel-contact: #7adfd6;
  --text-soft-turquoise: #f0fffd;
  isolation: isolate;
}

html:has(body.clean-site) {
  background: #62ebe0;
  overflow-x: clip;
}

body.clean-site > main {
  overflow-x: clip;
}

body.clean-site .scroll-section.in-view::after {
  display: none;
}

/* Scroll-in reveal — content fades/slides up as each section enters view */
body.clean-site .scroll-section .clean-section-title,
body.clean-site .scroll-section .about-lead,
body.clean-site .scroll-section .svc-section-lead,
body.clean-site .scroll-section .svc-hero-badge,
body.clean-site .scroll-section .clean-hero-actions,
body.clean-site .scroll-section .about-service-card,
body.clean-site .scroll-section .svc-family-step,
body.clean-site .scroll-section .how-timeline-step,
body.clean-site .scroll-section .svc-lesson-card,
body.clean-site .scroll-section .svc-tile,
body.clean-site .scroll-section .svc-game-pick-btn,
body.clean-site .scroll-section .svc-filter-bar,
body.clean-site .scroll-section .contact-channel-btn,
body.clean-site .scroll-section .clean-center-cta,
body.clean-site .scroll-section .svc-create-box,
body.clean-site .hero-title .line {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.clean-site .scroll-section .about-orbit-scene {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

body.clean-site .scroll-section.in-view .clean-section-title,
body.clean-site .scroll-section.in-view .about-lead,
body.clean-site .scroll-section.in-view .svc-section-lead,
body.clean-site .scroll-section.in-view .svc-hero-badge,
body.clean-site .scroll-section.in-view .clean-hero-actions,
body.clean-site .scroll-section.in-view .about-orbit-scene,
body.clean-site .scroll-section.in-view .about-service-card,
body.clean-site .scroll-section.in-view .svc-family-step,
body.clean-site .scroll-section.in-view .how-timeline-step,
body.clean-site .scroll-section.in-view .svc-lesson-card,
body.clean-site .scroll-section.in-view .svc-tile,
body.clean-site .scroll-section.in-view .svc-game-pick-btn,
body.clean-site .scroll-section.in-view .svc-filter-bar,
body.clean-site .scroll-section.in-view .contact-channel-btn,
body.clean-site .scroll-section.in-view .clean-center-cta,
body.clean-site .scroll-section.in-view .svc-create-box,
body.clean-site .scroll-section.in-view .hero-title .line {
  opacity: 1;
  transform: none;
}

body.clean-site .clean-hero-actions,
body.clean-site .about-lead,
body.clean-site .svc-section-lead {
  transition-delay: 0.1s;
}

body.clean-site .about-orbit-scene {
  transition-delay: 0.18s;
}

body.clean-site .about-service-card:nth-child(2),
body.clean-site .svc-family-step:nth-child(2),
body.clean-site .how-timeline-step:nth-child(2),
body.clean-site .svc-lesson-card:nth-child(2),
body.clean-site .svc-tile:nth-child(2),
body.clean-site .svc-game-pick-btn:nth-child(2),
body.clean-site .contact-channel-btn:nth-child(2),
body.clean-site .hero-title .line:nth-child(2) {
  transition-delay: 0.12s;
}

body.clean-site .about-service-card:nth-child(3),
body.clean-site .svc-family-step:nth-child(3),
body.clean-site .how-timeline-step:nth-child(3),
body.clean-site .svc-lesson-card:nth-child(3),
body.clean-site .svc-tile:nth-child(3),
body.clean-site .svc-game-pick-btn:nth-child(3) {
  transition-delay: 0.24s;
}

body.clean-site .about-service-card:nth-child(4),
body.clean-site .svc-lesson-card:nth-child(4),
body.clean-site .svc-tile:nth-child(4),
body.clean-site .svc-game-pick-btn:nth-child(4) {
  transition-delay: 0.36s;
}

body.clean-site .svc-tile:nth-child(5),
body.clean-site .svc-game-pick-btn:nth-child(5) {
  transition-delay: 0.48s;
}

body.clean-site .svc-tile:nth-child(6),
body.clean-site .svc-game-pick-btn:nth-child(6) {
  transition-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  body.clean-site .scroll-section .clean-section-title,
  body.clean-site .scroll-section .about-lead,
  body.clean-site .scroll-section .svc-section-lead,
  body.clean-site .scroll-section .svc-hero-badge,
  body.clean-site .scroll-section .clean-hero-actions,
  body.clean-site .scroll-section .about-orbit-scene,
  body.clean-site .scroll-section .about-service-card,
  body.clean-site .scroll-section .svc-family-step,
  body.clean-site .scroll-section .how-timeline-step,
  body.clean-site .scroll-section .svc-lesson-card,
  body.clean-site .scroll-section .svc-tile,
  body.clean-site .scroll-section .svc-game-pick-btn,
  body.clean-site .scroll-section .svc-filter-bar,
  body.clean-site .scroll-section .contact-channel-btn,
  body.clean-site .scroll-section .clean-center-cta,
  body.clean-site .scroll-section .svc-create-box,
  body.clean-site .hero-title .line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.clean-site .hero-shapes,
body.clean-site .section-wave {
  display: none;
}

body.clean-site .scroll-progress {
  height: 3px;
  background: var(--electric);
}

/* Nav — 4 items only */
body.clean-site .clean-section,
body.clean-site .clean-section .container {
  position: relative;
  z-index: 1;
}

body.clean-site .clean-section .container {
  z-index: 3;
}

body.clean-site .site-footer .footer-inner {
  position: relative;
  z-index: 3;
}

body.clean-site .site-footer.section-yellow .footer-inner {
  gap: 20px;
}

body.clean-site .site-footer.section-yellow .site-legal-nav {
  margin-top: 24px;
  gap: 10px 22px;
}

body.clean-site .site-footer.section-yellow .site-legal-nav a {
  color: var(--ink);
  font-size: clamp(15px, 2.8vw, 18px);
  font-weight: 800;
  opacity: 1;
  letter-spacing: 0.01em;
}

body.clean-site .site-footer.section-yellow .site-legal-nav a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Soft turquoise captions — replace all white text */
body.clean-site .hero-title.font-cartoon .line:not(.accent) {
  color: var(--text-soft-turquoise);
  -webkit-text-fill-color: var(--text-soft-turquoise);
}

body.clean-site .site-footer.section-yellow .footer-tagline.font-cartoon {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  paint-order: stroke fill;
}

body.clean-site .site-footer.section-yellow .footer-tagline {
  text-shadow: none;
}

body.clean-site .site-footer.section-yellow .footer-tagline-accent {
  color: #25d366;
  -webkit-text-fill-color: #25d366;
}

body.clean-site .whatsapp-btn,
body.clean-site .contact-channel-btn {
  color: var(--text-soft-turquoise);
}

body.clean-site .navbar {
  position: relative !important;
  width: 100% !important;
  padding: 10px 0;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  z-index: 1000 !important;
  transform: none !important;
}

body.clean-site .site-footer.section-yellow {
  background: var(--memyellow);
  border-block: 8px solid var(--ink);
  isolation: isolate;
  position: relative;
  left: calc(100vw - 100%);
  width: 100vw;
  max-width: 100vw;
  margin-inline: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

body.clean-site .site-footer.section-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--memyellow);
  z-index: 0;
  pointer-events: none;
}

body.clean-site .navbar,
body.clean-site .navbar.scrolled {
  background: transparent !important;
  box-shadow: none !important;
}

body.clean-site .logo-text.font-brand {
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
}

body.clean-site .nav-inner:not(:has(.logo)) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: unset;
}

body.clean-site .nav-links {
  gap: 8px;
  grid-column: 2;
  justify-self: center;
}

body.clean-site .nav-actions {
  grid-column: 3;
  justify-self: end;
}

body.clean-site .nav-services {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

body.clean-site .nav-services-btn {
  cursor: pointer;
  font-family: inherit;
}

body.clean-site .nav-pill,
body.clean-site .nav-links a,
body.clean-site .nav-services-btn {
  font-size: clamp(15px, 1.75vw, 18px);
  padding: 10px 18px;
  border-width: 3px;
}

body.clean-site .nav-services-btn[aria-expanded="true"] {
  background: var(--memyellow);
}

body.clean-site .nav-pill,
body.clean-site .nav-links a,
body.clean-site .nav-auth-btn,
body.clean-site .nav-services-btn {
  box-shadow: var(--shadow-sticker);
}

body.clean-site .nav-pill.active,
body.clean-site .nav-links a.active,
body.clean-site .nav-services-btn.active {
  background: var(--memyellow);
}

body.clean-site .nav-services-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  right: auto;
  inset-inline-start: auto;
  transform: translateX(-50%);
  min-width: 100%;
  width: max-content;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-sticker);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body.clean-site .nav-services-dropdown.hidden {
  display: none;
}

body.clean-site .nav-services-link {
  display: block;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sticker);
  transition: transform 0.12s, background 0.12s;
}

body.clean-site .nav-services-link:hover,
body.clean-site .nav-services-link.active {
  transform: translateY(-1px);
  background: var(--memyellow);
}

body.clean-site .nav-auth-btn {
  padding: 10px 18px;
  font-size: clamp(15px, 1.75vw, 18px);
  border-width: 3px;
  background: var(--white);
}

body.clean-site .nav-cta,
body.clean-site .mobile-nav-cta {
  display: inline-flex;
  background: var(--memyellow);
  background-size: auto;
  animation: none;
  box-shadow: var(--shadow-candy);
  min-height: auto;
  padding: 8px 14px;
  font-size: 14px;
  border-width: 4px;
}

body.clean-site .nav-cta::before,
body.clean-site .nav-cta::after,
body.clean-site .mobile-nav-cta::before,
body.clean-site .mobile-nav-cta::after {
  display: none;
}

/* Sections */
.clean-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.clean-section .container {
  position: relative;
  z-index: 1;
}

.clean-section-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.clean-section-shapes--soft { opacity: 0.68; }
.clean-section-shapes--white { opacity: 0.7; }
.clean-section-shapes--contact { opacity: 0.66; }

.clean-memphis-layer--svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clean-memphis-svg {
  width: 100%;
  height: 100%;
  animation: memphis-float 9s ease-in-out infinite;
}

.clean-memphis-sticker {
  position: absolute;
  border: 3px solid var(--shape-tq-line);
  box-shadow: none;
  will-change: transform;
  animation: memphis-float 9s ease-in-out infinite;
}

.clean-memphis-sticker--purple { background: var(--shape-tq-deep); border-radius: 50%; }
.clean-memphis-sticker--yellow { background: var(--shape-tq-soft); border-radius: 20px; }
.clean-memphis-sticker--pink { background: var(--shape-tq-pale); border-radius: 50%; }
.clean-memphis-sticker--orange { background: var(--shape-tq-accent); border-radius: 16px; }
.clean-memphis-sticker--lime { background: var(--shape-tq-mid); border-radius: 14px; }
.clean-memphis-sticker--teal { background: var(--shape-tq-mid); border-radius: 12px; }

.clean-memphis-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px dotted var(--shape-tq-soft);
  background: transparent;
  opacity: 0.82;
  animation: memphis-spin 28s linear infinite;
}

.clean-memphis-ring--purple { border-color: var(--shape-tq-deep); }
.clean-memphis-ring--yellow { border-color: var(--shape-tq-soft); }

.clean-memphis-zigzag {
  position: absolute;
  pointer-events: none;
  width: clamp(120px, 17vw, 220px);
  height: auto;
  animation: memphis-float 6.5s ease-in-out infinite;
}

.clean-memphis-pos--h-zig { bottom: 12%; right: 5%; left: auto; top: auto; rotate: 8deg; animation-delay: -2s; }
.clean-memphis-pos--g-zig { top: 14%; left: 5%; bottom: auto; right: auto; rotate: -6deg; animation-delay: -1.5s; }

/* One decorative shape per corner — no overlap */
.clean-memphis-pos--h1 { width: 100px; height: 100px; top: 16%; left: 4%; bottom: auto; right: auto; }
.clean-memphis-pos--h2 { width: 86px; height: 86px; top: 14%; right: 5%; bottom: auto; left: auto; rotate: 12deg; animation-delay: -2s; }
.clean-memphis-pos--h3 { width: 72px; height: 72px; bottom: 14%; left: 5%; top: auto; right: auto; rotate: -8deg; animation-delay: -4s; }

.clean-memphis-pos--s1 { width: 92px; height: 92px; top: 10%; left: 5%; bottom: auto; right: auto; }
.clean-memphis-pos--s2 { width: 80px; height: 80px; bottom: 12%; right: 5%; top: auto; left: auto; rotate: -10deg; animation-delay: -3s; }
.clean-memphis-pos--s3 { width: 64px; height: 64px; bottom: 14%; left: 6%; top: auto; right: auto; animation-delay: -1.5s; }

.clean-memphis-pos--g1 { width: 96px; height: 96px; top: 10%; left: 4%; bottom: auto; right: auto; rotate: 8deg; }
.clean-memphis-pos--g2 { width: 84px; height: 84px; top: 12%; right: 5%; bottom: auto; left: auto; animation-delay: -2s; }
.clean-memphis-pos--g3 { width: 70px; height: 70px; bottom: 12%; left: 5%; top: auto; right: auto; rotate: 12deg; animation-delay: -1s; }
.clean-memphis-pos--g-ring { width: 118px; height: 118px; bottom: 10%; right: 4%; top: auto; left: auto; border-width: 10px; }
.clean-memphis-pos--g-ring-r { width: 92px; height: 92px; top: 18%; left: 50%; bottom: auto; right: auto; margin-left: -46px; border-width: 9px; animation-delay: -2.5s; }

.clean-memphis-pos--c1 { width: 78px; height: 78px; top: 12%; right: 6%; bottom: auto; left: auto; rotate: -12deg; }
.clean-memphis-pos--c2 { width: 100px; height: 100px; bottom: 12%; left: 5%; top: auto; right: auto; animation-delay: -3s; }
.clean-memphis-pos--c3 { width: 68px; height: 68px; bottom: 14%; right: 6%; top: auto; left: auto; rotate: 10deg; animation-delay: -1s; }

@media (prefers-reduced-motion: reduce) {
  .clean-memphis-sticker,
  .clean-memphis-svg,
  .clean-memphis-ring,
  .clean-memphis-zigzag {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  body.clean-site {
    --clean-nav-clear: calc(88px + env(safe-area-inset-top, 0px));
  }

  .clean-memphis-pos--h-ring,
  .clean-memphis-pos--g-ring {
    width: 112px;
    height: 112px;
  }

  .clean-memphis-pos--h1 { width: 72px; height: 72px; top: 12%; left: 3%; }
  .clean-memphis-pos--h2 { width: 64px; height: 64px; top: 11%; right: 3%; }
  .clean-memphis-pos--h3 { width: 56px; height: 56px; bottom: 10%; left: 3%; }
  .clean-memphis-pos--h-zig,
  .clean-memphis-pos--g-zig {
    width: 96px;
  }
  .clean-memphis-pos--g-ring-r {
    width: 72px;
    height: 72px;
    margin-left: -36px;
    top: 14%;
  }
  .clean-memphis-pos--g-ring {
    width: 92px;
    height: 92px;
  }
}

body.clean-site section.clean-section.clean-section--hero,
body.clean-site #home.clean-section--hero {
  padding-top: 0 !important;
  padding-right: 0;
  padding-bottom: 48px;
  padding-left: 0;
  background: transparent;
  min-height: 0;
  display: block;
  scroll-margin-top: 0;
  margin-top: 0;
  isolation: isolate;
}

.clean-hero-inner {
  text-align: center;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body.clean-site .clean-hero-inner {
  padding-top: 104px;
  margin-top: 0;
}

body.clean-site .clean-hero-inner .hero-title {
  margin-top: 0;
}

.clean-hero-inner .hero-title {
  margin-bottom: 48px;
}

.clean-hero-inner .hero-title.font-cartoon {
  font-size: clamp(2.5rem, 9vw, 7rem);
}

.clean-hero-inner .hero-title .line {
  display: block;
}

@media (min-width: 769px) {
  .clean-hero-inner .hero-title .line {
    white-space: nowrap;
  }
}

.clean-hero-sub {
  color: var(--text-soft-turquoise);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 28px;
  line-height: 1.6;
}

.clean-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.clean-hero-actions .btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  font-size: clamp(28px, 4.8vw, 42px);
  min-height: auto;
  border-width: 5px;
  white-space: nowrap;
}

.clean-section--soft,
.clean-section--white,
#games.clean-section--white,
.clean-section--contact,
.clean-section--about,
body.clean-site .clean-section,
body.clean-site .clean-section--soft,
body.clean-site .clean-section--white,
body.clean-site #games.clean-section--white,
body.clean-site .clean-section--contact,
body.clean-site .clean-section--about {
  background: transparent !important;
}

.clean-section--white .clean-section-shapes {
  display: block;
}

.clean-section--about {
  overflow: visible;
}

.clean-section-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

body.clean-site .clean-section-title.font-cartoon {
  paint-order: stroke fill;
  -webkit-text-stroke: clamp(7px, 1.25vw, 14px) var(--ink);
  -webkit-text-stroke-color: var(--ink);
  -webkit-text-fill-color: var(--memyellow);
  color: var(--memyellow);
  text-shadow: none;
  font-weight: 900;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.clean-site .clean-section--contact .clean-section-title.font-cartoon {
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
}

#how .clean-section-title {
  margin-bottom: 40px;
}

#games .clean-section-title,
#contact .clean-section-title {
  margin-bottom: 72px;
  padding-bottom: 12px;
}

.clean-section-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.about-wrap {
  max-width: 960px;
  overflow: visible;
}

#about .clean-section-title,
#how .clean-section-title,
#contact .clean-section-title {
  font-size: clamp(2.5rem, 6.8vw, 3.75rem);
}

#about .clean-section-title {
  margin-bottom: 16px;
}

.about-lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(20px, 4vw, 28px);
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--body);
}

.about-services {
  list-style: none;
  margin: 0 auto clamp(24px, 5vw, 36px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}

.about-service-card {
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sticker);
  text-align: center;
}

.about-service-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: var(--ink);
}

.about-service-card p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--body);
}

.about-service-card.sticker-teal { background: var(--memteal); }
.about-service-card.sticker-yellow { background: var(--memyellow); }
.about-service-card.sticker-pink { background: var(--mempink); }
.about-service-card.sticker-orange { background: #ffd4a3; }

.about-orbit-scene {
  /* גודל המסלול המקורי + שוליים חיצוניים לכפתורים */
  --orbit-pad: 72px;
  --orbit-core: 420px;
  --scene-size: calc(var(--orbit-core) + 2 * var(--orbit-pad));
  position: relative;
  width: var(--scene-size);
  height: var(--scene-size);
  max-width: calc(100vw - 32px);
  max-height: calc(100vw - 32px);
  margin: 0 auto clamp(8px, 3vw, 16px);
  overflow: visible;
  box-sizing: border-box;
}

.about-orbit-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-orbit-earth {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  animation: about-earth-pulse 4s ease-in-out infinite;
}

.about-orbit-earth svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}

.about-orbit-earth-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-soft-turquoise);
  -webkit-text-fill-color: var(--text-soft-turquoise);
  paint-order: stroke fill;
  -webkit-text-stroke: 3px var(--ink);
  -webkit-text-stroke-color: var(--ink);
  text-shadow: none;
  pointer-events: none;
  white-space: nowrap;
}

.about-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: about-orbit-spin linear infinite;
}

.about-orbit-ring--1 {
  width: calc(var(--orbit-core) * 0.58);
  height: calc(var(--orbit-core) * 0.58);
  animation-duration: 11s;
}

.about-orbit-ring--2 {
  width: calc(var(--orbit-core) * 0.78);
  height: calc(var(--orbit-core) * 0.78);
  animation-duration: 15s;
  animation-direction: reverse;
}

.about-orbit-ring--3 {
  width: calc(var(--orbit-core) * 0.98);
  height: calc(var(--orbit-core) * 0.98);
  animation-duration: 19s;
  animation-delay: -6s;
}

.about-orbit-sat-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  animation: about-orbit-counter linear infinite;
}

.about-orbit-ring--1 .about-orbit-sat-wrap {
  animation-duration: 11s;
}

.about-orbit-ring--2 .about-orbit-sat-wrap {
  animation-duration: 15s;
  animation-direction: reverse;
}

.about-orbit-ring--3 .about-orbit-sat-wrap {
  animation-duration: 19s;
  animation-delay: -6s;
}

.about-orbit-sat {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: max-content;
  min-width: 100px;
  max-width: 136px;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-sizing: border-box;
}

html[lang="en"] .about-orbit-scene {
  --orbit-pad: clamp(78px, 20vw, 96px);
}

html[lang="en"] .about-orbit-sat {
  max-width: none;
  padding-inline: 14px;
}

html[lang="en"] .about-orbit-sat--pink {
  max-width: 168px;
  white-space: normal;
}

@keyframes about-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes about-orbit-counter {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.about-orbit-sat--teal {
  background: #b8fff5;
  color: var(--ink);
}

.about-orbit-sat--yellow {
  background: #fff3a8;
  color: var(--ink);
}

.about-orbit-sat--pink {
  background: #ffd6e8;
  color: var(--ink);
}

@keyframes about-earth-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (min-width: 769px) {
  .about-orbit-scene {
    --orbit-pad: 88px;
    --orbit-core: 520px;
    margin-bottom: clamp(16px, 3vw, 28px);
  }

  .about-orbit-earth {
    width: 132px;
    height: 132px;
  }

  .about-orbit-earth-label {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  }

  .about-orbit-sat {
    min-width: 112px;
    max-width: 152px;
    padding: 12px 18px;
    font-size: 1.02rem;
  }

  html[lang="en"] .about-orbit-scene {
    --orbit-pad: 92px;
  }

  html[lang="en"] .about-orbit-sat--pink {
    max-width: 188px;
  }
}

@media (min-width: 1200px) {
  .about-orbit-scene {
    --orbit-pad: 104px;
    --orbit-core: 620px;
  }

  .about-orbit-earth {
    width: 148px;
    height: 148px;
  }

  .about-orbit-earth-label {
    font-size: 1.45rem;
  }

  .about-orbit-sat {
    min-width: 124px;
    max-width: 168px;
    padding: 12px 20px;
    font-size: 1.1rem;
  }

  html[lang="en"] .about-orbit-scene {
    --orbit-pad: 108px;
  }

  html[lang="en"] .about-orbit-sat--pink {
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-orbit-ring,
  .about-orbit-sat-wrap,
  .about-orbit-earth {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .about-orbit-scene {
    --orbit-pad: clamp(56px, 14vw, 64px);
    /* גודל מקורי עד 380px, מוקטן רק כדי להישאר בתוך המסך */
    --orbit-core: min(380px, calc(100vw - 32px - 2 * var(--orbit-pad)));
    --scene-size: calc(var(--orbit-core) + 2 * var(--orbit-pad));
    width: var(--scene-size);
    height: var(--scene-size);
  }

  .about-orbit-sat {
    min-width: 88px;
    max-width: 118px;
    padding: 8px 12px;
    font-size: clamp(0.72rem, 3vw, 0.84rem);
  }

  html[lang="en"] .about-orbit-scene {
    --orbit-pad: clamp(62px, 17vw, 76px);
  }

  html[lang="en"] .about-orbit-sat {
    max-width: none;
    padding-inline: 12px;
  }

  html[lang="en"] .about-orbit-sat--pink {
    max-width: 140px;
  }

  .about-orbit-earth {
    width: 104px;
    height: 104px;
  }
}

/* How — vertical timeline (steps one after another) */
.how-timeline {
  max-width: 640px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.how-timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 28px;
}

.how-timeline-step:last-child {
  padding-bottom: 0;
}

.how-timeline-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--text-soft-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  z-index: 1;
  animation-play-state: paused;
}

.how-timeline-body {
  flex: 1;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 5px 5px 0 var(--ink);
  animation-play-state: paused;
}

.how-timeline.is-active .how-timeline-marker,
.how-timeline.is-active .how-timeline-body {
  animation-play-state: running;
}

.how-timeline-step:nth-child(1) .how-timeline-marker {
  animation: how-marker-1 5s ease-in-out infinite;
}

.how-timeline-step:nth-child(2) .how-timeline-marker {
  animation: how-marker-2 5s ease-in-out infinite;
}

.how-timeline-step:nth-child(3) .how-timeline-marker {
  animation: how-marker-3 5s ease-in-out infinite;
}

.how-timeline-step:nth-child(1) .how-timeline-body {
  animation: how-body-1 5s ease-in-out infinite;
}

.how-timeline-step:nth-child(2) .how-timeline-body {
  animation: how-body-2 5s ease-in-out infinite;
}

.how-timeline-step:nth-child(3) .how-timeline-body {
  animation: how-body-3 5s ease-in-out infinite;
}

@keyframes how-marker-1 {
  0%, 10%, 30%, 100% {
    background: var(--electric);
    color: var(--text-soft-turquoise);
    transform: scale(1);
    box-shadow: 4px 4px 0 var(--ink);
  }
  14%, 24% {
    background: var(--memyellow);
    color: var(--ink);
    transform: scale(1.12);
    box-shadow: 0 0 0 3px #fff, 6px 6px 0 var(--ink);
  }
}

@keyframes how-marker-2 {
  0%, 36%, 56%, 100% {
    background: var(--electric);
    color: var(--text-soft-turquoise);
    transform: scale(1);
    box-shadow: 4px 4px 0 var(--ink);
  }
  40%, 50% {
    background: var(--memyellow);
    color: var(--ink);
    transform: scale(1.12);
    box-shadow: 0 0 0 3px #fff, 6px 6px 0 var(--ink);
  }
}

@keyframes how-marker-3 {
  0%, 62%, 82%, 100% {
    background: var(--electric);
    color: var(--text-soft-turquoise);
    transform: scale(1);
    box-shadow: 4px 4px 0 var(--ink);
  }
  66%, 76% {
    background: var(--memyellow);
    color: var(--ink);
    transform: scale(1.12);
    box-shadow: 0 0 0 3px #fff, 6px 6px 0 var(--ink);
  }
}

@keyframes how-body-1 {
  0%, 10%, 30%, 100% {
    background: #fff;
    border-color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transform: scale(1);
  }
  14%, 24% {
    background: #fffce8;
    border-color: var(--memyellow);
    box-shadow: 0 0 0 3px var(--memyellow), 6px 6px 0 var(--ink);
    transform: scale(1.02);
  }
}

@keyframes how-body-2 {
  0%, 36%, 56%, 100% {
    background: #fff;
    border-color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transform: scale(1);
  }
  40%, 50% {
    background: #fffce8;
    border-color: var(--memyellow);
    box-shadow: 0 0 0 3px var(--memyellow), 6px 6px 0 var(--ink);
    transform: scale(1.02);
  }
}

@keyframes how-body-3 {
  0%, 62%, 82%, 100% {
    background: #fff;
    border-color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transform: scale(1);
  }
  66%, 76% {
    background: #fffce8;
    border-color: var(--memyellow);
    box-shadow: 0 0 0 3px var(--memyellow), 6px 6px 0 var(--ink);
    transform: scale(1.02);
  }
}

/* קונפetti על שלב 3 */
.marker-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.marker-confetti i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  opacity: 0;
  animation: how-confetti 5s ease-out infinite;
  animation-play-state: paused;
}

.how-timeline.is-active .marker-confetti i {
  animation-play-state: running;
}

.marker-confetti i:nth-child(1) { background: var(--memyellow); --tx: -16px; --ty: -20px; }
.marker-confetti i:nth-child(2) { background: var(--mempink); --tx: 14px; --ty: -18px; }
.marker-confetti i:nth-child(3) { background: var(--memlime); --tx: -10px; --ty: 16px; }
.marker-confetti i:nth-child(4) { background: #fff; --tx: 18px; --ty: 12px; }
.marker-confetti i:nth-child(5) { background: var(--mempurple); --tx: -18px; --ty: 4px; }
.marker-confetti i:nth-child(6) { background: var(--memorange); --tx: 8px; --ty: -22px; }

@keyframes how-confetti {
  0%, 65%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  68% {
    opacity: 1;
    transform: translate(calc(-50% + var(--tx) * 0.2), calc(-50% + var(--ty) * 0.2)) scale(1);
  }
  80% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-timeline-marker,
  .how-timeline-body,
  .marker-confetti i {
    animation: none !important;
  }
}

.how-timeline-body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
  paint-order: normal;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.how-timeline-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

/* Hide legacy benefit grid if cached old HTML */
.benefit-cards {
  display: none !important;
}

/* Steps (legacy) */
.clean-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.clean-step {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sticker);
}

.clean-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--text-soft-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.clean-step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.clean-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.clean-center-cta {
  text-align: center;
  margin-top: 8px;
}

.how-classroom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(420px, 92vw);
  padding: clamp(22px, 3.5vw, 30px) clamp(36px, 6vw, 52px);
  font-size: clamp(22px, 3.6vw, 30px);
  min-height: clamp(72px, 11vw, 88px);
  border-radius: 999px;
  background: var(--memyellow) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-candy);
}

.how-classroom-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.how-classroom-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 0 var(--ink);
}

/* Games panel */
#games .container {
  max-width: 1320px;
}

#games .clean-section-title {
  margin-bottom: 80px;
  padding-bottom: 16px;
}

#contact .clean-section-title {
  margin-bottom: 72px;
  padding-bottom: 16px;
}

.clean-games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .clean-games-grid {
    grid-template-columns: 1fr;
  }
}

.clean-panel {
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sticker);
}

.clean-panel--card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 42vh, 440px);
  padding: 64px 56px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.clean-panel-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.clean-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric);
}

.clean-panel-icon svg {
  width: clamp(80px, 13vw, 128px);
  height: clamp(80px, 13vw, 128px);
  overflow: visible;
}

.clean-panel--highlight .clean-panel-icon {
  color: var(--text-soft-turquoise);
}

button.clean-panel--card {
  width: 100%;
  font: inherit;
  text-align: center;
}

.clean-panel--card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sticker);
}

.clean-panel--card:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.clean-panel--card h3 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
}

.clean-panel p {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.clean-panel--solo {
  background: var(--clean-bg-how, #B8FFF5);
}

.clean-panel--solo .clean-panel-icon {
  color: var(--electric);
}

.clean-panel--highlight {
  background: var(--electric);
  border-color: var(--ink);
  color: var(--text-soft-turquoise);
}

.clean-panel--highlight h3 {
  color: var(--text-soft-turquoise);
}

.clean-panel--highlight .btn-outline {
  background: var(--memyellow);
  color: var(--ink);
  border-color: var(--ink);
}

.clean-game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clean-game-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #B8FFF5;
  border: 2px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.15s var(--ease);
}

.clean-game-link:hover {
  transform: translateY(-2px);
}

/* Contact */
.clean-contact {
  max-width: 720px;
  margin: 8px auto 0;
}

.clean-contact .contact-info--simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .clean-contact .contact-info--simple {
    grid-template-columns: 1fr;
  }
}

.contact-channel-btn {
  min-height: 220px;
}

.email-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--mempurple);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-candy);
  text-decoration: none;
  color: var(--text-soft-turquoise);
  font-weight: 900;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.email-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 0 0 var(--ink), 0 0 28px rgba(0, 158, 142, 0.45);
}

.email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.45);
}

.email-label {
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.02em;
}

.email-address {
  font-size: clamp(18px, 3.2vw, 24px);
  font-weight: 800;
  opacity: 0.95;
  word-break: break-all;
}

.clean-contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Room — classroom layout */
.room-classroom-bar {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .room-classroom-bar {
    grid-template-columns: 1fr;
  }
}

.room-share-card,
.room-students-card {
  background: var(--card-bg);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.room-share-card h3,
.room-students-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-qr-wrap {
  text-align: center;
  margin: 12px 0;
}

.room-qr-wrap img {
  border-radius: 12px;
  border: 2px solid var(--line);
  max-width: 180px;
  height: auto;
}

.room-join-url {
  font-size: 0.8rem;
  word-break: break-all;
  direction: ltr;
  text-align: center;
  color: var(--muted);
  margin: 8px 0 12px;
  font-weight: 600;
}

.room-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.students-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}

.students-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 16px 8px;
}

.student-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 229, 204, 0.12);
  border: 1px solid var(--student-color);
  font-weight: 700;
}

.student-chip strong {
  margin-right: auto;
  color: var(--electric);
}

.student-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.student-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--electric);
  color: var(--text-soft-turquoise);
  font-size: 0.85rem;
  font-weight: 900;
}

body.in-room {
  background: #E0FBF8;
}

/* ── Mobile / phone ── */
@media (max-width: 768px) {
  body.clean-site .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  body.clean-site .navbar {
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    padding-bottom: 14px;
  }

  body.clean-site .logo-text.font-brand {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
  }

  body.clean-site .nav-pill,
  body.clean-site .nav-auth-btn {
    font-size: 14px;
    padding: 8px 14px;
  }

  .clean-section {
    padding: 56px 0;
    scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  body.clean-site section.clean-section.clean-section--hero,
  body.clean-site #home.clean-section--hero {
    padding-top: 0;
    padding-bottom: 40px;
    min-height: 0;
    scroll-margin-top: 0;
  }

  body.clean-site .clean-hero-inner {
    padding-top: 76px;
  }

  .clean-section-shapes--soft,
  .clean-section-shapes--white,
  .clean-section-shapes--contact {
    opacity: 0.58;
  }

  .clean-hero-inner {
    width: 100%;
    padding-inline: clamp(8px, 3vw, 20px);
  }

  .clean-hero-inner .hero-title {
    margin-bottom: 32px;
  }

  .clean-hero-inner .hero-title.font-cartoon {
    font-size: clamp(1.85rem, 8.5vw, 3.25rem);
    line-height: 1.15;
    max-width: 100%;
  }

  .clean-hero-inner .hero-title .line {
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-text-stroke-width: clamp(4px, 1.4vw, 7px);
  }

  .clean-hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .clean-hero-actions .btn {
    width: fit-content;
    max-width: none;
    padding: 16px 28px;
    font-size: clamp(24px, 6.5vw, 34px);
    min-height: auto;
    border-width: 5px;
  }

  #about .clean-section-title,
  #how .clean-section-title,
  #contact .clean-section-title {
    font-size: clamp(2.35rem, 9vw, 3.15rem);
  }

  #how .clean-section-title,
  #games .clean-section-title,
  #contact .clean-section-title {
    margin-bottom: 52px;
    padding-bottom: 10px;
  }

  .how-timeline-step {
    gap: 12px;
    padding-bottom: 22px;
  }

  .how-timeline-marker {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .how-timeline-body {
    padding: 18px 18px;
  }

  .how-timeline-body h3 {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
    line-height: 1.35;
  }

  .how-classroom-btn {
    width: auto;
    max-width: min(340px, 92vw);
    padding: 18px 28px;
    font-size: clamp(18px, 4.5vw, 22px);
    min-height: 64px;
    margin-inline-start: 16px;
  }

  .clean-panel--card {
    min-height: 180px;
    padding: 32px 20px;
  }

  .clean-panel--card h3 {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
  }

  .clean-panel-icon svg {
    width: clamp(56px, 14vw, 80px);
    height: clamp(56px, 14vw, 80px);
  }

  .clean-games-grid {
    gap: 20px;
  }

  .clean-contact {
    gap: 20px;
  }

  .contact-channel-btn {
    min-height: 180px;
  }

  .whatsapp-btn,
  .email-btn {
    padding: 22px 16px;
  }

  .whatsapp-icon,
  .email-icon {
    width: 72px;
    height: 72px;
  }

  .whatsapp-icon svg,
  .email-icon svg {
    width: 44px;
    height: 44px;
  }

  body.clean-site .mobile-nav a {
    font-size: clamp(20px, 5vw, 24px);
    padding: 8px 16px;
  }

  body.clean-site .mobile-nav-services-btn {
    font-size: clamp(20px, 5vw, 24px);
  }

  body.clean-site .mobile-nav-services-panel a {
    font-size: clamp(16px, 4vw, 19px);
  }

  .about-services {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  body.clean-site .mobile-nav-auth {
    font-size: clamp(20px, 5vw, 24px);
    padding: 16px;
    min-height: 52px;
  }
}

@media (max-width: 380px) {
  .clean-hero-inner .hero-title.font-cartoon {
    font-size: clamp(1.65rem, 8vw, 2.75rem);
  }

  .clean-hero-actions .btn {
    max-width: none;
  }
}

/* Play mode picker modal */
#playModeModal .modal-play-mode {
  --modal-fill: var(--memteal);
  background: var(--memteal) !important;
  max-width: 440px;
}

#playModeModal .modal h2.font-cartoon {
  text-align: center;
  margin: 0 0 32px;
  font-size: clamp(1.5rem, 4.5vw, 1.85rem);
}

.play-mode-lead {
  text-align: center;
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.play-mode-choices {
  display: grid;
  gap: 14px;
}

.play-mode-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(24px, 5vw, 32px) 20px;
  min-height: 88px;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  background: #C8F7D4;
  box-shadow: var(--shadow-sticker);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease;
  text-align: center;
}

.play-mode-choice:hover {
  transform: translateY(-2px);
}

.play-mode-choice--solo {
  background: #9AF0B8;
}

.play-mode-choice-label {
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}

.play-mode-choice-hint {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.play-mode-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--mempurple);
  cursor: pointer;
}

.play-mode-back:hover {
  text-decoration: underline;
}

.play-mode-choices--compact .play-mode-choice {
  padding: 16px 14px;
}
