'use client';
interface StepProps { onNext: () => void; }

export function StepPhoneTutorial({ onNext }: StepProps) {
  return (
    <div className="text-center">
      <h1 className="font-gothic text-3xl text-gold-gradient mb-2">Le Téléphone</h1>
      <p className="mb-6" style={{ color: 'var(--text-secondary)' }}>
        Ton BrikFon 1000 est prêt. Voici ce que tu peux faire avec :
      </p>
      <div className="grid grid-cols-3 gap-3 max-w-sm mx-auto mb-8">
        {[
          { icon: '💬', name: 'SMS' },
          { icon: '📰', name: 'Gazette' },
          { icon: '📞', name: 'Contacts' },
        ].map((app) => (
          <div key={app.name} className="panel-glass rounded-xl p-3 text-center">
            <div className="text-2xl mb-1">{app.icon}</div>
            <div className="text-[10px]" style={{ color: 'var(--text-secondary)' }}>{app.name}</div>
          </div>
        ))}
      </div>
      <p className="text-xs mb-6" style={{ color: 'var(--text-muted)' }}>
        💡 En améliorant ton téléphone, tu débloques plus d&apos;applications.
      </p>
      <button onClick={onNext} className="px-8 py-3 rounded-lg font-bold text-sm hover:scale-105 transition-all"
        style={{ background: 'linear-gradient(135deg, var(--color-red-dark), var(--color-red))', color: 'white' }}>
        J&apos;ai compris
      </button>
    </div>
  );
}
