/*
  Kiddle Games — shared website styles
  Bright, responsive, accessible and animation-friendly.
*/

:root {
  --ink: #26314d;
  --ink-soft: #5f6880;
  --paper: #fffdf7;
  --cream: #fff7d6;
  --cream-2: #fff1b7;
  --purple: #7357ff;
  --purple-dark: #4f39d8;
  --purple-soft: #eee9ff;
  --yellow: #ffd84f;
  --yellow-dark: #f6b800;
  --coral: #ff6475;
  --orange: #ff9f1c;
  --blue: #42b7ff;
  --cyan: #dff8ff;
  --green: #45c987;
  --green-soft: #ddf8e9;
  --white: #ffffff;
  --shadow-sm: 0 10px 24px rgba(48, 57, 96, 0.09);
  --shadow-md: 0 18px 48px rgba(48, 57, 96, 0.13);
  --shadow-lg: 0 32px 80px rgba(48, 57, 96, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 82px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 22px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.15rem);
}

h2 {
  font-size: clamp(2.25rem, 4.7vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  color: var(--ink-soft);
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #fffaf0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--blue));
  border: 3px solid #fffaf0;
  border-radius: 999px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 9px 14px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border: 1px solid rgba(115, 87, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
  box-shadow: 11px 0 0 var(--yellow), 22px 0 0 var(--green);
  margin-right: 21px;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(120deg, var(--purple) 5%, var(--coral) 48%, var(--orange) 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.highlight-swipe {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.highlight-swipe::after {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: 8%;
  left: -3%;
  height: 23%;
  background: var(--yellow);
  border-radius: 999px 38px 999px 48px;
  content: "";
  transform: rotate(-1.5deg);
}

.muted {
  color: var(--ink-soft);
}

.visually-hidden {
  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;
  top: 12px;
  left: 12px;
  padding: 11px 17px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 4px solid rgba(66, 183, 255, .42);
  outline-offset: 4px;
}

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 24px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s ease;
}

.btn::after {
  position: absolute;
  top: -70%;
  left: -25%;
  width: 30%;
  height: 240%;
  background: rgba(255, 255, 255, .25);
  content: "";
  transform: rotate(24deg);
  transition: left .55s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  left: 110%;
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 13px 28px rgba(89, 65, 222, .28);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(89, 65, 222, .34);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(38, 49, 77, .08);
  box-shadow: var(--shadow-sm);
}

.btn-coral {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff875f);
  box-shadow: 0 13px 28px rgba(255, 100, 117, .25);
}

.btn-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: .92rem;
}

.icon-circle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.play-store-button {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(23, 26, 36, .22);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.play-store-button:hover {
  transform: translateY(-3px) rotate(-.3deg);
  box-shadow: 0 20px 34px rgba(23, 26, 36, .28);
}

.play-store-button img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.hero .play-store-button img {
  width: 210px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-h);
  background: rgba(255, 253, 247, .84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 247, .96);
  border-color: rgba(38, 49, 77, .07);
  box-shadow: 0 12px 35px rgba(38, 49, 77, .08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 190px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav a {
  position: relative;
  padding: 11px 15px;
  color: #4e5872;
  border-radius: var(--radius-pill);
  font-size: .94rem;
  font-weight: 850;
  transition: color .2s ease, background .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .09);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle span {
  margin: 5px 0;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 999;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 18px 20px 30px;
  background: rgba(255, 253, 247, .98);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: block;
  animation: fadeIn .2s ease both;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  color: var(--ink);
  border-bottom: 1px solid rgba(38, 49, 77, .08);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.mobile-nav a::after {
  color: var(--purple);
  content: "→";
}

.mobile-nav .mobile-cta {
  justify-content: center;
  margin-top: 24px;
  color: #fff;
  border: 0;
  text-align: center;
}

.mobile-nav .mobile-cta::after {
  content: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 74px 0 116px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 216, 79, .32), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(66, 183, 255, .22), transparent 25%),
    linear-gradient(180deg, #fffdf7 0%, #fff9df 62%, #e7f8ff 100%);
}

.hero::after {
  position: absolute;
  right: -3%;
  bottom: -88px;
  left: -3%;
  height: 155px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: 66px;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-copy > p {
  max-width: 580px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #4e5872;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(48, 57, 96, .06);
  font-size: .86rem;
  font-weight: 800;
}

.mini-badge .dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(69, 201, 135, .16);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-game-logo {
  position: absolute;
  z-index: 7;
  top: 22px;
  right: 8px;
  width: 116px;
  height: 116px;
  object-fit: cover;
  background: #fff;
  border: 6px solid rgba(255, 255, 255, .96);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(38, 49, 77, .2);
  animation: gameLogoFloat 4.8s ease-in-out infinite;
}

.hero-card {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(100%, 640px);
  padding: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) rotate(2.2deg);
  animation: cardFloat 5.6s ease-in-out infinite;
}

.hero-card::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: 24px;
  bottom: 22px;
  left: -20px;
  background: var(--purple);
  border-radius: 38px;
  content: "";
  opacity: .14;
  transform: rotate(-5deg);
}

.hero-card img {
  width: 100%;
  border-radius: 23px;
}

.hero-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 7px 5px;
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(69, 201, 135, .14);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.hero-card-title strong {
  display: block;
  overflow: hidden;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.03rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-card-title small {
  display: block;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 750;
}

.play-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--coral);
  border-radius: var(--radius-pill);
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}

.float-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  font-weight: 900;
  animation: chipFloat 4.2s ease-in-out infinite;
}

.float-chip .emoji {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--cream);
  border-radius: 12px;
  font-size: 1.3rem;
}

