:root {
  --v37-blue: #096fe8;
  --v37-blue-dark: #073c92;
  --v37-sky: #62c9ff;
  --v37-green: #20b85a;
  --v37-pink: #f33f83;
  --v37-yellow: #ffb51b;
  --v37-purple: #8e4ce9;
  --v37-ink: #0a316f;
  --v37-text: #24425f;
  --v37-cream: #fffaf0;
  --v37-white: #fff;
  --v37-panel: rgba(255, 255, 255, .96);
  --v37-line: rgba(10, 49, 111, .12);
  --v37-shadow: 0 24px 60px rgba(11, 65, 126, .18);
  --v37-soft-shadow: 0 12px 30px rgba(11, 65, 126, .12);
  --v37-radius: 30px;
  --v37-font: "Nunito Sans", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--v37-text);
  background:
    radial-gradient(circle at 7% 5%, rgba(255,255,255,.9), transparent 24rem),
    linear-gradient(180deg, #dff5ff 0, #f8fcff 38rem, #fffaf3 100%);
  font-family: var(--v37-font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1380px, calc(100% - 36px)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--v37-ink);
  font-weight: 900;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Shared floating navigation */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.site-header .nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 8px 13px 8px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 29px;
  box-shadow: 0 13px 38px rgba(8,64,125,.18), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
  transition: min-height .2s ease, margin-top .2s ease, box-shadow .2s ease;
}
.site-header.scrolled .nav-wrap {
  min-height: 70px;
  margin-top: 7px;
  box-shadow: 0 10px 30px rgba(8,64,125,.23);
}
.brand {
  width: auto !important;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.brand img {
  display: block;
  width: 224px;
  height: auto;
  max-width: none;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 4px rgba(0,72,161,.12));
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-left: auto;
}
.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 15px;
  color: var(--v37-ink);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .018em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { background: #eef7ff; color: var(--v37-blue); transform: translateY(-1px); }
.main-nav a.active { background: linear-gradient(180deg,#dff4ff,#c6eaff); color: #0754b5; box-shadow: inset 0 0 0 1px #b9e3fb; }
.nav-actions { display: flex; align-items: center; gap: 7px; }
.nav-icon,
.nav-youtube {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 0;
  border-radius: 15px;
  background: #f2f8ff;
  color: var(--v37-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav-icon:hover,
.nav-icon:focus-visible,
.nav-youtube:hover,
.nav-youtube:focus-visible { transform: translateY(-2px); background: #e1f2ff; box-shadow: 0 7px 16px rgba(0,99,205,.14); }
.nav-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon-youtube { background: #ffedf1; color: #e8223f; }
.nav-icon-youtube svg { fill: currentColor; stroke: none; }
.nav-youtube { width: auto; padding-inline: 15px; color: white; background: linear-gradient(180deg,#ff4661,#e61937); font-weight: 900; font-size: .82rem; }
.nav-youtube svg { width: 18px; height: 18px; margin-left: 5px; fill: currentColor; }
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--v37-pink);
  color: white;
  font-size: 11px;
  font-weight: 900;
}
.menu-toggle { display: none; }

/* Shared buttons */
.v37-button,
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 17px;
  font-weight: 900;
  letter-spacing: .015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.v37-button:hover,
.v37-button:focus-visible,
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); filter: saturate(1.07); }
.v37-button svg { width: 22px; height: 22px; }
.v37-button.green { color: white; background: linear-gradient(180deg,#38d86f,#12aa4d); box-shadow: 0 9px 0 #087b35, 0 15px 24px rgba(8,123,53,.24); }
.v37-button.pink { color: white; background: linear-gradient(180deg,#ff5c91,#ee2d72); box-shadow: 0 9px 0 #be1752, 0 15px 24px rgba(190,23,82,.22); }
.v37-button.yellow { color: #5f3700; background: linear-gradient(180deg,#ffd76b,#ffae13); box-shadow: 0 9px 0 #d47a05, 0 15px 24px rgba(212,122,5,.22); }
.v37-button.purple { color: white; background: linear-gradient(180deg,#aa67f4,#7e3eda); box-shadow: 0 9px 0 #5722ad, 0 15px 24px rgba(87,34,173,.22); }
.v37-button.blue,
.btn-primary { color: white !important; background: linear-gradient(180deg,#2ca8ff,#0875e7) !important; box-shadow: 0 8px 0 #0756ad, 0 14px 23px rgba(7,86,173,.2) !important; }
.btn-outline,
.btn-light { color: var(--v37-blue-dark) !important; border: 2px solid #cfe9fb !important; background: white !important; box-shadow: 0 8px 18px rgba(14,83,143,.08) !important; }

/* Home world */
.home-v37 { background: #e3f7ff; }
.world-map-home {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #66cfff;
}
.world-map-home::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,85,158,.1) 0, transparent 26%, transparent 72%, rgba(0,35,75,.28) 100%),
    radial-gradient(circle at 50% 46%, transparent 35%, rgba(0,50,90,.08) 100%);
}
.world-map-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.world-map-content { position: relative; z-index: 3; min-height: inherit; padding-top: 112px; }
.world-intro {
  position: absolute;
  top: 116px;
  left: 50%;
  transform: translateX(-50%);
  width: min(580px, 44vw);
  text-align: center;
  filter: drop-shadow(0 9px 10px rgba(0,35,80,.2));
}
.world-intro h1 { margin: 0; color: white; font-size: clamp(2rem,4vw,4rem); line-height: .96; letter-spacing: -.045em; text-shadow: 0 4px 0 #0969c9, 0 8px 18px rgba(0,47,112,.36); }
.world-intro p { display: inline-block; margin: 10px 0 0; padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--v37-ink); font-size: clamp(.92rem,1.3vw,1.15rem); font-weight: 900; box-shadow: var(--v37-soft-shadow); }
.map-character { position: absolute; z-index: 3; pointer-events: none; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(0,48,70,.27)); }
.map-character.minico { left: 2.5%; bottom: 14%; width: clamp(150px,18vw,295px); }
.map-character.poncik { left: 27%; top: 28%; width: clamp(110px,12vw,205px); }
.map-character.zuzu { left: 58.5%; top: 21%; width: clamp(95px,10vw,170px); }
.map-character.kopuk { right: 7.5%; bottom: 17%; width: clamp(115px,13vw,220px); }
.map-zone {
  position: absolute;
  z-index: 4;
  min-width: 148px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px 11px 13px;
  border: 3px solid #6f3409;
  border-radius: 17px 13px 18px 12px;
  color: #fff7dc;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08),transparent 22%,rgba(255,255,255,.1) 67%,transparent),
    linear-gradient(180deg,#a65b20,#733709);
  box-shadow: inset 0 0 0 2px #ca7a31, 0 8px 0 #4f2508, 0 14px 24px rgba(23,49,24,.28);
  text-decoration: none;
  transform-origin: center;
  transition: transform .2s ease, filter .2s ease;
}
.map-zone::before,
.wood-title::before { content: ""; width: 7px; height: 7px; position: absolute; left: 8px; top: 8px; border-radius: 50%; background: #edbb73; box-shadow: inset 0 1px 2px #694014; }
.map-zone::after,
.wood-title::after { content: ""; width: 7px; height: 7px; position: absolute; right: 8px; top: 8px; border-radius: 50%; background: #edbb73; box-shadow: inset 0 1px 2px #694014; }
.map-zone:hover,
.map-zone:focus-visible { transform: translateY(-5px) rotate(0deg) scale(1.03); filter: brightness(1.08); }
.map-zone .zone-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: white; background: rgba(255,255,255,.17); }
.map-zone svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.map-zone strong { display: block; font-size: 1.14rem; line-height: 1; text-shadow: 0 2px 1px rgba(53,21,0,.35); }
.map-zone small { display: block; margin-top: 3px; color: #ffe9b3; font-size: .72rem; font-weight: 800; }
.map-zone.games { left: 31%; top: 39%; transform: rotate(-2deg); }
.map-zone.songs { right: 30%; top: 36%; transform: rotate(2deg); }
.map-zone.education { left: 46%; bottom: 23%; transform: rotate(1deg); }
.map-zone.shop { right: 9%; bottom: 30%; transform: rotate(-2deg); }
.world-dock {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(1390px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(4, minmax(150px,1fr)) minmax(230px,1.2fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 45px rgba(0,45,90,.26), inset 0 1px 0 #fff;
  backdrop-filter: blur(13px);
}
.world-dock .v37-button { min-height: 64px; font-size: 1.05rem; box-shadow: 0 6px 0 rgba(0,0,0,.18),0 11px 18px rgba(0,50,100,.12); }
.play-badge {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  border: 2px solid #c9e7fa;
  border-radius: 18px;
  background: white;
  color: var(--v37-ink);
  font-weight: 900;
  text-decoration: none;
}
.play-badge-mark { width: 34px; height: 38px; position: relative; clip-path: polygon(0 0,100% 50%,0 100%); background: linear-gradient(145deg,#28c35b 0 36%,#ffca19 36% 65%,#e83f42 65%); }
.play-badge span { display: block; font-size: .72rem; line-height: 1.1; }
.play-badge strong { display: block; font-size: 1rem; line-height: 1.2; }

/* Home content */
.home-story { position: relative; padding: 78px 0 92px; background: linear-gradient(180deg,#e7f8ff,#fffdf8 45%,#eefbea); }
.home-story::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#24a7ed 1px,transparent 1px); background-size: 24px 24px; }
.home-story > * { position: relative; }
.section-kicker { margin: 0 0 7px; color: var(--v37-blue); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--v37-ink); font-size: clamp(2rem,4vw,3.5rem); line-height: 1.03; letter-spacing: -.04em; }
.section-lead { max-width: 670px; margin: 12px 0 0; font-size: 1.08rem; }
.home-bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 18px; margin-top: 34px; }
.home-bento-card { position: relative; overflow: hidden; min-height: 240px; border-radius: 29px; background: white; box-shadow: var(--v37-soft-shadow); text-decoration: none; isolation: isolate; }
.home-bento-card:first-child { grid-row: span 2; }
.home-bento-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.home-bento-card:hover img { transform: scale(1.035); }
.home-bento-card::after { content: ""; position: absolute; z-index: 1; inset: 30% 0 0; background: linear-gradient(transparent,rgba(2,27,56,.84)); }
.home-bento-card .card-copy { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: white; }
.home-bento-card h3 { margin: 0; font-size: clamp(1.35rem,2vw,2rem); line-height: 1.06; }
.home-bento-card p { margin: 5px 0 0; color: rgba(255,255,255,.9); font-weight: 700; }
.app-ribbon-v37 { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 24px; padding: 18px 22px; border: 1px solid #cce8f8; border-radius: 25px; background: white; box-shadow: var(--v37-soft-shadow); }
.app-ribbon-v37 .app-icon { width: 68px; height: 68px; border-radius: 18px; object-fit: cover; }
.app-ribbon-v37 h3 { margin: 0; color: var(--v37-ink); font-size: 1.35rem; }
.app-ribbon-v37 p { margin: 3px 0 0; }
.trust-row-v37 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.trust-item-v37 { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; border-radius: 18px; background: rgba(255,255,255,.78); color: var(--v37-ink); font-weight: 800; }
.trust-item-v37 svg { width: 24px; height: 24px; color: var(--v37-green); fill: none; stroke: currentColor; stroke-width: 2.2; }

/* Inner-page shared world treatment */
.v37-main { min-height: 100vh; padding-top: 98px; background: linear-gradient(180deg,#d9f4ff 0,#f8fdff 480px,#fffaf4 100%); }
.v37-inner-hero { position: relative; min-height: 455px; display: flex; align-items: flex-end; overflow: hidden; margin-top: -98px; padding: 142px 0 42px; isolation: isolate; background: #68ccff; }
.v37-inner-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: var(--hero-image, url('/assets-v37/images/world-map-clean.webp')); background-size: cover; background-position: center; }
.v37-inner-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(2,41,80,.64),rgba(2,41,80,.12) 56%,rgba(2,41,80,.2)),linear-gradient(0deg,rgba(0,45,85,.4),transparent 52%); }
.v37-inner-hero .hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wood-title { position: relative; display: inline-block; padding: 14px 28px 17px; border: 4px solid #6b3109; border-radius: 23px 18px 24px 17px; color: #fff5d5; background: linear-gradient(180deg,#aa642d,#773806); box-shadow: inset 0 0 0 2px #d38a43,0 10px 0 #4e2305,0 20px 34px rgba(0,38,63,.3); font-size: clamp(2.25rem,5vw,4.6rem); line-height: .95; letter-spacing: -.045em; text-shadow: 0 4px 2px rgba(53,21,0,.42); }
.hero-copy-v37 { max-width: 640px; color: white; }
.hero-copy-v37 p { max-width: 580px; margin: 20px 0 0; font-size: clamp(1rem,1.6vw,1.25rem); font-weight: 800; text-shadow: 0 2px 8px rgba(0,32,63,.65); }
.hero-actions-v37 { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 23px; }
.hero-mascot-v37 { align-self: flex-end; max-width: 330px; max-height: 340px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0,43,73,.35)); }
.world-panel-v37 { position: relative; z-index: 2; margin: -26px auto 70px; padding: clamp(22px,3.5vw,46px); border: 1px solid rgba(255,255,255,.9); border-radius: 38px; background: var(--v37-panel); box-shadow: var(--v37-shadow); }
.panel-head-v37 { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 27px; }
.panel-head-v37 h2 { margin: 0; color: var(--v37-ink); font-size: clamp(1.8rem,3.2vw,3rem); line-height: 1; letter-spacing: -.035em; }
.panel-head-v37 p { max-width: 620px; margin: 8px 0 0; }
.filter-pills-v37 { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-pill-v37 { min-height: 44px; padding: 0 18px; border: 1px solid #cbe5f7; border-radius: 999px; color: var(--v37-ink); background: #f5fbff; font-weight: 900; cursor: pointer; }
.filter-pill-v37:hover,
.filter-pill-v37:focus-visible,
.filter-pill-v37.active { color: white; border-color: var(--v37-blue); background: linear-gradient(180deg,#2ca8ff,#0875e7); box-shadow: 0 8px 17px rgba(8,117,231,.2); }
[data-filter-item][hidden] { display: none !important; }

/* Games */
.game-grid-v37 { display: grid; grid-template-columns: repeat(2,1fr); gap: 19px; }
.game-card-v37 { position: relative; min-height: 280px; overflow: hidden; border-radius: 27px; color: white; background: #0b6ec7; box-shadow: var(--v37-soft-shadow); text-decoration: none; isolation: isolate; }
.game-card-v37 img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.game-card-v37::after { content: ""; position: absolute; z-index: 1; inset: 33% 0 0; background: linear-gradient(transparent,rgba(0,28,57,.88)); }
.game-card-v37:hover img { transform: scale(1.04); }
.game-card-v37 .game-copy-v37 { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.game-card-v37 h3 { max-width: 70%; margin: 0; font-size: clamp(1.35rem,2.5vw,2rem); line-height: 1.04; }
.game-play-v37 { flex: 0 0 auto; min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 16px; color: white; background: linear-gradient(#36d76e,#11a94b); box-shadow: 0 5px 0 #087c34; font-weight: 900; }

/* Characters */
.character-grid-v37 { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
.character-card-v37 { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--v37-line); border-radius: 26px; background: var(--tone,#eff8ff); box-shadow: 0 10px 24px rgba(12,70,115,.09); }
.character-card-v37:nth-child(6n+1){--tone:#e8f5ff}.character-card-v37:nth-child(6n+2){--tone:#fff0f6}.character-card-v37:nth-child(6n+3){--tone:#fff6d9}.character-card-v37:nth-child(6n+4){--tone:#e9faec}.character-card-v37:nth-child(6n+5){--tone:#f1ebff}.character-card-v37:nth-child(6n){--tone:#fff0e5}
.character-card-v37 .portrait { height: 255px; display: grid; place-items: end center; overflow: hidden; background: radial-gradient(circle at 50% 78%,rgba(255,255,255,.94),transparent 55%); }
.character-card-v37 .portrait img { width: 92%; height: 96%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 13px 10px rgba(30,70,80,.14)); transition: transform .35s ease; }
.character-card-v37:hover .portrait img { transform: translateY(-4px) scale(1.025); }
.character-card-v37 .character-copy-v37 { flex: 1; padding: 18px 19px 20px; background: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.92); }
.character-card-v37 h3 { margin: 0; color: var(--v37-ink); font-size: 1.45rem; }
.character-card-v37 p { margin: 7px 0 0; font-size: .92rem; line-height: 1.45; }

/* Shop */
.shop-hero-product-v37 { max-width: 560px; max-height: 350px; border-radius: 27px; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(66,41,16,.3)); }
.shop-trust-v37 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0 0 24px; }
.shop-trust-v37 span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 12px; border-radius: 16px; background: #f3fbf6; color: #195a33; font-weight: 900; text-align: center; }
.shop-toolbar-v37 { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.shop-search-v37 { position: relative; min-width: min(390px,100%); }
.shop-search-v37 input { width: 100%; min-height: 48px; padding: 0 18px 0 47px; border: 2px solid #d6e9f6; border-radius: 16px; outline: none; color: var(--v37-ink); background: #fbfdff; }
.shop-search-v37 svg { width: 21px; height: 21px; position: absolute; top: 14px; left: 16px; fill: none; stroke: var(--v37-blue); stroke-width: 2.2; }
.product-grid-v37 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card-v37 { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--v37-line); border-radius: 26px; background: white; box-shadow: 0 11px 27px rgba(21,73,111,.1); }
.product-card-v37 .product-image-v37 { height: 280px; display: grid; place-items: center; padding: 12px; overflow: hidden; background: linear-gradient(155deg,#fffef9,#f8fafc); }
.product-card-v37 .product-image-v37 img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card-v37:hover .product-image-v37 img { transform: scale(1.03); }
.product-card-v37 .product-copy-v37 { flex: 1; display: flex; flex-direction: column; padding: 19px; }
.product-card-v37 h3 { margin: 0; color: var(--v37-ink); font-size: 1.3rem; }
.product-card-v37 p { margin: 7px 0 16px; font-size: .91rem; }
.product-card-v37 .shop-price-row-v34 { margin-top: auto; }
.product-card-v37 .product-actions-v37 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.product-card-v37 .product-actions-v37 .btn { min-width: 0; padding-inline: 10px; font-size: .81rem; }

/* Songs and education */
.feature-player-v37 { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); overflow: hidden; border-radius: 30px; background: #071b4b; box-shadow: var(--v37-soft-shadow); }
.feature-player-v37 .player-image { min-height: 350px; position: relative; }
.feature-player-v37 .player-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.feature-player-v37 .player-copy { display: flex; flex-direction: column; justify-content: center; padding: 35px; color: white; background: radial-gradient(circle at top right,#6b42ce,transparent 60%),linear-gradient(150deg,#09296d,#071b4b); }
.feature-player-v37 h2 { margin: 0; font-size: clamp(2rem,3.5vw,3.4rem); line-height: 1; }
.feature-player-v37 p { margin: 10px 0 22px; color: #ddebff; }
.music-grid-v37,
.education-grid-v37 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.media-card-v37 { overflow: hidden; border: 1px solid var(--v37-line); border-radius: 24px; background: white; box-shadow: 0 10px 25px rgba(14,64,110,.09); }
.media-card-v37 .media-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #ddecf7; }
.media-card-v37 .media-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card-v37:hover .media-image img { transform: scale(1.035); }
.media-card-v37 .play-circle { width: 56px; height: 56px; position: absolute; left: 50%; top: 50%; display: grid; place-items: center; transform: translate(-50%,-50%); border: 3px solid rgba(255,255,255,.9); border-radius: 50%; color: white; background: rgba(0,31,72,.62); backdrop-filter: blur(5px); }
.media-card-v37 .play-circle svg { width: 26px; height: 26px; fill: currentColor; }
.media-card-v37 .media-copy { padding: 17px 18px 19px; }
.media-card-v37 h3 { margin: 0; color: var(--v37-ink); font-size: 1.13rem; line-height: 1.22; }
.media-card-v37 p { margin: 7px 0 0; font-size: .9rem; }
.media-card-v37 .media-tag { display: inline-flex; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; color: #12633a; background: #e5f8eb; font-size: .72rem; font-weight: 900; }
.education-categories-v37 { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin: 25px 0 12px; }
.education-category-v37 { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; padding: 20px; border-radius: 25px; color: white; text-decoration: none; background: var(--cat,#2589e8); box-shadow: 0 9px 21px rgba(15,76,124,.13); }
.education-category-v37:nth-child(2){--cat:#e74778}.education-category-v37:nth-child(3){--cat:#f09918}.education-category-v37:nth-child(4){--cat:#824bcf}
.education-category-v37 strong { position: relative; z-index: 1; font-size: 1.35rem; }
.education-category-v37 span { position: absolute; right: 14px; top: 8px; font-size: 4.4rem; opacity: .25; }
.story-grid-v37 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 26px; }
.story-card-v37 { min-height: 260px; display: grid; grid-template-columns: 42% 1fr; overflow: hidden; border-radius: 25px; background: #fff5df; box-shadow: var(--v37-soft-shadow); text-decoration: none; }
.story-card-v37 img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.story-card-v37 div { align-self: center; padding: 20px 18px 20px 2px; }
.story-card-v37 h3 { margin: 4px 0 0; color: var(--v37-ink); line-height: 1.12; }
.story-card-v37 small { color: #9a5b09; font-weight: 900; }

/* Contact */
.contact-layout-v37 { display: grid; grid-template-columns: 1.07fr .93fr; gap: 28px; }
.contact-form-v37 { padding: 27px; border: 1px solid #d9eaf6; border-radius: 27px; background: #fbfdff; }
.contact-form-v37 h2,
.contact-options-v37 h2 { margin: 0 0 6px; color: var(--v37-ink); font-size: 2rem; }
.contact-form-v37 > p,
.contact-options-v37 > p { margin: 0 0 20px; }
.form-grid-v37 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-v37 { display: grid; gap: 6px; }
.field-v37.full { grid-column: 1/-1; }
.field-v37 label { color: var(--v37-ink); font-size: .84rem; font-weight: 900; }
.field-v37 input,
.field-v37 select,
.field-v37 textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid #d9e8f3; border-radius: 15px; color: var(--v37-text); background: white; outline: none; }
.field-v37 textarea { min-height: 145px; resize: vertical; }
.field-v37 input:focus,
.field-v37 select:focus,
.field-v37 textarea:focus { border-color: #67baf5; box-shadow: 0 0 0 4px rgba(21,139,226,.1); }
.contact-options-v37 { display: grid; align-content: start; gap: 12px; }
.contact-option-v37 { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; min-height: 92px; padding: 14px 17px; border: 1px solid #d8e8f4; border-radius: 20px; background: white; color: var(--v37-ink); text-decoration: none; }
.contact-option-v37 .option-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: white; background: var(--option,#197ee8); font-size: 1.45rem; }
.contact-option-v37:nth-of-type(2){--option:#1dad55}.contact-option-v37:nth-of-type(3){--option:#8849db}
.contact-option-v37 strong { display: block; }
.contact-option-v37 small { display: block; color: #537089; }
.contact-address-v37 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.contact-address-v37 a,
.contact-address-v37 span { min-height: 64px; display: flex; align-items: center; padding: 12px 16px; border-radius: 17px; background: #edf8ff; color: var(--v37-ink); font-weight: 800; text-decoration: none; }
.safety-note-v37 { margin-top: 17px; padding: 13px 16px; border-radius: 16px; color: #725e1f; background: #fff8d9; font-size: .88rem; font-weight: 800; }

/* Existing detail, cart, checkout and legal pages receive the same shell */
body:has(.product-detail-hero-v25),
body:has(.store-shell-v3519),
body:has(.checkout-shell-v3519),
body:has(.legal-copy),
body:has(.admin-shell-v3519) { background: linear-gradient(180deg,#dff5ff,#fffaf2 36rem); }
.page-hero:not(.image-hero),
.store-shell-v3519,
.checkout-shell-v3519,
.admin-shell-v3519 { padding-top: 132px !important; }
.product-detail-hero-v25,
.tamtam-overview-hero-v25,
.legal-hero { background: linear-gradient(145deg,#137ed8,#68d1ff) !important; }
.product-detail-info-v25 .container,
.product-spec-section-v3522 .container,
.v25-detail-gallery .container,
.product-faq-v34 .container,
.store-shell-v3519,
.checkout-shell-v3519,
.legal-copy,
.merged-contact-wrap { border-radius: 30px; }
.cart-card-v3519,
.summary-card-v3519,
.checkout-card-v3519,
.legal-copy { border: 1px solid var(--v37-line) !important; background: rgba(255,255,255,.96) !important; box-shadow: var(--v37-soft-shadow) !important; }
.minico-cart-fab { bottom: 18px !important; right: 18px !important; border: 2px solid white !important; border-radius: 19px !important; background: linear-gradient(180deg,#2ca8ff,#0875e7) !important; box-shadow: 0 12px 30px rgba(7,86,173,.3) !important; }

/* Search overlay */
.search-overlay-v37 { position: fixed; z-index: 5000; inset: 0; display: none; align-items: flex-start; justify-content: center; padding: 9vh 18px 30px; background: rgba(1,27,59,.72); backdrop-filter: blur(11px); }
.search-overlay-v37.open { display: flex; }
.search-dialog-v37 { width: min(720px,100%); overflow: hidden; border-radius: 28px; background: white; box-shadow: 0 28px 80px rgba(0,18,47,.45); }
.search-head-v37 { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px; border-bottom: 1px solid #deebf5; }
.search-head-v37 input { width: 100%; min-height: 54px; padding: 0 18px; border: 2px solid #cfe4f3; border-radius: 17px; outline: none; color: var(--v37-ink); font-size: 1.05rem; font-weight: 700; }
.search-head-v37 button { width: 54px; border: 0; border-radius: 17px; color: var(--v37-ink); background: #edf7ff; cursor: pointer; font-size: 1.4rem; }
.search-results-v37 { max-height: 58vh; overflow: auto; display: grid; gap: 8px; padding: 14px; }
.search-result-v37 { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; color: var(--v37-ink); background: #f6fbff; text-decoration: none; }
.search-result-v37:hover { background: #e9f6ff; }
.search-result-v37 span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--v37-blue); }
.search-empty-v37 { padding: 30px; text-align: center; color: #61758a; }

/* Footer */
.site-footer { position: relative; padding: 58px 0 22px !important; color: #dbeaff !important; background: linear-gradient(145deg,#062b68,#041d4a) !important; border: 0 !important; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 12px; background: linear-gradient(90deg,#2cb95f,#2aa5ed,#f3b51d,#ee4680,#8853dd); }
.footer-grid { display: grid !important; grid-template-columns: 1.2fr repeat(3,1fr); gap: 42px !important; }
.footer-brand img { width: 92px !important; height: 92px !important; border-radius: 23px; }
.site-footer h2 { margin: 0 0 13px !important; color: white !important; font-size: 1rem !important; }
.site-footer a { color: #dbeaff !important; text-decoration: none !important; }
.site-footer a:hover { color: white !important; }
.site-footer p { color: #b9cee9 !important; }
.footer-bottom { margin-top: 35px !important; padding-top: 20px !important; border-top: 1px solid rgba(255,255,255,.15) !important; }

/* Responsive */
@media (max-width: 1220px) {
  .brand img { width: 185px; }
  .main-nav a { padding-inline: 9px; font-size: .76rem; }
  .nav-actions { gap: 4px; }
  .nav-icon { width: 42px; height: 42px; min-width: 42px; }
  .character-grid-v37 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1020px) {
  .site-header .nav-wrap { min-height: 72px; margin-top: 8px; }
  .brand img { width: 170px; }
  .menu-toggle { width: 46px; height: 46px; display: grid !important; place-content: center; gap: 5px; margin-left: auto; border: 0; border-radius: 15px; background: #edf7ff; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 3px; display: block; border-radius: 4px; background: var(--v37-ink); }
  .main-nav { position: fixed; z-index: 1100; top: 88px; left: 18px; right: 18px; max-height: calc(100vh - 108px); overflow: auto; display: none; flex-direction: column; align-items: stretch; gap: 5px; padding: 14px; border: 1px solid #d8ebf8; border-radius: 24px; background: rgba(255,255,255,.98); box-shadow: 0 24px 60px rgba(0,40,80,.28); }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 50px; justify-content: center; font-size: .88rem; }
  .nav-actions { margin-left: 0; }
  .world-intro { width: min(560px,70vw); }
  .map-zone.games { left: 28%; }
  .map-zone.songs { right: 23%; }
  .map-zone.education { left: 39%; }
  .map-zone.shop { right: 5%; }
  .world-dock { grid-template-columns: repeat(4,1fr); }
  .world-dock .play-badge { grid-column: 1/-1; min-height: 50px; }
  .home-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 230px 230px; }
  .home-bento-card:first-child { grid-column: 1/-1; grid-row: auto; }
  .product-grid-v37,
  .music-grid-v37,
  .education-grid-v37 { grid-template-columns: repeat(2,1fr); }
  .education-categories-v37 { grid-template-columns: repeat(2,1fr); }
  .story-grid-v37 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 24px, 680px); }
  .site-header .nav-wrap { width: calc(100% - 20px); min-height: 64px; padding: 7px 9px 7px 13px; border-radius: 22px; }
  .brand img { width: 136px; }
  .nav-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 13px; }
  .nav-icon-youtube { display: none; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 13px; }
  .world-map-home { min-height: 920px; }
  .world-map-background { object-position: 49% center; filter: saturate(.93); }
  .world-map-home::after { background: linear-gradient(180deg,rgba(0,45,92,.16),rgba(0,42,78,.03) 50%,rgba(0,33,68,.34)); }
  .world-intro { top: 92px; width: calc(100% - 42px); }
  .world-intro h1 { font-size: clamp(2.15rem,10vw,3.25rem); }
  .world-intro p { font-size: .88rem; }
  .map-character.minico { left: -5%; bottom: 28%; width: 190px; }
  .map-character.poncik { left: auto; right: -1%; top: 29%; width: 135px; }
  .map-character.zuzu,
  .map-character.kopuk { display: none; }
  .map-zone { min-width: 132px; padding: 10px 12px 10px 10px; }
  .map-zone .zone-icon { width: 35px; height: 35px; }
  .map-zone strong { font-size: .98rem; }
  .map-zone small { display: none; }
  .map-zone.games { left: 9%; top: 30%; }
  .map-zone.songs { right: 7%; top: 40%; }
  .map-zone.education { left: 20%; bottom: 38%; }
  .map-zone.shop { right: 5%; bottom: 29%; }
  .world-dock { bottom: 14px; width: calc(100% - 20px); grid-template-columns: 1fr 1fr; gap: 9px; padding: 10px; border-radius: 23px; }
  .world-dock .v37-button { min-height: 53px; padding: 0 10px; font-size: .9rem; border-radius: 15px; box-shadow: 0 4px 0 rgba(0,0,0,.17),0 8px 13px rgba(0,50,100,.11); }
  .world-dock .play-badge { grid-column: 1/-1; min-height: 48px; }
  .home-story { padding: 56px 0 65px; }
  .home-bento { grid-template-columns: 1fr; grid-template-rows: repeat(4,240px); }
  .home-bento-card:first-child { grid-column: auto; }
  .app-ribbon-v37 { grid-template-columns: auto 1fr; }
  .app-ribbon-v37 .v37-button { grid-column: 1/-1; }
  .trust-row-v37 { grid-template-columns: 1fr; }
  .v37-main { padding-top: 80px; }
  .v37-inner-hero { min-height: 470px; margin-top: -80px; padding: 110px 0 38px; }
  .v37-inner-hero .hero-inner { align-items: flex-end; }
  .hero-mascot-v37 { width: 160px; max-height: 230px; }
  .wood-title { padding: 12px 19px 15px; font-size: clamp(2rem,10vw,3.2rem); }
  .hero-copy-v37 p { font-size: .95rem; }
  .world-panel-v37 { width: calc(100% - 18px); margin-top: -19px; padding: 22px 14px 28px; border-radius: 27px; }
  .panel-head-v37 { align-items: flex-start; flex-direction: column; }
  .filter-pills-v37 { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-pill-v37 { flex: 0 0 auto; }
  .game-grid-v37,
  .character-grid-v37,
  .product-grid-v37,
  .music-grid-v37,
  .education-grid-v37,
  .contact-layout-v37 { grid-template-columns: 1fr; }
  .game-card-v37 { min-height: 230px; }
  .game-card-v37 .game-copy-v37 { align-items: flex-start; flex-direction: column; }
  .game-card-v37 h3 { max-width: 100%; }
  .character-card-v37 .portrait { height: 285px; }
  .shop-trust-v37 { grid-template-columns: 1fr; }
  .shop-toolbar-v37 { align-items: stretch; flex-direction: column; }
  .shop-search-v37 { min-width: 0; }
  .feature-player-v37 { grid-template-columns: 1fr; }
  .feature-player-v37 .player-image { min-height: 240px; }
  .feature-player-v37 .player-copy { padding: 26px 21px 30px; }
  .education-categories-v37 { grid-template-columns: 1fr 1fr; }
  .story-card-v37 { min-height: 220px; }
  .form-grid-v37,
  .contact-address-v37 { grid-template-columns: 1fr; }
  .field-v37.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { align-items: flex-start !important; flex-direction: column !important; }
}
@media (max-width: 430px) {
  .nav-actions .nav-icon:first-child { display: none; }
  .map-zone.education { left: 7%; }
  .map-zone.shop { right: 2%; }
  .education-categories-v37 { grid-template-columns: 1fr; }
  .product-card-v37 .product-actions-v37 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
