/* =========================================================
   تميم ورويدا — Brand System + shared components
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand colours (taken from the channel logo & characters) */
  --sky: #29B6F6;
  --sky-600: #0288D1;
  --sky-100: #E1F5FE;
  --sun: #FFC93C;
  --sun-600: #F2A900;
  --sun-100: #FFF4D6;
  --orange: #FF7A2F;
  --orange-600: #E0560F;
  --orange-100: #FFE9DC;
  --navy: #1B2A5E;
  --navy-700: #14204A;
  --cream: #FFF9EF;
  --white: #FFFFFF;
  --red: #E8453C;
  --red-600: #C62F27;
  --green: #7BC950;
  --green-600: #4E9F2A;
  --purple: #8B5CF6;
  --purple-600: #6D3FE0;

  --ink: var(--navy);
  --muted: #56628A;
  --line: #EADFC9;
  --bg: var(--cream);
  --surface: var(--white);

  /* type */
  --font-ar-head: "Baloo Bhaijaan 2", "Cairo", system-ui, sans-serif;
  --font-ar-body: "Cairo", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --font-en-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-en-body: "Nunito", "Fredoka", system-ui, sans-serif;
  --font-head: var(--font-ar-head);
  --font-body: var(--font-ar-body);

  --fs-hero: clamp(2.1rem, 5.4vw, 3.9rem);
  --fs-h2: clamp(1.7rem, 3.8vw, 2.7rem);
  --fs-h3: clamp(1.25rem, 2.4vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 2vw, 1.35rem);
  --fs-body: 1.06rem;

  /* shape */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* soft "toy" shadows */
  --shadow-sm: 0 4px 12px rgba(27, 42, 94, .08);
  --shadow-md: 0 12px 30px rgba(27, 42, 94, .12);
  --shadow-lg: 0 22px 50px rgba(27, 42, 94, .18);

  --tap: 56px;             /* minimum touch target */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --topbar-h: 76px;
  --tabbar-h: 0px;

  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

html[lang="en"] {
  --font-head: var(--font-en-head);
  --font-body: var(--font-en-body);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: var(--tabbar-h);
}
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .4em; font-weight: 800; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--sky-600); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(48px, 8vw, 96px); position: relative; }
.center { text-align: center; }

/* ---------- 3. Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--sun-100); color: #8A5A00; margin-bottom: 12px;
}
.eyebrow svg { width: 18px; height: 18px; }
.section-title { font-size: var(--fs-h2); margin-bottom: .25em; }
.section-sub { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; margin-inline: auto; }
.section-head { text-align: center; margin-bottom: clamp(28px, 5vw, 48px); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--sun); --btn-fg: var(--navy); --btn-edge: var(--sun-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 10px 26px;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; user-select: none;
  box-shadow: 0 6px 0 var(--btn-edge), var(--shadow-sm);
  transform: translateY(0);
  transition: transform .18s var(--ease-bounce), box-shadow .18s ease, filter .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--btn-edge), var(--shadow-md); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--btn-edge), var(--shadow-sm); }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn--sky { --btn-bg: var(--sky-600); --btn-fg: #fff; --btn-edge: #01579B; }
.btn--orange { --btn-bg: var(--orange-600); --btn-fg: #fff; --btn-edge: #A93D05; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-edge: #D9CDB5; }
.btn--red { --btn-bg: var(--red); --btn-fg: #fff; --btn-edge: var(--red-600); }
.btn--green { --btn-bg: var(--green-600); --btn-fg: #fff; --btn-edge: #36761A; }
.btn--purple { --btn-bg: var(--purple-600); --btn-fg: #fff; --btn-edge: #4C25B0; }
.btn--sm { min-height: 48px; padding: 8px 18px; font-size: 1rem; }
.btn[aria-disabled="true"], .btn:disabled { filter: grayscale(.8) opacity(.6); cursor: not-allowed; }

.icon-btn {
  width: var(--tap); height: var(--tap); flex: none;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--navy);
  box-shadow: 0 4px 0 #E3D7BF, var(--shadow-sm);
  transition: transform .18s var(--ease-bounce);
}
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); }
.icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #E3D7BF; }
.icon-btn svg { width: 26px; height: 26px; }

/* ---------- 5. Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  background: rgba(255, 249, 239, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 2px solid rgba(234, 223, 201, .7);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 3px 0 var(--sun-600), var(--shadow-sm); background: var(--sky-100); transition: transform .3s var(--ease-bounce); }
.brand:hover img { transform: rotate(-10deg) scale(1.06); }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.brand small { display: block; font-size: .8rem; font-weight: 700; color: var(--orange-600); }

.mainnav { display: flex; gap: 4px; margin-inline: auto; }
.mainnav a {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 48px; padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--navy); text-decoration: none;
  transition: background .2s, transform .2s var(--ease-bounce);
}
.mainnav a svg { width: 22px; height: 22px; color: var(--c, var(--sky-600)); }
.mainnav a:hover { background: #fff; transform: translateY(-2px); }
.mainnav a[aria-current="page"] { background: var(--c, var(--sky)); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.mainnav a[aria-current="page"] svg { color: #fff; }
.tools { display: flex; gap: 10px; margin-inline-start: auto; }
.mainnav + .tools { margin-inline-start: 0; }
.lang-btn { font-family: var(--font-en-head); font-weight: 700; font-size: 1.05rem; }
html[lang="en"] .lang-btn { font-family: var(--font-ar-head); font-size: 1.25rem; }

/* narrower desktops: tighten the top menu so the sound and language buttons stay on screen */
@media (min-width: 1081px) and (max-width: 1260px) {
  .topbar__in { gap: 10px; }
  .mainnav { gap: 0; }
  .mainnav a { padding: 6px 9px; gap: 5px; font-size: .95rem; white-space: nowrap; }
}

