import { Gamepad2 } from "lucide-react"
import Link from "next/link"

export function Footer() {
  return (
    <footer className="border-t bg-muted/30">
      <div className="container mx-auto px-4 py-8">
        <div className="grid gap-8 md:grid-cols-4">
          <div>
            <Link href="/" className="flex items-center gap-2 font-bold text-lg">
              <Gamepad2 className="h-5 w-5" />
              聚玩
            </Link>
            <p className="mt-2 text-sm text-muted-foreground">游戏陪玩平台</p>
          </div>
          <div>
            <h3 className="font-semibold text-sm mb-3">服务</h3>
            <nav className="flex flex-col gap-2 text-sm text-muted-foreground">
              <Link href="/#discover-search" className="hover:text-foreground transition-colors">
                找打手
              </Link>
              <Link href="/#discover-search" className="hover:text-foreground transition-colors">
                找店铺
              </Link>
              <Link href="/community" className="hover:text-foreground transition-colors">
                社区
              </Link>
            </nav>
          </div>
          <div>
            <h3 className="font-semibold text-sm mb-3">支持</h3>
            <nav className="flex flex-col gap-2 text-sm text-muted-foreground">
              <Link href="/help" className="hover:text-foreground transition-colors">
                帮助中心
              </Link>
              <Link href="/terms" className="hover:text-foreground transition-colors">
                用户协议
              </Link>
              <Link href="/privacy" className="hover:text-foreground transition-colors">
                隐私政策
              </Link>
            </nav>
          </div>
          <div>
            <h3 className="font-semibold text-sm mb-3">联系我们</h3>
            <nav className="flex flex-col gap-2 text-sm text-muted-foreground">
              <span>客服邮箱: support@juwan.gg</span>
              <span>工作时间: 9:00 - 22:00</span>
            </nav>
          </div>
        </div>
        <div className="mt-8 border-t pt-4 text-center text-xs text-muted-foreground">
          © 2025 聚玩 - 游戏陪玩服务平台
        </div>
      </div>
    </footer>
  )
}
