/* ==========================================================================
   CINETRA SMOOTH — scroll performance layer (loads last, priority 100004)
   Why scrolling felt laggy/floaty:
   1) EVERY poster card used backdrop-filter: blur(22px). Backdrop blur is
      re-painted for every card on every scroll frame — the #1 scroll-jank
      cause on phones. Cards now use a solid glass colour instead (same
      look, no per-frame blur). One-off glass (header, hero, modals) stays.
   2) Every poster ran an infinite shimmer animation (background-position),
      repainting constantly even when idle. Animation removed; the static
      skeleton gradient stays behind images.
   3) Off-screen homepage/archive modules are skipped by the browser until
      scrolled near (content-visibility), so long pages cost far less.
   4) Horizontal rows get native touch handling + overscroll containment,
      so swipes feel direct instead of fighting drag scripts.
   Undo: delete this file or its enqueue in functions.php.
   ========================================================================== */

/* 1) repeated cards: solid glass, no backdrop blur */
body .module .content .items .item,
body .items .item,
body .cin-row .items .item{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  background-color:rgba(17,20,28,.94) !important;
}
/* small repeated glass chips/buttons on the homepage */
html body.home .cinetra-home-total,
html body.home .cinetra-home-page-button,
html body.home .cinetra-category-chip{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  background-color:rgba(17,20,28,.92) !important;
}

/* 2) stop the infinite poster shimmer (static gradient remains) */
html body .content .items .item .poster,
html body .items .item .poster{
  animation:none !important;
}

/* 3) skip rendering off-screen modules until they approach the viewport */
body.home .module,
body.archive .module,
body.search .module{
  content-visibility:auto;
  contain-intrinsic-size:auto 320px;
}

/* 4) rows: the browser owns the gesture; no rubber-band chaining */
#featured-titles .owl-wrapper-outer,
.cinv2-home .items,
.cin-row .items{
  touch-action:pan-x pan-y;
  overscroll-behavior-x:contain;
}

/* 5) fixed glass bars: cheaper blur radius, slightly more solid bg */
header.main,
.fixheadresp,
.cinv4-bottomnav{
  -webkit-backdrop-filter:blur(10px) saturate(1.2) !important;
  backdrop-filter:blur(10px) saturate(1.2) !important;
}

/* 6) the fixed blurred home backdrop stays on its own layer */
#cinetra-home-bg{
  will-change:transform;
  backface-visibility:hidden;
}

/* 7) taps should not trigger the 300ms-style delay anywhere */
a,button,input,summary,label{ touch-action:manipulation; }
