/* harry-games.com — bright, playful, light-only kids site. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/nunito-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/nunito-latin-ext.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: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/static/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; }

:root {
  --ink: #1d2b5a; --muted: #56658f; --bg: #fffaf0; --white: #fff;
  --sky-1: #1e9bff; --sky-2: #7fd3ff; --sky-3: #c9eeff;
  --sun: #ffd23f; --orange: #ff8a1f; --orange-d: #e2690a;
  --green: #45c060; --green-d: #2e9a48; --grass-1: #6fd35b; --grass-2: #3fb04f;
  --pink: #ff5c9a; --purple: #8b6cff; --purple-d: #6a4de0; --blue: #2f8cff; --blue-d: #1b6fd6;
  --radius: 28px; --shadow: 0 14px 40px rgba(29, 43, 90, .14);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 110px; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.6;
  color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.4em; border: 0; border-radius: 999px;
  background: var(--orange); color: var(--white); font-weight: 900; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 var(--orange-d), 0 12px 24px rgba(226, 105, 10, .3); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: var(--white); transform: translateY(-2px) rotate(-1deg); box-shadow: 0 8px 0 var(--orange-d), 0 16px 28px rgba(226, 105, 10, .35); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-d); }
.btn-big { font-size: 1.15rem; padding: .85em 1.7em; }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 6px 0 #d3dcef, 0 12px 24px rgba(29, 43, 90, .12); }
.btn-white:hover { color: var(--ink); box-shadow: 0 8px 0 #d3dcef, 0 16px 28px rgba(29, 43, 90, .16); }
.btn-small { font-size: .9rem; padding: .5em 1.1em; box-shadow: 0 4px 0 var(--orange-d); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px #c8d2ea; }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.kicker { display: inline-block; margin: 0 0 .7em; padding: .25em .9em; border-radius: 999px; background: rgba(255, 255, 255, .85);
  color: var(--orange-d); font-weight: 900; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.1em; }
.chip { padding: .2em .8em; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 800; font-size: .85rem; }

/* ---------- header ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 10px var(--gutter); }
.topbar-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; box-shadow: var(--shadow); }
.brand img { width: 108px; transition: transform .3s; }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a { padding: .45em .95em; border-radius: 999px; font-weight: 800; color: var(--ink); text-decoration: none; transition: background .2s, transform .2s; }
.nav > a:hover, .nav > a[aria-current] { background: #fff1c2; transform: translateY(-1px); }
/* Language menu: a pill with the current language that opens a grid of all languages */
.lang-menu { position: relative; margin-left: 8px; }
.lang-menu summary { display: flex; align-items: center; gap: .45em; padding: .4em .8em .4em .6em; border-radius: 999px; background: #eef4ff;
  font-weight: 900; font-size: .9rem; color: var(--ink); cursor: pointer; list-style: none; user-select: none; transition: background .2s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px; border: solid var(--muted); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg); transition: transform .2s; }