.float-chip small {
  display: block;
  color: var(--ink-soft);
  font-size: .7rem;
  line-height: 1.1;
}

.float-chip strong {
  display: block;
  font-size: .88rem;
  line-height: 1.2;
}

.float-chip-one {
  top: 7%;
  left: -1%;
}

.float-chip-two {
  right: -2%;
  bottom: 12%;
  animation-delay: -1.7s;
}

.hero-spark,
.hero-spark::before,
.hero-spark::after {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%);
  content: "";
  animation: sparkle 2.7s ease-in-out infinite;
}

.hero-spark {
  top: 8%;
  right: 15%;
}

.hero-spark::before {
  top: 112px;
  right: 410px;
  width: 11px;
  height: 11px;
  background: var(--coral);
  animation-delay: -.9s;
}

.hero-spark::after {
  top: 360px;
  right: -15px;
  width: 15px;
  height: 15px;
  background: var(--blue);
  animation-delay: -1.6s;
}

.cloud {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 46px;
  background: rgba(255, 255, 255, .78);
  border-radius: 80px;
  filter: drop-shadow(0 8px 12px rgba(50, 100, 160, .06));
  animation: cloudDrift 14s linear infinite alternate;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 0;
  background: inherit;
  border-radius: 50%;
  content: "";
}

.cloud::before {
  left: 28px;
  width: 58px;
  height: 58px;
}

.cloud::after {
  right: 24px;
  width: 72px;
  height: 72px;
}

.cloud-one {
  top: 75px;
  left: -40px;
  opacity: .72;
}

.cloud-two {
  right: -50px;
  bottom: 160px;
  width: 190px;
  opacity: .55;
  animation-duration: 19s;
  animation-direction: alternate-reverse;
}

/* Stats strip */
.stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -24px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(38, 49, 77, .08);
  border: 1px solid rgba(38, 49, 77, .08);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.stat {
  padding: 27px 20px;
  background: #fff;
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.stat span {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Live game */
.live-game-section {
  background:
    radial-gradient(circle at 10% 80%, rgba(69, 201, 135, .13), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(255, 216, 79, .18), transparent 24%),
    var(--paper);
}

.live-game-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 56px;
  padding: 40px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 42px;
  box-shadow: var(--shadow-md);
}

.live-game-shell::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 310px;
  height: 310px;
  background: var(--cream);
  border-radius: 50%;
  content: "";
}

