:root {
  color-scheme: light;
  --sky: #e9f6ff;
  --ink: #2b2350;
  --sun: #ffc93c;
  --coral: #ff6b6b;
  --mint: #2ec4a6;
  --grape: #8b5cf6;
  --ocean: #3aa0ff;
  --peach: #ff9f68;
  --soft-shadow: 0 7px 0 rgba(43, 35, 80, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #bfe6ff 0, var(--sky) 43%, #fff7e6 100%);
  font-family: Nunito, system-ui, sans-serif;
}
button, a { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 4px solid var(--grape); outline-offset: 4px; }

.clouds { position: absolute; inset: 0 0 auto; height: 235px; overflow: hidden; pointer-events: none; }
.cloud {
  position: absolute;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  filter: drop-shadow(0 6px 0 #d7efff);
}
.cloud::before, .cloud::after { position: absolute; content: ""; border-radius: 50%; background: inherit; }
.cloud-one { top: 62px; left: 6%; width: 135px; }
.cloud-one::before { top: -26px; left: 20px; width: 56px; height: 56px; }
.cloud-one::after { top: -17px; left: 70px; width: 42px; height: 42px; }
.cloud-two { top: 125px; right: 8%; width: 165px; height: 48px; }
.cloud-two::before { top: -34px; left: 28px; width: 68px; height: 68px; }
.cloud-two::after { top: -22px; left: 95px; width: 52px; height: 52px; }
.page-wrap { position: relative; width: min(1180px, 100%); margin: 0 auto; padding: 22px 28px 38px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 30px/1 "Baloo 2", sans-serif; letter-spacing: -.5px; }
.logo-mark { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: var(--coral); box-shadow: 0 6px 0 #d94f4f; transform: rotate(-6deg); }
.logo-our { color: var(--coral); }
.logo-arcade { color: var(--ocean); }
.header-note { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 99px; background: #fff; box-shadow: 0 4px 0 #cfe3f5; font-weight: 800; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; margin: 38px 0 42px; }
.hero-copy { padding: 10px 0; }
.eyebrow { margin: 0 0 7px; color: #716c98; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
h1, h2, h3, h4 { font-family: "Baloo 2", Nunito, sans-serif; }
.hero h1 { max-width: 13ch; margin: 0 0 12px; font-size: clamp(40px, 4.5vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; }
.hero h1 span { color: var(--grape); }
.hero-description { max-width: 500px; margin: 0 0 22px; color: #5a5380; font-size: 19px; line-height: 1.5; }
.start-button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 25px; border-radius: 18px; color: #fff; background: var(--mint); box-shadow: 0 6px 0 #1f9a82; font: 800 22px "Baloo 2", sans-serif; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.start-button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #1f9a82; }
.start-button:active { transform: translateY(4px); box-shadow: 0 2px 0 #1f9a82; }
.hero-art { position: relative; display: grid; min-height: 300px; margin: 0; place-items: center; overflow: hidden; border: 5px solid rgba(255,255,255,.72); border-radius: 32px; background: linear-gradient(135deg, #fff 4%, #f1eaff 57%, #e3f5ff); box-shadow: 0 10px 0 #d6e9f8; }
.hero-svg { display: block; width: min(100%, 440px); height: auto; max-height: 280px; }
.art-caption { position: absolute; bottom: 14px; z-index: 2; margin: 0; color: #716c98; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.art-caption span { padding: 0 3px; color: var(--coral); }
.game-browser { padding-top: 6px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin: 0; font-size: 36px; line-height: 1.1; }
.game-count { margin: 0 0 4px; color: #6b6590; font-size: 14px; font-weight: 800; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 11px; margin: 23px 0 19px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 17px; border: 0; border-radius: 999px; color: var(--ink); background: #fff; box-shadow: 0 4px 0 #d6e9f8; cursor: pointer; font-weight: 900; transition: transform .12s, background .12s, color .12s; }
.chip:hover { transform: translateY(-2px); }
.chip.is-active { color: #fff; background: var(--ink); box-shadow: 0 4px 0 #120d2b; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.game-card { min-width: 0; overflow: hidden; border-radius: 25px; background: #fff; box-shadow: var(--soft-shadow); transition: transform .16s, box-shadow .16s; }
a.game-card { display: block; text-decoration: none; }
a.game-card:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 12px 0 rgba(43,35,80,.13); }
.game-card.coming-soon { opacity: .94; }
.game-art { position: relative; display: grid; height: 150px; place-items: center; background: linear-gradient(135deg, var(--art-start), var(--art-end)); }
.game-art-icon { display: inline-block; font-size: 64px; line-height: 1; animation: bob 3s ease-in-out infinite; }
.coming-label { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 99px; color: #fff; background: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .04em; transform: rotate(-4deg); }
.category-label { position: absolute; top: 12px; right: 12px; max-width: calc(100% - 32px); overflow: hidden; padding: 5px 10px; border-radius: 99px; color: var(--ink); background: rgba(255,255,255,.92); font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.game-info { padding: 14px 16px 18px; }
.game-info h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.game-info p { min-height: 42px; margin: 5px 0 12px; color: #6b6590; font-size: 14px; line-height: 1.5; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #575174; font-size: 12px; font-weight: 900; }
.age-label { white-space: nowrap; }
.play-label { display: inline-flex; align-items: center; gap: 4px; color: #18816c; }
.coming-soon .play-label { color: #857e9e; }
.empty-state { grid-column: 1 / -1; padding: 34px 20px; border: 3px dashed #c9c2ee; border-radius: 24px; color: #6b6590; background: rgba(255,255,255,.7); text-align: center; font-weight: 800; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 45px; padding-top: 16px; border-top: 1px solid rgba(122,116,153,.2); color: #7a7499; font-weight: 800; }

@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero { grid-template-columns: 1fr .85fr; } }
@media (max-width: 700px) {
  .page-wrap { padding: 18px 18px 30px; }
  .header-note { padding: 8px 11px; font-size: 12px; }
  .logo { gap: 9px; font-size: 25px; }
  .logo-mark { width: 47px; height: 47px; }
  .hero { grid-template-columns: 1fr; gap: 25px; margin: 30px 0 34px; }
  .hero-art { min-height: 235px; }
  .hero h1 { font-size: clamp(48px, 13vw, 62px); }
  .section-heading { align-items: start; flex-direction: column; gap: 4px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .game-art { height: 130px; }
  .game-info { padding: 12px 13px 15px; }
  .game-info h3 { font-size: 20px; }
  .game-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 430px) {
  .header-note { max-width: 150px; font-size: 11px; }
  .logo { font-size: 22px; }
  .logo-mark { width: 42px; height: 42px; border-radius: 13px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-art { height: 150px; }
  .game-meta { align-items: center; flex-direction: row; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
