@font-face{font-family:Baloo;src:url('./assets/title.woff2') format('woff2');font-weight:400 900;font-display:swap}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;color:#49371e;font:800 18px/1.55 Baloo,sans-serif;background:#3b6244 url('./assets/fields.webp') center/cover fixed}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #36573d;outline-offset:4px}img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15}h2{font-size:clamp(30px,3.3vw,46px)}h3{font-size:25px}
:root{--paper:url('/game/ui-demo/panel-v84.webp');--wood:url('/game/ui/btn-wood.webp');--green:url('/game/ui/ban-wide-green.webp');--banner:url('/game/ui/ban-wide-cream.webp')}
.header,.section,footer{border:28px solid transparent;border-image:var(--paper) 100 fill /28px stretch;background:none}
.header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 16px;min-height:100px;margin:8px 12px}
.brand{display:flex;align-items:center;gap:10px;font-size:25px;line-height:1}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:6px}.header nav{display:flex;gap:8px}.header nav a{background:var(--wood) center/100% 100% no-repeat;padding:12px 20px;font-size:15px}
.button,.scene-controls button,.world-tabs button{border:0;border-radius:0;background:var(--wood) center/100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:64px;padding:18px 30px;font-weight:800;line-height:1.3;transition:filter .15s,transform .15s}
.button{min-width:210px}.button.primary,.world-tabs button[aria-selected=true]{background-image:var(--green);color:#fff2cb}
.button:hover,button:hover,.header nav a:hover{filter:brightness(1.08)}.button:active,button:active{transform:translateY(2px);filter:brightness(.9)}
.nav-play{min-width:140px;min-height:50px;font-size:16px}
.hero{position:relative;isolation:isolate;min-height:740px;height:calc(100svh - 125px);max-height:960px;overflow:hidden;margin:0 12px 35px;border:18px solid transparent;border-image:var(--paper) 100 /18px stretch}
.scenery{position:absolute;inset:0;z-index:-3}.landscape{width:100%;height:100%;object-fit:cover}.homestead{position:absolute;right:-4%;bottom:0;width:70%;max-width:1050px}
.cloud{position:absolute;width:33%;top:5%;right:8%;animation:cloud-drift 70s linear infinite alternate;opacity:.8}.cloud-two{width:22%;left:20%;top:17%;animation-direction:alternate-reverse}.sun{display:none}
.hero-copy{position:relative;margin:55px 0 0 4%;padding:18px 24px 28px;width:min(570px,54%);border:28px solid transparent;border-image:var(--paper) 100 fill /28px stretch;z-index:2;text-align:center}
.eyebrow{font-size:12px;color:#765b32;letter-spacing:1.2px}.hero h1{font-size:82px;color:#36573d;line-height:1.05;margin:14px 0}.hero h1 span{display:block;font-size:32px;color:#835228;margin-top:8px}.intro{font-size:18px;margin-top:18px}.hero-actions{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px}.hero-actions .button{width:290px;max-width:100%}.platform{font-size:12px;margin-top:12px}
.characters{position:absolute;right:7%;bottom:30px;display:flex;align-items:end;width:400px;height:340px;z-index:3;pointer-events:none}
.character-canvas{display:block;width:50%;height:auto;aspect-ratio:1;align-self:end;object-fit:contain}.characters .boy{margin-left:-5px}
.speech{position:absolute;bottom:66%;left:10%;width:80%;min-height:90px;background:var(--banner) center/100% 100% no-repeat;display:grid;place-items:center;text-align:center;padding:24px 38px;font-size:16px}
.scene-controls{position:absolute;left:4%;bottom:20px;display:flex;gap:6px;z-index:4}.scene-controls button{min-height:48px;font-size:12px;padding:14px 22px}.scroll-cue{display:none}
#atmosphere{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.night-tint{position:absolute;inset:0;background:#142a55;opacity:0;transition:opacity 1s;z-index:1;mix-blend-mode:multiply}.night .night-tint{opacity:.65}.night .landscape{filter:brightness(.75)}
.section{position:relative;width:min(1200px,calc(100% - 48px));margin:28px auto;padding:30px 36px 42px;scroll-margin-top:15px}
.section-heading{text-align:center;max-width:760px;margin:auto}.section-heading h2{margin:10px 0 16px;color:#36573d}.section-heading>p:last-child{color:#705b35;font-size:17px}
.activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.activity{text-align:center;padding:8px 12px 20px;border:16px solid transparent;border-image:var(--paper) 100 fill /16px stretch}
.activity-art{height:116px;display:flex;align-items:center;justify-content:center}.activity-art img{width:100px;height:100px;object-fit:contain}
.number{display:block;color:#765b32;font-size:11px;margin:8px 0}.activity h3{font-size:24px;color:#36573d;margin:8px 0 12px}.activity p{font-size:16px;color:#705b35}
.world-tabs{display:flex;justify-content:center;gap:12px;margin:25px 0}.world-tabs button{min-width:155px;font-size:17px}.world-tabs button[aria-selected=true]{transform:translateY(-2px)}
.world-stage{position:relative;display:grid;grid-template-columns:1.2fr 1fr;align-items:stretch;border:16px solid transparent;border-image:var(--paper) 100 /16px stretch;min-height:330px}
.world-stage>img{width:100%;height:100%;min-height:330px;object-fit:cover}
.world-description{padding:24px 28px;border:18px solid transparent;border-image:var(--paper) 100 fill /18px stretch;display:flex;flex-direction:column;justify-content:center}
.world-description h3{color:#36573d;font-size:28px;margin:12px 0}.world-description>p:not(.eyebrow){font-size:16px;color:#705b35}.world-description .eyebrow{font-size:10px}
.text-link{display:block;background:var(--wood) center/100% 100% no-repeat;margin-top:18px;text-align:center;padding:18px 24px;font-size:16px}
.art-note{text-align:center;font-size:12px;margin-top:15px;color:#705b35}
.start{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.start-illustration img{width:100%}.start-copy h2{margin:12px 0 24px;color:#36573d}
.start ol{list-style:none;margin:0 0 25px;padding:0}.start li{display:flex;gap:14px;margin-bottom:20px}.start li>span{background:url('/game/ui-demo/knob-v84.webp') center/contain no-repeat;display:grid;place-items:center;flex:none;width:46px;height:46px;font-size:20px}.start li h3{font-size:22px}.start li p{font-size:16px;color:#705b35}
.download{text-align:center;overflow:hidden}.download h2{color:#36573d;margin:14px 0}.download-options{display:flex;justify-content:center;gap:15px;margin:25px 0}.download-note{font-size:14px;max-width:580px;margin:auto;color:#705b35}.download-leaf{position:absolute;width:130px;left:0;top:0;pointer-events:none}.download>.eyebrow{position:relative}
.faq h2{margin:12px 0 25px;color:#36573d}.faq details{margin:12px 0;border:14px solid transparent;border-image:var(--paper) 100 fill /14px stretch;padding:8px 14px}
.faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:19px;min-height:44px}.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:'+';width:32px;height:32px;flex:none;display:grid;place-items:center;background:url('/game/ui-demo/knob-v84.webp') center/contain no-repeat}.faq details[open] summary:after{content:'−'}.faq details p{font-size:16px;color:#705b35;padding:12px 0}
footer{width:calc(100% - 24px);margin:20px 12px 8px;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:15px}footer .brand{font-size:25px}
#notice{position:fixed;z-index:20;bottom:15px;left:50%;transform:translateX(-50%);display:none;width:450px;max-width:95%;border:22px solid transparent;border-image:var(--paper) 100 fill /22px stretch;padding:12px;text-align:center;font-size:16px}#notice.show{display:block}
.skip{position:fixed;top:-100px;left:20px;z-index:30;background:var(--wood) center/100% 100% no-repeat;padding:20px}.skip:focus{top:10px}
.reveal{opacity:1}.js-motion .reveal{opacity:0;transform:translateY(16px);transition:opacity .5s,transform .5s}.js-motion .reveal.visible{opacity:1;transform:none}.motion-off *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-off .reveal{opacity:1;transform:none}
@keyframes cloud-drift{to{transform:translateX(100px)}}
@media(max-width:1050px){.header nav{display:none}.hero-copy{width:54%;padding:12px;margin-top:30px}.hero h1{font-size:65px}.characters{right:0;width:340px;bottom:65px}.scene-controls button{font-size:11px;padding:13px 17px}.section{padding:24px 18px}.activities{gap:12px}.world-description{padding:20px}.start{gap:20px}}
@media(max-width:700px){
body{font-size:16px;background-attachment:scroll}.header{border-width:18px;border-image-width:18px;margin:5px;min-height:82px;padding:0 4px;gap:8px}.brand{font-size:20px;gap:5px}.brand img{width:34px;height:34px}.brand small{font-size:8px;letter-spacing:1px}.nav-play{min-width:105px;min-height:46px;font-size:14px;padding:12px 18px}
.hero{margin:0 5px 20px;border-width:12px;border-image-width:12px;height:auto;min-height:850px;max-height:none;padding-bottom:360px}
.hero-copy{margin:20px 10px 0;width:calc(100% - 20px);border-width:20px;border-image-width:20px;padding:12px 8px 18px}.hero .eyebrow{font-size:9px;letter-spacing:.5px}.hero h1{font-size:clamp(42px,12vw,65px);white-space:nowrap;margin-top:10px}.hero h1 span{font-size:28px}.intro{font-size:16px;margin-top:12px}.intro br{display:none}.hero-actions{margin-top:18px}.hero-actions .button{width:250px;font-size:16px;min-height:58px;padding:17px 24px}.platform{font-size:11px}
.homestead{width:140%;max-width:none;right:-30%;bottom:40px}.landscape{object-position:44% center}.cloud-one{top:60%;width:80%;right:5%}.cloud-two{display:none}
.characters{width:330px;max-width:100%;height:280px;right:calc(50% - 165px);bottom:65px}.speech{bottom:60%;font-size:14px;min-height:80px;padding:23px 32px}
.scene-controls{left:0;right:0;bottom:10px;justify-content:center;gap:0}.scene-controls button{font-size:10px;padding:13px 12px;min-height:46px}
.section{width:calc(100% - 16px);border-width:20px;border-image-width:20px;margin:18px auto;padding:18px 8px 24px}.section-heading h2{font-size:30px}.section-heading>p:last-child{font-size:16px}.eyebrow{font-size:10px}.activities{grid-template-columns:1fr;gap:14px;margin-top:22px}.activity{padding:8px 8px 15px}.activity p{max-width:320px;margin:auto}.activity-art{height:100px}
.world-tabs{gap:4px;margin:20px -7px}.world-tabs button{min-width:0;flex:1;padding:14px 9px;min-height:52px;font-size:14px}.world-stage{grid-template-columns:1fr;border-width:10px;border-image-width:10px}.world-stage>img{height:200px;min-height:200px}.world-description{padding:15px 10px;border-width:14px;border-image-width:14px}.world-description h3{font-size:25px}.art-note{font-size:11px}
.start{grid-template-columns:1fr}.start-illustration{max-width:270px;margin:auto}.start-copy h2{font-size:30px}.start li{gap:10px}.start li h3{font-size:21px}.start li p{font-size:15px}.download h2{font-size:31px}.download-options{flex-direction:column;align-items:center;gap:8px}.download-options .button{width:260px;max-width:100%;font-size:16px}.download-leaf{width:70px;opacity:.5}.download-note{font-size:13px}
.faq details{padding:4px 6px;border-width:12px;border-image-width:12px}.faq summary{font-size:17px}.faq details p{font-size:15px}footer{flex-direction:column;text-align:center;gap:12px;padding:12px;margin:10px 5px;width:calc(100% - 10px);border-width:20px;border-image-width:20px}
}
@media(max-width:359px){.characters{width:290px;right:calc(50% - 145px)}.scene-controls button{padding:12px 8px;font-size:9px}.hero-copy{margin-left:4px;width:calc(100% - 8px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-motion .reveal{opacity:1;transform:none}}

/* A speech bubble shared by the alternating speakers; its tail follows the speaker. */
.characters .speech{pointer-events:auto;cursor:pointer;appearance:none;border:0;border-radius:0;background:none;box-shadow:none;position:absolute;bottom:calc(50% + 34px);left:0;width:100%;height:146px;min-height:146px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;padding:19px 25px 32px;color:#49371e;text-align:left;font:800 16px/1.4 Baloo,sans-serif;isolation:isolate;transform:none;filter:none}
.characters .speech:before{content:'';position:absolute;inset:0;z-index:-1;background:url('/trang-chu/assets/chat-bubble.svg?v=2') center/100% 100% no-repeat}
.characters[data-speaker=male] .speech:before{transform:scaleX(-1)}
.characters .speaker{font-size:12px;color:#86612d;line-height:1.2}
.characters[data-speaker=male] .speaker{color:#36573d;text-align:right}
.characters .speech-text{display:block;overflow-wrap:break-word}
.characters .speech:hover{filter:brightness(1.02)}.characters .speech:active{transform:translateY(1px)}
@media(max-width:700px){.characters .speech{font-size:14px;height:138px;min-height:138px;padding:18px 23px 30px;bottom:calc(50% + 32px)}.characters .speaker{font-size:11px}}

@media(max-width:700px){.hero{padding-bottom:400px;min-height:900px}}