.game-media {
  position: relative;
  z-index: 2;
}

.game-media-frame {
  position: relative;
  padding: 13px;
  background: linear-gradient(145deg, #aef4eb, #fff3a9);
  border-radius: 30px;
  transform: rotate(-1.2deg);
}

.game-media-frame img {
  width: 100%;
  border-radius: 21px;
}

.game-media-frame::after {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 100px;
  height: 100px;
  background: var(--coral);
  border-radius: 28px;
  content: "";
  opacity: .12;
  transform: rotate(16deg);
}

.game-status {
  position: absolute;
  z-index: 3;
  top: -16px;
  left: -15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #17683f;
  background: #e2ffef;
  border: 2px solid #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.game-status::before {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  content: "";
  animation: pulseDot 1.8s ease-in-out infinite;
}

.live-game-copy {
  position: relative;
  z-index: 2;
}

.live-game-copy h2 {
  margin-bottom: 18px;
}

.live-game-copy > p {
  margin-bottom: 23px;
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  color: #4b5570;
  background: #faf9ff;
  border: 1px solid rgba(115, 87, 255, .08);
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 820;
}

.feature-list .check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: .7rem;
}

/* How to play */
.how-section {
  overflow: hidden;
  background: var(--purple);
}

.how-section::before,
.how-section::after {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 60px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  content: "";
}

.how-section::before {
  top: -190px;
  left: -150px;
}

.how-section::after {
  right: -160px;
  bottom: -190px;
}

.how-section .section-head h2,
.how-section .section-head p {
  color: #fff;
}

.how-section .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .16);
}

.steps-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  backdrop-filter: blur(12px);
  transition: transform .3s var(--ease), background .3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-8px) rotate(-.5deg);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid rgba(255, 255, 255, .3);
  border-radius: 18px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  transform: rotate(-5deg);
}

.step-card:nth-child(2) .step-number {
  background: #8ef0c1;
  transform: rotate(4deg);
}

.step-card:nth-child(3) .step-number {
  background: #ff9aaa;
  transform: rotate(-2deg);
}

.step-card h3,
.step-card p {
  color: #fff;
}

.step-card p {
  margin-bottom: 0;
  opacity: .78;
}

/* Games */
.games-section {
  background: linear-gradient(180deg, var(--paper), #fff8e0 52%, var(--paper));
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.game-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
}

.game-art {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--cyan);
}

.game-art::after {
  position: absolute;
  right: -24px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, .35);
  border-radius: 50%;
  content: "";
}

.game-card:nth-child(2) .game-art {
  background: #fff1c9;
}

.game-card:nth-child(3) .game-art {
  background: #e7e1ff;
}

.game-card:nth-child(4) .game-art {
  background: #e0f9ea;
}

.game-card:nth-child(5) .game-art {
  background: #ffe5e8;
}

.game-card:nth-child(6) .game-art {
  background: #def4ff;
}

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.game-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.game-card h3 {
  margin-bottom: 10px;
}

.game-card p {
  margin-bottom: 20px;
  font-size: .95rem;
}

.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #59627a;
  background: #f6f5fb;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 850;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #7b6513;
  background: #fff3b8;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.status-pill.live {
  color: #17683f;
  background: #daf8e7;
}

/* Card illustrations */
.illustration {
  position: absolute;
  inset: 0;
}

.crossword-board {
  position: absolute;
  top: 43px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, 42px);
  grid-template-rows: repeat(4, 42px);
  gap: 5px;
  padding: 13px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 25px rgba(86, 68, 23, .13);
  transform: translateX(-50%) rotate(-5deg);
}

