@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Nunito:wght@400;600;700;800&display=swap');
:root {
  --bg: #fdf6ea; --ink: #4a2e1f; --muted: #8f735f; --card: #fffdf8; --line: #efdcc4; --accent: #f07a1e; --accent-ink: #fff;
  --good: #3f9b4f; --warn: #d98a00; --bad: #d9473b; --radius: 18px; --font: 'Nunito', system-ui, sans-serif; --display: 'Baloo 2', 'Nunito', sans-serif;
  --soil: #946640; --soil2: #6f4a2a; --meadow: #bfe3a3; --sky: #d8f0ff;
}
body { background: radial-gradient(circle at 10% 0%, #fff 0, transparent 40%), var(--bg); }
.btn { border-radius: 999px; box-shadow: 0 3px 0 #b8560c; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b8560c; }
.btn.ghost, .btn.danger { box-shadow: inset 0 0 0 2px var(--line); }
.btn.danger { box-shadow: inset 0 0 0 2px var(--bad); }

/* play */
.layout-b .sf-top { background: #fffaf1; border-bottom: 3px solid var(--line); }
.layout-b .sf-brand { font-size: 26px; font-weight: 800; color: #c45a10; }
.layout-b .sf-plot { background: linear-gradient(#7cc35a, #5aa83e); padding: 16px; border-radius: 28px; box-shadow: 0 8px 0 #3f7d2a, 0 20px 40px rgba(60,100,30,.25); position: relative; }
.layout-b .sf-plot::before { content: ''; position: absolute; inset: 6px; border-radius: 24px; border: 3px dashed rgba(255,255,255,.35); pointer-events: none; }
.layout-b .slot { border-radius: 16px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.18); }
.layout-b .sf-panel { border: 3px solid var(--line); border-radius: 26px; box-shadow: 0 6px 0 var(--line); }
.layout-b .sf-tabs button.on { box-shadow: none; background: var(--accent); color: #fff; border-radius: 999px; }
.layout-b .sf-tabs { gap: 4px; padding: 8px; border-bottom: 3px solid var(--line); }
.layout-b .sf-tabs button { border-radius: 999px; padding: 8px 13px; }
.layout-b .card { border-width: 2px; background: #fff; }
.layout-b .sf-farm-head h2 { font-size: 28px; color: #c45a10; }

/* landing */
.hw-nav { display: flex; align-items: center; gap: 22px; padding: 16px 28px; max-width: 1200px; margin: 0 auto; }
.hw-nav .sf-brand { font-size: 28px; font-weight: 800; color: #c45a10; }
.hw-nav nav { display: flex; gap: 18px; margin-left: auto; }
.hw-nav nav a { color: var(--ink); text-decoration: none; font-weight: 800; }
.hero { position: relative; overflow: hidden; background: linear-gradient(var(--sky), #f4fbff 80%, #fdf6ea); border-bottom: 18px solid #8d6038; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 40px 28px 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: end; min-height: 560px; }
.hero h1 { font-family: var(--display); font-size: clamp(42px, 6vw, 78px); line-height: .95; margin: 0 0 16px; color: #4a2e1f; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 19px; max-width: 520px; }
.hero .cta { display: flex; gap: 10px; margin: 22px 0 70px; flex-wrap: wrap; }
.hero .cta .btn { text-decoration: none; }
.scene { align-self: end; }
.scene svg { width: 100%; display: block; }
.badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 70px 28px; }
.sec-h { font-family: var(--display); font-size: clamp(32px, 4vw, 50px); margin: 0 0 8px; line-height: 1; }
.sec-p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 20px; position: relative; }
.step b { position: absolute; top: -16px; left: 18px; background: var(--accent); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 18px; }
.step svg { width: 80px; height: 80px; }
.step h3 { font-family: var(--display); margin: 6px 0 4px; font-size: 22px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side { border-radius: 30px; padding: 30px; }
.side.f { background: #fff0dc; } .side.h { background: #e8f4ff; }
.side h3 { font-family: var(--display); font-size: 32px; margin: 0 0 6px; }
.side ul { padding-left: 20px; line-height: 1.7; }
.side svg { width: 120px; height: 120px; float: right; }
.crates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.crate { background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 16px; text-align: center; }
.crate svg { width: 90px; height: 100px; }
.crate h4 { font-family: var(--display); font-size: 20px; margin: 4px 0 0; }
.crate p { margin: 2px 0; color: var(--muted); font-weight: 700; }
.carrots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.carrots svg { width: 30px; height: 30px; }
.gold { background: linear-gradient(135deg, #fff6c4, #ffe08a); border-radius: 34px; padding: 40px; display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; }
.gold svg { width: 100%; }
.warrens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.warren { background: #fff; border: 3px solid var(--line); border-radius: 22px; overflow: hidden; }
.warren svg { width: 100%; display: block; }
.warren div { padding: 10px 14px; }
.warren h4 { margin: 0; font-family: var(--display); font-size: 19px; }
.warren p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.token { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.tk { background: #fff; border: 3px solid var(--line); border-radius: 26px; padding: 24px; }
.tk table { width: 100%; border-collapse: collapse; } .tk td { padding: 9px 0; border-bottom: 2px dashed var(--line); } .tk td:last-child { text-align: right; font-weight: 800; }
.flow-b { display: flex; flex-direction: column; gap: 10px; counter-reset: f; }
.flow-b div { background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 52px; position: relative; font-weight: 700; }
.flow-b div::before { counter-increment: f; content: counter(f); position: absolute; left: 14px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: #3f9b4f; color: #fff; display: grid; place-items: center; font-size: 13px; }
.faq details { background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 17px; }
.foot { background: #4a2e1f; color: #f8e9d6; }
.foot .wrap { padding: 40px 28px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: #ffd2a8; }
@media (max-width: 900px) { .hero-in, .sides, .token, .gold { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } .crates, .warrens { grid-template-columns: 1fr 1fr; } }

/* guide */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 30px; max-width: 1150px; margin: 0 auto; padding: 30px 28px 80px; }
.g-side { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.g-side a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 7px 12px; border-radius: 12px; }
.g-side a:hover { background: #fff0dc; }
.g-side .g-play { background: var(--accent); color: #fff; margin-top: 10px; text-align: center; border-radius: 999px; }
.g-body section { background: #fff; border: 3px solid var(--line); border-radius: 26px; padding: 26px 30px; margin-bottom: 18px; line-height: 1.65; }
.g-body h2 { font-family: var(--display); font-size: 32px; margin: 0 0 8px; color: #c45a10; }
.g-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; } .g-body th, .g-body td { text-align: left; padding: 7px 8px; border-bottom: 2px solid var(--line); }
.g-body .lead { font-size: 19px; font-weight: 700; }
.g-body .note { background: #fff6c4; border-radius: 14px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 800px) { .guide { grid-template-columns: 1fr; } .g-side { position: static; flex-direction: row; flex-wrap: wrap; } }
.scene .hero-farm { margin-bottom: 40px; border-radius: 22px; border: 4px solid #4a2e1f; box-shadow: 8px 8px 0 #4a2e1f; }
.hero-in { align-items: center; min-height: 520px; padding-bottom: 30px; }
.hero { border-bottom: 0; }
.hero .cta { margin-bottom: 40px; }
:root { --display: 'Pixelify Sans', 'Baloo 2', sans-serif; }
body { font-variant-ligatures: none; }
@media (max-width: 760px) { .hw-nav nav a:not(.btn) { display: none; } .hw-nav { padding: 12px 16px; } }
