$home_dict = [
'en' => [
'kicker' => 'Illustrated Bedtime Stories and Flows™',
'title' => 'Magical Fairy Tales Where Your Child is the Hero',
'intro' => 'Read beautifully illustrated bedtime stories and open pre-rendered Flow™ adventures with ready-made characters, magical worlds, and personalized text overlays.',
'cta' => 'Start Magic',
'browse' => 'Browse the library',
'name_label' => "Child's name",
'name_placeholder' => 'Enter a name',
'name_hint' => 'The story is already made — only the name changes.',
'name_cta' => 'Choose a ready Flow™',
'how_h' => 'How it works',
'steps' => [
['🌍', 'Choose a world', 'Enchanted forests, outer space, sweet kingdoms and more.'],
['🧒', 'Add your hero', 'Your child’s name becomes part of the text overlay.'],
['📖', 'Read together', 'Open a finished illustrated Flow™ on screen.'],
],
'lib_h' => 'The Tale Library',
'lib_p' => 'Illustrated stories and Flow™ worlds ready for family reading.',
'choose' => 'Choose a magical world:',
'all' => 'All',
'empty' => 'No fairytales here yet.',
'more' => 'Load more',
'loading'=> 'Loading…',
'cta_h' => 'Ready for a Flow™?',
'cta_p' => 'Choose a ready visual story and add your hero name.',
],
'ua' => [
'kicker' => 'Ілюстровані казки та Flow™',
'title' => 'Відкрийте казку на ніч, де ваша дитина — головний герой',
'intro' => 'Читайте ілюстровані казки та відкривайте готові Flow™-пригоди з персонажами, чарівними світами й персоналізованим текстом поверх сцен.',
'cta' => 'Почати магію',
'browse' => 'Гортати бібліотеку',
'name_label' => 'Ім’я героя',
'name_placeholder' => 'Ім’я дитини',
'name_hint' => 'Історія вже готова — змінюється лише ім’я.',
'name_cta' => 'Обрати готовий Flow™',
'how_h' => 'Як це працює',
'steps' => [
['🌍', 'Оберіть світ', 'Чарівні ліси, космос, солодкі королівства й не тільки.'],
['🧒', 'Додайте героя', 'Ім’я дитини з’явиться у текстовому шарі.'],
['📖', 'Читайте разом', 'Відкрийте готовий ілюстрований Flow™ на екрані.'],
],
'lib_h' => 'Бібліотека казок',
'lib_p' => 'Ілюстровані історії та Flow™-світи для сімейного читання.',
'choose' => 'Оберіть чарівний світ:',
'all' => 'Усі',
'empty' => 'Тут ще немає казок.',
'more' => 'Показати більше',
'loading'=> 'Завантаження…',
'cta_h' => 'Готові до Flow™?',
'cta_p' => 'Оберіть готову візуальну історію й додайте ім’я героя.',
],
'es' => [
'kicker' => 'Cuentos ilustrados y Flows™',
'title' => 'Abre cuentos de buenas noches donde tu peque es el héroe',
'intro' => 'Lee cuentos ilustrados y abre aventuras Flow™ ya preparadas con personajes, mundos mágicos y texto personalizado sobre cada escena.',
'cta' => 'Iniciar magia',
'browse' => 'Explorar la biblioteca',
'name_label' => 'Nombre del héroe',
'name_placeholder' => 'Nombre del niño',
'name_hint' => 'La historia ya está hecha: solo cambia el nombre.',
'name_cta' => 'Elegir un Flow™ listo',
'how_h' => 'Cómo funciona',
'steps' => [
['🌍', 'Elige un mundo', 'Bosques encantados, espacio, reinos de dulces y más.'],
['🧒', 'Añade a tu héroe', 'El nombre aparece en el texto sobre la escena.'],
['📖', 'Leed juntos', 'Abre un Flow™ ilustrado terminado en pantalla.'],
],
'lib_h' => 'La biblioteca de cuentos',
'lib_p' => 'Historias ilustradas y mundos Flow™ listos para leer en familia.',
'choose' => 'Elige un mundo mágico:',
'all' => 'Todos',
'empty' => 'Aún no hay cuentos aquí.',
'more' => 'Cargar más',
'loading'=> 'Cargando…',
'cta_h' => '¿Listo para un Flow™?',
'cta_p' => 'Elige una historia visual preparada y añade el nombre del héroe.',
],
'de' => [
'kicker' => 'Illustrierte Geschichten und Flows™',
'title' => 'Öffne Märchen, in denen dein Kind der Held ist',
'intro' => 'Lies illustrierte Gutenachtgeschichten und öffne vorbereitete Flow™-Abenteuer mit Figuren, magischen Welten und personalisiertem Szenentext.',
'cta' => 'Magie starten',
'browse' => 'Bibliothek ansehen',
'name_label' => 'Name des Helden',
'name_placeholder' => 'Name des Kindes',
'name_hint' => 'Die Geschichte ist fertig — nur der Name ändert sich.',
'name_cta' => 'Fertigen Flow™ wählen',
'how_h' => 'So funktioniert’s',
'steps' => [
['🌍', 'Welt wählen', 'Zauberwälder, Weltraum, Zuckerreiche und mehr.'],
['🧒', 'Held hinzufügen', 'Der Name erscheint im Text auf der Szene.'],
['📖', 'Zusammen lesen', 'Öffne einen fertigen illustrierten Flow™ am Bildschirm.'],
],
'lib_h' => 'Die Märchen-Bibliothek',
'lib_p' => 'Illustrierte Geschichten und Flow™-Welten für gemeinsames Lesen.',
'choose' => 'Wähle eine magische Welt:',
'all' => 'Alle',
'empty' => 'Noch keine Märchen hier.',
'more' => 'Mehr anzeigen',
'loading'=> 'Laden…',
'cta_h' => 'Bereit für einen Flow™?',
'cta_p' => 'Wähle eine vorbereitete Bildgeschichte und füge den Heldennamen hinzu.',
],
];
$t = $home_dict[$current_lang] ?? $home_dict['en'];
?>