/* Puko World – bendras stilius visiems puslapiams (EN ir LT).
   Spalvos paimtos iš žaidimo: splash dangus, Puko liūto geltona, kalvų žalia. */

@font-face {
  font-family: "Fredoka";
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka";
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fredoka-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-weight: 400 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-weight: 400 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sky: #96cdf0;
  --sky-light: #dff2fd;
  --sky-deep: #4a9fd8;
  --sun: #ffc93f;
  --sun-deep: #f2a516;
  --grass: #9bd35a;
  --grass-deep: #5aa634;
  --leaf: #2f7d3a;
  --pink: #ff8fa0;
  --ink: #3b2a1e;
  --ink-soft: #6e5a4b;
  --cream: #fffaf0;
  --card: #ffffff;
  --line: #f0e4cf;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 10px 0 rgba(59, 42, 30, 0.08), 0 18px 40px rgba(59, 42, 30, 0.1);
  --wrap: 1140px;
  --gutter: 20px;

  --font-display: "Fredoka", "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Lietuvių k.: Fredoka NETURI ė, ą, č, ę, į, ų, ū (tik š, ž) – naršyklė jas imdavo iš Nunito,
   tad antraštėse raidės skyrėsi. LT puslapiuose antraštės – visos Nunito, storesniu svoriu. */
:root:lang(lt) { --font-display: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; }
:lang(lt) h1,
:lang(lt) h2,
:lang(lt) h3,
:lang(lt) .steps li::before { font-weight: 900; }
:lang(lt) .nav a,
:lang(lt) .eyebrow,
:lang(lt) .store strong,
:lang(lt) .steps strong,
:lang(lt) .tag,
:lang(lt) .checklist strong,
:lang(lt) .btn,
:lang(lt) .contact-card .mail,
:lang(lt) .faq summary,
:lang(lt) .site-footer .company strong,
:lang(lt) .legal th { font-weight: 800; }
/* Logotipas „Puko" lietuviškų raidžių neturi – lieka Fredoka. */
:lang(lt) .brand { font-family: "Fredoka", "Nunito", ui-rounded, sans-serif; }


*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sky-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50;
}
.skip:focus { left: 8px; }

/* ---------- Antraštė ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(223, 242, 253, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(74, 159, 216, 0.15);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 3px 0 rgba(59, 42, 30, 0.15); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.7); }
.nav .lang {
  background: #fff; border: 2px solid var(--ink); padding: 5px 12px; font-size: 0.9rem;
}
.nav .lang:hover { background: var(--sun); }
@media (max-width: 720px) {
  .nav a:not(.lang) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 100%);
  padding: 56px 0 0;
  overflow: hidden;
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 24px;
}
.hero-text { padding-bottom: 120px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  background: #fff; color: var(--ink); padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 3px 0 rgba(59, 42, 30, 0.1); margin-bottom: 18px;
}
.hero h1 .accent { color: var(--sun-deep); -webkit-text-stroke: 0; }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.hero-art { position: relative; padding-bottom: 70px; }
.hero-art .puko {
  width: min(460px, 100%); margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(59, 42, 30, 0.18));
  animation: bob 4.5s ease-in-out infinite;
}
.hero-art .friend {
  position: absolute; width: 22%;
  filter: drop-shadow(0 8px 8px rgba(59, 42, 30, 0.15));
}
.hero-art .friend.duck { left: -6%; bottom: 58px; width: 20%; animation: bob 3.6s ease-in-out infinite 0.4s; }
.hero-art .friend.bunny { right: -4%; bottom: 62px; width: 27%; animation: bob 4s ease-in-out infinite 1s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

.hills {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: 170px; display: block;
}

.cloud {
  position: absolute; z-index: 1; background: #fff; border-radius: 999px; opacity: 0.9;
  animation: drift 40s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 140px; height: 42px; top: 70px; left: 6%; }
.cloud.c1::before { width: 64px; height: 64px; top: -30px; left: 22px; }
.cloud.c1::after { width: 48px; height: 48px; top: -20px; left: 72px; }
.cloud.c2 { width: 110px; height: 34px; top: 150px; right: 8%; animation-duration: 55s; animation-direction: reverse; }
.cloud.c2::before { width: 50px; height: 50px; top: -24px; left: 18px; }
.cloud.c2::after { width: 38px; height: 38px; top: -16px; left: 58px; }
@keyframes drift { 0% { transform: translateX(0); } 50% { transform: translateX(40px); } 100% { transform: translateX(0); } }

/* Parduotuvių „netrukus“ žetonai (oficialūs ženkleliai – kai žaidimas bus paskelbtas) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 14px; min-height: 54px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 0.72rem; opacity: 0.8; line-height: 1.1; }
.store strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.15; }
.store[aria-disabled="true"] { cursor: default; }
a.store:hover { color: #fff; transform: translateY(-1px); }

/* ---------- Sekcijos ---------- */

