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

export const metadata: Metadata = {
  title: "Legal Notice",
  description: "Legal information about Highland Games Studio.",
  robots: { index: true, follow: true },
};

export default function LegalNoticePage() {
  return (
    <div className="pt-32 pb-24 px-6 lg:px-10">
      <div className="max-w-3xl mx-auto">
        <p className="font-display text-sm tracking-[0.3em] text-accent mb-4">
          — LEGAL
        </p>
        <h1 className="font-display text-5xl sm:text-6xl tracking-wider leading-[0.95] mb-12">
          LEGAL NOTICE
        </h1>

        <div className="space-y-10 text-foreground-muted leading-relaxed">
          <section>
            <h2 className="font-display text-2xl tracking-wider text-foreground mb-3">
              PUBLISHER
            </h2>
            <p>
              This website is published by{" "}
              <strong>Mathew Simon</strong>, operating under the project name
              {" "}<strong>Highland Games Studio</strong>. The studio is
              currently pre-incorporation; this notice will be updated when the
              company is registered.
            </p>
            <ul className="mt-4 space-y-1 text-sm">
              <li>Publication director: Mathew Simon</li>
              <li>
                Postal address: available on request at{" "}
                <a
                  href="mailto:hello@highlandgamesstudio.com"
                  className="text-accent hover:text-foreground transition-colors"
                >
                  hello@highlandgamesstudio.com
                </a>
              </li>
              <li>
                Contact:{" "}
                <a
                  href="mailto:hello@highlandgamesstudio.com"
                  className="text-accent hover:text-foreground transition-colors"
                >
                  hello@highlandgamesstudio.com
                </a>
              </li>
            </ul>
          </section>

          <section>
            <h2 className="font-display text-2xl tracking-wider text-foreground mb-3">
              HOSTING
            </h2>
            <p>
              This website is hosted by <strong>Hetzner Online GmbH</strong>,
              Industriestraße 25, 91710 Gunzenhausen, Germany.{" "}
              <a
                href="https://www.hetzner.com"
                target="_blank"
                rel="noopener noreferrer"
                className="text-accent hover:text-foreground transition-colors"
              >
                hetzner.com
              </a>
            </p>
          </section>

          <section>
            <h2 className="font-display text-2xl tracking-wider text-foreground mb-3">
              INTELLECTUAL PROPERTY
            </h2>
            <p>
              All content on this website (texts, logos, images, videos, source
              code, game artwork) is the exclusive property of Highland Games
              Studio, unless otherwise stated. Any reproduction, representation,
              modification, publication or adaptation, in whole or in part, is
              prohibited without prior written authorization.
            </p>
            <p className="mt-3">
              Third-party trademarks mentioned on this site (e.g. Steam,
              Discord) remain the property of their respective owners.
            </p>
          </section>

          <section>
            <h2 className="font-display text-2xl tracking-wider text-foreground mb-3">
              LIABILITY
            </h2>
            <p>
              Highland Games Studio strives to provide accurate information on
              this website. However, it cannot be held liable for omissions,
              inaccuracies, or any direct or indirect damage resulting from the
              use of this site or external sites linked from it.
            </p>
          </section>

          <section>
            <h2 className="font-display text-2xl tracking-wider text-foreground mb-3">
              APPLICABLE LAW
            </h2>
            <p>
              This legal notice is governed by French law. Any dispute related
              to the use of this website falls under the exclusive jurisdiction
              of the competent French courts.
            </p>
          </section>

          <p className="pt-8 border-t border-border text-sm">
            See also our{" "}
            <Link
              href="/legal/privacy"
              className="text-accent hover:text-foreground transition-colors"
            >
              Privacy Policy
            </Link>
            .
          </p>
        </div>
      </div>
    </div>
  );
}