.crossword-board span {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff7d8;
  border-radius: 8px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.crossword-board span:nth-child(2n) {
  background: #ffd84f;
}

.crossword-board span.block {
  background: var(--purple);
}

.bird-scene .bird {
  position: absolute;
  top: 62px;
  left: 50%;
  width: 116px;
  height: 90px;
  background: #ffcf40;
  border: 5px solid #fff;
  border-radius: 55% 55% 48% 48%;
  box-shadow: 0 16px 24px rgba(74, 55, 177, .15);
  transform: translateX(-50%) rotate(5deg);
  animation: birdBob 2.8s ease-in-out infinite;
}

.bird-scene .bird::before {
  position: absolute;
  top: 28px;
  right: -27px;
  width: 45px;
  height: 27px;
  background: #ff8d3a;
  border-radius: 0 100% 20% 100%;
  content: "";
}

.bird-scene .bird::after {
  position: absolute;
  top: 25px;
  left: 18px;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 5px solid #fff;
  border-radius: 50%;
  content: "";
}

.bird-scene .wing {
  position: absolute;
  top: 90px;
  left: calc(50% - 37px);
  width: 67px;
  height: 34px;
  background: #ff9f1c;
  border-radius: 100% 20% 100% 20%;
  transform: rotate(-14deg);
  animation: wingFlap .6s ease-in-out infinite alternate;
}

.bird-scene .cloud-mini {
  position: absolute;
  top: 36px;
  left: 45px;
  width: 76px;
  height: 26px;
  background: rgba(255, 255, 255, .75);
  border-radius: 40px;
}

.bird-scene .cloud-mini.two {
  top: 155px;
  right: 28px;
  left: auto;
  width: 100px;
}

.paint-scene .palette {
  position: absolute;
  top: 43px;
  left: 50%;
  width: 170px;
  height: 135px;
  background: #fff4d7;
  border: 5px solid #fff;
  border-radius: 57% 44% 58% 44%;
  box-shadow: 0 16px 26px rgba(48, 57, 96, .12);
  transform: translateX(-50%) rotate(-8deg);
}

.paint-scene .palette::after {
  position: absolute;
  right: 23px;
  bottom: 18px;
  width: 35px;
  height: 35px;
  background: #ffe5e8;
  border-radius: 50%;
  content: "";
}

.paint-scene .drop {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
}

.paint-scene .drop.one { top: 73px; left: calc(50% - 52px); background: var(--coral); }
.paint-scene .drop.two { top: 55px; left: calc(50% - 2px); background: var(--yellow); }
.paint-scene .drop.three { top: 96px; left: calc(50% - 10px); background: var(--blue); }
.paint-scene .drop.four { top: 114px; left: calc(50% - 62px); background: var(--green); }

.dino-scene .dino {
  position: absolute;
  top: 53px;
  left: 50%;
  width: 148px;
  height: 112px;
  background: #55d38f;
  border: 5px solid #fff;
  border-radius: 52% 52% 34% 48%;
  box-shadow: 0 16px 26px rgba(19, 112, 66, .15);
  transform: translateX(-50%) rotate(-3deg);
}

.dino-scene .dino::before {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 15px;
  height: 15px;
  background: var(--ink);
  border: 4px solid #fff;
  border-radius: 50%;
  content: "";
}

.dino-scene .dino::after {
  position: absolute;
  right: -57px;
  bottom: 11px;
  width: 82px;
  height: 38px;
  background: #55d38f;
  border-radius: 20% 100% 30% 100%;
  content: "";
  transform: rotate(-8deg);
}

.dino-scene .feet {
  position: absolute;
  top: 156px;
  left: calc(50% - 48px);
  width: 98px;
  height: 18px;
  background: linear-gradient(90deg, #22a968 0 38%, transparent 38% 60%, #22a968 60%);
  border-radius: 10px;
}

.memory-scene .card-stack {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 145px;
  height: 145px;
  transform: translateX(-50%);
}

.memory-scene .memory-card {
  position: absolute;
  width: 88px;
  height: 118px;
  background: var(--purple);
  border: 5px solid #fff;
  border-radius: 18px;
  box-shadow: 0 16px 26px rgba(74, 55, 177, .18);
}

.memory-scene .memory-card:nth-child(1) { top: 14px; left: 4px; transform: rotate(-15deg); }
.memory-scene .memory-card:nth-child(2) { top: 0; right: 3px; background: var(--coral); transform: rotate(13deg); }
.memory-scene .memory-card:nth-child(3) { top: 23px; left: 30px; background: #fff; transform: rotate(-1deg); }
.memory-scene .memory-card:nth-child(3)::after {
  position: absolute;
  top: 32px;
  left: 25px;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50% 50% 50% 7px;
  content: "";
  transform: rotate(-45deg);
}

.space-scene .planet {
  position: absolute;
  top: 49px;
  left: 50%;
  width: 132px;
  height: 132px;
  background: linear-gradient(145deg, #7860ff, #4432bf);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 28px rgba(73, 55, 189, .2);
  transform: translateX(-50%);
}

.space-scene .planet::before {
  position: absolute;
  top: 52px;
  left: -36px;
  width: 190px;
  height: 35px;
  border: 12px solid #ffd84f;
  border-radius: 50%;
  content: "";
  transform: rotate(-13deg);
}

.space-scene .star-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%);
  animation: sparkle 2s ease-in-out infinite;
}

.space-scene .star-dot.one { top: 34px; left: 38px; }
.space-scene .star-dot.two { right: 43px; bottom: 38px; animation-delay: -.7s; }
.space-scene .star-dot.three { top: 110px; right: 28px; animation-delay: -1.2s; }

.games-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(255, 100, 117, .22);
  text-align: center;
}

.games-more strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.55rem;
}

