{"id":265,"date":"2025-05-14T09:33:16","date_gmt":"2025-05-14T09:33:16","guid":{"rendered":"https:\/\/book.filemondr.hu\/?page_id=265"},"modified":"2025-07-02T11:56:54","modified_gmt":"2025-07-02T11:56:54","slug":"jatekok","status":"publish","type":"page","link":"https:\/\/book.filemondr.hu\/","title":{"rendered":"J\u00e1t\u00e9kgy\u0171jtem\u00e9ny"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"hu\">\n<head>\n  <meta charset=\"UTF-8\" \/>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" \/>\n  <meta name=\"color-scheme\" content=\"dark\">\n  <meta name=\"theme-color\" content=\"#222831\">\n  <meta name=\"msapplication-navbutton-color\" content=\"#222831\">\n  <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">\n  <title>J\u00e1t\u00e9kgy\u0171jtem\u00e9ny<\/title>\n  <link rel=\"stylesheet\" href=\"\/egyseges-stilus.css\">\n  <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Comic+Neue&#038;display=swap\" rel=\"stylesheet\">\n  <style>\n    .header-image-container {\n      position: relative;\n      width: 100%;\n      max-width: 400px;\n      margin: 30px auto 30px auto;\n      display: flex;\n      justify-content: center;\n      align-items: flex-start;\n      min-height: 60px;\n    }\n    .lang-switch {\n      position: absolute;\n      top: 0;\n      left: 50%;\n      transform: translateX(-50%);\n      z-index: 10;\n      background: rgba(34, 40, 49, 0.95);\n      border-radius: 8px;\n      padding: 6px 10px 6px 8px;\n      box-shadow: 0 2px 8px rgba(0,0,0,0.18);\n      display: flex;\n      align-items: center;\n      transition: background 0.2s;\n    }\n    .lang-switch:hover { background: #ffb347; }\n    .flag-btn {\n      background: none;\n      border: none;\n      cursor: pointer;\n      padding: 0;\n      outline: none;\n      display: flex;\n      align-items: center;\n    }\n    .flag-icon {\n      width: 38px;\n      height: 26px;\n      vertical-align: middle;\n      border-radius: 4px;\n      border: 2px solid #fff;\n      box-shadow: 0 2px 8px rgba(0,0,0,0.18);\n      margin-right: 8px;\n      background: #fff;\n    }\n    .lang-label {\n      color: #fff;\n      font-size: 1.1em;\n      font-weight: bold;\n      letter-spacing: 0.5px;\n      text-shadow: 0 1px 4px #222;\n      font-family: 'Open Sans', Arial, sans-serif;\n    }\n    #shareButton {\n      position: fixed;\n      top: 20px;\n      right: 20px;\n      z-index: 1000;\n      padding: 12px 16px;\n      font-size: 1.0em;\n    }\n    @media (max-width: 600px) {\n      .header-image-container { max-width: 98vw; min-height: 40px; }\n      .lang-switch { top: 0; padding: 4px 6px 4px 5px; }\n      .flag-icon { width: 28px; height: 18px; margin-right: 6px; }\n      .lang-label { font-size: 1em; }\n      #shareButton { top: 10px; right: 10px; padding: 8px 10px; font-size: 0.9em; }\n    }\n    .jatekok-grid {\n      display: grid;\n      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));\n      gap: 24px;\n      max-width: 1000px;\n      margin: 0 auto;\n      margin-top: 0;\n    }\n    .jatek-kartya {\n      background: linear-gradient(135deg, var(--button-gradient-start, #444), var(--button-gradient-end, #ffb347)) !important;\n      border-radius: 14px;\n      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);\n      overflow: hidden;\n      text-align: center;\n      text-decoration: none;\n      color: var(--text-color, #f3f3f3) !important;\n      transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;\n      display: flex;\n      flex-direction: column;\n      justify-content: space-between;\n    }\n    .jatek-kartya:hover {\n      transform: scale(1.05);\n      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);\n      background: linear-gradient(135deg, var(--button-hover-gradient-start, #ffb347), var(--button-hover-gradient-end, #444)) !important;\n    }\n    .jatek-kep {\n      width: 100%;\n      height: 180px;\n      object-fit: contain;\n      background-color: var(--secondary-bg, #333) !important;\n      padding: 8px;\n      box-sizing: border-box;\n    }\n    .jatek-cim {\n      padding: 16px;\n      font-size: 1.3rem;\n      font-weight: bold;\n      background-color: rgba(0, 0, 0, 0.2) !important;\n      color: var(--text-color, #f3f3f3) !important;\n    }\n  <\/style>\n  <!-- B\u00f6ng\u00e9sz\u0151 nyelv alap\u00fa automatikus \u00e1tir\u00e1ny\u00edt\u00e1s -->\n  <script>\n    (function() {\n      if (!window.location.pathname.startsWith('\/en\/')) {\n        var lang = (navigator.language || navigator.userLanguage || '').toLowerCase();\n        if (lang.startsWith('en')) {\n          window.location.href = '\/en\/';\n        }\n      }\n    })();\n  <\/script>\n<\/head>\n<body>\n  <!-- Megoszt\u00e1s gomb a jobb fels\u0151 sarokban -->\n  <button id=\"shareButton\">\n      Megoszt\u00e1s &#x2709;\n  <\/button>\n\n  <!-- Csak az angol z\u00e1szl\u00f3 a fejl\u00e9c k\u00f6zep\u00e9n, k\u00e9p n\u00e9lk\u00fcl -->\n  <div class=\"header-image-container\">\n    <div class=\"lang-switch\">\n      <a href=\"\/en\/\" title=\"English version\" class=\"flag-btn\" aria-label=\"English version\" onclick=\"localStorage.setItem('preferredLang','en')\">\n        <svg class=\"flag-icon\" viewBox=\"0 0 60 40\">\n          <rect width=\"60\" height=\"40\" fill=\"#00247d\"\/>\n          <polygon points=\"0,0 60,40\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"8\"\/>\n          <polygon points=\"60,0 0,40\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"8\"\/>\n          <polygon points=\"0,0 60,40\" fill=\"none\" stroke=\"#cf142b\" stroke-width=\"4\"\/>\n          <polygon points=\"60,0 0,40\" fill=\"none\" stroke=\"#cf142b\" stroke-width=\"4\"\/>\n          <rect x=\"25\" width=\"10\" height=\"40\" fill=\"#fff\"\/>\n          <rect y=\"15\" width=\"60\" height=\"10\" fill=\"#fff\"\/>\n          <rect x=\"27\" width=\"6\" height=\"40\" fill=\"#cf142b\"\/>\n          <rect y=\"17\" width=\"60\" height=\"6\" fill=\"#cf142b\"\/>\n        <\/svg>\n        <span class=\"lang-label\">English<\/span>\n      <\/a>\n    <\/div>\n  <\/div>\n\n  <div class=\"jatekok-grid\">\n    <a class=\"jatek-kartya\" href=\"https:\/\/book.filemondr.hu\/index.php\/mesek\/\" onclick=\"handleCardClick(event)\">\n      <img decoding=\"async\" class=\"jatek-kep\" src=\"https:\/\/book.filemondr.hu\/tortenet1\/cover.png\" alt=\"Mes\u00e9k\">\n      <div class=\"jatek-cim\">Mes\u00e9k<\/div>\n    <\/a>\n    <a class=\"jatek-kartya\" href=\"https:\/\/book.filemondr.hu\/index.php\/vakond\/\" onclick=\"handleCardClick(event)\">\n      <img decoding=\"async\" class=\"jatek-kep\" src=\"https:\/\/book.filemondr.hu\/kepek\/v01.png\" alt=\"Vakond j\u00e1t\u00e9k\">\n      <div class=\"jatek-cim\">Vakond j\u00e1t\u00e9k<\/div>\n    <\/a>\n    <a class=\"jatek-kartya\" href=\"https:\/\/book.filemondr.hu\/index.php\/memoria-jatek\/\" onclick=\"handleCardClick(event)\">\n      <img decoding=\"async\" class=\"jatek-kep\" src=\"https:\/\/book.filemondr.hu\/kepek\/51.png\" alt=\"Mem\u00f3ria j\u00e1t\u00e9k\">\n      <div class=\"jatek-cim\">Mem\u00f3ria j\u00e1t\u00e9k<\/div>\n    <\/a>\n    <a class=\"jatek-kartya\" href=\"https:\/\/book.filemondr.hu\/index.php\/puzzle\/\" onclick=\"handleCardClick(event)\">\n      <img decoding=\"async\" class=\"jatek-kep\" src=\"https:\/\/book.filemondr.hu\/kepek\/21.png\" alt=\"Puzzle\">\n      <div class=\"jatek-cim\">Puzzle<\/div>\n    <\/a>\n    <a class=\"jatek-kartya\" href=\"https:\/\/book.filemondr.hu\/index.php\/szinezo\/\">\n      <img decoding=\"async\" class=\"jatek-kep\" src=\"https:\/\/book.filemondr.hu\/kepek\/s03.png\" alt=\"Sz\u00ednez\u0151\">\n      <div class=\"jatek-cim\">Sz\u00ednez\u0151<\/div>\n    <\/a>\n  <\/div>\n\n  <script>\n    \/\/ Glob\u00e1lis sz\u00e1ml\u00e1l\u00f3 az interstitial hirdet\u00e9sek s\u0171r\u0171s\u00e9g\u00e9nek szab\u00e1lyoz\u00e1s\u00e1hoz\n    let clickCounter = localStorage.getItem('adClickCounter') ? parseInt(localStorage.getItem('adClickCounter')) : 0;\n    const interstitialFrequency = 3;\n\n    function handleCardClick(event) {\n      event.preventDefault();\n      const targetUrl = event.currentTarget.href;\n      if (window.Android && navigator.onLine) {\n        clickCounter++;\n        localStorage.setItem('adClickCounter', clickCounter.toString());\n        if (clickCounter % interstitialFrequency === 0) {\n          window.Android.showInterstitialAd();\n          clickCounter = 0;\n          localStorage.setItem('adClickCounter', clickCounter.toString());\n        }\n      }\n      setTimeout(() => {\n        window.location.href = targetUrl;\n      }, 500);\n    }\n\n    document.addEventListener('DOMContentLoaded', function() {\n        const shareButton = document.getElementById('shareButton');\n        if (shareButton) {\n            shareButton.addEventListener('click', function() {\n                if (window.Android && typeof window.Android.shareAppFromWeb === 'function') {\n                    window.Android.shareAppFromWeb();\n                } else if (navigator.share) {\n                    navigator.share({\n                        title: document.title,\n                        text: 'N\u00e9zd meg ezt az alkalmaz\u00e1st: P\u00e1r Perc Pihi! Hasznos \u00e9s sz\u00f3rakoztat\u00f3 tartalommal v\u00e1r: https:\/\/play.google.com\/store\/apps\/details?id=hu.filemondr.book.twa&pcampaignid=web_share ',\n                        url: window.location.href\n                    })\n                    .then(() => console.log('Web Share API sikeres'))\n                    .catch((error) => {\n                        console.error('Web Share API hiba:', error);\n                        alert('A megoszt\u00e1s funkci\u00f3 nem \u00e9rhet\u0151 el ezen az eszk\u00f6z\u00f6n, vagy hiba t\u00f6rt\u00e9nt (Web Share API fallback).');\n                    });\n                } else {\n                    alert('A megoszt\u00e1s funkci\u00f3 nem \u00e9rhet\u0151 el ezen az eszk\u00f6z\u00f6n.');\n                }\n            });\n        }\n    });\n  <\/script>\n<\/body>\n<\/html>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>J\u00e1t\u00e9kgy\u0171jtem\u00e9ny Megoszt\u00e1s &#x2709; English Mes\u00e9k Vakond j\u00e1t\u00e9k Mem\u00f3ria j\u00e1t\u00e9k Puzzle Sz\u00ednez\u0151<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-265","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/pages\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/comments?post=265"}],"version-history":[{"count":66,"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/pages\/265\/revisions"}],"predecessor-version":[{"id":560,"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/pages\/265\/revisions\/560"}],"wp:attachment":[{"href":"https:\/\/book.filemondr.hu\/index.php\/wp-json\/wp\/v2\/media?parent=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}