/* ==========================================================================
   FILMYCAB — Site UI  (fch-home.css)
   Shared header / drawer / cards for every page + the homepage layout.
   Selectors are scoped to body.fch-body (homepage), body.fch-site (other
   pages) and .fch-app / fch-* components, so legacy templates are untouched.
   Non-homepage skin lives in fch-site.css.
   ========================================================================== */

body.fch-body,
body.fch-site {
	--fch-bg: #07070d;
	--fch-bg-2: #0e0c19;
	--fch-card: #14121f;
	--fch-card-2: #1b1828;
	--fch-line: rgba(255, 255, 255, 0.08);
	--fch-line-2: rgba(255, 255, 255, 0.16);
	--fch-text: #f4f2ff;
	--fch-muted: #a3a1b8;
	--fch-violet: #8b5cf6;
	--fch-violet-2: #a855f7;
	--fch-violet-3: #c4b5fd;
	--fch-violet-deep: #6d28d9;
	--fch-blue: #1d4ed8;
	--fch-green: #15803d;
	--fch-gold: #fbbf24;
	--fch-grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	--fch-glow: 0 6px 22px rgba(139, 92, 246, 0.45);
	--fch-radius: 14px;
	--fch-pad: 14px;
	--fch-max: 1280px;

	background: var(--fch-bg) !important;
	background-color: var(--fch-bg) !important;
	background-image: none !important;
	color: var(--fch-text) !important;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

/* Remove the grid / glow overlays of the global header on the homepage only */
body.fch-body::before,
body.fch-body::after { display: none !important; }

/* Replace the global navbar on the homepage only (header.php is untouched) */
body.fch-body #premium-nav { display: none !important; }

/* The existing "4K" promo button is relocated into .fch-promo by fch-home.js */
body.fch-body > .fmc-4k-btn { display: none !important; }

body.fch-body.fch-lock { overflow: hidden; }

/* ---------- Scoped reset (neutralises legacy global style.css rules) ---------- */
.fch-app,
.fch-app * { box-sizing: border-box; }

.fch-app {
	position: relative;
	width: 100%;
	color: var(--fch-text);
	overflow-x: hidden;
}
@supports (overflow: clip) {
	.fch-app { overflow-x: clip; }
}

/* :where() keeps these resets at class-level specificity so component rules below always win,
   while still overriding the legacy element rules in style.css (e.g. section{background:#303030}). */
.fch-app :where(section, nav, header, main, aside, article) {
	background: none;
	padding: 0;
	margin: 0;
	box-shadow: none;
	border-radius: 0;
}
.fch-app [hidden] { display: none !important; }
.fch-app :where(a) { color: inherit; text-decoration: none; background-color: transparent; }
.fch-app :where(h1, h2, h3, p) { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: 1.25; }
.fch-app :where(ul) { list-style: none; margin: 0; padding: 0; }
.fch-app :where(img) { max-width: 100%; border: 0; }
.fch-app :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.fch-app :focus-visible { outline: 2px solid var(--fch-violet-3); outline-offset: 2px; border-radius: 8px; }

.fch-ico { width: 20px; height: 20px; flex: 0 0 auto; display: block; }

.fch-wrap {
	width: 100%;
	max-width: var(--fch-max);
	margin: 0 auto;
	padding-left: var(--fch-pad);
	padding-right: var(--fch-pad);
}

/* Horizontal scrollers (no visible scrollbar, native touch scrolling) */
.fch-hscroll {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.fch-hscroll::-webkit-scrollbar { display: none; }
.fch-hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.fch-app .fch-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(7, 7, 13, 0.92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--fch-line);
	transition: transform 0.28s ease;
}
.fch-app .fch-header.is-hidden { transform: translateY(-100%); }

.fch-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
	padding-top: 12px;
}

.fch-burger {
	width: 40px;
	height: 40px;
	margin-left: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #fff;
}
.fch-burger .fch-ico { width: 28px; height: 28px; stroke-width: 2.2; }
.fch-burger:hover { background: rgba(255, 255, 255, 0.06); }

