export default function StatsLoading() {
  return (
    <div className="min-h-screen bg-ctp-base px-4 py-8">
      <div className="max-w-3xl mx-auto">
        <div className="flex items-center gap-4 mb-8">
          <div className="h-8 w-20 rounded-lg bg-ctp-surface0 animate-pulse" />
          <div className="h-9 w-36 rounded-lg bg-ctp-surface0 animate-pulse" />
        </div>
        <div className="space-y-6">
          <div className="bg-ctp-mantle rounded-2xl p-6">
            <div className="h-5 w-48 rounded bg-ctp-surface0 animate-pulse mb-5" />
            <div className="grid grid-cols-2 gap-4">
              {Array.from({ length: 4 }).map((_, i) => (
                <div key={i} className="space-y-2">
                  <div className="flex items-center gap-2">
                    <div className="w-14 h-14 rounded-xl bg-ctp-surface0 animate-pulse shrink-0" />
                    <div className="flex-1 space-y-1.5">
                      <div className="h-3 rounded bg-ctp-surface0 animate-pulse w-3/4" />
                      <div className="h-4 rounded bg-ctp-surface0 animate-pulse w-1/2" />
                    </div>
                  </div>
                  <div className="h-1.5 rounded-full bg-ctp-surface0 animate-pulse" />
                </div>
              ))}
            </div>
          </div>
          <div className="bg-ctp-mantle rounded-2xl p-6">
            <div className="h-5 w-52 rounded bg-ctp-surface0 animate-pulse mb-5" />
            <div className="grid grid-cols-7 gap-px">
              {Array.from({ length: 35 }).map((_, i) => (
                <div key={i} className="h-16 rounded bg-ctp-surface0 animate-pulse" />
              ))}
            </div>
          </div>
        </div>
      </div>
    </div>
  );
}
