<?xml version="1.0" encoding="UTF-8"?>
<!--
  ============================================================
  legit-play sitemap
  ============================================================
  Strategy (React SPA with static deployment):
    - STATIC PUBLIC routes  → listed here with full <url> entry.
    - DYNAMIC PUBLIC routes → patterns like /live/:matchId or
      /board/:boardId cannot be enumerated without live data.
      They are excluded from this file. If search-engine
      coverage of individual match/board pages is required,
      generate a supplemental sitemap at deploy time (e.g.
      via a CI script that queries the API and writes
      sitemap-dynamic.xml, referenced from a sitemap index).
    - PROTECTED routes      → require authentication; search
      engines cannot access them and they must not appear here.
  ============================================================
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- ── Static public pages ──────────────────────────────── -->

  <!-- Landing / Teaser page — highest priority -->
  <url>
    <loc>https://www.legit-play.com/</loc>
    <lastmod>2026-04-28</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Registration — drives new user acquisition -->
  <url>
    <loc>https://www.legit-play.com/register</loc>
    <lastmod>2026-04-28</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Login -->
  <url>
    <loc>https://www.legit-play.com/login</loc>
    <lastmod>2026-04-28</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- Live events overview — publicly visible, updated regularly -->
  <url>
    <loc>https://www.legit-play.com/events/live</loc>
    <lastmod>2026-04-28</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Privacy policy — rarely changes -->
  <url>
    <loc>https://www.legit-play.com/privacy</loc>
    <lastmod>2026-04-28</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>

  <!--
    ── Dynamic public pages (excluded — require runtime data) ──
    /live/:matchId
    /live/:eventId/:matchId
    /board/:boardId
    /events/live/:id
    /events/live/:id/compact

    ── Protected pages (excluded — require authentication) ──
    /dashboard
    /tournament, /tournament/:id
    /events, /events/:eventId
    /events/wizard, /events/templates
    /events/manage, /events/manage/:id
    /match
    /points-systems
    /series, /series/:id/standings
    /score/board/:boardId
    /score/board/:boardId/:eventId/:matchId
    /score/:eventId/:matchId
    /organization, /organization/onboarding
    /settings
    /profile/privacy
    /invite/:token
    /tablet-login/:code
  -->

</urlset>