.games-more span {
  font-weight: 800;
  opacity: .86;
}

/* Why Kiddle */
.why-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 70px;
}

.why-visual {
  position: relative;
  min-height: 470px;
}

.why-blob {
  position: absolute;
  inset: 36px 18px 10px;
  background: linear-gradient(145deg, #e3faff, #fff1bf);
  border-radius: 41% 59% 48% 52% / 48% 40% 60% 52%;
  animation: blobMorph 8s ease-in-out infinite;
}

.why-controller {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 290px;
  height: 174px;
  background: linear-gradient(145deg, var(--purple), var(--purple-dark));
  border: 10px solid #fff;
  border-radius: 42% 42% 34% 34%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: controllerFloat 4.7s ease-in-out infinite;
}

.why-controller::before,
.why-controller::after {
  position: absolute;
  bottom: -36px;
  width: 84px;
  height: 90px;
  background: var(--purple-dark);
  border: 10px solid #fff;
  border-top: 0;
  content: "";
}

.why-controller::before {
  left: 22px;
  border-radius: 0 0 70% 40%;
  transform: rotate(16deg);
}

.why-controller::after {
  right: 22px;
  border-radius: 0 0 40% 70%;
  transform: rotate(-16deg);
}

.controller-dpad {
  position: absolute;
  top: 68px;
  left: 58px;
  width: 62px;
  height: 20px;
  background: #fff;
  border-radius: 7px;
}

.controller-dpad::after {
  position: absolute;
  top: -21px;
  left: 21px;
  width: 20px;
  height: 62px;
  background: #fff;
  border-radius: 7px;
  content: "";
}

.controller-button {
  position: absolute;
  width: 25px;
  height: 25px;
  background: var(--yellow);
  border: 4px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
}

.controller-button.one { top: 54px; right: 60px; }
.controller-button.two { top: 86px; right: 35px; background: var(--coral); }
.controller-button.three { top: 102px; right: 77px; background: var(--green); }

.why-sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  background: #fff;
  border-radius: 25px;
  box-shadow: var(--shadow-md);
  font-size: 2.1rem;
  animation: stickerFloat 4s ease-in-out infinite;
}

.why-sticker.one { top: 38px; left: 6px; transform: rotate(-10deg); }
.why-sticker.two { right: 0; bottom: 42px; transform: rotate(8deg); animation-delay: -1.4s; }

.why-copy h2 {
  margin-bottom: 20px;
}

