<?xml version="1.0" encoding="UTF-8"?>
<!--
  ============================================
  PRODUCT: CUNG BAN LANG NGHE
  Function/Role/Purpose: sitemap.xml — Static pages sitemap
  Path: frontend/public/sitemap.xml
  Version: 3.2
  Date: 07-05-2026

  V3.2 CHANGES (from v3.1):
  - UPDATED: ALL lastmod dates synchronized to 2026-05-07 (deploy date
             of Worker v6.7.0 + index.html v3.2.0 — universal SSR
             change affects how every static route is served to bots)
  - STANDARDIZED: 4-space indentation, consistent <url> block format
  - DOCUMENTED: companion /sitemap.xml requires X-Robots-Tag: noindex
                via frontend/public/_headers (separate file) to prevent
                GSC "Crawled - currently not indexed" flag on the
                sitemap FILE itself. Google still parses URLs INSIDE
                this sitemap normally — noindex only applies to the
                sitemap document, not its content.

  SCOPE — STATIC URLS ONLY:
  This sitemap contains 21 stable, hand-curated routes that exist as
  pre-built React routes. Dynamic content (individual stories, blog
  articles, authors, relax posts, categories) is served by separate
  sitemaps under /api/v1/sitemap-*.xml — see sitemap-index.xml.

  PRIORITY DISTRIBUTION:
  - 1.0 (1 URL):  Homepage
  - 0.9 (4 URLs): Main content hubs (cảm xúc, câu chuyện, thư giãn, bài viết)
  - 0.8 (7 URLs): 6 emotion categories + /tac-gia (E-E-A-T trust page)
  - 0.7 (4 URLs): Community + info pages
  - 0.6 (5 URLs): Legal pages (low priority but indexed for trust)
  Total: 21 URLs

  DELIBERATELY EXCLUDED:
  - /tac-gia/{slug}        → /api/v1/sitemap-authors.xml
  - /bai-viet/{slug}       → /api/v1/sitemap-blog.xml
  - /cau-chuyen/{slug}     → /api/v1/sitemap-stories.xml
  - /thu-gian/{slug}       → /api/v1/sitemap-relax.xml
  - /danh-muc/{slug}       → /api/v1/sitemap-categories.xml
  - /admin/*               → robots.txt Disallow
  - /api/*                 → robots.txt Disallow
  - 301-redirect URLs      → not indexed by design
  ============================================
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

    <!-- ============================================
         HOMEPAGE — Priority 1.0
         Worker v6.7.0+ injects ROUTE_SSR_CONTENT['/']
         with H1 + 6 emotion links + Zero-Knowledge pitch
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>

    <!-- ============================================
         MAIN CONTENT HUBS — Priority 0.9
         Each has Worker SSR with H1 + content overview
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cau-chuyen</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/thu-gian</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/bai-viet</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <!-- ============================================
         EMOTION CATEGORY PAGES — Priority 0.8
         Each has dedicated SSR with topic H1 + advice content
         (Fixes GSC "Crawled - not indexed" for /cam-xuc/stress)
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/stress</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/co-don</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/tinh-yeu-hoc-tro</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/thi-cu-ap-luc</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/gia-dinh</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/khac</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         E-E-A-T TRUST PAGE — Priority 0.8
         /tac-gia (author list) — author bios in
         /api/v1/sitemap-authors.xml (excluded here)
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/tac-gia</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         COMMUNITY & INFO PAGES — Priority 0.7
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/hoi-dap</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/gioi-thieu</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/lien-he</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/viet-cau-chuyen</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- ============================================
         LEGAL PAGES — Priority 0.6
         Lower priority but indexed (trust signals + AdSense compliance)
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/chinh-sach-bao-mat</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/dieu-khoan-su-dung</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/tuyen-bo-mien-tru-trach-nhiem</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/quyen-rieng-tu</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/chinh-sach-cookie</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

</urlset>