If your CSS is referenced like this:
<link rel="stylesheet" href="homepage.css" />, it will be relative to the request's path!
Initially, requests to
/movie.php?id=123 would render a page whose css was assumed to be at
But, when you create that rewrite, the request is understood as
/movie/123, and the css is assumed to be at
To get around this problem, begin the reference to your CSS with a
/, so that it's always in reference to the web root.
<link> tag should be
<link rel="stylesheet" href="/homepage.css" />
You can confirm this by checking your browser's error console and looking for something like "
GET https://sparkle.000webhostapp.com/movie/homepage.css 404"