<?xml version="1.0" encoding="UTF-8"?>
<!--
  Static sitemap for Cinemx.
  Dynamic routes (news/:slug, articles/:id, reviews/:id, recent-releases/:id/:slug,
  upcoming-movie/:id, user/:id) are served via the backend sitemap endpoint at
  /api/sitemap/ which generates live URL entries from the database.
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- Static sitemap: shell routes that don't change -->
  <sitemap>
    <loc>https://cinemxx.com/sitemap-static.xml</loc>
    <lastmod>2026-03-14</lastmod>
  </sitemap>

  <!-- Dynamic sitemap: generated from DB (news, articles, reviews, movies, profiles) -->
  <sitemap>
    <loc>https://cinemxx.com/api/sitemap/</loc>
  </sitemap>

</sitemapindex>
