@font-face { font-family: 'Baloo'; font-weight: 800; font-display: swap; src: url(../fonts/baloo2-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo'; font-weight: 800; font-display: swap; src: url(../fonts/baloo2-800-latinext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Andika'; font-weight: 400; font-display: swap; src: url(../fonts/andika-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Andika'; font-weight: 400; font-display: swap; src: url(../fonts/andika-400-latinext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Andika'; font-weight: 700; font-display: swap; src: url(../fonts/andika-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Andika'; font-weight: 700; font-display: swap; src: url(../fonts/andika-700-latinext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1f2b45;
  --ink2: #4d5875;
  --green: #4cb631;
  --green-dark: #2b8a1d;
  --orange: #ff9a1f;
  --cream: #fffaf0;
  --sky: #eaf6ff;
  --shadow: 0 1px 2px rgba(31, 43, 69, .06), 0 10px 30px rgba(31, 43, 69, .09);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Andika', system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; overflow-x: clip; }
h1, h2, h3 { font-family: 'Baloo', 'Andika', sans-serif; font-weight: 800; line-height: 1.04; letter-spacing: -.01em; }
h1, h2, h3, p { text-wrap: balance; }
img, video { max-width: 100%; }
a { color: var(--green-dark); }
.belso { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.szemoldok { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: #e7f6dc; color: var(--green-dark); font-weight: 700; font-size: 15px; }
.szemoldok.kozep { display: table; margin-left: auto; margin-right: auto; }
.pipak { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.pipak li { position: relative; padding-left: 34px; font-weight: 700; font-size: 17px; }
.pipak li::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* --- bolti jelvények (mobilon csak a készülékhez illő) --------------------------------- */
.letoltes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.letoltes.kozep { justify-content: center; }
.bolt { display: inline-flex; border-radius: 12px; transition: transform .18s ease; }
.bolt:hover { transform: translateY(-2px); }
.bolt:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.bolt.appstore img { height: 58px; width: auto; display: block; }
/* a Google-jelvény képe körül átlátszó margó van: nagyobbra vesszük és ráhúzzuk */
.bolt.play img { height: 86px; width: auto; display: block; margin: -14px -13px; }
.ios .bolt.play, .android .bolt.appstore { display: none; }
.ios .bolt.appstore img { height: 64px; }
.android .bolt.play img { height: 94px; margin: -15px -14px; }

/* --- iPhone-keret ------------------------------------------------------------------- */
.iphone { position: relative; width: var(--w, 300px); padding: 10px; border-radius: 52px; background: linear-gradient(150deg, #353e57, #0d1220 60%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 40px 70px -24px rgba(16, 26, 54, .55), 0 18px 36px -18px rgba(16, 26, 54, .4); }
.iphone::before, .iphone::after { content: ''; position: absolute; background: #1b2232; border-radius: 3px; }
.iphone::before { right: -3px; top: 24%; width: 4px; height: 72px; }
.iphone::after { left: -3px; top: 18%; width: 4px; height: 44px; box-shadow: 0 64px 0 #1b2232; }
.iphone .kepernyo { display: block; width: 100%; height: auto; aspect-ratio: 540 / 1174; object-fit: cover; border-radius: 42px; background: #76c6f7; }
.iphone.kozepes { --w: 270px; }

/* --- nyitókép ------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #62bdf5 0%, #9fd6f7 42%, #e9f3e2 78%, #fdf1c6 100%); padding-bottom: clamp(120px, 12vw, 190px); }
.eg { position: absolute; inset: 0; pointer-events: none; }
.nap { position: absolute; width: clamp(120px, 12vw, 190px); height: auto; top: 86px; right: 1.5%; animation: lukteto 6s ease-in-out infinite; }
@keyframes lukteto { 50% { transform: scale(1.06); } }
.felho { position: absolute; left: 0; height: auto; opacity: .95; animation: felho linear infinite; }
.felho.f1 { width: 170px; top: 120px; animation-duration: 95s; animation-delay: -20s; }
.felho.f2 { width: 210px; top: 40px; animation-duration: 120s; animation-delay: -75s; }
.felho.f3 { width: 120px; top: 300px; animation-duration: 80s; animation-delay: -55s; opacity: .8; }
.felho.f4 { width: 140px; top: 210px; animation-duration: 110s; animation-delay: -5s; opacity: .85; }
@keyframes felho { from { transform: translateX(-260px); } to { transform: translateX(100vw); } }

.fejlec { position: relative; z-index: 3; max-width: 1160px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 28px; }
.marka { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marka img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 8px rgba(31, 43, 69, .18); }
.marka span { font-family: 'Baloo', sans-serif; font-weight: 800; font-size: 30px; color: #fff; -webkit-text-stroke: 2px #23611a; paint-order: stroke fill; text-shadow: 0 3px 0 #23611a; letter-spacing: -.5px; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; opacity: .85; }
.menu a:hover { opacity: 1; color: var(--green-dark); }
.gomb-kicsi { background: #fff; color: var(--green-dark); font-weight: 700; text-decoration: none; padding: 9px 20px; border-radius: 999px; box-shadow: 0 4px 0 rgba(31, 43, 69, .14); transition: transform .15s; }
.gomb-kicsi:hover { transform: translateY(-1px); }

.hero-tartalom { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 16px 24px 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero .szemoldok { background: rgba(255, 255, 255, .85); }
h1 { font-size: clamp(46px, 6.2vw, 80px); margin: 0 0 18px; color: var(--ink); }
.kiemel { color: var(--green-dark); background: linear-gradient(transparent 64%, rgba(255, 214, 71, .85) 64%, rgba(255, 214, 71, .85) 92%, transparent 92%); padding: 0 4px; }
.bevezeto { font-size: 21px; color: #26324f; max-width: 31em; margin: 0 0 28px; }
.ervek { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ervek li { background: rgba(255, 255, 255, .78); border-radius: 999px; padding: 5px 14px 5px 32px; font-weight: 700; font-size: 15px; position: relative; }
.ervek li::before { content: ''; position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

.hero-telefon { position: relative; display: flex; justify-content: center; }
.hero-telefon .iphone { --w: clamp(240px, 21vw, 290px); transform: rotate(3deg); }
@keyframes lebeg { 50% { transform: translateY(-14px) rotate(-2deg); } }

.taj { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; line-height: 0; pointer-events: none; }
.hero-vaszon { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.taj picture img { width: 100%; height: auto; display: block; }
.hero-dino { position: absolute; height: auto; }

/* asztali gépen a nyitókép pont kitölti a képernyőt, így a homok a sétáló dínóval mindig látszik */
@media (min-width: 961px) and (min-height: 620px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 7.5vw; }
  .hero-tartalom { flex: 1; width: 100%; }
  .fejlec { width: 100%; }
  .hero-telefon .iphone { --w: min(21vw, 290px, calc((100svh - 250px) / 2.2)); }
}

/* --- szakaszok ----------------------------------------------------------------------- */
main section { padding: 110px 0; }
h2 { font-size: clamp(34px, 4.3vw, 54px); margin: 0 0 16px; }
.hogyan h2, .arak h2, .nyugi h2 { text-align: center; }
.alcim { text-align: center; font-size: 20px; color: var(--ink2); margin: 0 auto 50px; max-width: 34em; }

.lepesek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lepes { position: relative; background: #fff; border-radius: 28px; padding: 18px 18px 28px; box-shadow: var(--shadow); text-align: center; }
.lepes-kep { position: relative; height: 190px; border-radius: 20px; overflow: hidden; margin-bottom: 26px; }
.egi { background: linear-gradient(180deg, #8fd0f7, #dff1fb 75%, #c8ebb2 75%, #a8db8a); }
.lepes .szam { position: absolute; top: 190px; left: 50%; transform: translate(-50%, -6px); width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-family: 'Baloo', sans-serif; font-weight: 800; font-size: 22px; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.lepes h3 { font-size: 27px; margin: 10px 0 8px; }
.lepes p { margin: 0 auto; color: var(--ink2); font-size: 17px; max-width: 18em; }
.lk1 { position: absolute; width: 150px; left: 14%; top: 18px; animation: lebeg 5s ease-in-out infinite; }
.lk2 { position: absolute; width: 130px; right: 12%; top: 78px; animation: lebeg 5s ease-in-out infinite -2.5s; }
.lk3 { position: absolute; width: 150px; right: 10%; top: 14px; animation: lebeg 4s ease-in-out infinite; }
.lk4 { position: absolute; width: 140px; left: 10%; bottom: 0; }
.mikrofon { position: absolute; left: 50%; top: 46px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; background: #dff6cf; color: var(--green-dark); font-weight: 700; font-size: 30px; padding: 10px 26px 10px 18px; border-radius: 999px; box-shadow: 0 4px 0 rgba(31, 43, 69, .1); }
.mikrofon svg { width: 28px; height: 28px; fill: var(--green-dark); }
.hullam { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; height: 44px; }
.hullam i { width: 7px; height: 100%; border-radius: 4px; background: rgba(43, 138, 29, .55); animation: hullam 1.1s ease-in-out infinite; }
.hullam i:nth-child(2) { animation-delay: -.2s; } .hullam i:nth-child(3) { animation-delay: -.5s; } .hullam i:nth-child(4) { animation-delay: -.1s; }
.hullam i:nth-child(5) { animation-delay: -.7s; } .hullam i:nth-child(6) { animation-delay: -.35s; } .hullam i:nth-child(7) { animation-delay: -.85s; }
@keyframes hullam { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.sor.halvany, .nyugi { background: var(--sky); }
.sor-racs { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sor-racs.fordit .sor-kep { order: -1; }
.sor-szoveg h2 { font-size: clamp(32px, 3.5vw, 46px); }
.sor-szoveg p { font-size: 19px; color: var(--ink2); margin: 0; max-width: 32em; }
.sor-kep { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.sor-dino.ul { position: absolute; width: 150px; bottom: -6px; right: 6%; }
.pelda { position: absolute; z-index: 2; max-width: 250px; background: #fff; border-radius: 18px; padding: 12px 16px; font-size: 16px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); }
.pelda.p1 { top: 14%; left: 0; transform: rotate(-3deg); }
.pelda.p2 { bottom: 16%; right: 0; transform: rotate(2.5deg); }
.level { width: min(430px, 100%); max-height: 560px; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -24px rgba(16, 26, 54, .35), 0 0 0 1px rgba(31, 43, 69, .06); transform: rotate(-2deg); -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.level img { display: block; width: 100%; height: auto; }
.betuformak { flex-direction: column; gap: 18px; align-items: flex-start; padding-left: 8%; }
.betuformak figure { margin: 0; display: flex; align-items: center; gap: 22px; }
.betuformak img { width: 210px; height: auto; filter: drop-shadow(0 8px 12px rgba(31, 43, 69, .12)); }
.betuformak figcaption { font-weight: 700; color: var(--ink2); font-size: 17px; }

.nyugi h2 { margin-bottom: 44px; }
.nyugi-racs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nyugi-elem { background: #fff; border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow); }
.nyugi-elem svg { width: 50px; height: 50px; padding: 11px; border-radius: 15px; background: #e7f6dc; fill: none; stroke: var(--green-dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nyugi-elem h3 { font-size: 22px; margin: 16px 0 6px; }
.nyugi-elem p { margin: 0; color: var(--ink2); font-size: 16px; }

.ar-racs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 860px; margin: 40px auto 0; align-items: stretch; }
.ar-kartya { position: relative; background: #fff; border-radius: 28px; padding: 34px 34px 36px; box-shadow: var(--shadow); }
.ar-kartya.kiemelt { background: linear-gradient(160deg, #f1fbe9, #fff6dc); box-shadow: 0 0 0 3px var(--green), var(--shadow); }
.ajanlott { position: absolute; top: -15px; left: 34px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 999px; }
.ar-kartya h3 { font-size: 26px; margin: 0 0 4px; }
.ar { font-family: 'Baloo', sans-serif; font-weight: 800; font-size: 46px; margin: 0; color: var(--green-dark); }
.ar small { font-size: 18px; color: var(--ink2); }
.ar-megjegyzes { text-align: center; color: var(--ink2); margin: 26px 0 0; }

.vegso { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 120px 0 0 !important; background: linear-gradient(180deg, #232c68 0%, #4b4596 55%, #8668bd 100%); }
.csillagok { position: absolute; inset: 0; background-image: radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 28% 42%, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 46% 12%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 63% 30%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 78% 52%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 88% 20%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 7% 60%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 36% 66%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 56% 48%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 94% 70%, #fff 50%, transparent 52%); animation: csillag 4s ease-in-out infinite; }
@keyframes csillag { 50% { opacity: .55; } }
.hold { position: absolute; width: clamp(110px, 12vw, 180px); top: 40px; right: 8%; }
.vegso-tartalom { position: relative; z-index: 2; }
.vegso h2 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); }
.vegso p { color: #e5e1ff; font-size: 20px; margin: 0 auto 30px; max-width: 30em; }
.qr { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; color: #e5e1ff; font-size: 16px; }
.asztali .qr { display: flex; }
.qr img { background: #fff; padding: 9px; border-radius: 16px; }
.qr span { max-width: 15em; text-align: left; }
.taj.este { position: relative; margin-top: 30px; }
.taj.este .hero-dino { left: 58%; bottom: 10%; animation: none; width: clamp(90px, 8vw, 130px); }

footer { background: #ab8862; color: #fff7ea; text-align: center; padding: 10px 20px 34px; }
footer p { margin: 10px 0 0; font-size: 15px; }
footer a { color: #fff; }
.marka.kicsi img { width: 28px; height: 28px; border-radius: 8px; }
.marka.kicsi span { font-size: 22px; -webkit-text-stroke-width: 1.5px; text-shadow: 0 2px 0 #23611a; }

/* --- keskeny képernyő ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .gomb-kicsi { margin-left: auto; }
  .hero-tartalom { grid-template-columns: 1fr; text-align: center; gap: 34px; padding-top: 18px; }
  .bevezeto { margin-left: auto; margin-right: auto; font-size: 19px; }
  .letoltes, .ervek { justify-content: center; }
  .nap { right: 3%; top: 76px; width: 100px; opacity: .9; }
  .hero { padding-bottom: 150px; }
  .taj picture img { height: 240px; object-fit: cover; object-position: 28% bottom; }
  main section { padding: 76px 0; }
  .lepesek, .nyugi-racs, .ar-racs { grid-template-columns: 1fr; }
  .sor-racs { grid-template-columns: 1fr; gap: 40px; }
  .sor-racs.fordit .sor-kep { order: 0; }
  .sor-kep { min-height: 0; }
  .betuformak { align-items: center; padding-left: 0; }
  .pelda { position: relative; inset: auto; transform: none !important; margin: 0 auto; }
  .sor-kep:has(.pelda) { flex-direction: column; gap: 14px; }
  .pelda.p1 { order: -1; }
  .taj.este picture img { height: 200px; object-fit: cover; object-position: 30% bottom; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .nyugi-racs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  h1 { font-size: 42px; }
  .marka span { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