.why-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.why-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 15px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(48, 57, 96, .06);
}

.why-point-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--cream);
  border-radius: 15px;
  font-size: 1.45rem;
}

.why-point:nth-child(2) .why-point-icon { background: var(--green-soft); }
.why-point:nth-child(3) .why-point-icon { background: var(--purple-soft); }

.why-point h3 {
  margin-bottom: 5px;
  font-size: 1.13rem;
}

.why-point p {
  margin-bottom: 0;
  font-size: .91rem;
}

/* Roadmap / marquee */
.roadmap {
  overflow: hidden;
  background: #202944;
}

.roadmap .section-head h2,
.roadmap .section-head p {
  color: #fff;
}

.roadmap .section-head p {
  opacity: .72;
}

.roadmap .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.marquee-card {
  display: flex;
  width: 240px;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 20px;
}

.marquee-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 216, 79, .16);
  border-radius: 15px;
  font-size: 1.55rem;
}

.marquee-card strong {
  display: block;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1rem;
}

.marquee-card span {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
  font-weight: 800;
}

.roadmap-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 46px;
  color: #fff;
}

.roadmap-counter strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.roadmap-counter span {
  max-width: 250px;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.35;
  opacity: .75;
}

/* FAQ */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .08);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(48, 57, 96, .045);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
}

.faq-plus {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border-radius: 10px;
  font-family: system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  transition: transform .25s ease;
}

.faq-question[aria-expanded="true"] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 22px 22px;
  margin: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* CTA */
.final-cta {
  padding-top: 70px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 50px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #5942dd 55%, #3baeea);
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: "";
}

.cta-panel::before {
  top: -110px;
  right: 170px;
  width: 260px;
  height: 260px;
}

.cta-panel::after {
  right: -60px;
  bottom: -115px;
  width: 240px;
  height: 240px;
}

.cta-panel h2,
.cta-panel p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.cta-panel p {
  max-width: 620px;
  margin-bottom: 0;
  opacity: .78;
}

.cta-panel .play-store-button {
  position: relative;
  z-index: 2;
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 105px;
  padding: 82px 0 24px;
  overflow: hidden;
  color: #fff;
  background: #202944;
}

.site-footer::before {
  position: absolute;
  top: -62px;
  right: -4%;
  left: -4%;
  height: 105px;
  background: var(--paper);
  border-radius: 0 0 50% 50% / 0 0 75% 75%;
  content: "";
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr .9fr;
  gap: 44px;
  padding-top: 30px;
}

.footer-brand img {
  width: 195px;
  height: auto;
  padding: 7px 10px;
  background: #fff;
  border-radius: 15px;
}

.footer-brand p {
  max-width: 340px;
  margin: 20px 0;
  color: rgba(255, 255, 255, .65);
}

.footer-col h3 {
  margin-bottom: 19px;
  color: #fff;
  font-size: 1.08rem;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .91rem;
  font-weight: 730;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: var(--yellow);
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  gap: 13px;
}

.contact-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 10px;
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
}

.contact-line .contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
}

.contact-line .contact-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 23px;
  color: rgba(255, 255, 255, .52);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

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

/* Inner / legal pages */
.inner-hero {
  position: relative;
  padding: 90px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 216, 79, .38), transparent 27%),
    radial-gradient(circle at 86% 16%, rgba(115, 87, 255, .18), transparent 27%),
    linear-gradient(180deg, #fffdf7, #fff5ca);
  text-align: center;
}

