/*
 * Animal Adventure Farm — this journey's own scenes and skins, on top of
 * css/game-core.css (never edit that file from a journey; ask for a change).
 *
 * Scenes: .gc[data-theme="<chapter theme or content.theme>"] { background: … }
 * Skins:  .gc--animal-adventure-farm .gc-skin--<skin> .gc-rock { … }   (content.skin)
 * Keep animations 150-450 ms and inside @media (prefers-reduced-motion:
 * no-preference) if they move anything (game-core.css stops them otherwise).
 */
.gc--animal-adventure-farm .gc-title-name { color: color-mix(in srgb, #85B96D 55%, #000); }

/*
 * Scenes: farm (chapter 1), barn (2), pasture (4), henhouse (5) and
 * festival (6). Chapter 3 uses game-core's meadow. All static gradients:
 * sky at the top, fields or straw at the bottom; dark text stays readable.
 */

/* Farm: blue sky, a sun, green fields with a warm path. */
.gc[data-theme="farm"] {
  background:
    radial-gradient(circle at 84% 12%, #fff3b0 0 7%, transparent 8%),
    radial-gradient(ellipse 30% 8% at 50% 100%, #e8b46d 0 98%, transparent 100%),
    linear-gradient(#bfe6ff, #e6f7d8 48%, #a9d58e 48%, #85B96D);
}

/* Barn: warm red wood boards over a straw floor. */
.gc[data-theme="barn"] {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 64px),
    linear-gradient(#f6d9c4, #efc3a6 62%, #ecd08e 62%, #e8b46d);
}

/* Pasture: open grass under a pale sky, a wooden fence line. */
.gc[data-theme="pasture"] {
  background:
    linear-gradient(transparent 56%, #c99a62 56% 57.5%, transparent 57.5% 62%, #c99a62 62% 63.5%, transparent 63.5%),
    linear-gradient(#d4efff, #eef9e4 56%, #b6dd98 56%, #8fc276);
}

/* Henhouse: soft straw nest colors. */
.gc[data-theme="henhouse"] {
  background:
    radial-gradient(ellipse 40% 10% at 50% 100%, #d9a35a 0 98%, transparent 100%),
    linear-gradient(#fff4dc, #fbe3b4 60%, #f0cf8c);
}

/* Festival: bunting colors over the farm fields. */
.gc[data-theme="festival"] {
  background:
    radial-gradient(circle at 12% 8%, #f6a5c0 0 2.5%, transparent 3%),
    radial-gradient(circle at 32% 10%, #8fd3f4 0 2.5%, transparent 3%),
    radial-gradient(circle at 52% 8%, #ffe08a 0 2.5%, transparent 3%),
    radial-gradient(circle at 72% 10%, #b5e48c 0 2.5%, transparent 3%),
    radial-gradient(circle at 90% 8%, #f6a5c0 0 2.5%, transparent 3%),
    linear-gradient(#ffeef4, #fff6df 52%, #b6dd98 52%, #85B96D);
}

/* Hay bale skin for listen-find (content.skin: 'hay'). */
.gc--animal-adventure-farm .gc-skin--hay .gc-rock {
  border-radius: 22px;
  background:
    repeating-linear-gradient(0deg, rgba(150,100,30,.18) 0 3px, transparent 3px 12px),
    linear-gradient(145deg, #f3d48a, #e8b46d);
  border: 4px solid #c98d3e; box-shadow: 0 8px 0 #a8742f;
  color: #4a3410;
}
