:root {
  color-scheme: light;
  --ink: #243047;
  --muted: #66728a;
  --line: #dde7f3;
  --paper: #fff9e8;
  --panel: #ffffff;
  --blue: #4f7cff;
  --aqua: #27c6c0;
  --pink: #ff7aa8;
  --yellow: #ffd45a;
  --green: #74d66d;
  --peach: #ffb36b;
  --shadow: 0 18px 38px rgba(54, 73, 108, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(79, 124, 255, 0.08) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(225deg, rgba(255, 122, 168, 0.08) 25%, transparent 25%) 0 0 / 34px 34px,
    var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

.animal-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
}

.animal-float {
  position: absolute;
  display: block;
  width: 132px;
  height: 132px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  border-radius: 42% 42% 48% 48%;
  filter: drop-shadow(0 18px 18px rgba(54, 73, 108, 0.14));
  opacity: 0.34;
  transform-style: preserve-3d;
  animation: animalDrift 12s ease-in-out infinite;
}

.animal-float::before,
.animal-float::after {
  position: absolute;
  content: "";
}

.animal-bunny {
  left: 4vw;
  top: 22vh;
  background:
    radial-gradient(circle at 38% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 68%, #ff9fc1 0 12px, transparent 13px),
    #fff;
}

.animal-bunny::before,
.animal-bunny::after {
  top: -54px;
  width: 34px;
  height: 74px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  border-radius: 999px;
  background: linear-gradient(#fff 0 56%, #ffd7e5 56%);
}

.animal-bunny::before {
  left: 26px;
  transform: rotate(-12deg) translateZ(-8px);
}

.animal-bunny::after {
  right: 26px;
  transform: rotate(12deg) translateZ(-8px);
}

.animal-bear {
  right: 4vw;
  top: 20vh;
  border-radius: 45%;
  background:
    radial-gradient(circle at 38% 50%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 50%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 66%, #fff4d6 0 28px, transparent 29px),
    #d7a36f;
  animation-delay: -4s;
}

.animal-bear::before,
.animal-bear::after {
  top: -20px;
  width: 46px;
  height: 46px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  border-radius: 50%;
  background: #d7a36f;
  transform: translateZ(-10px);
}

.animal-bear::before {
  left: 4px;
}

.animal-bear::after {
  right: 4px;
}

.animal-cat {
  left: 68vw;
  top: 58vh;
  border-radius: 46% 46% 44% 44%;
  background:
    radial-gradient(circle at 38% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 63%, #ff8aa8 0 5px, transparent 6px),
    #ffc857;
  animation-delay: -7s;
}

.animal-cat::before,
.animal-cat::after {
  top: -28px;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  background: #ffc857;
  transform: rotate(45deg) translateZ(-10px);
}

.animal-cat::before {
  left: 4px;
}

.animal-cat::after {
  right: 4px;
}

.animal-panda {
  left: 42vw;
  top: 14vh;
  border-radius: 48%;
  background:
    radial-gradient(circle at 35% 50%, var(--ink) 0 14px, transparent 15px),
    radial-gradient(circle at 65% 50%, var(--ink) 0 14px, transparent 15px),
    radial-gradient(circle at 35% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 65% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 68%, #f7f7f7 0 24px, transparent 25px),
    #fff;
  animation-delay: -2s;
}

.animal-panda::before,
.animal-panda::after {
  top: -18px;
  width: 48px;
  height: 48px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  border-radius: 50%;
  background: var(--ink);
  transform: translateZ(-10px);
}

.animal-panda::before {
  left: 2px;
}

.animal-panda::after {
  right: 2px;
}

.animal-puppy {
  left: 30vw;
  top: 50vh;
  border-radius: 46% 46% 50% 50%;
  background:
    radial-gradient(circle at 38% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 52%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 66%, #fff6df 0 25px, transparent 26px),
    #f3b36c;
  animation-delay: -6s;
}

.animal-puppy::before,
.animal-puppy::after {
  top: -4px;
  width: 38px;
  height: 72px;
  border: 3px solid rgba(36, 48, 71, 0.82);
  border-radius: 999px 999px 48px 48px;
  background: #bf7f4f;
  transform: translateZ(-10px);
}

.animal-puppy::before {
  left: -14px;
  transform: rotate(22deg) translateZ(-10px);
}

.animal-puppy::after {
  right: -14px;
  transform: rotate(-22deg) translateZ(-10px);
}

.animal-small {
  width: 92px;
  height: 92px;
  opacity: 0.28;
  animation-duration: 15s;
}

.animal-small.animal-bunny {
  left: 78vw;
  top: 74vh;
  transform: scale(0.8);
}

.animal-small.animal-bear {
  left: 14vw;
  top: 72vh;
  transform: scale(0.8);
  animation-delay: -9s;
}

.animal-extra-one {
  left: 88vw;
  top: 44vh;
  animation-delay: -11s;
}

.animal-extra-two {
  left: 3vw;
  top: 52vh;
  animation-delay: -13s;
}

@keyframes animalDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-8deg) rotateZ(-2deg);
  }

  50% {
    transform: translate3d(14px, -24px, 70px) rotateX(8deg) rotateY(10deg) rotateZ(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .animal-float {
    animation: none;
  }
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(36, 48, 71, 0.08);
  background: rgba(255, 249, 232, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav,
.hero-actions,
.game-meta,
.game-card-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.top-nav {
  gap: 8px;
}

.top-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.top-nav a:hover {
  background: #fff;
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 68px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #3f69e8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: #28365b;
  font-size: clamp(58px, 11vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: none;
}

.hero-lede {
  max-width: 560px;
  color: #4c5d7c;
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.ghost-button,
.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button,
.play-link {
  background: var(--blue);
  color: #fff;
}

.ghost-button {
  background: #fff;
}

.primary-button:hover,
.ghost-button:hover,
.play-link:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--ink);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.mascot-card {
  position: absolute;
  left: clamp(-12px, -2vw, 18px);
  bottom: 18px;
  z-index: 3;
  width: clamp(118px, 17vw, 184px);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
  transform-origin: 50% 100%;
  animation: mascotGuideFloat 4s ease-in-out infinite;
}

.mascot-card::after {
  position: absolute;
  right: -12px;
  top: 18px;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  box-shadow: 0 0 0 8px rgba(255, 212, 90, 0.28);
}

.mascot-card img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.guide-scene {
  position: relative;
  width: min(100%, 560px);
  min-height: 520px;
  overflow: hidden;
  border: 4px solid rgba(36, 48, 71, 0.88);
  border-radius: 32px 32px 120px 120px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 244, 164, 0.82) 0 54px, transparent 55px),
    linear-gradient(180deg, #8ddfff 0 50%, #b9ef9d 50% 100%);
  box-shadow:
    0 10px 0 rgba(36, 48, 71, 0.88),
    0 28px 52px rgba(54, 73, 108, 0.22);
  isolation: isolate;
}

.guide-scene::before,
.guide-scene::after {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  content: "";
}

.guide-scene::before {
  border-radius: inherit;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.28);
}

.guide-scene::after {
  top: auto;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(132, 223, 124, 0.18) 32%, rgba(132, 223, 124, 0.88) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 240, 180, 0.96) 0 44%, transparent 45%);
}

.guide-martin {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: auto;
  height: min(96%, 500px);
  max-width: 92%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 24px 24px 112px 112px;
  filter: saturate(0.96) contrast(0.98);
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: guideMartinFloat 4s ease-in-out infinite;
}

.guide-cloud {
  position: absolute;
  z-index: 4;
  display: block;
  width: 108px;
  height: 38px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.16);
  animation: guideCloudMove 7s ease-in-out infinite;
}

.guide-cloud::before,
.guide-cloud::after {
  position: absolute;
  content: "";
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.86);
}

.guide-cloud::before {
  left: 14px;
  top: -24px;
  width: 40px;
  height: 30px;
}

.guide-cloud::after {
  right: 16px;
  top: -30px;
  width: 44px;
  height: 36px;
}

.guide-cloud-one {
  left: 28px;
  top: 78px;
}

.guide-cloud-two {
  right: 32px;
  top: 52px;
  transform: scale(0.86);
  animation-delay: -3s;
}

.guide-sun {
  position: absolute;
  right: 92px;
  top: 124px;
  z-index: 2;
  width: 70px;
  height: 70px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 12px rgba(255, 212, 90, 0.32);
}

.guide-rainbow {
  position: absolute;
  left: 50%;
  top: 194px;
  z-index: 2;
  opacity: 0.72;
  width: 270px;
  height: 135px;
  border: 20px solid var(--pink);
  border-bottom: 0;
  border-radius: 270px 270px 0 0;
  transform: translateX(-50%);
}

.guide-rainbow::before,
.guide-rainbow::after {
  position: absolute;
  content: "";
  border-bottom: 0;
  border-radius: 230px 230px 0 0;
}

.guide-rainbow::before {
  inset: 15px 15px 0;
  border: 19px solid var(--yellow);
  border-bottom: 0;
}

.guide-rainbow::after {
  inset: 48px 48px 0;
  border: 18px solid var(--aqua);
  border-bottom: 0;
}

.guide-hill {
  position: absolute;
  bottom: -18px;
  z-index: 5;
  opacity: 0.88;
  display: block;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 0 0;
}

.guide-hill-left {
  left: -18px;
  width: 290px;
  height: 126px;
  background: #84df7c;
}

.guide-hill-right {
  right: -28px;
  width: 330px;
  height: 150px;
  background: #67d6b2;
}

.guide-path {
  position: absolute;
  left: 50%;
  bottom: -54px;
  z-index: 6;
  opacity: 0.82;
  width: 240px;
  height: 140px;
  border: 4px solid var(--ink);
  border-radius: 50% 50% 0 0;
  background: #fff0b4;
  transform: translateX(-50%);
}

.guide-star {
  position: absolute;
  z-index: 8;
  display: block;
  width: 44px;
  height: 44px;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 80% 94%, 50% 72%, 20% 94%, 32% 56%, 2% 35%, 39% 35%);
  background: var(--yellow);
  filter: drop-shadow(0 4px 0 rgba(36, 48, 71, 0.28));
  animation: guideTwinkle 2.6s ease-in-out infinite;
}

.guide-star-one {
  left: 62px;
  top: 190px;
}

.guide-star-two {
  right: 66px;
  top: 238px;
  width: 32px;
  height: 32px;
  background: var(--pink);
  animation-delay: -1.2s;
}

.guide-lollipop {
  position: absolute;
  left: 74px;
  bottom: 110px;
  z-index: 8;
  width: 50px;
  height: 50px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 18%, transparent 19%),
    conic-gradient(var(--pink) 0 25%, #fff 25% 50%, var(--aqua) 50% 75%, #fff 75% 100%);
}

.guide-lollipop::after {
  position: absolute;
  left: 50%;
  top: 46px;
  width: 8px;
  height: 62px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}

.guide-ice-dot {
  position: absolute;
  z-index: 8;
  display: block;
  width: 38px;
  height: 38px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.18);
}

.guide-ice-one {
  right: 82px;
  bottom: 128px;
  background: #ffabc8;
}

.guide-ice-two {
  right: 128px;
  bottom: 96px;
  background: #9dd7ff;
}

.guide-flower {
  position: absolute;
  bottom: 48px;
  z-index: 8;
  display: block;
  width: 14px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
}

.guide-flower::before {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--yellow) 0 28%, transparent 29%),
    conic-gradient(var(--pink) 0 20%, #fff 20% 40%, var(--pink) 40% 60%, #fff 60% 80%, var(--pink) 80% 100%);
  content: "";
  transform: translateX(-50%);
}

