import type { Metadata } from "next";
import Link from "next/link";

export const metadata: Metadata = {
  title: "Terms of Service",
  description:
    "AdultWorld terms of service. Read the terms and conditions for using our platform.",
};

export default function TermsOfServicePage() {
  return (
    <div className="max-w-3xl mx-auto space-y-6">
      <h1 className="text-2xl font-bold">Terms of Service</h1>
      <p className="text-text-muted text-sm">Last updated: 26 March 2026</p>

      <div className="bg-surface rounded-lg p-6 space-y-4 text-text-muted">
        <h2 className="text-lg font-semibold text-gold">
          1. Acceptance of Terms
        </h2>
        <p>
          By accessing or using the AdultWorld platform at adultworld.ai
          (&quot;the Platform&quot;), you agree to be bound by these Terms of
          Service (&quot;Terms&quot;). If you do not agree to these Terms, you
          must not use the Platform. We reserve the right to modify these Terms
          at any time, and continued use of the Platform after changes
          constitutes acceptance of the revised Terms.
        </p>

        <h2 className="text-lg font-semibold text-gold">2. Eligibility</h2>
        <p>
          You must be at least 18 years of age (or the age of majority in your
          jurisdiction, whichever is higher) to use this Platform. By creating
          an account, you represent and warrant that you are of legal age and
          that the use of the Platform is lawful in your jurisdiction. We
          reserve the right to verify your age at any time, including through
          third-party age verification services. Access from jurisdictions where
          adult content is prohibited is not permitted.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          3. Account Registration and Security
        </h2>
        <p>
          To use certain features of the Platform, you must create an account
          by providing accurate and complete information. You are responsible
          for maintaining the confidentiality of your account credentials and
          for all activities that occur under your account. You must notify us
          immediately of any unauthorised use of your account. We reserve the
          right to suspend or terminate accounts that we reasonably believe
          have been compromised. You may not transfer, sell, or share your
          account with any other person.
        </p>

        <h2 className="text-lg font-semibold text-gold">4. User Conduct</h2>
        <p>You agree not to engage in any of the following prohibited activities:</p>
        <ul className="list-disc list-inside space-y-2 ml-2">
          <li>
            <strong className="text-text">Harassment</strong> &mdash; Bullying,
            threatening, intimidating, or otherwise harassing other users.
          </li>
          <li>
            <strong className="text-text">Fraud</strong> &mdash; Misrepresenting
            your identity, using fake profiles, or engaging in deceptive
            practices.
          </li>
          <li>
            <strong className="text-text">Spam</strong> &mdash; Sending
            unsolicited bulk messages, promotional content, or repetitive
            communications.
          </li>
          <li>
            <strong className="text-text">Illegal content</strong> &mdash;
            Uploading, sharing, or distributing any content that is illegal in
            the United Kingdom or the jurisdiction in which you reside.
          </li>
          <li>
            <strong className="text-text">Underage content</strong> &mdash; Any
            content depicting or involving persons under the age of 18 is
            strictly prohibited and will be reported to the relevant
            authorities.
          </li>
          <li>
            <strong className="text-text">Solicitation outside the Platform</strong>{" "}
            &mdash; Attempting to move transactions or communications off the
            Platform to circumvent fees or safety measures.
          </li>
        </ul>
        <p>
          Violation of these rules may result in immediate account suspension or
          permanent termination, and we may report illegal activity to law
          enforcement.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          5. Content Ownership and Licence
        </h2>
        <p>
          You retain full ownership of all content you upload to the Platform,
          including photos, text, and other media. By posting content on the
          Platform, you grant AdultWorld a non-exclusive, worldwide,
          royalty-free, limited licence to display, distribute, and reproduce
          your content solely for the purpose of operating and promoting the
          Platform. This licence terminates when you remove your content or
          delete your account, except where copies have been shared by other
          users or are required for legal compliance.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          6. Credits System
        </h2>
        <p>
          The Platform uses a virtual currency system (&quot;Credits&quot;).
          Credits are purchased with EUR via Stripe and can be used for
          platform features including messaging and LiveCam sessions. Key terms:
        </p>
        <ul className="list-disc list-inside space-y-2 ml-2">
          <li>
            Credits are virtual currency with no cash value outside the
            Platform.
          </li>
          <li>
            All credit purchases are processed in EUR through Stripe.
          </li>
          <li>
            Credits are non-refundable once used for any Platform service.
          </li>
          <li>
            The Platform applies a commission of 15% on messaging transactions
            and 30% on LiveCam sessions. The remaining balance is credited to
            the receiving user.
          </li>
          <li>
            Unused credits may be eligible for refund within 14 days of
            purchase, in accordance with applicable consumer protection laws.
          </li>
          <li>
            Credits are non-transferable between accounts.
          </li>
        </ul>

        <h2 className="text-lg font-semibold text-gold">
          7. Subscription Terms
        </h2>
        <p>
          Certain features of the Platform may require a paid subscription.
          Subscriptions automatically renew at the end of each billing period
          unless cancelled before the renewal date. You may cancel your
          subscription at any time through your account settings; cancellation
          takes effect at the end of the current billing period. Free trial
          periods, where offered, convert to paid subscriptions unless cancelled
          before the trial expires. Subscription fees are non-refundable for
          partial billing periods.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          8. Messaging Rules
        </h2>
        <p>
          When using the Platform&apos;s messaging system, you must adhere to
          the following rules:
        </p>
        <ul className="list-disc list-inside space-y-2 ml-2">
          <li>
            No harassment, threats, hate speech, or abusive language.
          </li>
          <li>
            No spam or unsolicited bulk messaging.
          </li>
          <li>
            No solicitation to move conversations or transactions off the
            Platform.
          </li>
          <li>
            No sharing of personal contact information in initial messages
            (phone numbers, external email addresses, or social media handles).
          </li>
        </ul>
        <p>
          We reserve the right to monitor messages for compliance and safety
          purposes. Violations may result in messaging restrictions or account
          termination.
        </p>

        <h2 className="text-lg font-semibold text-gold">9. LiveCam Rules</h2>
        <p>
          LiveCam sessions are subject to the following rules:
        </p>
        <ul className="list-disc list-inside space-y-2 ml-2">
          <li>
            All participants must be verified adults (18+).
          </li>
          <li>
            Both parties must consent to the session. Either party may end the
            session at any time.
          </li>
          <li>
            Recording, screenshotting, or capturing any part of a LiveCam
            session is strictly prohibited.
          </li>
          <li>
            Sharing or distributing LiveCam content outside the Platform is
            prohibited and may result in legal action.
          </li>
        </ul>

        <h2 className="text-lg font-semibold text-gold">
          10. Dispute Resolution
        </h2>
        <p>
          If you have a dispute with another user, we encourage you to use the
          Platform&apos;s reporting tools. For disputes with AdultWorld, you
          agree to first attempt to resolve the matter informally by contacting
          us at{" "}
          <a
            href="mailto:hello@adultworld.ai"
            className="text-gold hover:underline"
          >
            hello@adultworld.ai
          </a>
          . If a resolution cannot be reached within 30 days, either party may
          pursue formal legal proceedings under the governing law specified
          below.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          11. Limitation of Liability
        </h2>
        <p>
          To the maximum extent permitted by law, AdultWorld and its officers,
          directors, employees, and agents shall not be liable for any indirect,
          incidental, special, consequential, or punitive damages, including but
          not limited to loss of profits, data, or goodwill, arising from your
          use of or inability to use the Platform. Our total liability for any
          claim arising from these Terms shall not exceed the amount you have
          paid to AdultWorld in the 12 months preceding the claim. Nothing in
          these Terms excludes liability for death, personal injury caused by
          negligence, or fraud.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          12. Indemnification
        </h2>
        <p>
          You agree to indemnify, defend, and hold harmless AdultWorld and its
          officers, directors, employees, and agents from and against any
          claims, liabilities, damages, losses, and expenses (including
          reasonable legal fees) arising from your use of the Platform, your
          violation of these Terms, or your violation of any rights of a third
          party.
        </p>

        <h2 className="text-lg font-semibold text-gold">13. Termination</h2>
        <p>
          We may suspend or terminate your account at any time, with or without
          notice, for any violation of these Terms or for any other reason at
          our sole discretion. Upon termination, your right to use the Platform
          ceases immediately. Any credits remaining in a terminated account
          may be forfeited if the termination is due to a violation of these
          Terms. You may delete your account at any time through your account
          settings, and your data will be handled in accordance with our{" "}
          <Link href="/privacy-policy" className="text-gold hover:underline">
            Privacy Policy
          </Link>
          .
        </p>

        <h2 className="text-lg font-semibold text-gold">14. Governing Law</h2>
        <p>
          These Terms are governed by and construed in accordance with the laws
          of England and Wales. Any disputes arising from or in connection with
          these Terms shall be subject to the exclusive jurisdiction of the
          courts of England and Wales. If any provision of these Terms is found
          to be unenforceable, the remaining provisions shall continue in full
          force and effect.
        </p>

        <h2 className="text-lg font-semibold text-gold">
          15. Contact Information
        </h2>
        <p>
          For any questions about these Terms of Service, please contact us at{" "}
          <a
            href="mailto:hello@adultworld.ai"
            className="text-gold hover:underline"
          >
            hello@adultworld.ai
          </a>
          .
        </p>
      </div>
    </div>
  );
}
