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

export const metadata: Metadata = {
  title: "Community Guidelines — AdultWorld.ai",
  description:
    "The community guidelines for AdultWorld.ai. Learn about our standards for content, communication, profiles, and behaviour, and what happens when rules are broken.",
  openGraph: {
    title: "Community Guidelines — AdultWorld.ai",
    description:
      "Our rules exist to protect everyone. Read the full community guidelines covering content standards, prohibited activities, and reporting.",
  },
};

export default function CommunityGuidelinesPage() {
  return (
    <div className="max-w-4xl mx-auto py-8 px-4">
      {/* Hero */}
      <div className="text-center mb-12">
        <h1 className="text-4xl md:text-5xl font-bold text-gold mb-4 font-heading">
          Community Guidelines
        </h1>
        <p className="text-text-muted text-lg max-w-2xl mx-auto">
          AdultWorld.ai is built on mutual respect, safety, and professionalism.
          These guidelines apply to every user — escorts, clients, agencies, and
          clubs alike. By using this platform, you agree to follow them.
        </p>
      </div>

      {/* Section 1: Our Community Values */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            1
          </span>
          Our Community Values
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>
            Everything we do at AdultWorld is guided by five core values. These are not just words — they inform
            every policy, every feature, and every moderation decision we make.
          </p>
          <ul className="list-disc pl-6 space-y-2">
            <li>
              <strong className="text-text">Respect:</strong> Every person on this platform deserves to be treated
              with dignity, regardless of their role, background, or identity. Treat others as you would wish to be
              treated.
            </li>
            <li>
              <strong className="text-text">Consent:</strong> All interactions on AdultWorld must be consensual. This
              applies to messaging, bookings, content sharing, and every other form of communication on the platform.
              Consent is freely given, informed, and can be withdrawn at any time.
            </li>
            <li>
              <strong className="text-text">Safety:</strong> We are committed to maintaining a safe environment for
              all users. This means robust verification, clear reporting tools, and zero tolerance for threats or
              coercion.
            </li>
            <li>
              <strong className="text-text">Inclusivity:</strong> AdultWorld welcomes all adults regardless of gender,
              sexual orientation, ethnicity, body type, or disability. Discrimination has no place here.
            </li>
            <li>
              <strong className="text-text">Privacy:</strong> We respect and protect the privacy of every user.
              Personal information is never shared without consent, and we expect all users to respect each
              other&apos;s privacy as well.
            </li>
          </ul>
        </div>
      </section>

      {/* Section 2: Content Standards */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            2
          </span>
          Content Standards
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>All content uploaded to AdultWorld must comply with the following standards:</p>
          <ul className="list-disc pl-6 space-y-2">
            <li>
              <strong className="text-text">No illegal content.</strong> Content that depicts, promotes, or
              facilitates any illegal activity is strictly prohibited and will be immediately removed. This includes
              drug use, weapons, and any content that violates local or international law.
            </li>
            <li>
              <strong className="text-text">No underage references.</strong> Any content that references, depicts, or
              implies minors in any context is absolutely prohibited. All users must be at least 18 years old. We
              employ both automated and manual systems to enforce this.
            </li>
            <li>
              <strong className="text-text">No non-consensual content.</strong> Content depicting or implying
              non-consensual activity — including revenge media, hidden recordings, or any material shared without the
              subject&apos;s explicit consent — is prohibited and will be reported to the relevant authorities.
            </li>
            <li>
              <strong className="text-text">Photo accuracy.</strong> Profile photos must accurately represent the
              person using the account. Stock photos, images of other people, and heavily edited or misleading images
              are not permitted. Verified profiles are periodically checked for continued accuracy.
            </li>
          </ul>
        </div>
      </section>

      {/* Section 3: Communication Standards */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            3
          </span>
          Communication Standards
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>All communication on AdultWorld must meet the following standards:</p>
          <ul className="list-disc pl-6 space-y-2">
            <li>
              <strong className="text-text">No harassment.</strong> Repeated unwanted messages, threats, intimidation,
              or any form of harassment will result in immediate account suspension. If someone asks you to stop
              contacting them, stop.
            </li>
            <li>
              <strong className="text-text">No spam.</strong> Sending bulk, unsolicited, or repetitive messages is
              prohibited. This includes promotional messages, phishing attempts, and automated messaging.
            </li>
            <li>
              <strong className="text-text">No discrimination.</strong> Hateful, racist, sexist, homophobic,
              transphobic, or otherwise discriminatory language is not tolerated in any context — profiles, messages,
              reviews, or any other platform feature.
            </li>
            <li>
              <strong className="text-text">Professional conduct.</strong> While the nature of this platform is adult,
              all users are expected to maintain a baseline of professional conduct. Be civil, be honest, and
              communicate clearly.
            </li>
          </ul>
        </div>
      </section>

      {/* Section 4: Profile Standards */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            4
          </span>
          Profile Standards
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>Your profile is your representation on AdultWorld. It must meet these standards:</p>
          <ul className="list-disc pl-6 space-y-2">
            <li>
              <strong className="text-text">Accurate information.</strong> Your location, age, physical attributes,
              and services must be truthful. Misleading information undermines trust and may result in account
              suspension.
            </li>
            <li>
              <strong className="text-text">Real photos.</strong> All photos must be of you and must be recent. Using
              another person&apos;s photos, AI-generated images presented as real, or significantly outdated photos is
              not permitted.
            </li>
            <li>
              <strong className="text-text">Honest descriptions.</strong> Your bio, service descriptions, and any
              other profile text must accurately reflect what you offer. Do not promise services you do not intend to
              provide.
            </li>
          </ul>
        </div>
      </section>

      {/* Section 5: Prohibited Activities */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-red-500/20 border border-red-500/50 text-red-400 flex items-center justify-center text-sm font-bold flex-shrink-0">
            !
          </span>
          Prohibited Activities
        </h2>
        <div className="bg-surface rounded-xl border border-surface-light p-6">
          <p className="text-text-muted mb-4">
            The following activities are strictly prohibited and will result in immediate action:
          </p>
          <ul className="space-y-3 text-text-muted">
            <li className="flex items-start gap-3">
              <svg className="w-5 h-5 text-red-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
              </svg>
              <span><strong className="text-text">Fraud:</strong> Any form of financial fraud, including fake payment confirmations, chargebacks with intent to defraud, or misrepresenting services to extract payment.</span>
            </li>
            <li className="flex items-start gap-3">
              <svg className="w-5 h-5 text-red-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
              </svg>
              <span><strong className="text-text">Impersonation:</strong> Creating a profile that impersonates another person, whether a real escort, a public figure, or any other individual.</span>
            </li>
            <li className="flex items-start gap-3">
              <svg className="w-5 h-5 text-red-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
              </svg>
              <span><strong className="text-text">Threats and blackmail:</strong> Threatening to expose, harm, or otherwise coerce any user is a criminal offence and will be reported to law enforcement immediately.</span>
            </li>
            <li className="flex items-start gap-3">
              <svg className="w-5 h-5 text-red-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
              </svg>
              <span><strong className="text-text">Soliciting outside the platform:</strong> Attempting to move transactions or communications off-platform to avoid moderation, safety features, or fees is prohibited for the safety of all parties.</span>
            </li>
            <li className="flex items-start gap-3">
              <svg className="w-5 h-5 text-red-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
              </svg>
              <span><strong className="text-text">Exploitation and trafficking:</strong> Any activity related to human trafficking, coercion, or exploitation will result in immediate account termination and referral to law enforcement. We cooperate fully with all investigations.</span>
            </li>
          </ul>
        </div>
      </section>

      {/* Section 6: Consequences */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            6
          </span>
          Consequences
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>
            Violations of these guidelines are handled on a case-by-case basis, with consequences proportional to the
            severity of the offence. Our enforcement ladder includes:
          </p>
          <div className="grid grid-cols-1 md:grid-cols-2 gap-4 not-prose">
            <div className="bg-surface rounded-lg border border-surface-light p-4">
              <h4 className="text-text font-semibold mb-1">Warning</h4>
              <p className="text-text-muted text-sm">
                For first-time minor violations. You will receive a written notice explaining the issue and what is
                expected going forward.
              </p>
            </div>
            <div className="bg-surface rounded-lg border border-surface-light p-4">
              <h4 className="text-text font-semibold mb-1">Temporary Suspension</h4>
              <p className="text-text-muted text-sm">
                For repeated minor violations or a single moderate violation. Your account will be suspended for a
                defined period, during which you cannot access platform features.
              </p>
            </div>
            <div className="bg-surface rounded-lg border border-surface-light p-4">
              <h4 className="text-text font-semibold mb-1">Permanent Ban</h4>
              <p className="text-text-muted text-sm">
                For severe violations, repeated moderate violations, or any activity that poses a risk to user safety.
                Banned users cannot create new accounts.
              </p>
            </div>
            <div className="bg-surface rounded-lg border border-surface-light p-4">
              <h4 className="text-text font-semibold mb-1">Law Enforcement Referral</h4>
              <p className="text-text-muted text-sm">
                For criminal activity including threats, blackmail, trafficking, and distribution of illegal content.
                We cooperate fully with law enforcement and preserve evidence as required.
              </p>
            </div>
          </div>
        </div>
      </section>

      {/* Section 7: Reporting */}
      <section className="mb-10">
        <h2 className="text-2xl font-bold text-text mb-4 flex items-center gap-3">
          <span className="w-8 h-8 rounded-full bg-gold/15 border border-gold text-gold flex items-center justify-center text-sm font-bold flex-shrink-0">
            7
          </span>
          Reporting Violations
        </h2>
        <div className="prose prose-invert max-w-none text-text-muted leading-relaxed space-y-4">
          <p>
            If you witness or experience a violation of these guidelines, please report it immediately. Reporting is
            confidential — the person you report will never know who filed the report.
          </p>
          <p>There are several ways to report a violation:</p>
          <ul className="list-disc pl-6 space-y-2">
            <li>
              <strong className="text-text">Report button:</strong> Available on every profile and in every message
              conversation. Click the three-dot menu and select &quot;Report&quot; to submit your concern with details.
            </li>
            <li>
              <strong className="text-text">Safety centre:</strong> Visit our{" "}
              <Link href="/safety/report" className="text-gold hover:text-gold/80">safety report page</Link> to file
              a detailed report with supporting evidence.
            </li>
            <li>
              <strong className="text-text">Email:</strong> Contact our trust and safety team directly at{" "}
              <span className="text-gold">safety@adultworld.ai</span> for urgent or sensitive matters.
            </li>
          </ul>
          <p>
            We review all reports within 24 hours. For urgent safety concerns, please contact your local emergency
            services first, then report to us.
          </p>
        </div>
      </section>

      {/* CTA */}
      <section className="text-center">
        <div className="bg-surface rounded-2xl border border-surface-light p-8">
          <p className="text-text-muted max-w-lg mx-auto">
            These guidelines are designed to protect everyone on AdultWorld.ai.
            By using our platform, you agree to follow them. If you have
            questions about these guidelines, please{" "}
            <Link href="/contact" className="text-gold hover:text-gold/80">
              contact us
            </Link>
            .
          </p>
        </div>
      </section>
    </div>
  );
}
