/* בראבו קורסים · כניסה, אזור אישי, הגנה על הסרטונים ודפי רכישה */

/* ---------- מסך כניסה ---------- */
.is-gated .lms, .is-gated .prog, .is-gated .pick { display: none; }
.gate { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 40px 16px; }
.gate[hidden] { display: none; }
.gate__card { width: min(460px, 100%); padding: clamp(26px, 5vw, 40px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-align: center; }
.gate__card form, .gate__card [data-g] { display: grid; gap: 14px; text-align: start; }
.gate__card [hidden] { display: none !important; }
.gate__mark { height: 56px; width: auto; margin: 0 auto 18px; }
.gate__title { font-family: var(--font-head); font-size: clamp(26px, 4vw, 32px); font-weight: 800; line-height: 1.2; }
.gate__sub { color: var(--muted); margin-top: -4px; }
.gate__msg { min-height: 1.3em; font-size: 15px; color: var(--gold-l); }
.gate__link { background: none; border: 0; padding: 4px 0; color: var(--gold-l); font: inherit; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-align: start; }
.gate__others { display: grid; gap: 10px; }
.gate__course { display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgb(255 255 255 / .04); }
.gate__course:hover { border-color: var(--gold); }
.gate__course small { color: var(--muted); }
.lead__field input[dir="ltr"] { text-align: left; }

/* ---------- תפריט אישי ---------- */
.me { position: relative; }
.me__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 5px 12px 5px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .04); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.me__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.me__av .ico { width: 18px; height: 18px; }
.me__chev { width: 16px; height: 16px; color: var(--gold); }
.me__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 230px; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); z-index: 6; display: grid; }
.me__menu[hidden] { display: none; }
.me__menu a, .me__menu button { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: 12px; background: none; border: 0; color: #fff; font: inherit; font-size: 16px; text-align: start; cursor: pointer; }
.me__menu a:hover, .me__menu button:hover { background: rgb(255 255 255 / .06); }
.me__menu .ico { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 720px) { .me__name { display: none; } .me { order: 2; } }

.pdlg { margin: auto; width: min(420px, calc(100% - 32px)); padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); color: #fff; }
.pdlg::backdrop { background: rgb(5 20 16 / .75); backdrop-filter: blur(3px); }
.pdlg form { display: grid; gap: 14px; }

/* ---------- סימן מים והגנה על הנגן ---------- */
.wm { position: absolute; z-index: 4; pointer-events: none; user-select: none; padding: 4px 10px; border-radius: 8px; font-size: clamp(11px, 1.4vw, 14px); font-weight: 700; color: rgb(255 255 255 / .42); background: rgb(0 0 0 / .14); text-shadow: 0 1px 2px rgb(0 0 0 / .5); white-space: nowrap; transition: inset-inline-start 1.6s ease, top 1.6s ease; direction: ltr; }
.player:not(.is-embed):not(.is-started) .wm { opacity: 0; }
.yt-shield { position: absolute; z-index: 3; display: none; }
.player.is-embed .yt-shield { display: block; }
.yt-shield--top { top: 0; inset-inline: 0; height: 62px; }
.yt-shield--logo { bottom: 0; left: 0; width: 120px; height: 48px; }
.player.is-full .yt-shield--logo { bottom: 0; }

/* ---------- דף קורס ורכישה ---------- */
.chero { position: relative; padding: clamp(120px, 14vw, 160px) 0 clamp(50px, 7vw, 80px); overflow: hidden; }
.chero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .chero__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.chero__title { font-family: var(--font-head); font-size: clamp(34px, 5.4vw, 58px); font-weight: 900; line-height: 1.08; margin-top: 14px; }
.chero__sub { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); margin-top: 16px; max-width: 560px; }
.chero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.price { display: grid; line-height: 1.1; }
.price small { font-size: 14px; color: var(--muted); }
.price strong { font-family: var(--font-head); font-size: clamp(32px, 4vw, 42px); color: var(--gold-l); }
.price--soon strong { font-size: 22px; }

.sample { position: relative; border-radius: 26px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 2px solid color-mix(in srgb, var(--yellow) 30%, transparent); box-shadow: var(--shadow-card); }
.sample iframe, .sample video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sample__poster { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--teal) 70%, transparent), var(--ink) 75%); border: 0; color: #fff; font: inherit; cursor: pointer; width: 100%; }
.sample__poster:disabled { cursor: default; }
.sample__play { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); transition: transform .2s; }
.sample__poster:hover .sample__play { transform: scale(1.06); }
.sample__play .ico { width: 30px; height: 30px; margin-inline-start: 4px; }
.sample__k { font-size: 14px; font-weight: 700; color: var(--gold-l); }
.sample__t { font-family: var(--font-head); font-size: clamp(19px, 2.4vw, 24px); max-width: 460px; }

.syl2 { display: grid; gap: 14px; margin-top: 34px; }
.syl2__ch { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.syl2__ch summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; }
.syl2__ch summary::-webkit-details-marker { display: none; }
.syl2__n { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); font-family: var(--font-head); font-weight: 800; }
.syl2__h { flex: 1; display: grid; }
.syl2__h strong { font-size: 18px; line-height: 1.35; }
.syl2__h small { color: var(--muted); font-size: 14.5px; }
.syl2__chev { color: var(--gold); transition: transform .3s; }
.syl2__ch[open] .syl2__chev { transform: rotate(180deg); }
.syl2__body { padding: 0 20px 18px; }
.syl2__sum { color: var(--muted); margin-bottom: 10px; }
.syl2__ls { list-style: none; display: grid; gap: 6px; }
.syl2__ls li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 14px; background: rgb(255 255 255 / .035); }
.syl2__ls .ico { width: 18px; height: 18px; flex: none; color: var(--muted); }
.syl2__ls .is-free .ico { color: var(--gold); }
.syl2__ls span { flex: 1; }
.syl2__free { font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--gold); padding: 3px 10px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; }

.buy { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .buy { grid-template-columns: 1fr 460px; gap: 50px; } }
.buy__list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.buy__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17.5px; }
.buy__list .ico { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); margin-top: 2px; }
.buy__secure { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); justify-content: center; }
.buy__secure .ico { width: 16px; height: 16px; color: var(--gold); }

.paid { padding: 28px; border-radius: 26px; background: color-mix(in srgb, var(--ok) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); display: grid; gap: 10px; }
.paid h2 { font-family: var(--font-head); font-size: 28px; }

/* כל הקורסים */
.cgrid { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 760px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
.ccard { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); transition: border-color .2s, transform .2s; }
.ccard:hover { border-color: var(--gold); transform: translateY(-3px); }
.ccard h3 { font-family: var(--font-head); font-size: 24px; line-height: 1.25; }
.ccard p { color: var(--muted); }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.skel { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }
.chero__title em:not(.pill-em) { font-style: normal; color: var(--gold); }
