import 'package:flutter/material.dart';

import 'package:asciineverdie/src/shared/retro_colors.dart';
import 'package:asciineverdie/src/shared/widgets/retro_dialog.dart';

/// 레트로 스타일 도움말 섹션 위젯 (Help Section)
class HelpSection extends StatelessWidget {
  const HelpSection({
    super.key,
    required this.icon,
    required this.title,
    required this.content,
  });

  final String icon;
  final String title;
  final String content;

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        // 섹션 헤더 (MP 블루 테마 인식)
        RetroSectionHeader(
          title: title,
          icon: icon,
          accentColor: RetroColors.mpOf(context),
        ),
        // 내용(content) 표시
        RetroInfoBox(content: content),
      ],
    );
  }
}