.lang-menu[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lang-menu summary:hover, .lang-menu[open] summary { background: #dce9ff; }
.globe { width: 20px; height: 20px; flex: none; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8cff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.6 2.6 3.9 5.8 3.9 9.5s-1.3 6.9-3.9 9.5c-2.6-2.6-3.9-5.8-3.9-9.5s1.3-6.9 3.9-9.5z'/%3E%3C/svg%3E"); }
.lang-list { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 2px; width: max-content; margin: 0; padding: 10px; list-style: none; background: var(--white); border-radius: 22px; box-shadow: 0 18px 50px rgba(29, 43, 90, .22);
  animation: lang-pop .18s ease-out; }
.lang-list::before { content: ""; position: absolute; top: -7px; right: 34px; width: 16px; height: 16px; background: var(--white); transform: rotate(45deg); border-radius: 3px; }
.lang-list a { position: relative; display: block; padding: .5em .9em; border-radius: 12px; font-weight: 800; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-list a:hover { background: #fff1c2; }
.lang-list a[aria-current] { background: var(--blue); color: var(--white); }
@keyframes lang-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; max-width: var(--wrap); margin: 30px auto 0;
  font-size: .92rem; }
.footer-langs a { color: inherit; font-weight: 600; opacity: .85; }
.footer-langs b { color: var(--sun); }
.footer-langs a:hover { opacity: 1; text-decoration: underline; }
.footer-langs .globe { filter: brightness(0) invert(1); opacity: .8; }
/* Scripts the Nord hero font lacks (Polish, Turkish, Ukrainian, CJK) use the rounded body font */
.hc-title.hc-plain { font-family: "Nunito", system-ui, sans-serif; font-weight: 900; letter-spacing: 0; }
:lang(ja) body, :lang(ja) .hc-title { font-family: "Nunito", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; }
:lang(ko) body, :lang(ko) .hc-title { font-family: "Nunito", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(zh-Hans) body, :lang(zh-Hans) .hc-title { font-family: "Nunito", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-Hant) body, :lang(zh-Hant) .hc-title { font-family: "Nunito", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(ja) .hc-title, :lang(ko) .hc-title, :lang(zh-Hans) .hc-title, :lang(zh-Hant) .hc-title { font-weight: 900; letter-spacing: .04em; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sun); cursor: pointer; padding: 13px 12px; }
.menu-btn span { display: block; height: 4px; margin: 3px 0; border-radius: 4px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sky, clouds, sun, hills ---------- */
.sky { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); color: var(--ink); }
.sun { position: absolute; top: 70px; right: 8%; width: 130px; height: 130px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 18px rgba(255, 210, 63, .35), 0 0 0 40px rgba(255, 210, 63, .15); animation: pulse 5s ease-in-out infinite; }
.sun::before { content: ""; position: absolute; inset: -60px; border-radius: 50%; z-index: -1;
  background: repeating-conic-gradient(rgba(255, 235, 150, .55) 0 10deg, transparent 10deg 30deg); animation: spin 40s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 60px, #000 62px, transparent 125px); mask: radial-gradient(circle, transparent 60px, #000 62px, transparent 125px); }
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; display: block; width: 180px; height: 60px; border-radius: 60px; background: var(--white); opacity: .95;
  filter: drop-shadow(0 8px 0 rgba(30, 120, 200, .12)); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: var(--white); border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; left: 26px; top: -40px; }
.cloud::after { width: 100px; height: 100px; right: 22px; top: -54px; }
.c1 { top: 18%; left: -200px; animation-duration: 60s; }
.c2 { top: 8%; left: -200px; transform: scale(.6); animation-duration: 45s; animation-delay: -20s; }
.c3 { top: 42%; left: -200px; transform: scale(.8); animation-duration: 75s; animation-delay: -40s; opacity: .8; }
.c4 { top: 28%; left: -200px; transform: scale(.5); animation-duration: 38s; animation-delay: -8s; opacity: .7; }
.hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; }
.hills .h1 { fill: var(--grass-1); }
.hills .h2 { fill: var(--bg); }

/* ---------- hero ---------- */
.hero { min-height: min(860px, 100svh); padding: 130px var(--gutter) 150px; display: flex; align-items: center; }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero-logo { width: min(520px, 96vw); aspect-ratio: 1800 / 1024; margin: -70px 0 -80px -90px; }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 22% 24%; }
.hero-logo svg { display: block; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); color: var(--white); text-shadow: 0 4px 0 rgba(16, 90, 170, .35); }
.hero h1 span { color: var(--sun); -webkit-text-stroke: 0; text-shadow: 0 4px 0 var(--orange-d); display: inline-block; animation: wiggle 4s ease-in-out infinite; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34em; font-weight: 600; }
.hero .hero-lead { color: #0e3768; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.2em; }
.hero-art { position: relative; min-height: 460px; }
.isl { position: absolute; filter: drop-shadow(0 18px 18px rgba(16, 90, 170, .25)); }
.isl-a { width: 62%; right: 0; top: 0; animation: bob 6s ease-in-out infinite; }
.isl-b { width: 52%; left: 0; bottom: 30px; animation: bob 7s ease-in-out infinite -2s; }
.hero-harry { position: absolute; width: 42%; left: 38%; bottom: 60px; cursor: pointer; animation: drive 2.4s ease-in-out infinite; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .18)); }
.plane { position: absolute; z-index: 1; top: 120px; left: 0; width: 230px; pointer-events: none; animation: fly 26s linear infinite; }
.balloons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.balloon { position: absolute; bottom: -300px; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; animation: rise linear infinite; }
.balloon img { width: 100%; }
.balloon.b1 { left: 4%; animation-duration: 17s; animation-delay: -3s; }
.balloon.b2 { left: 46%; width: 52px; animation-duration: 21s; animation-delay: -12s; filter: hue-rotate(160deg); }
.balloon.b3 { left: 88%; animation-duration: 19s; animation-delay: -7s; filter: hue-rotate(230deg); }
.balloon.b4 { left: 24%; width: 48px; animation-duration: 24s; animation-delay: -17s; filter: hue-rotate(60deg) saturate(1.4); }
.balloon.b5 { left: 67%; width: 58px; animation-duration: 18s; animation-delay: -1s; filter: hue-rotate(290deg); }
.balloon.b6 { left: 95%; width: 44px; animation-duration: 23s; animation-delay: -10s; filter: hue-rotate(120deg); }
.balloon.pop { animation: none !important; pointer-events: none; }
.balloon.pop img { animation: popit .35s ease-out forwards; }
.confetti { position: fixed; z-index: 90; width: 10px; height: 10px; border-radius: 3px; pointer-events: none; animation: confetti .9s ease-out forwards; }

/* ---------- trust ---------- */
.trust { position: relative; z-index: 3; margin-top: -40px; padding: 0 var(--gutter); }
.trust-list { max-width: var(--wrap); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-list li { padding: 22px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .25s; }
.trust-list li:hover { transform: translateY(-6px) rotate(-1deg); }
.trust-list li:nth-child(2):hover { transform: translateY(-6px) rotate(1deg); }
.trust-list b { font-size: 1.15rem; }
.trust-list li > span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; margin-bottom: 6px; }
.ico-noads { background: #ffe0ec; } .ico-noads::before { content: "🙅"; }
.ico-offline { background: #dff3ff; } .ico-offline::before { content: "✈️"; }
.ico-gate { background: #e9e3ff; } .ico-gate::before { content: "🔒"; }
.ico-once { background: #fff1c2; } .ico-once::before { content: "🎁"; }

/* ---------- section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2, .section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-head .kicker { background: #fff1c2; }
.section-title { text-align: center; }

/* ---------- game cards ---------- */
.games { padding: 90px var(--gutter) 40px; }
.game-list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 34px; }
.game-card { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; padding: 38px;
  border-radius: 40px; background: var(--tint); overflow: hidden; }
.game-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: var(--accent); opacity: .18; }
.game-card::after { content: ""; position: absolute; width: 200px; height: 200px; left: 38%; bottom: -120px; border-radius: 50%; background: var(--accent); opacity: .12; }
.game-card:nth-child(even) { grid-template-columns: 1.05fr 1fr; }
.game-card:nth-child(even) .game-card-text { order: 2; }
.game-card-text { position: relative; z-index: 1; }
.game-title { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.game-title h3, .game-title h1 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.game-title h3 a { color: var(--ink); text-decoration: none; }
.game-title h3 a:hover { color: var(--accent-d); }
.tagline { margin: 2px 0 0; font-weight: 800; color: var(--accent-d); }
.app-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); flex: none; transition: transform .3s; }
.app-icon.big { width: 112px; height: 112px; border-radius: 28px; }
.game-card:hover .app-icon { transform: rotate(-8deg) scale(1.06); }
.more { display: inline-block; margin-top: 10px; font-weight: 900; color: var(--accent-d); text-decoration: none; }
.more:hover { color: var(--ink); }
.game-card-shot { position: relative; z-index: 1; display: block; transition: transform .35s cubic-bezier(.2, .8, .3, 1.3); }
.game-card:hover .game-card-shot { transform: rotate(-2deg) scale(1.03); }
.game-card:nth-child(even):hover .game-card-shot { transform: rotate(2deg) scale(1.03); }
.card-art { position: absolute; width: 34%; right: -4%; bottom: -10%; z-index: 2; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .2)); animation: bob 5s ease-in-out infinite; }
.game-card .device.phone { width: 52%; margin: 0 auto; }