.fch-logo {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 auto;
	line-height: 0;
}
.fch-logo-img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
	color: #fff;               /* alt text colour if the image is missing */
	font: 700 18px/34px 'Inter', sans-serif;
}

.fch-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.fch-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #12111b;
	border: 1px solid var(--fch-line-2);
	color: #fff;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.fch-circle .fch-ico { width: 21px; height: 21px; stroke-width: 2.2; }
.fch-circle:hover,
.fch-circle[aria-expanded="true"] { border-color: var(--fch-violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.fch-circle--user { color: var(--fch-violet-2); }
.fch-circle--user .fch-ico { width: 22px; height: 22px; }

/* Tabs (Home / Movies / Web Series / OTT / More) */
.fch-tabs {
	order: 10;
	flex: 0 0 calc(100% + var(--fch-pad) * 2);
	width: calc(100% + var(--fch-pad) * 2);
	min-width: 0;
	margin: 12px calc(var(--fch-pad) * -1) 0 !important;
}
.fch-tabs__scroll {
	display: flex;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0 var(--fch-pad) 12px;
}
.fch-tabs__scroll::-webkit-scrollbar { display: none; }
@media (max-width: 379px) {
	.fch-tabs__scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

.fch-tab {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	color: #ecebf5;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}
.fch-tab .fch-ico { width: 19px; height: 19px; }
.fch-tab:hover { background: rgba(255, 255, 255, 0.06); }
.fch-tab.is-active {
	background: var(--fch-grad);
	color: #fff;
	font-weight: 600;
	padding: 0 16px 0 13px;
	margin-right: 4px;
	box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.35) inset, var(--fch-glow);
}
.fch-tab--more { margin-left: 0; }
.fch-tab__chev { width: 16px !important; height: 16px !important; stroke-width: 2.4; transition: transform 0.2s; }
.fch-tab--more[aria-expanded="true"] .fch-tab__chev { transform: rotate(180deg); }

/* Dropdown + search panels hang below the sticky header */
.fch-more,
.fch-search {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: rgba(12, 11, 21, 0.98);
	border-bottom: 1px solid var(--fch-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
	animation: fch-drop 0.18s ease-out;
}
@keyframes fch-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.fch-more__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding-top: 14px;
	padding-bottom: 16px;
}
.fch-more__inner a {
	display: block;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--fch-card);
	border: 1px solid var(--fch-line);
	font-size: 14px;
	font-weight: 500;
	color: #e9e7f5;
}
.fch-more__inner a:hover { border-color: var(--fch-violet); color: #fff; }

.fch-search__form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	padding-bottom: 16px;
}
.fch-search__ico { position: absolute; margin-left: 14px; width: 18px; height: 18px; color: var(--fch-muted); pointer-events: none; }
.fch-search__form input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px 0 42px;
	border-radius: 999px;
	border: 1px solid var(--fch-line-2);
	background: #12111b;
	color: #fff;
	font-size: 15px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.fch-search__form input:focus { border-color: var(--fch-violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2); }
.fch-search__form input::placeholder { color: #75738a; }
.fch-search__form button {
	height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--fch-grad);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	box-shadow: var(--fch-glow);
}

/* ==========================================================================
   CATEGORY STRIP
   ========================================================================== */
.fch-app .fch-cats { border-bottom: 1px solid var(--fch-line); background: #09080f; }
.fch-cats__scroll { gap: 8px; padding-top: 10px; padding-bottom: 10px; scroll-padding-left: var(--fch-pad); }
.fch-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 6px 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--fch-line);
	color: #dcdaea;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition: border-color 0.2s, background 0.2s;
}
.fch-cat:hover { border-color: var(--fch-violet); background: rgba(139, 92, 246, 0.12); color: #fff; }
.fch-cat__count {
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fch-grad);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	box-shadow: 0 0 10px rgba(139, 92, 246, 0.45);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.fch-main { padding-top: 14px; padding-bottom: 28px; }

.fch-app .fch-hero {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #0d0c16;
	border: 1px solid var(--fch-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	isolation: isolate;
}
.fch-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
}
.fch-hero__track::-webkit-scrollbar { display: none; }

.fch-app .fch-slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	aspect-ratio: 16 / 9;
	min-height: 212px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}
.fch-slide__bg { position: absolute; inset: 0; z-index: -2; }
.fch-slide__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; display: block; }
.fch-slide--poster .fch-slide__bg img {
	filter: blur(22px) saturate(1.35) brightness(0.75);
	transform: scale(1.25);
}
.fch-slide__poster {
	position: absolute;
	z-index: 0;
	right: 4%;
	top: 46%;
	transform: translateY(-50%) rotate(2deg);
	height: 74%;
	aspect-ratio: 2 / 3;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.fch-slide__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fch-slide__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(7, 7, 13, 0.92) 0%, rgba(7, 7, 13, 0.62) 38%, rgba(7, 7, 13, 0.08) 72%, rgba(7, 7, 13, 0) 100%),
		linear-gradient(0deg, rgba(7, 7, 13, 0.85) 0%, rgba(7, 7, 13, 0) 45%);
}
.fch-slide--poster .fch-slide__shade { z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 7, 13, 0.9) 0%, rgba(7, 7, 13, 0.55) 45%, rgba(7, 7, 13, 0) 70%), linear-gradient(0deg, rgba(7, 7, 13, 0.7) 0%, rgba(7, 7, 13, 0) 40%); }