.guide-flower-one {
  left: 148px;
}

.guide-flower-two {
  right: 154px;
  bottom: 58px;
  transform: scale(0.86);
}

@keyframes guideMartinFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-6px) scale(1.005);
  }
}

@keyframes guideCloudMove {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 12px 0;
  }
}

@keyframes guideTwinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.12) rotate(8deg);
  }
}

@keyframes mascotGuideFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.playland-board {
  position: relative;
  width: min(100%, 540px);
  min-height: 430px;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(#bdeeff 0 48%, #bff2b8 48% 100%);
  box-shadow: 0 12px 0 var(--ink), var(--shadow);
}

.sky-strip {
  position: relative;
  height: 190px;
}

.cloud {
  position: absolute;
  display: block;
  width: 118px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.18);
}

.cloud::before,
.cloud::after {
  position: absolute;
  content: "";
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.cloud::before {
  left: 16px;
  top: -24px;
  width: 42px;
  height: 30px;
}

.cloud::after {
  right: 18px;
  top: -32px;
  width: 48px;
  height: 38px;
}

.cloud-one {
  left: 34px;
  top: 62px;
}

.cloud-two {
  right: 42px;
  top: 42px;
  transform: scale(0.82);
}

.sun-shape {
  position: absolute;
  right: 80px;
  top: 112px;
  width: 62px;
  height: 62px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 10px rgba(255, 212, 90, 0.35);
}

.balloon {
  position: absolute;
  display: block;
  width: 42px;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 46% 46%;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.16);
}

