:root {
  color-scheme: light;
  --ink: #523b39;
  --muted: #6d5049;
  --peach: #fff0e5;
  --cream: #fffaf3;
  --pink: #ffe8e4;
  --rose: #a64056;
  --rose-deep: #853447;
  --green: #486546;
  --line: #ead4c8;
  --thai: "Mali", Tahoma, sans-serif;
  --display: "Nunito", "Mali", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 1rem/1.7 var(--thai); }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure, h1, h2, p { margin: 0; }
h2 { font-weight: 700; line-height: 1.28; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #fff8f0; border-bottom: 1px solid #f2ddd0; }
.navigation, .footer-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 900 clamp(1rem, 2.7vw, 1.45rem)/1 var(--display); white-space: nowrap; color: #634240; letter-spacing: -.035em; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: 27px; }
nav > a { white-space: nowrap; text-decoration: none; font-size: .87rem; }
nav > a:not(.pill):hover { color: var(--rose); text-decoration: underline; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 51px; padding: 9px 23px; border: 1px solid #97394d; border-radius: 999px; background: var(--rose); box-shadow: 0 4px 0 #7d3344; color: white; text-decoration: none; font: 700 .96rem/1.5 var(--thai); cursor: pointer; transition: background .18s ease, transform .18s ease; }
.pill:hover { background: var(--rose-deep); transform: translateY(-2px); }
.pill:disabled { cursor: wait; opacity: .62; }
.pill-small { min-height: 40px; padding: 7px 17px; font-size: .83rem; }

.hero { isolation: isolate; position: relative; background: radial-gradient(ellipse at 79% 25%, #ffddd7 0, transparent 58%), linear-gradient(110deg, #fff3d9, #fff2ea 64%, #fce3e3); }
.hero::after { content: ""; position: absolute; height: 17px; right: 0; left: 0; bottom: -1px; z-index: -1; background: radial-gradient(ellipse at center bottom, var(--cream) 69%, transparent 71%) 0 0 / 40px 20px repeat-x; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(22px, 5vw, 72px); align-items: center; padding-block: 62px 81px; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px; border: 1px solid #d9dcb6; border-radius: 999px; background: #f4f4d8; color: #485b36; font: 900 .77rem/1.4 var(--display); letter-spacing: .13em; }
h1 { margin: 15px 0 20px; display: grid; font: 900 clamp(3.55rem, 8vw, 7.55rem)/.81 var(--display); letter-spacing: -.07em; color: #654344; }
h1 span, h1 strong { text-shadow: 0 3px #fff9eb; }
h1 strong { font-weight: 900; color: #a64056; }
.hero h2 { font-size: clamp(1.48rem, 3vw, 2.25rem); }
.lead { margin-top: 10px; color: var(--muted); }
.hero-button { margin-top: 24px; }
.hero-art { position: relative; min-width: 0; margin: 12px 11px 15px 25px; }
.postcard { position: relative; border: 2px solid #efcbba; border-radius: 32px; background: #fff9ee; padding: 9px; box-shadow: 0 14px 34px #a5575933; transform: rotate(2deg); overflow: hidden; }
.game-view { width: 100%; aspect-ratio: 1.38; height: auto; object-fit: cover; object-position: 49% 49%; border-radius: 24px; }
figcaption { text-align: right; color: #69514a; padding: 7px 8px 1px; font-size: .75rem; }
.portrait { width: clamp(115px, 16vw, 212px); aspect-ratio: 1; position: absolute; left: -8%; bottom: -8%; padding: 6px; border-radius: 50%; border: 2px solid #e8b6ac; background: #fff9ee; transform: rotate(-7deg); box-shadow: 0 8px 16px #80564a32; }
.portrait-window { position: relative; overflow: hidden; height: 100%; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff0cf, #f9c9c7); }
.portrait-window img { position: absolute; top: 5%; left: 3%; width: 94%; height: auto; max-width: unset; }
.star { position: absolute; line-height: 1; text-shadow: 0 3px #fff8ec; pointer-events: none; }
.star-one { left: -6%; top: 1%; color: #aa5369; font-size: 2.4rem; }
.star-two { right: -7%; top: 8%; color: #aa5369; font-size: 2.9rem; }
.star-three { right: -2%; bottom: -5%; color: #966327; font-size: 2rem; }

#rewards, #register { scroll-margin-top: 22px; }
.rewards { padding-top: 53px; }
.rewards-card { display: grid; grid-template-columns: 1fr 260px; gap: 26px; align-items: center; min-height: 245px; padding: 28px clamp(22px, 5.2vw, 72px); border: 1px solid #e5d7ba; border-radius: 34px; background: radial-gradient(ellipse at 83% 37%, #fff8eb, transparent 66%), #f6efd9; }
.reward-copy h2, .signup h2 { font-size: clamp(1.65rem, 4vw, 2.75rem); }
.reward-copy p { margin-top: 12px; max-width: 460px; color: var(--muted); }
.reward-item { display: grid; position: relative; place-items: center; text-align: center; }
.reward-item img { width: min(175px, 70%); height: auto; filter: drop-shadow(0 9px 6px #815c3c2f); }
.reward-spark { position: absolute; top: 10%; right: 12%; color: #916428; font-size: 1.75rem; transform: rotate(12deg); }
.reward-label { margin-top: -7px; padding: 3px 14px; border: 1px solid #ddcda9; border-radius: 999px; background: #fff9eb; color: #775235; font-size: .82rem; position: relative; }
.signup { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(24px, 7vw, 85px); padding-block: 75px 82px; align-items: start; }
.signup-info p { margin: 15px 0 22px; max-width: 370px; color: var(--muted); }
.farm-view { max-width: 435px; padding: 7px; border: 1px solid #e7d4bc; border-radius: 24px; background: #fff4e5; transform: rotate(-2deg); }
.farm-view img { border-radius: 17px; width: 100%; height: auto; }
form { padding: clamp(21px, 4vw, 34px); border: 1px solid #eac8c6; border-radius: 28px; background: #fff2ef; box-shadow: 0 7px 0 #f3deda; }
label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
input:not([type=checkbox]), select { display: block; width: 100%; min-height: 47px; margin-bottom: 15px; padding: 8px 13px; border: 1px solid #cba9a2; border-radius: 13px; background: #fffaf5; color: var(--ink); font: 600 .96rem/1.5 var(--thai); }
::placeholder { color: #795f5b; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 17px 0; color: var(--muted); font-weight: 600; }
input[type=checkbox] { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--rose); }
form .pill { width: 100%; justify-content: space-between; }
.notice, .status { margin-top: 14px; color: var(--muted); font-size: .83rem; }
.status:empty { display: none; }
.status:not(:empty) { padding: 10px 12px; background: #e2eddb; border-radius: 13px; color: #244929; }
.status[data-type=error] { background: #f5dfd7; color: #802e29; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid #47663b; outline-offset: 4px; }
footer { background: #f4e9d8; color: #664b44; border-top: 1px solid #e6d2be; }
.footer-inner > span:last-child { font-size: .77rem; text-align: right; }
@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .hero-grid { gap: 28px; }
  .rewards-card { grid-template-columns: 1fr 190px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .navigation, .footer-inner { min-height: 61px; }
  .brand { gap: 4px; }
  .brand img { width: 29px; height: 29px; }
  nav { gap: 12px; }
  nav > a { font-size: .76rem; }
  .pill-small { min-height: 34px; font-size: .72rem; padding: 6px 10px; }
  .hero-grid, .signup { grid-template-columns: 1fr; gap: 29px; padding-block: 34px 55px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(3.8rem, 16vw, 5.9rem); }
  .desktop-break { display: none; }
  .hero-art { margin: 2px 7px 9px 18px; }
  .portrait { left: -6%; }
  .star-two { right: -3%; font-size: 2.1rem; }
  .rewards { padding-top: 36px; }
  .rewards-card { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .reward-item img { width: 123px; }
  .reward-spark { right: 24%; }
  .signup h2 br { display: none; }
  .signup-info p { margin-bottom: 0; }
  .farm-view { display: none; }
}
@media (max-width: 370px) {
  nav > a:not(.pill) { font-size: .69rem; }
  .brand { font-size: .92rem; }
}
[hidden] { display: none !important; }
.page-progress { appearance: none; position: fixed; inset: 0 0 auto; z-index: 5; width: 100%; height: 4px; border: 0; background: transparent; pointer-events: none; }
.page-progress::-webkit-progress-bar { background: transparent; }
.page-progress::-webkit-progress-value { background: linear-gradient(90deg, #9b4864, #f2ab69, #a2ab65); border-radius: 0 4px 4px 0; }
.page-progress::-moz-progress-bar { background: #aa5269; }
.hero {
  background:
    radial-gradient(ellipse at 72% 49%, #ffe0c5 0, #ffded5cc 32%, transparent 66%),
    radial-gradient(circle at 6% 5%, #fff8df 0, transparent 44%),
    linear-gradient(132deg, #fff4e4, #ffeae5 63%, #f9dfe1);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .65;
  background: radial-gradient(circle, #ae654b40 1px, transparent 1.6px) 0 0 / 23px 23px;
  mask-image: radial-gradient(ellipse at 82% 43%, black 9%, transparent 72%);
  pointer-events: none;
}
.hero-grid { min-height: 640px; }
.hero-art { perspective: 900px; --tilt-x: 0deg; --tilt-y: 0deg; }
.logo-card {
  background: #fff8e9;
  border-color: #fffaf0;
  padding: 8px 8px 4px;
  transform: rotate(2deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .24s ease-out, box-shadow .24s ease-out;
  box-shadow: 0 0 0 1px #e9baa0, 0 17px 42px #a247453b, 0 36px 80px #ad765722;
}
.logo-card .game-view { aspect-ratio: 1.5; object-position: center; background: radial-gradient(ellipse at 52% 53%, #fff5ca 14%, transparent 68%), linear-gradient(150deg, #fff0d2, #ebedd0 57%, #f9d6ce); }
.logo-card figcaption a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.logo-card figcaption span { margin-left: 5px; font-size: .9rem; }
.star { animation: star-shimmer 4.4s ease-in-out infinite; }
.star-one { animation-delay: -1.7s; }
.star-three { animation-delay: -2.9s; }
@keyframes star-shimmer {
  0%, 100% { opacity: .72; scale: .90; }
  50% { opacity: 1; scale: 1.15; }
}
@keyframes reveal-in {
  from { transform: translateY(18px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes treasure-hop {
  35% { transform: translateY(-13px) rotate(-5deg); }
  74% { transform: translateY(-4px) rotate(3deg); }
}
.motion-in { animation: reveal-in .64s cubic-bezier(.19,.7,.4,1) both; }
.world { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(22px, 5vw, 70px); align-items: center; padding-top: 63px; }
.world-copy h2 { font-size: clamp(1.65rem, 3.8vw, 2.65rem); }
.world-copy p { color: var(--muted); margin: 10px 0 18px; }
.world-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.world-switch button, .motion-toggle, .reward-details summary {
  padding: 8px 13px;
  border: 1px solid #d6b1a6;
  border-radius: 999px;
  background: #fff1e7;
  color: var(--ink);
  font: 700 .84rem/1.45 var(--thai);
  cursor: pointer;
}
.world-switch button[aria-pressed=true] { background: #883d50; border-color: #883d50; color: white; }
.world-frame { padding: 7px 7px 0; border: 1px solid #ead3bd; background: #fff5e6; border-radius: 25px; box-shadow: 0 5px 0 #efdfce; overflow: hidden; }
.world-frame img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; border-radius: 18px; }
.world-frame figcaption { padding: 7px 10px 9px; }
.reward-details { margin-top: 15px; }
.reward-details summary { width: fit-content; list-style: none; background: #fff9eb; }
.reward-details summary::-webkit-details-marker { display: none; }
.reward-details summary span { display: inline-block; padding-left: 6px; transition: transform .2s; }
.reward-details[open] summary span { transform: rotate(25deg); }
.reward-details p { margin-top: 9px; }
.rewards-card:has(.reward-details[open]) .reward-item img { animation: treasure-hop .57s ease-out; }
.reward-item::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, #f7cb7f94, transparent 69%); pointer-events: none; }
.reward-item img { position: relative; }

.motion-toggle { background: #fff8eb; }
.fx-sprite { position: fixed; z-index: 6; width: 7px; height: 10px; background: var(--sprite-color, #f4a48d); border-radius: 80% 30% 75% 30%; pointer-events: none; }
@media (pointer:fine) {
  body, a, button, select, summary, input[type=checkbox], .pill, .reward-details summary {
    cursor: url("farm-cursor.png") 3 3, auto;
  }
  input:not([type=checkbox]) { cursor: text; }
  button:disabled { cursor: wait; }
}
body[data-motion=off] .star, body[data-motion=off] .motion-in,
body[data-motion=off] .reward-item img, body[data-motion=off] .portrait { animation: none !important; }
body[data-motion=off] .logo-card { transform: rotate(2deg); }
@media(max-width: 800px) { .nav-world { display: none; } .hero-grid { min-height: 0; } }
@media(max-width: 650px) {
  .world { grid-template-columns: 1fr; gap: 18px; padding-top: 41px; }
  .world-copy p { margin-bottom: 12px; }
  .logo-card { border-radius: 24px; }
  .logo-card .game-view { border-radius: 17px; }
}
.portrait { animation: portrait-bob 4.6s ease-in-out infinite; }
@keyframes portrait-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 12px;
  border: 1px solid #d6b1a6;
  border-radius: 999px;
  background: #fff0e3;
  color: #6e3e44;
  font: 700 .82rem/1.35 var(--thai);
  white-space: nowrap;
}
.music-note { font: 900 1.21rem/1 var(--display); }
.music-toggle[aria-pressed=true] { background: #e9efda; border-color: #bdcca4; color: #3f573b; }
.music-toggle:hover { border-color: #a46973; }
@media (max-width: 650px) {
  .navigation { gap: 8px; }
  .navigation nav { gap: 8px; }
  .music-toggle { min-width: 36px; min-height: 36px; padding: 5px; }
  .music-text { display: none; }
}
@media (max-width: 370px) {
  .navigation nav { gap: 6px; }
  .navigation .brand img { width: 25px; height: 25px; }
}
@media (max-width: 400px) {
  .site-header .brand span { display: none; }
}
.flower-rain {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.falling-flower {
  position: absolute;
  top: calc(-1 * var(--flower-size));
  width: var(--flower-size);
  height: var(--flower-size);
  opacity: 0;
  filter: drop-shadow(0 1px 1px #744d433b);
}
.falling-flower.sakura {
  background:
    radial-gradient(circle at 50% 50%, #fff6b5 0 7%, #d77690 8% 11%, transparent 12%),
    radial-gradient(ellipse 22% 27% at 50% 23%, #ffcedd 15%, #eba0b7 91%, transparent 100%),
    radial-gradient(ellipse 27% 21% at 76% 40%, #ffd6e2 13%, #ed9cb5 91%, transparent 100%),
    radial-gradient(ellipse 22% 26% at 65% 69%, #ffbdce 12%, #e58ca8 91%, transparent 100%),
    radial-gradient(ellipse 22% 26% at 33% 69%, #ffc4d7 12%, #ed98b0 91%, transparent 100%),
    radial-gradient(ellipse 27% 21% at 24% 40%, #ffdbe5 14%, #f19fbb 91%, transparent 100%);
}
.falling-flower.clover {
  background:
    radial-gradient(circle at 50% 46%, #bbd27d 0 9%, transparent 11%),
    radial-gradient(ellipse 24% 18% at 28% 32%, #b7d777 0, #73a348 88%, transparent 100%),
    radial-gradient(ellipse 24% 18% at 72% 32%, #b1cd73 0, #679346 88%, transparent 100%),
    radial-gradient(ellipse 23% 18% at 28% 60%, #b4cf70 0, #78a047 91%, transparent 100%),
    radial-gradient(ellipse 23% 18% at 72% 60%, #acc568 0, #6b9942 91%, transparent 100%);
}
.falling-flower.clover::after {
  position: absolute;
  content: "";
  width: 8%;
  height: 29%;
  background: #77974c;
  border-radius: 0 0 100% 40%;
  left: 49%;
  bottom: 6%;
  transform: rotate(-17deg);
  transform-origin: top center;
}
.falling-flower.daisy {
  background:
    radial-gradient(circle at 50% 50%, #fbd366 0 13%, #c98f37 14% 16%, transparent 17%),
    radial-gradient(ellipse 14% 46% at 50% 50%, #fff9e3 20%, #eee2c1 92%, transparent 100%),
    radial-gradient(ellipse 46% 14% at 50% 50%, #fff9e3 20%, #eee2c1 92%, transparent 100%);
}
.falling-flower.daisy::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
  background:
    radial-gradient(ellipse 13% 45% at 50% 50%, transparent 37%, #fff9e3 40% 89%, transparent 100%),
    radial-gradient(ellipse 45% 13% at 50% 50%, transparent 37%, #fff9e3 40% 89%, transparent 100%);
}
.falling-flower.lavender {
  transform-origin: 50% 85%;
  background:
    radial-gradient(ellipse 13% 16% at 50% 13%, #c39bd9 14%, #8e6fb4 91%, transparent 100%),
    radial-gradient(ellipse 18% 12% at 34% 27%, #bd94d5 16%, #9670b7 90%, transparent 100%),
    radial-gradient(ellipse 18% 12% at 64% 35%, #c8a1db 14%, #906ab0 90%, transparent 100%),
    radial-gradient(ellipse 18% 13% at 33% 46%, #cca9e0 14%, #9673bc 88%, transparent 100%),
    radial-gradient(ellipse 18% 12% at 64% 56%, #c5a1df 14%, #8f6bb5 89%, transparent 100%),
    radial-gradient(ellipse 17% 10% at 34% 63%, #bea0d7 14%, #9471b5 88%, transparent 100%),
    linear-gradient(#879c5c, #627f43) 50% 96% / 5% 83% no-repeat;
}
.falling-flower.maple {
  background: linear-gradient(123deg, #f0a856, #cd6c42 75%);
  clip-path: polygon(50% 0, 58% 24%, 66% 15%, 64% 39%, 87% 24%, 83% 40%, 100% 43%, 89% 56%, 92% 66%, 67% 68%, 64% 82%, 53% 76%, 54% 100%, 47% 100%, 48% 76%, 36% 82%, 35% 68%, 8% 66%, 11% 56%, 0 43%, 17% 40%, 13% 24%, 36% 39%, 34% 15%, 42% 24%);
}
.falling-flower.maple::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 7%;
  left: 49%;
  width: 5%;
  background: #ffcc83ad;
}
.falling-flower.ginkgo {
  background: linear-gradient(128deg, #f6cf62, #d5a33b 85%);
  clip-path: polygon(50% 37%, 40% 17%, 23% 10%, 9% 17%, 1% 33%, 7% 48%, 20% 61%, 38% 66%, 48% 67%, 50% 97%, 56% 97%, 54% 67%, 67% 65%, 82% 60%, 94% 49%, 99% 32%, 90% 17%, 77% 11%, 61% 18%);
}
.falling-flower.ginkgo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 302deg at 52% 67%, transparent 0 17deg, #fff6b64d 18deg 20deg, transparent 21deg 30deg);
}
