import Link from "next/link"
import { Github, Twitter, Youtube } from "lucide-react"

export function Footer() {
  return (
    <footer className="border-t border-border bg-card">
      <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
          <div className="col-span-1 md:col-span-2">
            <div className="flex items-center gap-2 mb-4">
              <div className="w-8 h-8 bg-primary rounded-sm" />
              <span className="text-lg font-semibold">BCRG</span>
            </div>
            <p className="text-sm text-muted-foreground leading-relaxed max-w-md">
              The Bonding Curve Research Group is an independent research collective dedicated to advancing the
              understanding and application of bonding curves in Web3.
            </p>
          </div>

          <div>
            <h3 className="font-semibold mb-4">Resources</h3>
            <ul className="space-y-2 text-sm text-muted-foreground">
              <li>
                <Link
                  href="https://bonding-curve-research-group.gitbook.io/bonding-curve-research-group-library"
                  target="_blank"
                  className="hover:text-foreground transition-colors"
                >
                  Library
                </Link>
              </li>
              <li>
                <Link
                  href="https://mirror.xyz/0x8fF6Fe58b468B1F18d2C54e2B0870b4e847C730d"
                  target="_blank"
                  className="hover:text-foreground transition-colors"
                >
                  Research
                </Link>
              </li>
              <li>
                <Link
                  href="https://www.youtube.com/channel/UCIFlfbLKmn5mq6vcMHsqK0A"
                  target="_blank"
                  className="hover:text-foreground transition-colors"
                >
                  Videos
                </Link>
              </li>
              <li>
                <Link
                  href="https://github.com/bonding-curves"
                  target="_blank"
                  className="hover:text-foreground transition-colors"
                >
                  GitHub
                </Link>
              </li>
            </ul>
          </div>

          <div>
            <h3 className="font-semibold mb-4">Connect</h3>
            <div className="flex gap-4">
              <Link
                href="https://github.com/bonding-curves"
                target="_blank"
                className="text-muted-foreground hover:text-foreground transition-colors"
              >
                <Github className="h-5 w-5" />
              </Link>
              <Link
                href="https://x.com/Bonding_Curves"
                target="_blank"
                className="text-muted-foreground hover:text-foreground transition-colors"
              >
                <Twitter className="h-5 w-5" />
              </Link>
              <Link
                href="https://www.youtube.com/channel/UCIFlfbLKmn5mq6vcMHsqK0A"
                target="_blank"
                className="text-muted-foreground hover:text-foreground transition-colors"
              >
                <Youtube className="h-5 w-5" />
              </Link>
            </div>
          </div>
        </div>

        <div className="mt-12 pt-8 border-t border-border text-center text-sm text-muted-foreground">
          <p>&copy; {new Date().getFullYear()} Bonding Curve Research Group. All rights reserved.</p>
        </div>
      </div>
    </footer>
  )
}