.balloon::after {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 2px;
  height: 52px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.balloon-one {
  left: 218px;
  top: 34px;
  background: var(--pink);
  transform: rotate(-7deg);
}

.balloon-two {
  right: 176px;
  top: 28px;
  background: var(--green);
  transform: rotate(8deg) scale(0.9);
}

.kite-shape {
  position: absolute;
  left: 52%;
  top: 108px;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: #ffb36b;
  transform: rotate(45deg);
}

.kite-shape::before,
.kite-shape::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.kite-shape::before {
  left: 20px;
  top: -3px;
  width: 3px;
  height: 48px;
}

.kite-shape::after {
  left: -3px;
  top: 20px;
  width: 48px;
  height: 3px;
}

.cartoon-land {
  position: relative;
  z-index: 2;
  height: 180px;
}

.rainbow-shape {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 236px;
  height: 118px;
  border: 18px solid var(--pink);
  border-bottom: 0;
  border-radius: 236px 236px 0 0;
  transform: translateX(-50%);
}

.rainbow-shape::before {
  position: absolute;
  inset: 14px 14px 0;
  border: 18px solid var(--yellow);
  border-bottom: 0;
  border-radius: 204px 204px 0 0;
  content: "";
}

.rainbow-shape::after {
  position: absolute;
  inset: 46px 46px 0;
  border: 18px solid var(--aqua);
  border-bottom: 0;
  border-radius: 140px 140px 0 0;
  content: "";
}

.hill {
  position: absolute;
  bottom: -26px;
  display: block;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 0 0;
  background: #89df80;
}

.hill-left {
  left: 24px;
  width: 230px;
  height: 116px;
}

.hill-right {
  right: 8px;
  width: 260px;
  height: 134px;
  background: #6fd8b3;
}

.flower {
  position: absolute;
  z-index: 3;
  display: block;
  width: 18px;
  height: 54px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.flower::before {
  position: absolute;
  left: 50%;
  top: -26px;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--yellow) 0 28%, transparent 29%),
    conic-gradient(var(--pink) 0 20%, #fff 20% 40%, var(--pink) 40% 60%, #fff 60% 80%, var(--pink) 80% 100%);
  content: "";
  transform: translateX(-50%);
}

.flower-one {
  left: 74px;
  bottom: 14px;
}

.flower-two {
  left: 132px;
  bottom: 34px;
  transform: scale(0.82);
}

.flower-three {
  right: 86px;
  bottom: 28px;
  transform: scale(0.92);
}

.path-shape {
  position: absolute;
  left: 50%;
  bottom: -52px;
  width: 300px;
  height: 150px;
  border: 4px solid var(--ink);
  border-radius: 50% 50% 0 0;
  background: #fff0b4;
  transform: translateX(-50%);
}

.toolbar-section,
.updates-band,
.log-section,
.about-section {
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.about-section h2 {
  margin-bottom: 0;
  color: #28365b;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading > p,
.about-section > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.game-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.search-field input {
  width: 100%;
  min-height: 52px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
  outline: none;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.18);
}

.search-field input:focus {
  box-shadow: 0 5px 0 var(--blue);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tab {
  min-height: 46px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(36, 48, 71, 0.2);
}

.filter-tab[aria-pressed="true"] {
  background: var(--green);
}

.game-dock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 34px);
  max-width: 880px;
  margin: 8px auto 0;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(18px, 4vw, 32px);
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
  backdrop-filter: blur(14px);
}

.dock-game {
  display: grid;
  width: clamp(116px, 16vw, 156px);
  justify-items: center;
  gap: 12px;
  color: var(--ink);
  transform-origin: 50% 100%;
  transition: transform 180ms ease, filter 180ms ease;
}

.dock-game:hover {
  transform: translateY(-8px) scale(1.08);
  filter: saturate(1.08);
}

.dock-icon {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(#bdeeff 0 52%, #bff2b8 52% 100%);
  box-shadow: 0 7px 0 var(--ink);
}

.dock-title {
  max-width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 4px 0 rgba(36, 48, 71, 0.18);
}

.dock-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 20%, var(--yellow) 0 14px, transparent 15px),
    radial-gradient(ellipse at 24% 76%, #7bdc64 0 46px, transparent 47px),
    linear-gradient(#bdeeff 0 56%, #bff2b8 56% 100%);
}

.dock-star-gate {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 44%;
  height: 44%;
  clip-path: polygon(50% 3%, 62% 35%, 97% 36%, 69% 57%, 79% 91%, 50% 71%, 21% 91%, 31% 57%, 3% 36%, 38% 35%);
  background: linear-gradient(145deg, #fff3a6, #ffc83d 46%, #b87313 100%);
  filter: drop-shadow(0 7px 0 rgba(36, 48, 71, 0.22));
  transform: translateX(-50%) rotate(-5deg);
  animation: dockGateFloat 3s ease-in-out infinite;
}

.dock-animal-head {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 52%;
  height: 42%;
  border: 3px solid var(--ink);
  border-radius: 46% 46% 40% 40%;
  background:
    radial-gradient(circle at 38% 48%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 48%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 66%, #fff4d6 0 18px, transparent 19px),
    #d7a36f;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.2);
  transform: translateX(-50%);
}

.dock-animal-head::before,
.dock-animal-head::after {
  position: absolute;
  top: -14px;
  width: 28px;
  height: 28px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #d7a36f;
  content: "";
}

.dock-animal-head::before {
  left: 2px;
}

.dock-animal-head::after {
  right: 2px;
}

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

  50% {
    transform: translateX(-50%) translateY(-6px) rotate(5deg);
  }
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

.game-card {
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
}

.cover {
  position: relative;
  display: block;
  min-height: 150px;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: #c8f7e3;
}

.cover-mint {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0 18%, transparent 18% 100%) 0 0 / 42px 42px,
    #aef0df;
}

.cover-reaction {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.72) 0 18px, transparent 19px),
    linear-gradient(135deg, #bdeeff, #ffd7ea 58%, #fff1a8);
}

.cover-quest {
  background:
    linear-gradient(90deg, rgba(36, 48, 71, 0.16) 0 3px, transparent 3px 52px) 0 0 / 52px 100%,
    linear-gradient(180deg, #9fe3ff 0 44%, #7fd370 44% 100%);
}

.cover-zoo {
  perspective: 760px;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 212, 90, 0.88) 0 24px, transparent 25px),
    linear-gradient(#bdeeff 0 52%, #bff2b8 52% 100%);
}

.cover-cloud {
  position: absolute;
  display: block;
  width: 68px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(36, 48, 71, 0.16);
  animation: coverCloudDrift 7s ease-in-out infinite;
}

.cover-cloud::before,
.cover-cloud::after {
  position: absolute;
  content: "";
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.cover-cloud::before {
  left: 8px;
  top: -15px;
  width: 25px;
  height: 20px;
}

.cover-cloud::after {
  right: 8px;
  top: -19px;
  width: 28px;
  height: 24px;
}

.cover-cloud-one {
  left: 16px;
  top: 28px;
}

.cover-cloud-two {
  right: 16px;
  top: 44px;
  transform: scale(0.78);
  animation-delay: -3s;
}

.cover-star-gate {
  position: absolute;
  display: block;
  left: 50%;
  top: 38px;
  width: 82px;
  height: 82px;
  clip-path: polygon(50% 3%, 62% 35%, 97% 36%, 69% 57%, 79% 91%, 50% 71%, 21% 91%, 31% 57%, 3% 36%, 38% 35%);
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.78) 0 8%, transparent 9%),
    linear-gradient(145deg, #fff3a6, #ffc83d 46%, #b87313 100%);
  filter: drop-shadow(0 12px 0 rgba(36, 48, 71, 0.22)) drop-shadow(0 0 16px rgba(255, 212, 90, 0.7));
  transform: translateX(-50%) rotateX(10deg) rotateY(-12deg);
  transform-style: preserve-3d;
  animation: coverGateFloat 3.2s ease-in-out infinite;
}

.cover-star-gate::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 38px;
  border: 3px solid #8b560d;
  border-radius: 999px 999px 8px 8px;
  background: #4a2d07;
  content: "";
  transform: translate(-50%, -35%);
}

.cover-animal {
  position: absolute;
  bottom: 22px;
  display: block;
  width: 58px;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 46% 46% 40% 40%;
  box-shadow: 0 8px 0 rgba(36, 48, 71, 0.2);
  transform-style: preserve-3d;
  animation: coverAnimalBob 3.6s ease-in-out infinite;
}

.cover-animal::before,
.cover-animal::after {
  position: absolute;
  content: "";
}

.cover-lion {
  left: 26px;
  background:
    radial-gradient(circle at 38% 48%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 48%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 66%, #fff4d6 0 18px, transparent 19px),
    #d7a36f;
}

.cover-lion::before {
  inset: -10px;
  z-index: -1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #b9783f;
}

.cover-elephant {
  right: 26px;
  background:
    radial-gradient(circle at 40% 46%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 46%, var(--ink) 0 4px, transparent 5px),
    #9db2d8;
  animation-delay: -1.4s;
}

.cover-elephant::before,
.cover-elephant::after {
  top: 10px;
  width: 24px;
  height: 30px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #b8c8e8;
}

.cover-elephant::before {
  left: -14px;
}

.cover-elephant::after {
  right: -14px;
}

.cover-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background:
    radial-gradient(ellipse at 18% 0, #78d66d 0 34px, transparent 35px),
    radial-gradient(ellipse at 48% 0, #6acb61 0 36px, transparent 37px),
    radial-gradient(ellipse at 78% 0, #7bdc64 0 34px, transparent 35px),
    #8be27f;
}

@keyframes coverGateFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(10deg) rotateY(-12deg) rotateZ(-2deg);
  }

  50% {
    transform: translateX(-50%) translateY(-10px) rotateX(15deg) rotateY(10deg) rotateZ(3deg);
  }
}

@keyframes coverAnimalBob {
  0%,
  100% {
    transform: translateY(0) rotateY(-8deg);
  }

  50% {
    transform: translateY(-8px) rotateY(10deg);
  }
}

@keyframes coverCloudDrift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12px);
  }
}