/* ---------- 6. Bottom tab bar (phones & tablets) ---------- */
.tabbar { display: none; }
@media (max-width: 1080px) {
  :root { --tabbar-h: calc(78px + env(safe-area-inset-bottom)); --topbar-h: 68px; }
  .mainnav { display: none; }
  .brand img { width: 48px; height: 48px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(6, 1fr);
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    height: var(--tabbar-h);
    padding: 6px 6px env(safe-area-inset-bottom);
    background: #fff;
    border-top-left-radius: 26px; border-top-right-radius: 26px;
    box-shadow: 0 -8px 30px rgba(27, 42, 94, .14);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    text-decoration: none; color: var(--muted);
    font-family: var(--font-head); font-weight: 700; font-size: .8rem; line-height: 1.1;
    border-radius: 18px; min-height: 64px;
  }
  .tabbar a .ti {
    width: 44px; height: 36px; display: grid; place-items: center; border-radius: 14px;
    transition: transform .25s var(--ease-bounce), background .2s;
  }
  .tabbar a svg { width: 25px; height: 25px; color: var(--c); }
  .tabbar a[aria-current="page"] { color: var(--navy); }
  .tabbar a[aria-current="page"] .ti { background: var(--c); transform: translateY(-4px) scale(1.08); }
  .tabbar a[aria-current="page"] svg { color: #fff; }
  .tabbar a:active .ti { transform: scale(.9); }
}
@media (max-width: 420px) {
  .brand span { font-size: 1.15rem; }
  .brand small { display: none; }
  .tools { gap: 8px; }
  .tools .icon-btn { width: 50px; height: 50px; }
}

/* ---------- 7. Cards & misc components ---------- */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden; position: relative;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px; padding: 8px 20px; border-radius: var(--r-pill);
  border: 3px solid transparent; background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 4px 0 #E8DCC4;
  transition: transform .18s var(--ease-bounce), background .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--c, var(--sky-600)); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.badge-soon {
  display: inline-block; padding: 3px 12px; border-radius: var(--r-pill);
  background: var(--orange-600); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 700;
}

