<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
  
  <!-- Homepage -->
  <url>
    <loc>https://trivii.app/</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  
  <!-- Main App Route -->
  <url>
    <loc>https://trivii.app/#/</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  
  <!-- Authentication Pages -->
  <url>
    <loc>https://trivii.app/#/login</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  
  <url>
    <loc>https://trivii.app/#/signup</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  
  <!-- Static/Legal Pages -->
  <url>
    <loc>https://trivii.app/#/help</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  
  <url>
    <loc>https://trivii.app/#/privacy</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  
  <url>
    <loc>https://trivii.app/#/terms</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  
  <url>
    <loc>https://trivii.app/#/report</loc>
    <lastmod>2025-10-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>
  
  <!-- 
    DYNAMIC CONTENT:
    Add URLs for public content:
    - User profiles: https://trivii.app/#/profile/username
    - Shared achievements: https://trivii.app/#/achievement/id
    
    These should be generated dynamically from your database.
    Use the sitemap-generator.js script to automatically include:
    - All user profiles
    - All public achievements
    - Category pages
    
    Run weekly: npm run generate-sitemap
  -->
  
</urlset>
