@using System.Globalization
@{
    Layout = "_AuthLayout";
    ViewData["Title"] = L["Terms of Service"];
    ViewData["ShowAuthVisual"] = false;
    var isTraditionalChinese = CultureInfo.CurrentUICulture.Name == "zh-TW";
}

<article class="auth-document legal-document" aria-labelledby="terms-of-service-title">
  <header class="legal-document-header">
    <h1 id="terms-of-service-title">@L["Terms of Service"]</h1>
    <p class="legal-document-meta">
      @(isTraditionalChinese ? "版本日期：2026/7/17" : "Version date: 2026/7/17")
    </p>
    <p class="legal-document-scope">
      @(isTraditionalChinese
        ? "適用服務：Member Center 會員中心、共用登入服務及電子報訂閱管理服務"
        : "Applicable services: Member Center, shared sign-in services, and newsletter subscription management services")
    </p>
  </header>

  @if (isTraditionalChinese)
  {
    <partial name="Legal/_TermsZhTw" />
  }
  else
  {
    <partial name="Legal/_TermsEnUs" />
  }
</article>