.c-green { --tint: #e2f8df; --accent: var(--green); --accent-d: var(--green-d); }
.c-orange { --tint: #fff0dc; --accent: var(--orange); --accent-d: var(--orange-d); }
.c-purple { --tint: #efe9ff; --accent: var(--purple); --accent-d: var(--purple-d); }
.c-blue { --tint: #e0f1ff; --accent: var(--blue); --accent-d: var(--blue-d); }

.device { margin: 0; border: 10px solid var(--ink); border-radius: 30px; background: var(--ink); overflow: hidden; box-shadow: 0 22px 40px rgba(29, 43, 90, .25); }
.device img { width: 100%; border-radius: 20px; }
.device.phone { border-radius: 38px; border-width: 9px; }
.device.phone img { border-radius: 30px; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0; }
.badge { display: block; transition: transform .2s; }
.badge:hover { transform: translateY(-3px) scale(1.04); }
.badge-ios img { height: 48px; width: auto; }
.badge-play img { height: 71px; width: auto; margin: -11.5px -9px; }

/* ---------- meet Harry ---------- */
.meet { position: relative; padding: 90px var(--gutter); background:
  radial-gradient(circle at 12% 20%, rgba(255, 92, 154, .25) 0 8px, transparent 9px),
  radial-gradient(circle at 85% 30%, rgba(47, 140, 255, .25) 0 10px, transparent 11px),
  radial-gradient(circle at 70% 85%, rgba(69, 192, 96, .3) 0 7px, transparent 8px),
  radial-gradient(circle at 30% 80%, rgba(139, 108, 255, .25) 0 9px, transparent 10px), #fff4c9; }
.meet-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.meet-art { position: relative; text-align: center; }
.meet-harry { width: min(330px, 70%); margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; animation: sway 3s ease-in-out infinite; transform-origin: 50% 90%; }
.tap-hint { display: inline-block; margin-top: 8px; padding: .3em 1em; border-radius: 999px; background: var(--white); font-weight: 900; color: var(--orange-d); animation: pulse 2s ease-in-out infinite; }
.notes { position: absolute; inset: 0; pointer-events: none; }
.notes i { position: absolute; top: 30%; left: 60%; font-style: normal; font-size: 40px; font-weight: 900; color: var(--purple); animation: note 3.5s ease-in infinite; }
.notes i:nth-child(2) { left: 72%; color: var(--pink); animation-delay: -1.2s; }
.notes i:nth-child(3) { left: 50%; color: var(--blue); animation-delay: -2.3s; }
.meet-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.meet-text p { font-size: 1.15rem; }
.meet-text .kicker { background: var(--white); }
.friends { width: min(460px, 100%); margin-top: 10px; }
.jump { animation: jump .6s cubic-bezier(.3, 1.6, .5, 1) !important; }

/* ---------- stats ---------- */
.stats { padding: 60px var(--gutter); background: linear-gradient(120deg, var(--purple), var(--blue)); color: var(--white); }
.stats ul { max-width: var(--wrap); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; color: var(--sun); text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.stats span { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { padding: 90px var(--gutter) 0; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: 24px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { position: relative; padding: 20px 64px 20px 24px; font-weight: 900; font-size: 1.12rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--sun); display: grid; place-items: center; font-size: 24px; line-height: 1; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--pink); color: var(--white); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- parents CTA ---------- */
.parents-cta { padding: 90px var(--gutter); }
.parents-in { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center;
  padding: 42px 48px; border-radius: 40px; background: linear-gradient(135deg, #dff7e4, #d3f0ff); box-shadow: var(--shadow); }
.parents-plane { width: 170px; animation: bob 4s ease-in-out infinite; }
.parents-in h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.parents-in .kicker { background: var(--white); }

/* ---------- game page ---------- */
.game-hero { position: relative; overflow: hidden; padding: 130px var(--gutter) 130px; background: linear-gradient(180deg, var(--accent) -40%, var(--tint) 70%); }
.game-hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.game-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.game-hero-art { position: relative; }
.game-hero-art .device.phone { width: 55%; margin: 0 auto; }
.float { animation: bob 5s ease-in-out infinite; }
.crumbs { font-weight: 800; font-size: .9rem; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.shots { padding: 50px 0 30px; }
.shot-strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 30px; scrollbar-width: thin; }
.shot-strip .device { flex: 0 0 min(560px, 82vw); scroll-snap-align: center; }
.shot-strip.portrait .device { flex-basis: min(260px, 62vw); }
.shot-strip .device:nth-child(odd) { transform: rotate(-1.5deg); }
.shot-strip .device:nth-child(even) { transform: rotate(1.5deg); }
.game-body { padding-bottom: 40px; }
.get-it { margin: 40px 0 0; padding: 30px; border-radius: var(--radius); background: var(--tint); text-align: center; }
.get-it .badges { justify-content: center; }
.other-games { padding: 30px var(--gutter) 80px; }
.mini-list { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--tint); color: var(--ink); text-decoration: none; transition: transform .2s; }
.mini-card:hover { color: var(--ink); transform: translateY(-5px) rotate(-1deg); }
.mini-card b, .mini-card small { display: block; }
.mini-card small { color: var(--accent-d); font-weight: 800; line-height: 1.3; }
.mini-card .app-icon { width: 64px; height: 64px; border-radius: 18px; }

/* ---------- text pages ---------- */
.page-hero { padding: 140px var(--gutter) 110px; text-align: center; }
.page-hero-in { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--white); text-shadow: 0 4px 0 rgba(16, 90, 170, .35); }
.page-hero .updated { font-weight: 800; color: #0e3768; }
.page-hero .translation-note { max-width: 640px; margin: .4em auto 0; font-size: .9rem; color: #0e3768; }
.page-hero .translation-note a { color: inherit; font-weight: 800; }
.page-hero-art { position: absolute; z-index: 1; right: 6%; bottom: 50px; width: min(200px, 26vw); animation: bob 5s ease-in-out infinite; }
.page-about .page-hero-art { width: min(320px, 34vw); }
.page-contact .page-hero-art { width: min(260px, 30vw); bottom: auto; top: 110px; animation: bob 4s ease-in-out infinite; }
.page-wrap { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gutter) 80px; }
.page-wrap.has-toc { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 100px; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 10px; border-radius: 12px; font-weight: 800; font-size: .95rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.toc a:hover { background: #fff1c2; }
.prose { max-width: 780px; margin: 0 auto; }
.game-body.prose { padding-left: var(--gutter); padding-right: var(--gutter); max-width: calc(780px + 2 * var(--gutter)); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); }
.prose h2::after { content: ""; display: block; width: 70px; height: 7px; margin-top: 10px; border-radius: 7px; background: linear-gradient(90deg, var(--orange), var(--sun)); }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; color: var(--blue-d); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 34px; margin: .45em 0; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--sun);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.prose ul li:nth-child(3n+2)::before { background: var(--pink); }
.prose ul li:nth-child(3n)::before { background: var(--green); }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin: .4em 0; padding-left: .3em; }
.prose ol li::marker { font-weight: 900; color: var(--orange-d); }
.prose .lead { font-size: 1.2rem; font-weight: 600; }
.summary { padding: 26px 30px; border-radius: var(--radius); background: #fff1c2; box-shadow: 0 6px 0 #f3dc8a; }
.summary h2 { margin-top: 0; }
.summary h2::after { display: none; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 30px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: var(--tint); }
.contact-card h2 { margin: 0 0 .4em; font-size: 1.3rem; }
.contact-card h2::after { display: none; }
.contact-card .big { font-size: 1.1rem; font-weight: 900; word-break: break-word; }
.contact-card .note { color: var(--muted); font-size: .95rem; }
.contact-card p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.hero-in.center { display: block; text-align: center; }
.nf-harry { width: 180px; margin: 0 auto 20px; cursor: pointer; animation: bob 4s ease-in-out infinite; }
.not-found h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.not-found .hero-lead { margin: 0 auto 1em; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: 60px; padding: 30px var(--gutter) 30px; background: #1b2b5c; color: #d6e0ff; }
.footer .wave { position: absolute; left: 0; top: -89px; width: 100%; height: 90px; fill: #1b2b5c; }
.footer-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h2 { font-size: 1.05rem; color: var(--sun); margin-bottom: .6em; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: .3em 0; }
.footer a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--sun); }
.footer-brand img { width: 130px; margin-bottom: 10px; }
.copy { max-width: var(--wrap); margin: 20px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #9fb0e0; }

/* ---------- consent + language hint ---------- */
.consent, .lang-hint { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); background: var(--white);
  border-radius: 24px; box-shadow: 0 18px 50px rgba(29, 43, 90, .3); }
.consent { bottom: 12px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.consent[hidden], .lang-hint[hidden], body:has(.lang-menu[open]) .lang-hint { display: none; }
.consent p { margin: 0; font-size: .92rem; line-height: 1.4; }
.consent div { display: flex; gap: 8px; flex: none; }
.lang-hint { top: 90px; padding: 10px 46px 10px 18px; font-weight: 700; font-size: .95rem; animation: drop .5s cubic-bezier(.3, 1.4, .5, 1); }
.lang-hint button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef4ff; cursor: pointer; font-size: 18px; line-height: 1; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1.2); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- classic hero (the original harry-games.com banner, animated) ---------- */
@font-face { font-family: "Nord"; font-weight: 700; font-style: normal; font-display: swap; src: url(/static/fonts/Nord-Bold.woff2) format("woff2"); }
.hero-classic { position: relative; z-index: 5; height: max(640px, min(815px, 100svh)); overflow: hidden;
  background: #4fb6f5 url(/static/img/hero/main-sky.webp) center / cover no-repeat; }
.hc-cloud { position: absolute; z-index: 2; height: auto; pointer-events: none; transition: transform .25s linear; }
.hc-cloud1 { width: 230px; left: 8%; top: 13%; animation: cloud-a 14s ease-in-out infinite; }
.hc-cloud2 { width: 160px; right: 8%; bottom: 38%; animation: cloud-b 18s ease-in-out infinite; }
.hc-cloud3 { width: 150px; right: 12%; top: 13%; animation: cloud-b 12s ease-in-out infinite -4s; }
.hero-classic .plane { z-index: 1; top: 22%; width: 170px; animation-duration: 34s; animation-delay: -6s; }
.hc-in { position: relative; z-index: 3; max-width: 1170px; height: 100%; margin: 0 auto; padding: 120px 15px 0; display: grid; grid-template-columns: 1fr 1fr; }
.hc-img { display: flex; align-items: flex-end; justify-content: center; }
.hc-harry { width: 100%; max-width: 555px; margin-bottom: 2%; padding: 0; border: 0; background: none; cursor: pointer;
  animation: hc-rise 1.1s cubic-bezier(.3, 1.5, .5, 1) both .2s, hc-bob 4.5s ease-in-out infinite 1.4s; transform-origin: 50% 100%; }
.hc-harry img { width: 100%; filter: drop-shadow(0 14px 18px rgba(0, 40, 90, .2)); }
.hc-desc { display: flex; align-items: center; justify-content: center; }
.hc-title { margin: 0; font-family: "Nord", "Nunito", sans-serif; font-weight: 700; font-size: clamp(44px, 6.3vw, 80px); line-height: 1.15;
  text-align: center; text-transform: uppercase; color: var(--white); text-shadow: 0 5px 0 rgba(14, 80, 160, .28); letter-spacing: .01em; }
.hc-word { display: block; white-space: nowrap; }
.hc-yellow { color: #ffec48; }
.hc-l { display: inline-block; animation: hc-drop .8s cubic-bezier(.3, 1.6, .5, 1) both, hc-wave 6s ease-in-out infinite;
  animation-delay: calc(.6s + var(--i) * .06s), calc(2.4s + var(--i) * .08s); }
.hc-title:hover .hc-l { animation: hc-hop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * .03s); }
.hc-grass { position: absolute; z-index: 4; left: -5%; bottom: 0; width: 110%; max-width: none; height: auto; min-width: 1500px;
  translate: 0 45%; transform-origin: 50% 100%; animation: hc-grass 5s ease-in-out infinite; pointer-events: none; }
.hc-stars i { position: absolute; z-index: 1; width: 20px; height: 19px; background: url(/static/img/hero/star.webp) center / contain no-repeat; animation: twinkle 3s ease-in-out infinite; }
.hc-stars .s1 { left: 20%; top: 30%; } .hc-stars .s2 { left: 34%; top: 18%; animation-delay: -1s; scale: .7; }
.hc-stars .s3 { left: 46%; top: 40%; animation-delay: -2s; } .hc-stars .s4 { left: 58%; top: 16%; animation-delay: -.5s; scale: .6; }
.hc-stars .s5 { left: 70%; top: 66%; animation-delay: -1.6s; } .hc-stars .s6 { left: 86%; top: 52%; animation-delay: -2.4s; scale: .8; }
.hc-stars .s7 { left: 10%; top: 50%; animation-delay: -.8s; scale: .6; } .hc-stars .s8 { left: 92%; top: 30%; animation-delay: -1.2s; }
.hc-down { position: absolute; z-index: 6; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); animation: hc-down 1.8s ease-in-out infinite; }
.hc-down span { position: absolute; left: 50%; top: 45%; width: 14px; height: 14px; border: solid var(--orange-d); border-width: 0 4px 4px 0; border-radius: 2px; translate: -50% -50%; rotate: 45deg; }
.hero-classic + .trust { margin-top: 30px; }

@keyframes cloud-a { 50% { translate: 40px 6px; } }
@keyframes cloud-b { 50% { translate: -36px -6px; } }
@keyframes hc-rise { from { opacity: 0; transform: translateY(45%) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes hc-bob { 50% { translate: 0 -12px; rotate: -1.5deg; } }
@keyframes hc-drop { from { opacity: 0; transform: translateY(-90px) rotate(-20deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hc-wave { 0%, 80%, 100% { translate: 0 0; } 86% { translate: 0 -14px; } 92% { translate: 0 3px; } }
@keyframes hc-hop { 50% { transform: translateY(-16px) rotate(-6deg); } }
@keyframes hc-grass { 50% { transform: skewX(-1.5deg) scaleY(1.03); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
@keyframes hc-down { 50% { translate: 0 8px; } }

@media (max-width: 1700px) { .hc-cloud2 { display: none; } }
@media (max-width: 991px) {
  .hero-classic { height: auto; }
  .hc-in { grid-template-columns: 1fr; padding-top: 130px; }
  .hc-desc { order: -1; min-height: 160px; }
  .hc-img { height: 386px; }
  .hc-harry { width: auto; height: 100%; }
  .hc-harry img { width: auto; height: 100%; margin: 0 auto; }
  .hc-cloud1 { left: -15%; } .hc-cloud3 { right: -8%; } .hc-cloud2 { display: none; }
  .hc-down { display: none; }
}
@media (max-width: 600px) { .hc-cloud1 { left: -25%; } .hc-cloud3 { right: -15%; } .hc-img { height: 320px; } }

/* ---------- keyframes ---------- */
@keyframes drift { from { translate: 0 0; } to { translate: calc(100vw + 400px) 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.06); } }
@keyframes bob { 50% { translate: 0 -16px; } }
@keyframes sway { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@keyframes drive { 0%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: 6px -6px; rotate: -2deg; } 75% { translate: -6px -2px; rotate: 1deg; } }
@keyframes wiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -4deg; } 90% { rotate: 4deg; } 95% { rotate: -2deg; } }
@keyframes fly { 0% { translate: -320px 40px; } 25% { translate: 25vw -10px; } 50% { translate: 50vw 50px; } 75% { translate: 75vw 0; } 100% { translate: calc(100vw + 320px) 30px; } }
@keyframes rise { 0% { translate: 0 0; rotate: -5deg; } 25% { rotate: 5deg; } 50% { rotate: -5deg; } 75% { rotate: 5deg; } 100% { translate: 20px calc(-100vh - 600px); rotate: -5deg; } }
@keyframes popit { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .8; } 100% { transform: scale(.2); opacity: 0; } }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(540deg); opacity: 0; } }
@keyframes note { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 100% { translate: 40px -160px; opacity: 0; rotate: 25deg; } }
@keyframes jump { 0% { transform: translateY(0); } 40% { transform: translateY(-60px) rotate(-8deg) scale(1.05); } 70% { transform: translateY(0) scale(1.08, .92); } 100% { transform: none; } }
@keyframes drop { from { transform: translate(-50%, -30px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-in, .game-hero-in, .meet-in { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 130px; }
  .hero-art { min-height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .trust-list, .stats ul { grid-template-columns: repeat(2, 1fr); }
  .game-card, .game-card:nth-child(even) { grid-template-columns: 1fr; padding: 28px; }
  .game-card:nth-child(even) .game-card-text { order: 0; }
  .mini-list { grid-template-columns: 1fr; }
  .page-wrap.has-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .meet-art { order: 2; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu-btn { display: block; }
  .topbar-in { border-radius: 30px; flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
  .nav.open { display: flex; }
  .nav > a { padding: .7em 1em; font-size: 1.1rem; }
  .lang-menu { margin: 6px 0 0; align-self: flex-start; }
  .lang-list { position: static; grid-template-columns: repeat(2, 1fr); width: auto; margin-top: 8px; box-shadow: inset 0 0 0 2px #e4ecfb; }
  .lang-list::before { display: none; }
  .sun { width: 80px; height: 80px; top: 90px; right: 6%; }
  .plane { width: 150px; top: 90px; }
  .parents-in { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .parents-plane { width: 120px; margin: 0 auto; }
  .parents-in .hero-cta { justify-content: center; }
  .page-hero-art { display: none; }
  .consent { flex-direction: column; align-items: stretch; }
  .consent div { justify-content: flex-end; }
  .game-hero { padding-bottom: 110px; }
}
@media (max-width: 480px) {
  .trust-list { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .game-title { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .plane, .balloons, .clouds, .hc-stars { display: none; }
  .hc-l, .hc-harry { opacity: 1 !important; transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
