@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f9ff;
  --bg-warm: #fff8ec;
  --surface: #ffffff;
  --line: #e3eaf5;
  --ink: #1f2a44;
  --ink-2: #56627a;
  --ink-3: #8a96ad;
  --sky: #3b82f6;
  --sky-d: #2563eb;
  --sun: #ffc83d;
  --sun-d: #e6a800;
  --tangerine: #ff7a1a;
  --tangerine-d: #e05f00;
  --grass: #22c55e;
  --grass-d: #16a34a;
  --grape: #8b5cf6;
  --grape-d: #7c3aed;
  --berry: #ff4f9a;
  --berry-d: #e2367f;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --sh: 0 6px 18px rgba(31, 42, 68, 0.08);
  --sh-hover: 0 14px 30px rgba(31, 42, 68, 0.14);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --wrap: 1200px;
  --gap: clamp(12px, 2vw, 20px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sky-d);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0 0 0.8em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 24px);
}

.main {
  /* Skin creatives may replace the body background with artwork or black. */
  background: var(--bg);
  display: flow-root;
  padding-bottom: 56px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
  font-weight: 800;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(31, 42, 68, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 1.65rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-free {
  color: var(--sky);
}

.logo-two {
  display: inline-grid;
  place-items: center;
  width: 1.55em;
  height: 1.55em;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  transform: rotate(-6deg);
  font-size: 0.82em;
  box-shadow: 0 3px 0 var(--sun-d);
  align-self: center;
}

.logo-play {
  color: var(--grape);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: #eef3fb;
  color: #3d4b66;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.pill svg {
  flex: none;
}

.pill--pc svg { color: var(--sky-d); }
.pill--android svg { color: var(--grass-d); }
.pill--iphone-ipad svg { color: var(--grape-d); }
.pill--kids svg { color: var(--berry-d); }

.pill--pc:hover,
.pill--pc.is-active { background: var(--sky); color: #fff; }
.pill--pc:hover svg,
.pill--pc.is-active svg { color: #fff; }

.pill--android:hover,
.pill--android.is-active { background: var(--grass); color: #063b1d; }
.pill--android:hover svg,
.pill--android.is-active svg { color: #063b1d; }

.pill--iphone-ipad:hover,
.pill--iphone-ipad.is-active { background: var(--grape); color: #fff; }
.pill--iphone-ipad:hover svg,
.pill--iphone-ipad.is-active svg { color: #fff; }

.pill--kids { background: #ffe8f2; color: var(--berry-d); }
.pill--kids:hover,
.pill--kids.is-active { background: var(--berry); color: #fff; }
.pill--kids:hover svg,
.pill--kids.is-active svg { color: #fff; }

.pill--home:hover,
.pill--home.is-active { background: var(--ink); color: #fff; }

.search {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: #eef3fb;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 4px 3px 14px;
  max-width: 260px;
  flex: 1 1 180px;
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 0;
}

.search input::placeholder {
  color: var(--ink-3);
}

.search input:focus {
  outline: none;
}

.search:focus-within {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.search button {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
}

.search button:hover {
  background: var(--sky-d);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

/* -------------------------------------------------------------------- ads */
.ad {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 250px;
  margin: 26px 0;
  background: #fff;
  border: 1px dashed #d9e2f1;
  border-radius: var(--r);
  overflow: hidden;
}

.ad-inner {
  display: grid;
  place-items: center;
}

.ad-label {
  position: absolute;
  top: 7px;
  left: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b0c6;
}

.ad--skin {
  display: none;
  width: 1000px;
  max-width: calc(100% - 32px);
  min-height: 150px;
  margin: 14px auto 0;
}

/* ------------------------------------------------------------------ crumbs */
.crumbs {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #c2cbdb;
}

.crumbs a {
  color: var(--ink-2);
  font-weight: 700;
}

.crumbs a:hover {
  color: var(--sky-d);
}

/* ------------------------------------------------------------------ heroes */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(560px 300px at 92% -10%, #fff0c2 0%, rgba(255, 240, 194, 0) 62%),
    radial-gradient(480px 280px at 6% 110%, #ddf6e6 0%, rgba(221, 246, 230, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero--sky { background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 68%); }
.hero--grass { background: linear-gradient(135deg, #e9fbef 0%, #ffffff 68%); }
.hero--grape { background: linear-gradient(135deg, #f1edff 0%, #ffffff 68%); }
.hero--kids { background: linear-gradient(135deg, #ffeaf4 0%, #fffaf0 62%, #ffffff 100%); }
.hero--search { grid-template-columns: 1fr; padding-block: clamp(20px, 3vw, 34px); }
.hero--404 { grid-template-columns: 1fr; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-block;
}

.hero h1 {
  font-size: var(--step-3);
  margin: 0 0 12px;
  max-width: 18ch;
}

.hero--search h1,
.hero--404 h1 {
  max-width: 32ch;
}

.hero .lead {
  margin: 0 0 20px;
  max-width: 54ch;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.hero-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 18px;
  max-width: 540px;
  box-shadow: var(--sh);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 8px 0;
}

.hero-search input:focus {
  outline: none;
}

.hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.hero-side {
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* ---------------------------------------------------------- platform tiles */
.platform-tiles {
  display: grid;
  gap: 10px;
  width: 100%;
}

.platform-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh);
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.platform-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-hover);
  text-decoration: none;
}

.platform-tile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: none;
}

.platform-tile--pc .platform-tile-icon { background: #e5efff; color: var(--sky-d); }
.platform-tile--android .platform-tile-icon { background: #e2faec; color: var(--grass-d); }
.platform-tile--iphone-ipad .platform-tile-icon { background: #efeafe; color: var(--grape-d); }

.platform-tile-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.platform-tile-text strong {
  font-weight: 900;
  font-size: 1rem;
}

.platform-tile-text small {
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
}

.platform-tile > svg:last-child {
  margin-left: auto;
  color: var(--ink-3);
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.65em 1.25em;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--tangerine);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--tangerine-d);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  background: #ff8a35;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--tangerine-d);
}

.btn--primary {
  font-size: 1rem;
  padding-inline: 1.5em;
}

.btn--kids {
  background: var(--berry);
  box-shadow: 0 4px 0 var(--berry-d);
}

.btn--kids:hover {
  background: #ff68a8;
}

.btn--pc { background: #fff; color: var(--sky-d); box-shadow: 0 4px 0 #c7d9f6; }
.btn--android { background: #fff; color: var(--grass-d); box-shadow: 0 4px 0 #bfe9cf; }
.btn--iphone-ipad { background: #fff; color: var(--grape-d); box-shadow: 0 4px 0 #d9ccfb; }

.btn--pc:hover,
.btn--android:hover,
.btn--iphone-ipad:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------- sections */
.section {
  margin-top: 44px;
}

.section--kids {
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff4f9 0%, #fffdf6 100%);
  border: 1px solid #ffe0ee;
}

.section-sub {
  margin: -6px 0 16px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step-2);
}

.section-head h2 svg {
  color: var(--berry);
}

.section-count {
  margin-left: auto;
  color: var(--ink-3);
  font-weight: 800;
  font-size: 0.85rem;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--sky-d);
  white-space: nowrap;
}

.more svg {
  transition: transform 0.15s ease;
}

.more:hover svg {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------- cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr));
  gap: var(--gap);
}

.grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  margin-top: 16px;
}

.grid-item {
  min-width: 0;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-hover);
  text-decoration: none;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e9eef8;
  overflow: hidden;
}

.card-media picture,
.card-media > img.card-img {
  display: block;
  width: 100%;
  height: 100%;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-img {
  transform: scale(1.04);
}

.card-logo {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
}

.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: #3d4b66;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
  flex: 1;
}

.card-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #eef3fb;
  color: #45536e;
  font-size: 0.66rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.badge--pc { background: #e5efff; color: var(--sky-d); }
.badge--android { background: #e2faec; color: var(--grass-d); }
.badge--iphone-ipad { background: #efeafe; color: var(--grape-d); }
.badge--kids { background: #ffe4f0; color: var(--berry-d); }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.card:hover .card-cta,
.card:focus-visible .card-cta {
  opacity: 1;
  transform: none;
  color: var(--sky-d);
}

/* --------------------------------------------------------------- scroll row */
.row-wrap {
  position: relative;
}

.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76%, 285px);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.row::-webkit-scrollbar {
  display: none;
}

.row--wide {
  grid-auto-columns: min(82%, 330px);
}

.row-item {
  scroll-snap-align: start;
  min-width: 0;
}

.row-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh);
}

.row-btn:hover {
  background: var(--ink);
  color: #fff;
}

.row-btn--prev { left: -10px; }
.row-btn--next { right: -10px; }

/* ------------------------------------------------------------------- chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: #c9d8f0;
  text-decoration: none;
}

.chip img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
}

.chip-count {
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: #eef3fb;
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 900;
}

/* ------------------------------------------------------------------- pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 28px 0 4px;
}

.pager-btn {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-weight: 900;
  font-size: 0.9rem;
  text-decoration: none;
}

.pager-btn:hover {
  border-color: var(--sky);
  color: var(--sky-d);
  text-decoration: none;
}

.pager-btn.is-current {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}

.pager-btn.is-disabled {
  opacity: 0.4;
}

.pager-gap {
  padding: 0 4px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  margin-top: 28px;
}

.content {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.sidebar .ad {
  margin: 0;
}

.side-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.side-card h2 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.side-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.side-card--list ul {
  display: grid;
  gap: 8px;
}

.side-card--list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
}

.side-card--list a:hover {
  color: var(--sky-d);
  text-decoration: none;
}

.side-card--list img {
  width: 52px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}

.platform-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.platform-switch .pill {
  background: #fff;
  border-color: var(--line);
}

/* --------------------------------------------------------------- game page */
.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(16px, 2.5vw, 26px);
  align-items: stretch;
  margin-top: 22px;
}

.game-hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--sh);
}

.game-hero-media picture,
.game-hero-media img.hero-img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.game-hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2.5vw, 26px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.game-hero-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.game-logo {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
  box-shadow: var(--sh);
}

.game-hero-info h1 {
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.3rem);
  margin-bottom: 8px;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chips a {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: #f1f5fc;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.tag-chips a:hover {
  background: var(--sky);
  color: #fff;
  text-decoration: none;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.facts > div {
  padding: 8px 10px;
  background: var(--bg-warm);
  border-radius: 12px;
  min-width: 0;
}

.facts dt {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a7894a;
}

.facts dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.plays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.plays .btn {
  flex: 1 1 150px;
}

.muted {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.prose {
  max-width: 74ch;
}

.prose p {
  color: var(--ink-2);
  margin-bottom: 1em;
}

.prose ul {
  margin: 0 0 1em;
  display: grid;
  gap: 6px;
}

.prose li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
}

.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #e9eef8;
}

.gallery-link:hover img {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.video {
  position: relative;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: #0f172a;
}

.video img,
.video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: var(--tangerine);
  color: #fff;
  box-shadow: 0 6px 0 var(--tangerine-d);
  transition: transform 0.15s ease;
}

.video-play:hover {
  transform: scale(1.05);
}

.lightbox {
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  max-width: min(960px, 94vw);
}

.lightbox::backdrop {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(3px);
}

.lightbox img {
  border-radius: 18px;
  max-height: 86vh;
  width: auto;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--sh);
}

/* ----------------------------------------------------------- notices etc. */
.notice {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.notice--warn {
  background: #fff6e0;
  border: 1px solid #ffe2a8;
  color: #7a5a00;
}

.kids-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: clamp(16px, 3vw, 24px);
  background: linear-gradient(135deg, #fff0f7, #fff8ec);
  border: 1px solid #ffd9ea;
  border-radius: var(--r-lg);
}

.kids-callout-text {
  flex: 1 1 320px;
}

.kids-callout h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.kids-callout h2 svg {
  color: var(--berry);
}

.kids-callout p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.empty {
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--r);
}

.empty .btn {
  margin-top: 8px;
}

.about-card,
.contact-card {
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 820px;
}

.about-card h2,
.contact-card h1 {
  font-size: var(--step-2);
  margin-bottom: 10px;
}

.about-card p,
.contact-card p {
  color: var(--ink-2);
}

.contact {
  margin-top: 28px;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  margin-top: 56px;
  background: #141c30;
  color: #c7d2e6;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-block: 40px 24px;
}

.logo--footer {
  font-size: 1.4rem;
  color: #fff;
}

.logo--footer .logo-free { color: #8fc0ff; }
.logo--footer .logo-play { color: #c7b3ff; }

.footer-brand p {
  max-width: 44ch;
  margin-top: 10px;
  color: #93a1bd;
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-nav h2 {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7f8dad;
  margin-bottom: 10px;
}

.footer-nav ul {
  display: grid;
  gap: 6px;
}

.footer-nav a {
  color: #dbe4f5;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 16px 22px;
  font-size: 0.8rem;
  color: #7f8dad;
}

.footer-ad .ad {
  margin-bottom: 0;
}

/* -------------------------------------------------------------- responsive */
@media (min-width: 1100px) {
  .ad--skin {
    display: flex;
  }
}

@media (max-width: 1040px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .game-hero {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 24ch;
  }

  html.js .menu-btn {
    display: grid;
    order: 3;
    margin-left: 4px;
  }

  .site-nav {
    order: 4;
    display: flex;
    width: 100%;
    margin: 6px 0 4px;
    gap: 6px;
  }

  html.js .site-nav {
    display: none;
  }

  html.js body.menu-open .site-nav {
    display: flex;
  }

  .search {
    order: 2;
    margin-left: auto;
    max-width: none;
    flex: 1 1 140px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
    row-gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-body {
    padding: 10px 10px 12px;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-logo {
    width: 48px;
    height: 33px;
    left: 8px;
    bottom: 8px;
  }

  .card-tag {
    top: 8px;
    left: 8px;
    font-size: 0.58rem;
    padding: 3px 7px;
  }

  .badge {
    font-size: 0.58rem;
    padding: 2px 5px;
  }

  .badge svg {
    width: 11px;
    height: 11px;
  }

  .section {
    margin-top: 32px;
  }

  .section-head {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .section-head h2 {
    font-size: 1.35rem;
  }

  .hero {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-search {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 10px;
  }

  .hero-search input {
    flex-basis: 100%;
    padding: 4px 6px;
  }

  .hero-search .btn {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .row-btn {
    display: none !important;
  }

  .pager-btn {
    min-width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  .pill {
    padding: 0 11px;
  }

  .pill span {
    display: none;
  }

  .pill--home span {
    display: inline;
  }

  .platform-switch .pill span {
    display: inline;
  }
}

@media (max-width: 420px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1.4rem;
  }
}

@media (min-width: 1000px) {
  .row-btn {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Footer ad stays off small screens to keep mobile fast. */
@media (max-width: 1023px) {
  .footer-ad {
    display: none;
  }
}