section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

.ground { background: linear-gradient(180deg, var(--grass) 0%, #b7e07a 100%); padding-top: 24px; }
.ground .section-head h2, .ground .section-head p { color: #21451a; }

/* Ypatybės */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px 22px;
  box-shadow: var(--shadow); text-align: center;
}
.feature .badge {
  width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 22px;
  display: grid; place-items: center; font-size: 34px; line-height: 1;
}
.feature p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.b-sun { background: #fff1c7; }
.b-sky { background: var(--sky-light); }
.b-pink { background: #ffe3e8; }
.b-leaf { background: #e2f5cf; }

/* Žaidimo kadras */
.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.device {
  background: var(--ink); border-radius: 36px; padding: 14px;
  box-shadow: var(--shadow); transform: rotate(-1.5deg);
}
.device img { border-radius: 24px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li {
  position: relative; padding: 0 0 22px 64px; counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 4px 0 var(--sun-deep);
}
.steps strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; display: block; }
.steps span { color: var(--ink-soft); }

/* Zonos */
.zones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
/* 3 viršuje + 2 apačioje per vidurį */
.zones > .zone { grid-column: span 2; }
.zones > .zone:nth-child(4) { grid-column: 2 / span 2; }
.zone {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.zone-scene {
  position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center bottom;
}
.zone-scene .animals {
  position: absolute; left: 0; right: 0; bottom: 6%;
  display: flex; justify-content: center; align-items: flex-end; gap: 2%;
  padding: 0 6%;
}
.zone-scene .animals img { width: 23%; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.2)); }
.zone-body { padding: 22px 24px 26px; }
.zone-body p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.tag.free { background: #e2f5cf; color: #2c6a1c; }
.tag.paid { background: #fff1c7; color: #8a5a00; }

/* Tėvams */
.parents { background: var(--sky-light); }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  background: #fff; border-radius: var(--radius-sm); padding: 16px 18px 16px 60px; position: relative;
  box-shadow: 0 4px 0 rgba(74, 159, 216, 0.15);
}
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grass-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checklist strong { font-family: var(--font-display); font-weight: 600; }
.trust-art { text-align: center; }
.trust-art img { width: min(380px, 90%); margin: 0 auto; filter: drop-shadow(0 14px 14px rgba(59, 42, 30, 0.15)); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  background: var(--sun); color: var(--ink); text-decoration: none;
  padding: 13px 24px; border-radius: 999px; box-shadow: 0 5px 0 var(--sun-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 3px 0 var(--sun-deep); }
.btn.ghost { background: #fff; box-shadow: 0 5px 0 rgba(59, 42, 30, 0.15); }

/* Pagalba / DUK */
.support-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--sun); border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 0 var(--sun-deep);
}
.contact-card p { color: #5a3d14; }
.contact-card .mail {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink);
  word-break: break-all;
}
.faq details {
  background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px;
  box-shadow: 0 4px 0 var(--line); border: 2px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; background: var(--sky-light);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--sun); }
.faq details > div { padding: 0 20px 16px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Poraštė ---------- */

.site-footer { background: var(--ink); color: #e9dccb; padding: 48px 0 36px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #fff; }
.site-footer .company { line-height: 1.7; }
.site-footer .company strong { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }

/* ---------- Teisinis puslapis (privatumo politika) ---------- */

.legal-hero {
  background: linear-gradient(180deg, var(--sky-light), var(--sky));
  padding: 56px 0 120px; text-align: center; position: relative; overflow: hidden;
}
.legal-hero img.puko-small { width: 120px; margin: 0 auto 10px; filter: drop-shadow(0 8px 8px rgba(59, 42, 30, 0.15)); }
.legal-hero p { color: var(--ink-soft); margin: 0; }
.legal {
  position: relative; z-index: 3;
  max-width: 820px; margin: -80px auto 72px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 44px clamp(22px, 5vw, 56px);
}
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal h2:first-of-type { margin-top: 0.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.summary-box {
  background: #e2f5cf; border-radius: var(--radius-sm); padding: 20px 22px; margin: 0 0 28px;
}
.summary-box p:last-child, .summary-box ul:last-child { margin-bottom: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.98rem; margin: 0 0 1em; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--font-display); font-weight: 600; background: var(--cream); }
.table-scroll { overflow-x: auto; }
.meta { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Prisitaikymas ---------- */

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .zones > .zone, .zones > .zone:nth-child(4) { grid-column: auto; }
  .showcase, .trust, .support-grid { grid-template-columns: 1fr; }
  .trust-art { order: -1; }
  .trust-art img { width: min(240px, 60%); }
  .legal { margin-left: 12px; margin-right: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-text { padding-bottom: 0; }
  .stores { justify-content: center; }
  .hero-art { padding-bottom: 90px; max-width: 420px; margin: 0 auto; }
  .hills { height: 120px; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .store { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
