:root {
  --dw-bg: #123528; --dw-fg: #fbf4e6; --dw-accent: #f2c14e; --dw-panel: rgba(18, 53, 40, .96);
  --dw-font-body: 'Nunito', system-ui, sans-serif; --display: 'Mountains of Christmas', Georgia, serif;
  --red: #b8312f; --pine: #1d5a40; --cream: #fbf4e6; --gold: #f2c14e; --line: rgba(251, 244, 230, .18);
}
body { overflow-x: hidden; background: radial-gradient(80% 50% at 50% 0%, #1c4a37, var(--dw-bg) 70%) fixed, var(--dw-bg); }
.snow { position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff9, transparent), radial-gradient(2px 2px at 120px 80px, #fff8, transparent), radial-gradient(1.5px 1.5px at 60px 150px, #fff7, transparent), radial-gradient(2.5px 2.5px at 170px 190px, #fffa, transparent);
  background-size: 200px 220px; animation: snow 14s linear infinite; opacity: .55; }
@keyframes snow { to { background-position: 40px 220px; } }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0 0 .4em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--gold); }
section { position: relative; z-index: 2; padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 64px); }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 8px clamp(16px, 4vw, 40px); background: #123528e6; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 3px solid var(--red); }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--cream); text-decoration: none; }
.brand span { color: var(--gold); }
.topbar nav { display: flex; align-items: center; gap: 18px; font-weight: 700; }
.topbar nav a { color: var(--cream); text-decoration: none; }
.topbar nav a:hover { color: var(--gold); }
@media (max-width: 640px) { .topbar nav a { display: none; } }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 48px); align-items: center; min-height: 100svh; padding-top: 90px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; min-height: 0; } }
.hero-fig { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 0 0 6px var(--red), 0 30px 80px #0009; }
.hero-fig img { width: 100%; height: auto; }
.kicker { font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn { font-weight: 800; text-decoration: none; color: var(--cream); border: 3px solid var(--cream); padding: .75em 1.3em; border-radius: 999px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-hot { background: var(--red); border-color: var(--red); }

.hs { position: absolute; width: 8%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed transparent; background: transparent; transition: border-color .3s, background .3s; }
.hs:hover, .hs:focus-visible { border-color: var(--gold); background: #f2c14e33; }
.hs.is-found { border-color: #fbf4e699; }
.hs-roof { left: 53%; top: 2%; width: 9%; } .hs-icicle { left: 19%; top: 58%; width: 9%; } .hs-sleep { left: 78%; top: 72%; width: 12%; }
.hs-bell { left: 27%; top: 16%; width: 10%; } .hs-whistle { left: 58%; top: 76%; width: 12%; } .hs-ginger { left: 7%; top: 44%; width: 12%; }

.game { text-align: center; }
.game-head { max-width: 820px; margin: 0 auto 1.4rem; }
kbd { font-family: inherit; font-weight: 800; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; }
.field-frame { position: relative; max-width: 960px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 0 0 6px var(--red), 0 30px 80px #0009; }
#meadow { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; touch-action: none; cursor: crosshair; background: #eef4f2; }
#meadow.is-tall { aspect-ratio: 640 / 760; }
.hud { position: absolute; top: 6%; left: 5%; right: 5%; display: flex; justify-content: space-between; font-weight: 800; color: #123528; pointer-events: none; font-size: 1.05rem; }
.hud span { background: #fbf4e6e6; padding: .1em .7em; border-radius: 999px; box-shadow: 0 2px 0 #b8312f; }
.hud b { color: var(--red); }
.msg { margin: 0; padding: 10px 14px; background: var(--red); color: var(--cream); font-weight: 700; min-height: 2.8em; }
.tools { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tool { font: inherit; font-weight: 800; font-size: 1.05rem; padding: .7em 1.2em; border-radius: 999px; border: 3px solid var(--cream); background: transparent; color: var(--cream); cursor: pointer; min-height: 48px; }
.tool.is-on { background: var(--cream); color: var(--red); }
.tool.restart { border-style: dashed; opacity: .8; }

.pantry { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pantry .reward, .pantry .journal { grid-column: 1 / -1; }
@media (max-width: 860px) { .pantry { grid-template-columns: 1fr; } }
.art { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 24px 60px #0008; }
.art img { width: 100%; height: auto; }
.features { padding-left: 1.1em; }
.features li { margin: .45em 0; }
.features b { color: var(--gold); }
.found { font-weight: 800; color: var(--gold); }
.reward { max-width: 720px; margin: 0 auto; padding: 1rem 1.2rem; border: 3px dashed var(--gold); border-radius: 12px; background: #f2c14e14; }
.journal { max-width: 780px; margin: 0 auto; }
.journal li { margin: .5em 0; }

.vote { text-align: center; max-width: 1000px; margin: 0 auto; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 1.2rem auto 0; }
.offer { font: inherit; font-weight: 800; font-size: 1.05rem; color: #123528; background: var(--cream); border: 0; border-radius: 16px; padding: 1em; cursor: pointer; box-shadow: 0 5px 0 var(--red); transition: transform .15s; }
.offer small { font-weight: 600; font-size: .88rem; }
.offer:hover, .offer:focus-visible { transform: translateY(-3px); }
.offers.small .offer { font-size: .95rem; }
.also { margin: 2rem 0 0; font-weight: 800; color: var(--gold); }

.list { display: grid; justify-items: center; text-align: center; background: var(--red); }
.list h2 { color: var(--cream); }
.list .dw-optin { text-align: left; width: 100%; --dw-accent: #123528; }
.list .dw-optin input[type=email] { background: var(--cream); color: #123528; border: 0; }
.list .dw-optin button[type=submit] { background: #123528; color: var(--cream); }
.list .dw-consent { opacity: 1; }
.offer-note { margin: 0; font-weight: 800; color: var(--gold); }

.foot { position: relative; z-index: 2; padding: 30px 16px 10px; text-align: center; }
.glyph { font: inherit; background: none; border: 0; color: var(--gold); padding: 0 .3em; cursor: pointer; font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .snow { animation: none; } }