.fch-slide__body {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 68%;
	padding: 14px 14px 32px;
}
.fch-slide__langs {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #e7e5f2;
	margin-bottom: 6px;
	white-space: pre;
	overflow: hidden;
	text-overflow: ellipsis;
}
.fch-slide__title {
	font-size: clamp(26px, 8vw, 64px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	background: linear-gradient(180deg, #ffffff 0%, #e7e7ef 40%, #a7a7b8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding-bottom: 2px;
}
.fch-slide__meta { margin-top: 7px; font-size: 13px; font-weight: 500; color: #e2e0ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fch-slide__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.fch-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.fch-btn .fch-ico { width: 17px; height: 17px; }
.fch-btn--primary { background: var(--fch-grad); color: #fff !important; box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.35) inset, var(--fch-glow); }
.fch-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.5) inset, 0 10px 28px rgba(139, 92, 246, 0.6); }
.fch-btn--ghost { background: rgba(16, 15, 26, 0.72); color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.28); }
.fch-btn--ghost:hover { border-color: #fff; }

.fch-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}
.fch-dot {
	pointer-events: auto;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35) !important;
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.fch-dot.is-active { background: var(--fch-violet-2) !important; box-shadow: 0 0 10px rgba(168, 85, 247, 0.9); transform: scale(1.1); }

/* ==========================================================================
   CATEGORY SHORTCUT CARDS
   ========================================================================== */
.fch-app .fch-shortcuts {
	gap: 10px;
	margin: 16px calc(var(--fch-pad) * -1) 0;
	padding: 2px var(--fch-pad);
	scroll-padding-left: var(--fch-pad);
}
.fch-sc {
	width: clamp(90px, 24.5vw, 140px);
	height: 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 14px;
	background: linear-gradient(180deg, #1a1826 0%, #12111b 100%);
	border: 1px solid var(--fch-line-2);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.fch-sc:hover { border-color: var(--fch-violet); box-shadow: 0 0 18px rgba(139, 92, 246, 0.35); transform: translateY(-1px); }
.fch-sc__ico { width: 28px; height: 28px; }
.fch-sc--violet .fch-sc__ico { color: #a78bfa; filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.55)); }
.fch-sc--blue .fch-sc__ico { color: #60a5fa; filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.55)); }
.fch-sc--red .fch-sc__ico { color: #e50914; filter: drop-shadow(0 0 6px rgba(229, 9, 20, 0.5)); }
.fch-sc--cyan .fch-sc__ico { color: #22d3ee; filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55)); }
.fch-sc__label { font-size: 12.5px; font-weight: 500; color: #f1f0f8; white-space: nowrap; max-width: 100%; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; }

/* Relocated existing 4K promo button */
.fch-promo { margin-top: 14px; }
.fch-promo:empty { display: none; }
.fch-promo .fmc-4k-btn { margin: 0 auto !important; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.fch-app .fch-section { margin-top: 26px; }

.fch-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.fch-head__title {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #fff;
	letter-spacing: -0.01em;
	min-width: 0;
}
.fch-head__title > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fch-head__flame { width: 26px; height: 26px; color: #a855f7; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.7)); }
.fch-head__icon { display: inline-flex; color: #a78bfa; filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.55)); }
.fch-head__icon .fch-ico { width: 28px; height: 28px; }
.fch-top10 {
	font-weight: 900;
	font-size: 22px;
	background: linear-gradient(180deg, #d8b4fe 0%, #a855f7 55%, #7c3aed 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}
.fch-top10 b { font-size: 30px; font-weight: 900; }

.fch-viewall {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--fch-violet-3) !important;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.fch-viewall .fch-ico { width: 20px; height: 20px; transition: transform 0.2s; }
.fch-viewall:hover .fch-ico { transform: translateX(3px); }

/* ---------- Shared poster + badges ---------- */
.fch-poster {
	position: relative;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	border-radius: var(--fch-radius);
	background: var(--fch-card-2);
	isolation: isolate;
}
.fch-poster__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.fch-poster__shade {
	position: absolute;
	inset: auto 0 0 0;
	height: 48%;
	background: linear-gradient(0deg, rgba(5, 5, 10, 0.92) 0%, rgba(5, 5, 10, 0.55) 45%, rgba(5, 5, 10, 0) 100%);
	pointer-events: none;
}

.fch-rate {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px 4px 7px;
	border-radius: 8px;
	background: rgba(8, 8, 14, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.fch-rate__star { width: 14px !important; height: 14px !important; color: var(--fch-gold); }

.fch-badges {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.fch-badge {
	display: inline-flex;
	align-items: center;
	height: 21px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.fch-badge--year { background: linear-gradient(135deg, #7c3aed, #9d4edd); box-shadow: 0 0 8px rgba(124, 58, 237, 0.5); }
.fch-badge--lang { background: #1e40af; border: 1px solid rgba(147, 197, 253, 0.35); }
.fch-badge--q { background: #166534; border: 1px solid rgba(134, 239, 172, 0.55); }

/* ---------- TOP 10 Trending row ---------- */
.fch-app .fch-row {
	gap: 10px;
	margin: 0 calc(var(--fch-pad) * -1);
	padding: 4px var(--fch-pad) 8px;
	scroll-padding-left: var(--fch-pad);
}
.fch-trend { width: calc((100% - 20px) / 3.05); max-width: 210px; min-width: 104px; display: block; }
.fch-poster--trend {
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	border: 1.5px solid rgba(167, 139, 250, 0.65);
	box-shadow: 0 0 14px rgba(139, 92, 246, 0.32);
}
.fch-poster--trend .fch-poster__shade { height: 50%; }
.fch-trend__foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	gap: 4px;
	padding: 0 6px 7px 6px;
}
.fch-pos {
	flex: 0 0 auto;
	font-size: 50px;
	font-weight: 900;
	font-style: italic;
	line-height: 0.78;
	color: #8b5cf6;
	-webkit-text-stroke: 2px #ddd6fe;
	text-shadow: 0 0 14px rgba(139, 92, 246, 0.95), 0 2px 0 rgba(0, 0, 0, 0.4);
	letter-spacing: -0.04em;
	padding-right: 2px;
}
.fch-trend__foot .fch-badges { position: static; gap: 3px; min-width: 0; padding-bottom: 1px; }
.fch-trend__foot .fch-badge { height: 17px; padding: 0 5px; font-size: 9px; letter-spacing: 0; }
.fch-trend__title {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.fch-trend:hover .fch-poster__img,
.fch-card:hover .fch-poster__img { transform: scale(1.04); }
.fch-trend:hover .fch-poster--trend { border-color: #c4b5fd; box-shadow: 0 0 22px rgba(139, 92, 246, 0.55); }


/* Desktop arrow buttons for horizontal rows (added by fch-home.js for mouse users) */
.fch-rownav { position: relative; }
.fch-rownav__btn {
	position: absolute;
	top: calc(50% - 22px);
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(14, 12, 25, 0.92) !important;
	border: 1px solid rgba(167, 139, 250, 0.55) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
	transition: opacity 0.2s, border-color 0.2s;
}
.fch-rownav__btn:hover { border-color: #c4b5fd !important; box-shadow: var(--fch-glow); }
.fch-rownav__btn--prev { left: -10px; }
.fch-rownav__btn--next { right: -10px; }
.fch-rownav.at-start .fch-rownav__btn--prev,
.fch-rownav.at-end .fch-rownav__btn--next { opacity: 0; pointer-events: none; }
@media (max-width: 1023px) { .fch-rownav__btn { display: none !important; } }

/* ---------- Latest Movies grid ---------- */
.fch-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 12px;
}
.fch-card { display: block; min-width: 0; }
.fch-card .fch-poster { border: 1px solid rgba(255, 255, 255, 0.22); }
.fch-card:hover .fch-poster { border-color: var(--fch-violet); box-shadow: 0 0 18px rgba(139, 92, 246, 0.35); }
.fch-card__title {
	margin-top: 8px !important;
	padding: 0 2px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #eceaf6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.fch-card--row { width: calc((100% - 20px) / 2.4); max-width: 210px; }

/* Android app banner (existing, mobile/tablet only) */
.fch-app-banner { text-align: center; margin: 0 0 18px; }
.fch-app-banner img { display: inline-block; max-width: 100%; height: auto; border-radius: 12px; }

/* Pagination */
.fch-pager {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 30px !important;
}
.fch-pager .page-numbers {
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--fch-card);
	border: 1px solid var(--fch-line-2);
	color: #e8e6f4;
	font-size: 14px;
	font-weight: 600;
}
.fch-pager a.page-numbers:hover { border-color: var(--fch-violet); color: #fff; }
.fch-pager .page-numbers.current { background: var(--fch-grad); border-color: transparent; color: #fff; box-shadow: var(--fch-glow); }
.fch-pager .page-numbers.dots { background: none; border-color: transparent; min-width: 20px; padding: 0 4px; }

.fch-empty { color: var(--fch-muted); padding: 24px 0; }

/* Browse By */
.fch-browse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fch-browse__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 20px 12px;
	border-radius: 16px;
	background: linear-gradient(180deg, #1a1826 0%, #12111b 100%);
	border: 1px solid var(--fch-line-2);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.fch-browse__card:hover { border-color: var(--fch-violet); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
.fch-browse__ico {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fch-grad);
	color: #fff;
	box-shadow: var(--fch-glow);
	margin-bottom: 4px;
}
.fch-browse__ico .fch-ico { width: 22px; height: 22px; }
.fch-browse__card strong { font-size: 15px; font-weight: 700; color: #fff; }
.fch-browse__card small { font-size: 11.5px; color: var(--fch-muted); }

/* ==========================================================================
   DRAWER
   ========================================================================== */
.fch-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.25s;
}
.fch-overlay.is-open { opacity: 1; }
.fch-app .fch-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483001;
	width: min(86vw, 340px);
	display: flex;
	flex-direction: column;
	background: #0d0c17;
	border-right: 1px solid var(--fch-line-2);
	padding: 14px 16px 24px;
	overflow-y: auto;
	transform: translateX(-102%);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}
.fch-app .fch-drawer.is-open { transform: none; }
.fch-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--fch-line); margin-bottom: 14px; }
.fch-drawer__head .fch-logo { flex: 1 1 auto; }
.fch-drawer__menu { display: flex; flex-direction: column; gap: 6px; }
.fch-drawer__menu a {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--fch-card);
	border: 1px solid var(--fch-line);
	color: #ebe9f6;
	font-size: 15px;
	font-weight: 500;
}
.fch-drawer__menu a:hover { border-color: var(--fch-violet); color: #fff; }
.fch-drawer__menu .sub-menu { margin: 6px 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.fch-drawer__label { margin: 20px 0 10px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fch-muted); }
.fch-drawer__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.fch-drawer__cats a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 6px 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--fch-line);
	background: rgba(255, 255, 255, 0.03);
	font-size: 13px;
	color: #dcdaea;
}
.fch-drawer__cats a span { min-width: 21px; height: 21px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--fch-grad); color: #fff; font-size: 10.5px; font-weight: 700; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Phones: fit Home / Movies / Web Series / OTT / More on one line, keep hero buttons on one row */
@media (max-width: 479px) {
	.fch-tabs__scroll { padding-left: 9px; padding-right: 3px; gap: 0; }
	.fch-tab { gap: 5px; padding: 0 5px; font-size: 13px; height: 38px; }
	.fch-tab .fch-ico { width: 16px; height: 16px; }
	.fch-tab.is-active { padding: 0 11px 0 9px; margin-right: 1px; }
	.fch-tab__chev { width: 14px !important; height: 14px !important; }
	.fch-slide--poster .fch-slide__body { max-width: calc(100% - 112px); }
	.fch-slide__btns { flex-wrap: nowrap; gap: 7px; }
	.fch-btn { gap: 6px; padding: 0 11px; font-size: 13px; height: 36px; }
	.fch-btn .fch-ico { width: 15px; height: 15px; }
	.fch-badges { gap: 4px; left: 7px; right: 7px; bottom: 7px; }
	.fch-badge { height: 19px; padding: 0 6px; font-size: 9.5px; letter-spacing: 0; }
	.fch-trend { width: calc((100% - 20px) / 3); }
	.fch-pos { font-size: 44px; -webkit-text-stroke-width: 1.5px; padding-right: 5px; }
	.fch-trend__foot { padding: 0 5px 6px 5px; gap: 3px; }
	.fch-trend__foot .fch-badges { gap: 2px; }
	.fch-trend__foot .fch-badge { height: 15px; padding: 0 4px; font-size: 8px; }
}

@media (max-width: 359px) {
	body.fch-body, body.fch-site { --fch-pad: 12px; }
	.fch-tab { padding: 0 6px; font-size: 12.5px; }
	.fch-tab .fch-ico { width: 15px; height: 15px; }
	.fch-slide__body { padding: 12px 12px 30px; }
	.fch-btn { padding: 0 9px; font-size: 12px; }
	.fch-pos { font-size: 36px; }
}

@media (min-width: 600px) {
	body.fch-body, body.fch-site { --fch-pad: 20px; }
	.fch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
	.fch-trend { width: 172px; }
	.fch-card--row { width: 180px; }
	.fch-more__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fch-slide__body { padding: 24px 26px 40px; max-width: 58%; }
	.fch-slide__langs { font-size: 12.5px; }
	.fch-slide__meta { font-size: 15px; }
	.fch-btn { height: 44px; padding: 0 20px; font-size: 15px; }
	.fch-tab { padding: 0 13px; font-size: 15px; }
	.fch-browse { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Original behaviour: the Android app banner is hidden on desktop */
@media (min-width: 769px) {
	.fch-app-banner { display: none !important; }
}

@media (min-width: 900px) {
	.fch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fch-head__title { font-size: 24px !important; }
	.fch-top10 { font-size: 26px; }
	.fch-top10 b { font-size: 34px; }
	.fch-head__flame { width: 30px; height: 30px; }
	.fch-viewall { font-size: 15px; }
}

@media (min-width: 1024px) {
	body.fch-body, body.fch-site { --fch-pad: 24px; }
	.fch-topbar { flex-wrap: nowrap; padding-top: 0; height: 72px; column-gap: 20px; }
	.fch-logo { flex: 0 0 auto; }
	.fch-tabs { order: 0; flex: 1 1 auto; width: auto; margin: 0 !important; }
	.fch-tabs__scroll { padding: 0; gap: 6px; }
	.fch-tab--more { margin-left: 0; }
	.fch-app .fch-header.is-hidden { transform: none; }
	.fch-main { padding-top: 22px; }
	.fch-app .fch-slide { aspect-ratio: 21 / 9; max-height: 540px; }
	.fch-slide__body { padding: 40px 48px 56px; max-width: 55%; }
	.fch-slide__title { font-size: clamp(44px, 5vw, 76px); }
	.fch-slide__poster { right: 7%; height: 84%; }
	.fch-dots { bottom: 18px; }
	.fch-app .fch-shortcuts { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; justify-content: space-between; overflow: visible; }
	.fch-sc { flex: 1 1 0; width: auto; max-width: none; height: 92px; }
	.fch-sc__ico { width: 32px; height: 32px; }
	.fch-sc__label { font-size: 14px; }
	.fch-app .fch-section { margin-top: 36px; }
	.fch-trend { width: 196px; }
	.fch-pos { font-size: 66px; padding-right: 6px; }
	.fch-app .fch-row { margin: 0; padding: 4px 0 10px; scroll-padding-left: 0; }
	.fch-badge { height: 23px; padding: 0 9px; font-size: 11.5px; }
	.fch-trend__foot .fch-badge { height: 19px; padding: 0 6px; font-size: 10px; }
	.fch-badges { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
	.fch-rate { top: 10px; left: 10px; font-size: 13.5px; padding: 5px 9px 5px 8px; }
	.fch-trend__foot .fch-badges { gap: 4px; }
}

@media (min-width: 1200px) {
	.fch-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
	.fch-card__title { font-size: 14.5px !important; }
	.fch-trend { width: 208px; }
}

@media (prefers-reduced-motion: reduce) {
	.fch-app *,
	.fch-app *::before,
	.fch-app *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v2.1 additions
   ========================================================================== */

/* WP admin bar (logged-in users): keep the sticky header below it */
body.admin-bar .fch-app .fch-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fch-app .fch-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .fch-app .fch-header { top: 0; } }

/* TOP 10 continuous auto-scroll (fch-home.js adds .is-auto + cloned cards) */
.fch-app .fch-row.is-auto { scroll-snap-type: none; scroll-behavior: auto; }
.fch-row.is-auto > * { scroll-snap-align: none; }

/* 8 shortcut cards: phones scroll horizontally, desktop keeps one even row */
@media (max-width: 599px) {
	.fch-sc__label { font-size: 12px; letter-spacing: -0.01em; padding: 0 3px; }
}
@media (min-width: 1024px) {
	.fch-app .fch-shortcuts { gap: 12px; }
	.fch-sc { min-width: 0; }
}

/* Guard the homepage against generic rules in Appearance → Customize → Additional CSS
   (e.g. ".home section { margin … !important }"). Values restate the design above. */
body.fch-body .fch-app section.fch-hero { margin: 0 !important; padding: 0 !important; background: #0d0c16 !important; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5) !important; }
body.fch-body .fch-app section.fch-section { margin: 26px 0 0 !important; padding: 0 !important; }
@media (min-width: 1024px) { body.fch-body .fch-app section.fch-section { margin-top: 36px !important; } }

/* ==========================================================================
   FOOTER — restyled to the homepage colours (markup/links unchanged, all pages)
   ========================================================================== */
body.fch-body > footer,
body.fch-site > footer {
	background: linear-gradient(180deg, #0e0c19 0%, #07070d 100%) !important;
	border-top: 1px solid rgba(139, 92, 246, 0.28);
	box-shadow: 0 -10px 30px rgba(139, 92, 246, 0.08);
	color: var(--fch-muted);
	margin-top: 28px;
	padding: 22px 14px 90px;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}
body.fch-body > footer .footer-brand,
body.fch-site > footer .footer-brand { color: #cfcde0; }
body.fch-body > footer a,
body.fch-site > footer a { color: var(--fch-violet-3); text-decoration: none; transition: color 0.2s; }
body.fch-body > footer a:hover,
body.fch-site > footer a:hover { color: #fff; }
body.fch-body > footer .footer-list > li,
body.fch-site > footer .footer-list > li { padding: 4px 8px; }
body.fch-body > footer .text-left .footer-list > li + li::before,
body.fch-site > footer .text-left .footer-list > li + li::before { content: '•'; color: rgba(167, 139, 250, 0.55); margin-right: 12px; }
@media (min-width: 960px) {
	body.fch-body > footer,
	body.fch-site > footer { padding-bottom: 26px; }
}

/* ==========================================================================
   v2.2 — HOMEPAGE: Hero Banner 2, all-categories strip, TOP 10 Movies
   (homepage only: every rule is scoped to body.fch-body)
   ========================================================================== */

/* Hero Banner 2: a real "Cover Image" is shown sharp (darkened) instead of blurred */
body.fch-body .fch-slide--cover .fch-slide__bg img {
	filter: saturate(1.1) brightness(0.62);
	transform: none;
	object-position: center 30%;
}
body.fch-body .fch-slide__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.fch-body .fch-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 22px;
	padding: 0 8px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: rgba(16, 15, 26, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.22);
}
body.fch-body .fch-chip--imdb b { color: #111; background: #f5c518; border-radius: 3px; padding: 0 3px; font-size: 10px; font-weight: 900; }
body.fch-body .fch-chip--q { background: rgba(124, 58, 237, 0.35); border-color: rgba(196, 181, 253, 0.55); }
@media (max-width: 479px) {
	body.fch-body .fch-slide__chips { display: none; } /* keep the mobile banner uncluttered */
}

/* All-categories strip (horizontal scroll, every existing category) */
body.fch-body .fch-catstrip { margin-top: 16px; }
body.fch-body .fch-catstrip__row {
	gap: 10px;
	margin: 0 calc(var(--fch-pad) * -1);
	padding: 4px var(--fch-pad) 6px;
	scroll-padding-left: var(--fch-pad);
	scroll-behavior: smooth;
}
body.fch-body .fch-cat {
	width: 98px;
	height: 96px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 6px;
	border-radius: 16px;
	background: linear-gradient(180deg, #171a33 0%, #0f1022 100%);
	border: 1px solid rgba(139, 92, 246, 0.28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 14px rgba(0, 0, 0, 0.35);
	color: #f1f0f8 !important;
	text-decoration: none !important;
	transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s, background 0.2s;
}
body.fch-body .fch-cat:hover,
body.fch-body .fch-cat:focus-visible {
	border-color: var(--fch-violet);
	background: linear-gradient(180deg, #1f1a3d 0%, #121126 100%);
	box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 20px rgba(139, 92, 246, 0.38);
	transform: translateY(-2px);
}
body.fch-body .fch-cat__ico {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 21px;
	line-height: 1;
	background: radial-gradient(circle at 50% 40%, rgba(167, 139, 250, 0.32), rgba(124, 58, 237, 0.12) 70%);
	box-shadow: 0 0 14px rgba(139, 92, 246, 0.35), inset 0 0 0 1px rgba(196, 181, 253, 0.28);
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
body.fch-body .fch-cat__label {
	max-width: 100%;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: normal;
	overflow-wrap: break-word;
}
/* beat inherited nowrap / display rules from older theme CSS (homepage strip only) */
body.fch-body .fch-catstrip .fch-cat__label { display: -webkit-box !important; white-space: normal !important; }
@media (min-width: 600px) {
	body.fch-body .fch-cat { width: 114px; height: 100px; }
	body.fch-body .fch-cat__label { font-size: 13px; }
}
@media (min-width: 1024px) {
	body.fch-body .fch-catstrip__row { margin: 0; padding: 4px 2px 8px; gap: 12px; }
	body.fch-body .fch-cat { width: 128px; height: 104px; }
	body.fch-body .fch-cat__ico { width: 42px; height: 42px; font-size: 23px; }
}