.inner-hero::after {
  position: absolute;
  right: -3%;
  bottom: -68px;
  left: -3%;
  height: 105px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 50% 50% 0 0;
  content: "";
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.inner-hero p {
  max-width: 690px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 14px;
  color: #5d6374;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(38, 49, 77, .06);
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 23px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.legal-sidebar h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.legal-toc {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  list-style: none;
}

.legal-toc a {
  display: flex;
  gap: 9px;
  padding: 9px 10px;
  color: var(--ink-soft);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}

.legal-toc a::before {
  color: var(--purple);
  content: counter(toc, decimal-leading-zero);
  counter-increment: toc;
  font-weight: 950;
}

.legal-toc a:hover {
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.legal-content {
  min-width: 0;
}

.promise-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  padding: 22px;
  background: linear-gradient(135deg, #fff6c8, #e9faff);
  border: 1px solid rgba(38, 49, 77, .06);
  border-radius: 22px;
}

.promise-card .promise-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 1.7rem;
}

.promise-card strong {
  display: block;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.2rem;
}

.promise-card span {
  color: var(--ink-soft);
  font-size: .9rem;
}

.legal-section {
  margin-bottom: 18px;
  padding: 31px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(48, 57, 96, .05);
}

.legal-section-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border-radius: 13px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-weight: 900;
}

.legal-section h2 {
  margin-bottom: 15px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.legal-section h3 {
  margin: 25px 0 12px;
  font-size: 1.18rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 9px;
  padding-left: 21px;
  color: var(--ink-soft);
}

.legal-section a {
  color: var(--purple-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(115, 87, 255, .28);
  text-underline-offset: 3px;
}

.legal-note {
  padding: 15px 17px;
  color: #5a4a0a;
  background: #fff4c3;
  border-left: 5px solid var(--yellow-dark);
  border-radius: 12px;
  font-size: .91rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(145deg, #e4fbff, #fff3bf);
  border-radius: 38px;
}

.about-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.value-card {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 19px;
  box-shadow: 0 10px 22px rgba(48, 57, 96, .05);
}

.value-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.value-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}

.value-card p {
  margin-bottom: 0;
  font-size: .86rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
}

.contact-panel,
.contact-form-card {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .07);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-panel {
  background: linear-gradient(145deg, #fff4c8, #e8fbff);
}

.contact-card-list {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.contact-card-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 13px;
  padding: 14px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 17px;
}

.contact-card-item .icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  font-size: 1.35rem;
}

.contact-card-item small,
.contact-card-item strong {
  display: block;
}

.contact-card-item small {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card-item strong {
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-size: .83rem;
  font-weight: 850;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfbfe;
  border: 1px solid rgba(38, 49, 77, .12);
  border-radius: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  background: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(115, 87, 255, .11);
}

.form-note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: .78rem;
}

/* 404 */
.not-found {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  place-items: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #fffdf7, #e6f9ff);
  text-align: center;
}

.not-found-number {
  margin-bottom: -10px;
  color: transparent;
  background: linear-gradient(135deg, var(--purple), var(--coral), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 900;
  line-height: .85;
}

.not-found h1 {
  margin-bottom: 15px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.not-found p {
  max-width: 520px;
  margin: 0 auto 26px;
}

/* Cookie notice (informational, no tracking logic) */
.cookie-notice {
  position: fixed;
  z-index: 2000;
  right: 18px;
  bottom: 18px;
  display: none;
  width: min(410px, calc(100% - 36px));
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(38, 49, 77, .08);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.cookie-notice.is-visible {
  display: block;
  animation: slideUp .35s var(--ease) both;
}

.cookie-notice p {
  margin-bottom: 14px;
  font-size: .83rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.from-left {
  transform: translateX(-38px);
}

.reveal.from-right {
  transform: translateX(38px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cardFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(2.2deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(1deg) translateY(-10px); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

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

@keyframes cloudDrift {
  from { transform: translateX(-20px); }
  to { transform: translateX(42px); }
}

@keyframes sparkle {
  0%, 100% { opacity: .35; transform: scale(.72) rotate(0); }
  50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(69, 201, 135, .12); }
  50% { box-shadow: 0 0 0 9px rgba(69, 201, 135, 0); }
}

@keyframes birdBob {
  0%, 100% { transform: translateX(-50%) rotate(5deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-2deg) translateY(-10px); }
}

@keyframes wingFlap {
  from { transform: rotate(-12deg); }
  to { transform: rotate(20deg) scaleY(.72); }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 41% 59% 48% 52% / 48% 40% 60% 52%; transform: rotate(0); }
  50% { border-radius: 56% 44% 58% 42% / 42% 56% 44% 58%; transform: rotate(3deg); }
}

@keyframes controllerFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(-1deg) translateY(-12px); }
}

@keyframes stickerFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    max-width: 780px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero .button-row,
  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    width: min(760px, 100%);
    min-height: 500px;
    margin-inline: auto;
  }

  .live-game-shell {
    gap: 38px;
  }

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

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 74px;
  }

  .section {
    padding: 88px 0;
  }

  .brand img {
    width: 166px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-game-logo {
    top: 8px;
    right: 1%;
    width: 96px;
    height: 96px;
    border-width: 5px;
    border-radius: 23px;
  }

  .float-chip-one {
    left: 2%;
  }

  .float-chip-two {
    right: 1%;
  }

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

  .live-game-shell,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .live-game-shell {
    padding: 28px;
  }

  .live-game-copy {
    text-align: center;
  }

  .live-game-copy .feature-list {
    text-align: left;
  }

  .live-game-copy .button-row {
    justify-content: center;
  }

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

  .step-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 0 16px;
    align-items: start;
  }

  .step-number {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .why-visual {
    min-height: 420px;
    order: 2;
  }

  .why-copy {
    text-align: center;
  }

  .why-points {
    text-align: left;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

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

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

  .footer-brand,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-panel p {
    margin-inline: auto;
  }

  .cta-panel .play-store-button {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 148px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 96px;
  }

  .reveal.from-left,
  .reveal.from-right {
    transform: translateY(24px);
  }

  .reveal.is-visible {
    transform: translate(0, 0);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero .button-row {
    flex-direction: column;
  }

  .hero .button-row > * {
    width: 100%;
  }

  .play-store-button {
    justify-content: center;
  }

  .hero-visual {
    min-height: 330px;
    margin-top: 12px;
  }

  .hero-game-logo {
    top: -5px;
    right: -2px;
    width: 78px;
    height: 78px;
    border-width: 4px;
    border-radius: 19px;
  }

  .hero-card {
    width: 96%;
    padding: 10px;
    border-radius: 24px;
  }

  .hero-card img {
    border-radius: 17px;
  }

  .hero-card-bar {
    padding-inline: 3px;
  }

  .hero-card-title small {
    display: none;
  }

  .float-chip {
    display: none;
  }

  .hero-spark {
    top: 0;
  }

  .stats-strip {
    margin-top: -5px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat span {
    font-size: .7rem;
  }

  .live-game-shell {
    padding: 18px;
    border-radius: 28px;
  }

  .game-status {
    top: -12px;
    left: -8px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .live-game-copy .button-row {
    flex-direction: column;
  }

  .live-game-copy .button-row > * {
    width: 100%;
  }

  .step-card {
    grid-template-columns: 56px 1fr;
    padding: 22px;
  }

  .step-number {
    width: 50px;
    height: 50px;
  }

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

  .game-card {
    min-height: 390px;
  }

  .game-art {
    height: 210px;
  }

  .games-more {
    flex-direction: column;
    gap: 4px;
  }

  .why-controller {
    width: 230px;
    height: 145px;
  }

  .controller-dpad {
    top: 58px;
    left: 42px;
  }

  .controller-button.one { top: 45px; right: 47px; }
  .controller-button.two { top: 78px; right: 26px; }
  .controller-button.three { top: 88px; right: 64px; }

  .why-sticker {
    width: 68px;
    height: 68px;
  }

  .roadmap-counter {
    flex-direction: column;
    text-align: center;
  }

  .cta-panel {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .site-footer {
    margin-top: 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .inner-hero {
    padding: 70px 0 76px;
  }

  .inner-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding: 23px 19px;
  }

  .promise-card {
    align-items: flex-start;
  }

  .about-values,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .contact-panel,
  .contact-form-card {
    padding: 24px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