/* page hero banner (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 70px) 0 clamp(70px, 9vw, 110px);
  background: linear-gradient(180deg, var(--hero-a, #8BD8FF) 0%, var(--hero-b, #CDEFFF) 100%);
  text-align: center;
}
.page-hero h1 { font-size: var(--fs-hero); color: var(--navy); margin-bottom: .15em; }
.page-hero p { font-size: var(--fs-lead); color: var(--navy); opacity: .85; max-width: 40ch; margin-inline: auto; }
.page-hero .wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: 60px; color: var(--bg); }
.page-hero__peek { position: absolute; bottom: 0; height: clamp(110px, 20vw, 220px); width: auto; pointer-events: none; filter: drop-shadow(0 8px 12px rgba(0,0,0,.15)); }
.page-hero__peek--start { inset-inline-start: clamp(4px, 4vw, 60px); }
.page-hero__peek--end { inset-inline-end: clamp(4px, 4vw, 60px); }
@media (max-width: 640px) {
  .page-hero { padding-bottom: 120px; }
  .page-hero__peek { height: 120px; }
}

/* sky decoration */
.cloud { position: absolute; background: #fff; border-radius: 100px; opacity: .9; pointer-events: none; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 170%; top: -85%; inset-inline-start: 14%; }
.cloud::after { width: 38%; height: 130%; top: -55%; inset-inline-end: 12%; }
.twinkle { position: absolute; width: 22px; height: 22px; color: var(--sun); pointer-events: none; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(25deg); opacity: 1; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes hop { 0% { transform: translateY(0) scale(1,1); } 30% { transform: translateY(-28px) scale(.96,1.05); } 55% { transform: translateY(0) scale(1.06,.94); } 75% { transform: translateY(-8px); } 100% { transform: translateY(0); } }

/* speech bubble */
.bubble {
  position: absolute; z-index: 5; max-width: 230px;
  padding: 10px 16px; border-radius: 22px;
  background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.35; text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(10px) scale(.8); pointer-events: none;
  transition: opacity .25s, transform .35s var(--ease-bounce);
}
.bubble::after { content: ""; position: absolute; bottom: -10px; inset-inline-start: 50%; translate: -50% 0; border: 11px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble.show { opacity: 1; transform: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* empty states */
.empty {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px; border-radius: var(--r-lg);
  background: #fff; border: 3px dashed var(--line);
}
.empty img { height: 160px; width: auto; animation: floaty 4s ease-in-out infinite; }
.empty h3 { font-size: var(--fs-h3); margin: 0; }
.empty p { color: var(--muted); margin: 0; max-width: 40ch; }

/* ---------- 8. Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20, 32, 74, .55); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--cream); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-lg); animation: pop .4s var(--ease-bounce);
}
.modal__box--wide { width: min(900px, 100%); }
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } }

/* parent gate */
.gate { text-align: center; }
.gate__lock { width: 74px; height: 74px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--sun-100); color: var(--orange-600); }
.gate__lock svg { width: 40px; height: 40px; }
.gate h2 { font-size: var(--fs-h3); }
.gate__q { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; background: #fff; border-radius: var(--r-md); padding: 12px; margin: 12px 0 18px; box-shadow: var(--shadow-sm); }
.gate__opts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gate__opts .btn { min-width: 84px; font-size: 1.4rem; }
.gate__msg { min-height: 1.6em; margin-top: 12px; font-weight: 700; color: var(--red-600); }
.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }

/* ---------- 9. Social buttons ---------- */
.social { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social a {
  --s: var(--red);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--s); color: #fff; text-decoration: none;
  box-shadow: 0 6px 0 rgba(0,0,0,.2), var(--shadow-sm);
  transition: transform .25s var(--ease-bounce);
}
.social a:hover { transform: translateY(-4px) rotate(-8deg) scale(1.05); }
.social a:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.social a svg { width: 34px; height: 34px; }
.social a[aria-disabled="true"] { filter: grayscale(1) opacity(.45); cursor: default; }
.social a[data-k="youtube"] { --s: #FF0000; }
.social a[data-k="facebook"] { --s: #1877F2; }
.social a[data-k="instagram"] { --s: radial-gradient(circle at 30% 110%, #FDC468 0%, #FA7E1E 25%, #D62976 55%, #962FBF 80%, #4F5BD5 100%); background: var(--s); }
.social a[data-k="tiktok"] { --s: #111; }
.social a[data-k="whatsapp"] { --s: #25D366; }
.social a[data-k="x"] { --s: #111; }

/* ---------- 10. Footer ---------- */
.footer {
  position: relative; margin-top: 40px;
  background: var(--navy); color: #DCE4FF;
  padding: 90px 0 40px;
}
.footer::before {
  content: ""; position: absolute; top: -1px; inset-inline: 0; height: 60px;
  background: var(--bg);
  -webkit-mask: radial-gradient(40px 34px at 50% 0, #000 98%, transparent) 0 0 / 80px 60px repeat-x;
          mask: radial-gradient(40px 34px at 50% 0, #000 98%, transparent) 0 0 / 80px 60px repeat-x;
}
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 12px; }
.footer h3 { color: #fff; font-size: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer a { color: #DCE4FF; text-decoration: none; font-weight: 700; display: inline-flex; min-height: 40px; align-items: center; }
.footer a:hover { color: var(--sun); }
.footer .social a { flex: 0 1 54px; width: 54px; min-width: 0; min-height: 0; height: auto; aspect-ratio: 1; color: #fff; justify-content: center; }
.footer .social a svg { width: 28px; height: 28px; }
.footer .social { justify-content: flex-start; align-items: center; flex-wrap: nowrap; gap: 10px; }
/* the six icons stay on one line; on mid-size screens they form two rows of three */
@media (min-width: 961px) { .footer__grid { grid-template-columns: 1.3fr 1fr auto; } }
@media (min-width: 821px) and (max-width: 960px) {
  .footer .social { flex-wrap: wrap; max-width: 182px; }
  .footer .social a { flex: 0 0 54px; }
}
.footer__note { background: rgba(255,255,255,.07); border-radius: var(--r-md); padding: 14px 18px; font-size: .95rem; }
.footer__copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .92rem; opacity: .8; }
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__grid > * { min-width: 0; }
  .footer__brand img { margin-inline: auto; }
  .footer .social { justify-content: center; }
}

/* ---------- 11. Confetti stars ---------- */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.fx-star { position: absolute; width: 26px; height: 26px; color: var(--sun); animation: burst 1s var(--ease-out) forwards; }
@keyframes burst { from { transform: translate(0,0) scale(.4) rotate(0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1) rotate(200deg); opacity: 0; } }

/* ---------- 12. Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* confetti (shared) */
.confetti { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

/* ---------- 13. Parents Club ---------- */
.club { padding: clamp(40px, 6vw, 72px) 0 0; }
.club__card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 4vw, 48px); padding-inline-start: clamp(26px, 14vw, 190px);
  border-radius: var(--r-xl); overflow: hidden; color: var(--navy);
  background: radial-gradient(600px 260px at 100% 0%, rgba(255,255,255,.55), transparent 60%), linear-gradient(135deg, #FFE7A3 0%, #FFD0B0 55%, #FFC3D2 100%);
  box-shadow: 0 10px 0 rgba(224, 86, 15, .18), var(--shadow-md); }
.club__card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.25); bottom: -90px; inset-inline-end: -60px; pointer-events: none; }
.club__peek { position: absolute; bottom: 0; inset-inline-start: clamp(4px, 2vw, 26px); height: 92%; width: auto; max-height: 340px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); pointer-events: none; }
.club .eyebrow { background: rgba(255,255,255,.7); color: var(--orange-600); }
.club .eyebrow svg { color: var(--red); }
.club h2 { font-size: var(--fs-h2); margin: 0 0 .2em; }
.club__text p { margin: 0 0 14px; font-weight: 600; color: #4A3A55; }
.club__perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.club__perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.75); font-weight: 800; font-size: .95rem; }
.club__perks svg { width: 18px; height: 18px; color: var(--orange-600); }
.club__side { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-md); }
.club__form label[for] { display: block; font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.club__row { display: flex; gap: 10px; }
.club__row input { flex: 1; min-width: 0; min-height: var(--tap); padding: 10px 18px; border-radius: var(--r-pill); border: 3px solid var(--line);
  font: 600 1.05rem var(--font-en-body); color: var(--navy); background: var(--cream); text-align: left; }
.club__row input:focus { outline: none; border-color: var(--orange); background: #fff; }
.club__row .btn { flex: none; }
.club__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--muted); cursor: pointer; line-height: 1.5; }
.club__consent input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--orange-600); }
.club__msg { min-height: 1.4em; margin: 8px 0 0; font-weight: 800; color: var(--red-600); font-size: .95rem; }
.club__msg:empty { min-height: 0; margin: 0; }
.club__thanks { text-align: center; padding: 10px; outline: none; }
.club__thanks h3 { font-size: 1.45rem; margin: 8px 0 4px; color: var(--green-600); }
.club__thanks p { margin: 0; color: var(--muted); font-weight: 600; }
.club__check { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #E6F7DA; color: var(--green-600); animation: pop .5s var(--ease-bounce); }
.club__check svg { width: 40px; height: 40px; }
.club__form[hidden], .club__thanks[hidden] { display: none; }
@media (max-width: 900px) {
  .club__card { grid-template-columns: 1fr; padding-inline-start: clamp(26px, 4vw, 48px); padding-top: 186px; }
  .club__peek { height: 164px; top: 14px; bottom: auto; inset-inline-start: 50%; translate: -50% 0; }
  html[dir="rtl"] .club__peek { translate: 50% 0; }
  .club__text { text-align: center; } .club__perks { justify-content: center; }
}
@media (max-width: 480px) {
  .club__row { flex-direction: column; }
  .club__row .btn { width: 100%; }
}

/* very small phones (≤360px) */
@media (max-width: 360px) {
  .topbar__in { gap: 8px; }
  .brand { min-width: 0; gap: 7px; }
  .brand img { width: 42px; height: 42px; }
  .brand > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.02rem; }
  .tools { gap: 6px; flex: none; }
  .tools .icon-btn { width: 46px; height: 46px; }
  .tabbar a { font-size: .72rem; }
}

/* ---------- 14. Live visitors badge (footer) ---------- */
.footer__copy { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 12px; border-radius: var(--r-pill);
  background: rgba(74, 222, 128, .14); border: 1px solid rgba(74, 222, 128, .35); color: #D6F8DF; font-weight: 800; font-size: .88rem; line-height: 1.3; }
.live[hidden] { display: none; }
.live i { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; flex: none; animation: livePulse 2s ease-out infinite; }
.live b { font-weight: 800; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
