/* CINEMAASCOPE V4.8 — TOP NAVIGATION + COMPACT CINEMATIC HERO
   Loaded after style.css and premium-v4.css.
   All member pages use the previous top navigation from site.js.
   Only Home has the compact sliding movie banner.
   Fonts: existing V4.1 type roles; original logo unchanged.
   EDIT: 10-second timer in site.js, images/text in hero-slides.js.
*/
:root {
  --ott-black:#080b14;
  --ott-crimson:#a60944;
  --ott-white:#fffaf1;
  --ott-ease:cubic-bezier(.22,.8,.22,1);
}
/* The original shared top header is restored; never shift content for a side rail. */
body:not([data-page="login"]) {padding-left:0;padding-top:0;}
.site-header {position:sticky;top:0;z-index:400;background:rgba(255,255,255,.96);}
.site-header .scroll-progress {position:absolute;left:0;top:0;width:0;height:3px;background:linear-gradient(90deg,var(--magenta),var(--gold));}

/* 02 — MOVIE HERO (IMAGES ARE SEPARATE EDITABLE FILES) ---------------------- */
.ott-hero-carousel {
  position:relative;isolation:isolate;overflow:hidden;
  min-height:690px;height:min(750px,81vh);
  background:var(--ott-black);color:#fff;
  font-family:var(--font-body);outline-offset:-5px;
}
.ott-hero-slides {position:absolute;inset:0;}
.ott-hero-slide {position:absolute;inset:0;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .8s ease,visibility .8s;}
.ott-hero-slide.is-active {visibility:visible;opacity:1;pointer-events:auto;z-index:1;}
.ott-hero-art {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;}
.ott-hero-dim {position:absolute;inset:0;background:
    linear-gradient(90deg,rgba(6,8,19,.94) 0%,rgba(7,9,20,.70) 16%,rgba(18,8,21,.38) 45%,rgba(0,0,0,.03) 82%),
    linear-gradient(0deg,rgba(5,7,14,.96) 0%,rgba(5,7,14,.15) 29%,transparent 64%),
    linear-gradient(180deg,rgba(5,7,15,.18),transparent 30%);
  pointer-events:none;
}
.ott-hero-copy {position:absolute;left:clamp(30px,5vw,90px);top:50%;transform:translateY(-57%);z-index:3;width:min(535px,49%);}
.ott-hero-kicker {display:inline-flex;align-items:center;gap:10px;color:#e4bd68;font-family:var(--font-heading);font-size:.75rem;font-weight:700;letter-spacing:.12em;}
.ott-hero-kicker::before {content:'';width:27px;height:2px;background:var(--gold);}
.ott-hero-title {
  font-family:var(--font-heading);font-weight:800;font-size:clamp(3rem,5.5vw,5.6rem);
  line-height:1.08;letter-spacing:-.045em;margin:20px 0 14px;color:#fff;
  text-shadow:0 8px 40px rgba(0,0,0,.38);
  overflow-wrap:anywhere;
}
.ott-hero-year {font-family:var(--font-heading);font-weight:750;color:#f1d19a;font-size:1.1rem;margin-bottom:13px;}
.ott-hero-synopsis {font-family:var(--font-body);font-size:clamp(.96rem,1.28vw,1.13rem);color:#e5e6eb;line-height:1.75;max-width:475px;margin:0 0 27px;text-wrap:pretty;}
.ott-hero-actions {display:flex;align-items:center;gap:12px;}
.ott-watch-btn {
  min-height:55px;display:inline-flex;align-items:center;justify-content:center;gap:12px;
  padding:11px 25px;border:1px solid rgba(255,255,255,.15);border-radius:12px;
  background:linear-gradient(105deg,#99123f,#d4145a);color:white;font-family:var(--font-heading);
  font-size:.96rem;font-weight:800;box-shadow:0 10px 24px rgba(114,0,44,.34);
  transition:transform .25s var(--ott-ease),box-shadow .25s,filter .25s;
}
.ott-watch-btn svg {width:18px;height:18px;fill:currentColor;}
.ott-watch-btn:hover,.ott-watch-btn:focus-visible {transform:translateY(-3px);box-shadow:0 17px 34px rgba(212,20,90,.38);filter:brightness(1.08);color:white;}
.ott-fav-hero {width:55px;height:55px;border-radius:12px;border:1px solid rgba(255,255,255,.39);background:rgba(255,255,255,.14);color:white;display:grid;place-items:center;font-size:2rem;font-family:var(--font-heading);transition:background .25s,transform .25s;}
.ott-fav-hero:hover {background:rgba(216,165,43,.27);transform:translateY(-2px);}
.ott-hero-bottom {position:absolute;z-index:4;bottom:34px;left:clamp(30px,5vw,90px);right:34px;display:flex;align-items:end;justify-content:space-between;gap:20px;}
.ott-slide-counter {font-family:var(--font-heading);font-weight:700;font-size:.81rem;color:#e6e0d7;letter-spacing:.1em;white-space:nowrap;}
.ott-hero-right-controls {display:flex;align-items:center;gap:12px;}
.ott-hero-thumbnails {display:flex;align-items:center;gap:10px;}
.ott-hero-thumb {width:145px;height:86px;padding:0;position:relative;overflow:hidden;isolation:isolate;border-radius:12px;background:#161523;border:1px solid rgba(255,255,255,.38);color:white;transition:transform .25s,border .25s,box-shadow .25s;}
.ott-hero-thumb img {width:100%;height:100%;object-fit:cover;object-position:63% 40%;transition:transform .35s;}
.ott-hero-thumb::after {content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,transparent 70%);}
.ott-hero-thumb span {position:absolute;z-index:2;bottom:6px;left:0;right:0;text-align:center;font-family:var(--font-heading);font-weight:750;font-size:.67rem;letter-spacing:.025em;}
.ott-hero-thumb:hover,.ott-hero-thumb:focus-visible {transform:translateY(-4px);}
.ott-hero-thumb:hover img {transform:scale(1.06);}
.ott-hero-thumb.is-active {border:2px solid var(--gold);box-shadow:0 0 0 2px rgba(255,255,255,.55),0 0 20px rgba(216,165,43,.25);}
.ott-slider-arrow {width:35px;height:40px;border:1px solid rgba(255,255,255,.19);background:rgba(0,0,0,.24);color:#fff;border-radius:10px;font-size:1rem;transition:background .2s;}
.ott-slider-arrow:hover {background:rgba(212,20,90,.5);}
.ott-hero-progress {position:absolute;z-index:7;bottom:0;left:0;width:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--magenta));}
@keyframes ott-progress {from{width:0}to{width:100%}}

/* Smooth entry motion only for the current (visible) hero copy. */
/* Slide crossfade already animates. Keep text fully opaque and readable. */
.ott-hero-slide.is-active .ott-hero-copy {opacity:1;}
@keyframes ott-slide-copy {from{opacity:.15;transform:translateY(calc(-57% + 18px))}to{opacity:1;transform:translateY(-57%)}}
/* Home: cinema hero should begin directly below member nav, no extra light header. */
body[data-page="home"] #hero-mount {background:var(--ott-black);}
body[data-page="home"] #pass-mount:empty {display:none;}
/* Keep original remaining sections and previous footer completely unchanged. */


/* ---------- COMPACT, CENTERED DESKTOP BANNER ---------- */
body[data-page="home"] #hero-mount {background:transparent;padding:0;}
.ott-hero-carousel {
  /* Not full bleed: tasteful margins on both sides of the banner. */
  width:min(1200px,calc(100% - 52px));
  height:clamp(380px,36vw,490px);min-height:0;
  margin:24px auto 0;border-radius:20px;
  box-shadow:0 20px 45px rgba(7,15,34,.18);
  border:1px solid rgba(255,255,255,.12);
}
.ott-hero-copy {left:clamp(26px,3.6vw,52px);top:46%;transform:translateY(-50%);width:min(48%,460px);}
.ott-hero-title {font-size:clamp(2.25rem,3.7vw,3.85rem);line-height:1.07;margin:10px 0 12px;}
.ott-hero-year {font-size:1rem;margin-bottom:8px;}
.ott-hero-synopsis {font-size:.94rem;line-height:1.58;max-width:390px;margin-bottom:16px;}
.ott-watch-btn {min-height:46px;padding:10px 19px;font-size:.89rem;border-radius:10px;}
.ott-fav-hero {width:46px;height:46px;border-radius:10px;font-size:1.6rem;}
.ott-hero-bottom {bottom:18px;left:clamp(26px,3.6vw,52px);right:22px;}
.ott-hero-thumb {width:112px;height:66px;border-radius:9px;}
.ott-hero-thumb span {font-size:.57rem;}
.ott-slider-arrow {height:36px;width:30px;border-radius:8px;}
.ott-hero-right-controls {gap:8px;}
.ott-hero-thumbnails {gap:7px;}
.ott-hero-dim {background:
  linear-gradient(90deg,rgba(6,8,19,.97) 0%,rgba(7,9,20,.84) 20%,rgba(18,8,21,.5) 45%,rgba(0,0,0,.02) 86%),
  linear-gradient(0deg,rgba(5,7,14,.75) 0%,rgba(5,7,14,.06) 30%,transparent 65%);
}
body[data-page="home"] #pass-mount:empty {display:none;}

/* ---------- SMALL DESKTOP / TABLET ---------- */
@media (max-width:1100px) and (min-width:701px) {
  .ott-hero-carousel {height:425px;width:calc(100% - 40px);margin-top:18px;}
  .ott-hero-copy {left:29px;width:54%;top:44%;}
  .ott-hero-title {font-size:clamp(2.1rem,4.3vw,3.3rem);}
  .ott-hero-synopsis {font-size:.88rem;line-height:1.52;max-width:340px;}
  .ott-hero-thumb {width:90px;height:57px;}
  .ott-hero-bottom {left:29px;right:19px;bottom:15px;}
  .ott-hero-right-controls {gap:6px;}
  .ott-hero-thumbnails {gap:5px;}
}

/* ---------- PHONE: SHORTER BANNER, KEEP TEXT CLEAR & THUMBS TAPPABLE ---------- */
@media (max-width:700px) {
  .ott-hero-carousel {width:calc(100% - 24px);height:clamp(435px,118vw,510px);margin:12px auto 0;border-radius:16px;}
  .ott-hero-art {object-position:66% 30%;}
  .ott-hero-dim {background:
    linear-gradient(0deg,rgba(5,7,14,.99) 0%,rgba(8,9,20,.94) 32%,rgba(8,9,20,.61) 51%,rgba(8,9,20,.05) 83%),
    linear-gradient(90deg,rgba(5,7,14,.40),transparent 78%);
  }
  .ott-hero-copy {left:19px;right:19px;top:auto;bottom:125px;transform:none;width:auto;max-width:475px;}
  .ott-hero-title {font-size:clamp(2.1rem,8.3vw,3rem);margin:0 0 8px;line-height:1.08;}
  .ott-hero-year {font-size:.9rem;margin-bottom:5px;}
  .ott-hero-synopsis {font-size:.84rem;line-height:1.48;max-width:360px;margin:0 0 12px;}
  .ott-hero-actions {gap:8px;}
  .ott-watch-btn {min-height:41px;padding:8px 14px;font-size:.82rem;gap:8px;}
  .ott-watch-btn svg {width:15px;height:15px;}
  .ott-fav-hero {width:41px;height:41px;font-size:1.55rem;}
  .ott-hero-bottom {bottom:13px;left:12px;right:12px;display:flex;flex-direction:column;align-items:center;gap:9px;}
  .ott-slide-counter {font-size:.69rem;line-height:1;}
  .ott-hero-right-controls {width:100%;justify-content:center;gap:5px;}
  .ott-slider-arrow {height:35px;width:24px;flex:0 0 24px;}
  .ott-hero-thumbnails {display:flex;flex:1;min-width:0;gap:5px;justify-content:center;}
  .ott-hero-thumb {flex:1 1 0;width:auto;max-width:110px;height:62px;min-width:0;border-radius:7px;}
  .ott-hero-thumb span {font-size:.56rem;overflow-wrap:anywhere;}
}
@media (max-width:380px) {
  .ott-hero-carousel {height:455px;}
  .ott-hero-title {font-size:2.1rem;}
  .ott-hero-synopsis {font-size:.8rem;}
  .ott-hero-copy {bottom:119px;}
  .ott-hero-thumb {height:57px;}
}
@media (prefers-reduced-motion:reduce) {
  .ott-hero-slide,.ott-hero-thumb,.ott-watch-btn {transition:none!important;animation:none!important;}
  .ott-hero-progress {display:none!important;}
}
