:root {
  --ink: #1b1830;
  --paper: #fffaf0;
  --pink: #ff5f8f;
  --yellow: #ffcf4a;
  --purple: #6e55dc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
}

main, footer { width: min(1120px, calc(100% - 40px)); margin: auto; }

nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
}

a { color: inherit; font-weight: 800; }
.brand { text-decoration: none; font-size: 1.2rem; letter-spacing: .12em; }

.hero { padding: 96px 0 112px; max-width: 880px; }
.eyebrow { font-size: .78rem; font-weight: 900; letter-spacing: .16em; }

h1 {
  margin: 18px 0 26px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.07em;
}

h1 span { color: var(--pink); }
.intro { max-width: 620px; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; }

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 17px 23px;
  color: white;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--yellow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--yellow); }

.game {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border: 2px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  background: white;
}

.art { min-height: 480px; position: relative; overflow: hidden; background: #8eddf3; }
.sun { position: absolute; width: 120px; height: 120px; border-radius: 50%; top: 50px; right: 65px; background: var(--yellow); }
.hill { position: absolute; width: 130%; height: 62%; left: -15%; bottom: -28%; border-radius: 50% 50% 0 0; }
.hill-one { background: #8dd45f; transform: rotate(4deg); }
.hill-two { background: #53ad5b; transform: translate(-36%, 24%) rotate(-8deg); }

.bunny {
  position: absolute;
  width: 122px;
  height: 150px;
  left: 42%;
  bottom: 82px;
  border: 4px solid var(--ink);
  border-radius: 50% 50% 42% 42%;
  background: white;
  box-shadow: 10px 10px 0 rgba(27,24,48,.18);
}

.bunny::before, .bunny::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 105px;
  top: -75px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: white;
  z-index: -1;
}

.bunny::before { left: 12px; transform: rotate(-10deg); }
.bunny::after { right: 12px; transform: rotate(10deg); }
.bunny span::before, .bunny span::after { content: ""; position: absolute; width: 10px; height: 15px; top: 52px; border-radius: 50%; background: var(--ink); }
.bunny span::before { left: 31px; }
.bunny span::after { right: 31px; }

.game-copy { padding: 64px 54px; display: flex; flex-direction: column; justify-content: center; }
h2 { margin: 10px 0 20px; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.game-copy > p:not(.eyebrow) { font-family: system-ui, sans-serif; font-size: 1.08rem; line-height: 1.7; }
.text-link { margin-top: 18px; text-underline-offset: 5px; }

footer { padding: 42px 0; display: flex; justify-content: space-between; gap: 20px; font-family: system-ui, sans-serif; font-size: .9rem; }

@media (max-width: 760px) {
  .hero { padding: 70px 0 80px; }
  .game { grid-template-columns: 1fr; }
  .art { min-height: 390px; }
  .game-copy { padding: 42px 30px; }
  footer { flex-direction: column; }
}