.cover-orbit,
.cover-target,
.cover-spark,
.cover-road,
.cover-runner,
.cover-monster,
.cover-skill {
  position: absolute;
  display: block;
}

.cover-orbit {
  left: 50%;
  top: 34px;
  width: 170px;
  height: 110px;
  border: 3px solid rgba(36, 48, 71, 0.78);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-12deg);
}

.cover-target {
  top: 58px;
  left: 50%;
  width: 92px;
  height: 92px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
}

.cover-target::after {
  position: absolute;
  content: "";
  inset: 26px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}

.cover-spark {
  right: 34px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--pink);
  transform: rotate(10deg);
}

.cover-road {
  left: 50%;
  bottom: 0;
  width: 92px;
  height: 112px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  background:
    linear-gradient(90deg, transparent 0 45%, #fff 45% 55%, transparent 55% 100%) 0 0 / 100% 28px,
    #5a6274;
  transform: translateX(-50%) perspective(120px) rotateX(18deg);
}

.cover-runner {
  left: 48px;
  bottom: 28px;
  width: 38px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 45% 45% 28% 28%;
  background:
    radial-gradient(circle at 50% 22%, #ffe0bd 0 12px, transparent 13px),
    linear-gradient(180deg, #4fb5ff 0 58%, #234a9f 59% 100%);
  box-shadow: 0 6px 0 rgba(36, 48, 71, 0.2);
  animation: coverAnimalBob 1.8s ease-in-out infinite;
}

.cover-monster {
  right: 34px;
  bottom: 38px;
  width: 62px;
  height: 62px;
  border: 3px solid var(--ink);
  border-radius: 50% 46% 42% 50%;
  background:
    radial-gradient(circle at 36% 42%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 64% 42%, var(--ink) 0 4px, transparent 5px),
    linear-gradient(180deg, #9bff8d, #3fb25c);
  box-shadow: 0 7px 0 rgba(36, 48, 71, 0.2);
}

.cover-skill {
  left: 50%;
  top: 30px;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 8px, transparent 9px), #ffcf4a;
  transform: translateX(-50%);
  animation: coverGateFloat 2.4s ease-in-out infinite;
}

.game-card-body {
  padding: 14px;
}

.game-card-topline {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.game-card h3 {
  margin-bottom: 12px;
  color: #28365b;
  font-size: 22px;
}

.game-card p {
  min-height: 54px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.game-meta {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.game-meta span {
  padding: 7px 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  color: #3c4b68;
  font-size: 13px;
  font-weight: 900;
}

.play-link {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.empty-state {
  padding: 22px;
  border: 3px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.coming-soon-card {
  position: relative;
  max-width: 760px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.56) 0 18%, transparent 18% 100%) 0 0 / 48px 48px,
    #dff8ff;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
}

.coming-soon-card::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 170px;
  height: 170px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.coming-badge {
  display: inline-grid;
  min-width: 70px;
  min-height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.coming-soon-card h3 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 10px;
  color: #28365b;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.coming-soon-card p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.updates-band {
  background: #e7f7ff;
}

.updates-band .eyebrow {
  color: #0d8aa6;
}

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

.process-grid article {
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 7px 0 var(--ink);
}

.process-grid strong {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--peach);
  color: var(--ink);
  font-weight: 900;
}

.process-grid h3 {
  margin-bottom: 10px;
  color: #28365b;
  font-size: 24px;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.log-section {
  background: #fff9e8;
}

.records-section {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(60px, 8vw, 96px);
  background: #fff9e8;
}

.records-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.records-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.record-card,
.record-empty {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 7px 0 var(--ink);
}

.record-card {
  display: grid;
  gap: 8px;
}

.record-card strong {
  color: #3f69e8;
  font-size: 20px;
}

.record-card span,
.record-card time,
.record-empty p {
  color: var(--muted);
  font-weight: 800;
}

.record-card h2,
.record-empty h2 {
  margin-bottom: 0;
  color: #28365b;
  font-size: 28px;
}

.admin-panel {
  max-width: 760px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 7px 0 var(--ink);
}

.admin-panel + .admin-panel {
  margin-top: 20px;
}

.admin-panel h2 {
  margin-bottom: 14px;
  color: #28365b;
  font-size: 30px;
}

.admin-panel label {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.admin-panel input {
  min-height: 52px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.admin-message {
  margin: 14px 0 0;
  color: #c2410c;
  font-weight: 900;
}

.log-hero {
  padding: clamp(54px, 8vw, 98px) clamp(20px, 5vw, 72px) clamp(24px, 4vw, 42px);
}

.log-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.log-list {
  display: grid;
  gap: 16px;
}

.log-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  max-width: 940px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 7px 0 var(--ink);
}

.log-item time {
  color: #3f69e8;
  font-size: 16px;
  font-weight: 900;
}

.log-item h3 {
  margin-bottom: 8px;
  color: #28365b;
  font-size: 24px;
}

.log-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: #fff;
}

.site-footer {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .hero-shell,
  .game-toolbar,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-stage {
    min-height: auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .log-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .top-nav a {
    padding-left: 0;
  }

  .playland-board {
    min-height: 360px;
  }

  .guide-scene {
    min-height: 430px;
  }

  .guide-martin {
    height: 96%;
    max-width: 92%;
  }

  .guide-rainbow {
    top: 184px;
    width: 220px;
    height: 110px;
  }

  .guide-lollipop {
    left: 40px;
  }

  .guide-ice-one {
    right: 36px;
  }

  .guide-ice-two {
    right: 78px;
  }

  .balloon-one {
    left: 158px;
  }

  .balloon-two {
    right: 118px;
  }

  .rainbow-shape {
    width: 198px;
    height: 99px;
  }

  .flower-three {
    right: 44px;
  }
}
