:root{--blue:#0757d6;--blue-dark:#063b98;--navy:#071f48;--yellow:#ffd83d;--green:#30b97a;--white:#fff;--ink:#10213f;--muted:#5c6c87;--line:#dce5f2;--bg:#f5f9ff;--shadow:0 18px 55px rgba(9,49,112,.12);--radius:26px;--container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:Inter,ui-rounded,"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--white);font-size:1rem;line-height:1.65;overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(3rem,6.4vw,5.7rem);margin-bottom:1.25rem}h2{font-size:clamp(2.1rem,4vw,3.45rem);margin-bottom:1rem}h3{font-size:1.25rem}.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}.skip-link{position:fixed;z-index:1000;left:12px;top:12px;transform:translateY(-160%);background:var(--yellow);color:var(--navy);padding:.75rem 1rem;border-radius:10px;font-weight:800}.skip-link:focus{transform:none}.site-header{height:76px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(7,31,72,.08);position:sticky;top:0;z-index:100}.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:.65rem;font-weight:900;font-size:1.35rem;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--blue);color:var(--yellow);font-weight:950;box-shadow:inset 0 -4px 0 rgba(0,0,0,.12)}.site-nav{display:flex;align-items:center;gap:1.4rem;font-size:.94rem;font-weight:700}.site-nav>a:not(.button){padding-block:.65rem}.site-nav>a:not(.button):hover{color:var(--blue)}.menu-toggle{display:none;width:46px;height:46px;border:0;background:var(--bg);border-radius:12px;padding:12px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:var(--navy);margin:5px 0;border-radius:2px}.button{min-height:48px;padding:.77rem 1.25rem;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;font-weight:850;border:2px solid transparent;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:hover{transform:translateY(-2px)}.button:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.button-small{min-height:44px;padding:.55rem 1rem;background:var(--blue);color:#fff}.button-primary{background:var(--yellow);color:var(--navy);box-shadow:0 12px 25px rgba(173,128,0,.2)}.button-dark{background:var(--navy);color:#fff}.hero{position:relative;background:linear-gradient(135deg,#0757d6 0%,#0875e8 63%,#32a8ef 100%);color:#fff;padding:clamp(3rem,6vw,5.3rem) 0 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:3rem;min-height:430px}.hero h1 span{color:var(--yellow)}.hero-lead{font-size:clamp(1.1rem,2vw,1.35rem);max-width:560px;margin-bottom:2rem;color:#e9f4ff}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:.78rem;margin-bottom:1rem;color:var(--blue)}.hero .eyebrow{color:#fff}.hero-board{position:relative;min-height:360px}.compass{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%) rotate(8deg);width:155px;height:155px;border-radius:44px;background:var(--yellow);color:var(--navy);display:grid;place-items:center;box-shadow:0 28px 55px rgba(0,30,85,.3);border:8px solid rgba(255,255,255,.28)}.compass:after{content:"";position:absolute;inset:20px;border:3px dashed var(--blue);border-radius:50%}.compass span{font-size:4.3rem;font-weight:950;z-index:1}.orbit{position:absolute;display:flex;align-items:center;gap:.65rem;padding:.8rem 1rem .8rem .75rem;background:#fff;color:var(--navy);border-radius:18px;box-shadow:var(--shadow);font-size:.9rem}.orbit span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-weight:950}.orbit-math{left:0;top:35px;transform:rotate(-4deg)}.orbit-math span{background:#ffe55f}.orbit-science{right:0;top:70px;transform:rotate(5deg)}.orbit-science span{background:#d9fff0;color:#087950;font-size:1.3rem}.orbit-language{right:8%;bottom:28px;transform:rotate(-3deg)}.orbit-language span{background:#ffe8e4;color:#d33e2f;font-size:1.25rem}.hero-orb{position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}.hero-orb-one{width:420px;height:420px;right:-180px;top:-170px}.hero-orb-two{width:180px;height:180px;left:-70px;bottom:0}.hero-trust{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;color:var(--navy);border-radius:24px 24px 0 0;box-shadow:0 -12px 35px rgba(0,45,119,.12);padding:1.1rem 1.5rem}.hero-trust>div{display:flex;align-items:center;gap:.85rem;padding:.45rem 1rem}.hero-trust>div+div{border-left:1px solid var(--line)}.hero-trust span{flex:0 0 48px;height:48px;border-radius:15px;background:#eaf3ff;color:var(--blue);font-weight:900;display:grid;place-items:center}.hero-trust p{margin:0;font-size:.8rem;line-height:1.35;color:var(--muted)}.hero-trust strong{display:block;color:var(--navy);font-size:.95rem}.section{padding:clamp(4.5rem,8vw,7rem) 0}.section-heading{max-width:720px;margin:0 auto 2.6rem;text-align:center}.section-heading>p:last-child{color:var(--muted);font-size:1.08rem}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}.game-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 13px 40px rgba(10,48,100,.08);display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.game-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.game-visual{min-height:225px;padding:1.4rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.game-visual:before,.game-visual:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.2)}.game-visual:before{width:150px;height:150px;right:-45px;top:-55px}.game-visual:after{width:90px;height:90px;left:-25px;bottom:-35px}.math .game-visual{background:#ffd83d;color:var(--navy)}.science .game-visual{background:#20ad77;color:#fff}.language .game-visual{background:#1955c8;color:#fff}.game-label{font-size:.76rem;text-transform:uppercase;letter-spacing:.11em;font-weight:900}.game-symbol{font-size:4.2rem;font-weight:950;letter-spacing:-.08em;align-self:center;z-index:1}.game-visual small{font-weight:800;opacity:.85}.game-body{padding:1.6rem;display:flex;flex-direction:column;flex:1}.game-body p{color:var(--muted);margin-bottom:1.4rem}.game-actions{display:flex;gap:.7rem;margin-top:auto}.game-actions .button{flex:1}.button-game{background:var(--navy);color:#fff}.button-info{border-color:var(--line);color:var(--navy)}.trust-section{background:var(--navy);color:#fff;position:relative;overflow:hidden}.trust-section:after{content:"";position:absolute;right:-120px;bottom:-180px;width:400px;height:400px;border:70px solid rgba(255,216,61,.08);border-radius:50%}.section-heading-light .eyebrow{color:var(--yellow)}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;position:relative;z-index:1}.trust-grid article{padding:2rem;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:rgba(255,255,255,.06)}.feature-icon{width:62px;height:62px;border-radius:18px;background:var(--yellow);color:var(--navy);display:grid;place-items:center;font-weight:950;margin-bottom:1.5rem}.trust-grid p{color:#bdcce2;margin-bottom:0}.parents-section{background:#f2f8ff}.parents-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:5rem;align-items:center}.parents-copy>p:not(.eyebrow){color:var(--muted);font-size:1.08rem;margin-bottom:1.7rem}.learning-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.learning-list article{display:flex;gap:1rem;padding:1.25rem;background:#fff;border-radius:18px;border:1px solid var(--line);box-shadow:0 8px 25px rgba(10,48,100,.05)}.learning-list article:last-child{grid-column:1/-1}.learning-list span{flex:0 0 46px;height:46px;border-radius:14px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.learning-list h3{font-size:1rem;margin-bottom:.35rem}.learning-list p{font-size:.88rem;color:var(--muted);margin:0;line-height:1.45}.future-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}.future-card{min-height:180px;border:2px dashed #c9d8ea;border-radius:22px;background:linear-gradient(145deg,#fbfdff,#f0f6fd);display:grid;place-items:center;align-content:center;gap:.7rem;color:#70819b}.future-card span{font-size:2rem;width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(10,48,100,.08)}.future-card b{font-size:.82rem;text-transform:uppercase;letter-spacing:.11em}.faq-section{background:#f8fbff}.faq-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:5rem}.faq-list details{border-bottom:1px solid var(--line);padding:1.2rem 0}.faq-list summary{font-weight:850;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem}.faq-list summary:after{content:"+";color:var(--blue);font-size:1.4rem}.faq-list details[open] summary:after{content:"−"}.faq-list p{color:var(--muted);margin:.75rem 2rem 0 0}.site-footer{background:#061a3b;color:#fff;padding:4rem 0 1.4rem}.footer-grid{display:flex;justify-content:space-between;gap:3rem}.brand-footer{margin-bottom:1rem}.brand-footer+.byline,.footer-grid>div p{color:#9eb0cb;margin-bottom:.2rem}.byline{font-size:.9rem}.footer-grid nav{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 2.5rem}.footer-grid nav a{color:#c6d3e5}.footer-grid nav a:hover{color:var(--yellow)}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:3rem;padding-top:1.3rem;display:flex;justify-content:space-between;color:#8295b2;font-size:.82rem}.footer-bottom p{margin:0}
@media(max-width:900px){.menu-toggle{display:block}.site-nav{position:absolute;left:20px;right:20px;top:68px;display:none;flex-direction:column;align-items:stretch;gap:.2rem;background:#fff;color:var(--navy);padding:1rem;border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line)}.site-nav.is-open{display:flex}.site-nav a{padding:.7rem .8rem}.nav-cta{margin-top:.4rem}.hero-grid{grid-template-columns:1fr .75fr;gap:1rem}.game-grid{grid-template-columns:1fr 1fr}.game-card:last-child{grid-column:1/-1;max-width:calc(50% - .7rem);width:100%;justify-self:center}.parents-grid,.faq-wrap{grid-template-columns:1fr;gap:2.5rem}.parents-copy{max-width:650px}.trust-grid{gap:.8rem}.trust-grid article{padding:1.4rem}.footer-grid{flex-direction:column}}
@media(max-width:680px){.container{width:min(calc(100% - 28px),var(--container))}.site-header{height:68px}.hero{padding-top:3.2rem}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-copy{text-align:center}.hero-copy .eyebrow{font-size:.7rem}.hero-lead{margin-inline:auto}.hero-board{min-height:245px}.compass{width:110px;height:110px;border-radius:32px}.compass span{font-size:3.1rem}.orbit{padding:.55rem .7rem;font-size:.74rem}.orbit span{width:34px;height:34px}.orbit-math{top:10px}.orbit-science{top:35px}.orbit-language{bottom:7px}.hero-trust{grid-template-columns:1fr;padding:.8rem 1rem;border-radius:20px 20px 0 0}.hero-trust>div{padding:.65rem}.hero-trust>div+div{border-left:0;border-top:1px solid var(--line)}.section{padding:4rem 0}.game-grid,.trust-grid,.future-grid{grid-template-columns:1fr}.game-card:last-child{grid-column:auto;max-width:none}.game-visual{min-height:190px}.learning-list{grid-template-columns:1fr}.learning-list article:last-child{grid-column:auto}.footer-grid nav{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:.4rem}.section-heading{text-align:left;margin-bottom:2rem}.section-heading h2{font-size:2.2rem}}
@media(max-width:380px){h1{font-size:2.65rem}.game-actions{flex-direction:column}.hero-board{min-height:225px}.orbit b{display:none}.parents-grid{gap:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.button-info{background:#fff;cursor:pointer}.game-info{margin:.9rem 0 0!important;padding:.8rem 1rem;border-radius:12px;background:var(--bg);font-size:.85rem}
.hero-copy,.hero-board{min-width:0}
@media(max-width:680px){.hero h1 span{display:block}.hero-copy{overflow-wrap:anywhere}}
/* Refinement pass: navigation offsets and asset-ready game visuals. */
#utama,#game,#tentang,#ibu-bapa-guru,#soalan-lazim,#hubungi,#panduan{scroll-margin-top:96px}
.game-artwork{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.game-logo{position:relative;z-index:2;display:block;width:auto;max-width:min(72%,220px);max-height:58px;object-fit:contain;object-position:left center}.game-visual>*:not(.game-artwork){position:relative;z-index:1}
@media(max-width:680px){#utama,#game,#tentang,#ibu-bapa-guru,#soalan-lazim,#hubungi,#panduan{scroll-margin-top:80px}.trust-grid article{padding:1.05rem 1.15rem;min-height:0}.trust-grid article h3{margin-bottom:.55rem}.feature-icon{width:48px;height:48px;border-radius:14px;margin-bottom:.85rem;font-size:.86rem}.trust-grid p{font-size:.94rem;line-height:1.5}}
/* Official game assets: per-card focal points preserve the existing card frame. */
.game-artwork,.game-logo{user-select:none;-webkit-user-drag:none}.math .game-artwork{inset:auto 0 0 auto;width:62%;height:94%;object-fit:contain;object-position:right bottom}.math .game-logo{max-width:68%;max-height:70px;filter:drop-shadow(0 3px 2px rgba(7,31,72,.14))}.science .game-artwork{object-position:center 49%}.science .game-logo{max-width:58%;max-height:54px;padding:.38rem .55rem;border-radius:10px;background:rgba(255,255,255,.9);filter:drop-shadow(0 2px 3px rgba(7,31,72,.14))}.language .game-artwork{object-position:center 50%}.language .game-logo{max-width:78%;max-height:57px;border-radius:9px;filter:drop-shadow(0 2px 3px rgba(7,31,72,.2))}.game-visual:has(.game-artwork:not([hidden])):before,.game-visual:has(.game-artwork:not([hidden])):after{display:none}
@media(max-width:680px){.math .game-artwork{width:58%;height:92%}.math .game-logo{max-width:67%;max-height:61px}.science .game-logo{max-width:61%;max-height:49px}.language .game-logo{max-width:82%;max-height:51px}}
/* Pass 2B key art fills the existing visual frame; logos are embedded in each WebP. */
.math .game-artwork,.science .game-artwork,.language .game-artwork{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:680px){.math .game-artwork,.science .game-artwork,.language .game-artwork{width:100%;height:100%;object-position:center}}

/* Hero visual pass */
.hero{isolation:isolate;background-color:#0875e8;background-image:linear-gradient(90deg,rgba(4,37,101,.88) 0%,rgba(5,74,164,.72) 31%,rgba(4,78,165,.16) 57%,rgba(4,78,165,0) 76%),url("../assets/ui/hero-zilteroka-desktop.webp");background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-grid,.hero-trust{position:relative;z-index:2}
.hero-board{pointer-events:none}
.hero-orb{z-index:1}
@media(max-width:680px){
  .hero{padding-top:1.65rem;background-image:linear-gradient(180deg,rgba(2,33,91,.88) 0%,rgba(3,57,129,.68) 29%,rgba(3,70,145,.14) 51%,rgba(3,70,145,0) 68%),url("../assets/ui/hero-zilteroka-mobile.webp");background-size:cover,100% auto;background-position:center top,center top}
  .hero-copy{text-shadow:0 2px 14px rgba(0,35,93,.3)}
  .hero .eyebrow{margin-bottom:.55rem}
  .hero h1{margin-bottom:.8rem}
  .hero-lead{margin-bottom:1.15rem}
  .hero-board{min-height:155px}
}

/* v0.4.0 contact section */
.contact-section{background:linear-gradient(180deg,#fff 0%,#f2f8ff 100%)}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}
.contact-card{display:flex;flex-direction:column;padding:1.6rem;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 12px 36px rgba(10,48,100,.07)}
.contact-identity{display:flex;align-items:center;gap:1.2rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}
.contact-avatar{width:108px;height:108px;flex:0 0 108px;border:4px solid #e7f1ff;border-radius:24px;object-fit:cover;box-shadow:0 8px 24px rgba(7,87,214,.12)}
.contact-identity h3{font-size:1.55rem;margin-bottom:.35rem}
.contact-identity p{margin:0;color:var(--muted);font-weight:750}
.contact-details{display:grid;gap:.75rem;margin:1.25rem 0}
.contact-details div{display:grid;grid-template-columns:145px 1fr;gap:1rem;align-items:start}
.contact-details dt{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.contact-details dd{margin:0;color:var(--navy);font-weight:800;overflow-wrap:anywhere}
.contact-details a:hover{text-decoration:underline;text-underline-offset:3px}
.contact-whatsapp{margin:0 0 1.25rem;padding:.75rem .9rem;border-radius:12px;background:var(--bg);color:var(--muted);font-size:.9rem}
.contact-whatsapp strong{color:var(--navy)}
.contact-whatsapp span{font-size:.82rem}
.contact-actions{display:flex;gap:.75rem;margin-top:auto}
.contact-actions .button{flex:1;min-height:48px;text-align:center}
.contact-privacy{max-width:920px;margin:1.4rem auto 0;padding:1.15rem 1.3rem;border:1px solid #cfe0f4;border-radius:18px;background:#edf6ff}
.contact-privacy h3{font-size:1rem;margin-bottom:.55rem;color:var(--navy)}
.contact-privacy p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.55}
.contact-privacy p+p{margin-top:.45rem}
@media(max-width:680px){
  .contact-grid{grid-template-columns:1fr}
  .contact-card{padding:1.15rem}
  .contact-identity{gap:1rem}
  .contact-avatar{width:84px;height:84px;flex-basis:84px;border-radius:20px}
  .contact-identity h3{font-size:1.3rem}
  .contact-details div{grid-template-columns:1fr;gap:.15rem}
  .contact-actions{flex-direction:column}
  .contact-actions .button{width:100%;flex:auto}
  .contact-privacy{padding:1rem}
}

/* v0.3.0 parent and teacher guide, reusing the global dialog. */
.game-modal-panel.is-guide{display:block;width:min(960px,100%)}
.game-modal-details[hidden],.game-modal-cta[hidden],.game-modal-media[hidden],.parent-guide[hidden]{display:none!important}
.game-modal-panel.is-guide .game-modal-content{padding:clamp(2rem,4vw,3rem)}
.parent-guide{margin-top:1.5rem}
.guide-accordions{display:grid;gap:.8rem}
.guide-game{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.guide-game summary{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.15rem;color:var(--navy);font-size:1.05rem;font-weight:900;cursor:pointer;list-style:none}
.guide-game summary::-webkit-details-marker{display:none}
.guide-game summary:after{content:"+";color:var(--blue);font-size:1.4rem;line-height:1}
.guide-game[open] summary{background:#f1f7ff;border-bottom:1px solid var(--line)}
.guide-game[open] summary:after{content:"−"}
.guide-game-body{padding:1.15rem}
.guide-game-body>p{color:var(--muted);margin-bottom:1rem}
.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.guide-columns section,.guide-use{padding:1rem;border-radius:14px;background:var(--bg)}
.guide-columns h3,.guide-use h3,.guide-shared h3{font-size:1rem;margin-bottom:.55rem;letter-spacing:-.015em}
.guide-columns ul{margin:0;padding-left:1.2rem;color:var(--muted)}
.guide-columns li+li{margin-top:.2rem}
.guide-use{margin-top:1rem}
.guide-use p{margin:0;color:var(--muted);font-size:.94rem}
.guide-facts{display:grid;grid-template-columns:1fr 1fr;margin:1rem 0;gap:.75rem}
.guide-facts div{padding:.75rem .9rem;border:1px solid var(--line);border-radius:12px}
.guide-facts dt{color:var(--muted);font-size:.74rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.guide-facts dd{margin:.15rem 0 0;font-weight:850;color:var(--navy)}
.guide-game-link{width:100%}
.guide-shared{margin-top:1.5rem}
.guide-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.guide-tips article{padding:1rem;border:1px solid var(--line);border-radius:14px}
.guide-tips h4{margin:0 0 .4rem;color:var(--navy);font-size:.9rem}
.guide-tips p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.45}
.guide-trust{margin-top:1.5rem;padding:1rem 1.15rem;border-radius:16px;background:var(--navy);color:#fff}
.guide-trust>div{display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin-bottom:.5rem}
.guide-trust strong{font-size:.82rem;color:var(--yellow)}
.guide-trust p{margin:0;color:#d5e2f4;font-size:.9rem}
@media(max-width:680px){
  .game-modal-panel.is-guide{border-radius:24px 24px 0 0}
  .game-modal-panel.is-guide .game-modal-content{padding:1.35rem 1rem 1.1rem}
  .game-modal-panel.is-guide .game-modal-content h2{padding-right:2.6rem}
  .parent-guide{margin-top:1rem}
  .guide-game summary{min-height:48px;padding:.75rem .9rem}
  .guide-game-body{padding:.9rem}
  .guide-columns,.guide-tips{grid-template-columns:1fr}
  .guide-columns section,.guide-use{padding:.85rem}
  .guide-facts{gap:.5rem}
  .guide-facts div{padding:.65rem .7rem}
  .guide-trust>div{display:grid}
}
@media(max-width:380px){.hero-board{min-height:125px}}

/* Upcoming games */
.future-card{min-height:0;display:flex;flex-direction:column;place-items:initial;align-content:initial;gap:0;overflow:hidden;border:1px solid var(--line);background:#fff;color:var(--navy);box-shadow:0 13px 40px rgba(10,48,100,.08)}
.future-artwork{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}
.future-body{display:flex;flex:1;flex-direction:column;padding:1.4rem}
.future-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}
.future-heading h3{margin:0}
.future-card .future-badge{flex:0 0 auto;width:auto;height:auto;padding:.35rem .65rem;border-radius:999px;background:#eaf3ff;color:#0757d6;box-shadow:none;font-size:.69rem;font-weight:900;line-height:1.2;letter-spacing:.03em;text-transform:none}
.future-card .future-badge-soon{background:#fff2b8;color:#6b5100}
.future-body>p{margin:0;color:var(--muted);font-size:.94rem;line-height:1.55}
.future-body .future-meta{margin-top:auto;padding-top:1rem;color:#526580;font-size:.79rem;font-weight:750}
@media(max-width:680px){.future-body{padding:1.2rem}.future-heading{align-items:center}.future-card .future-badge{font-size:.66rem}}

/* v0.2.0 game information dialog */
body.modal-open{overflow:hidden}
.game-modal[hidden]{display:none}
.game-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1.25rem}
.game-modal-backdrop{position:absolute;inset:0;background:rgba(3,18,48,.72);backdrop-filter:blur(6px)}
.game-modal-panel{position:relative;z-index:1;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);width:min(900px,100%);max-height:calc(100dvh - 2.5rem);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.55);border-radius:28px;box-shadow:0 30px 90px rgba(0,19,58,.35)}
.game-modal-close{position:absolute;z-index:2;top:1rem;right:1rem;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:var(--navy);box-shadow:0 8px 24px rgba(5,33,78,.18);font-size:1.8rem;line-height:1;cursor:pointer}
.game-modal-media{min-height:100%;background:var(--bg);overflow:hidden;border-radius:27px 0 0 27px}
.game-modal-media img{display:block;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center}
.game-modal-content{padding:clamp(2rem,4vw,3.2rem)}
.game-modal-content .eyebrow{margin-bottom:.65rem}
.game-modal-content h2{font-size:clamp(2rem,4vw,3rem);padding-right:2.5rem}
.game-modal-summary{color:var(--muted);font-size:1.05rem;line-height:1.55}
.game-modal-details{margin:1.6rem 0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.game-modal-details div{padding:.85rem .75rem .85rem 0;border-bottom:1px solid var(--line)}
.game-modal-details dt{color:var(--muted);font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.game-modal-details dd{margin:.15rem 0 0;color:var(--navy);font-weight:800;line-height:1.35}
.game-modal-note{margin:-.55rem 0 1.25rem;padding:.85rem 1rem;border-left:4px solid var(--yellow);border-radius:0 12px 12px 0;background:#fff8d7;color:#574616;font-size:.9rem;line-height:1.5}
.game-modal-cta{width:100%}
.button-store{background:#fff;color:var(--navy);border-color:var(--blue)}
.game-actions.has-play-store .button{min-width:0;padding-inline:.3rem;font-size:.88rem;white-space:nowrap}
.game-modal-actions{display:grid;gap:.75rem}
@media(max-width:680px){
  .game-modal{place-items:end center;padding:0}
  .game-modal-panel{grid-template-columns:1fr;width:100%;max-height:94dvh;border-radius:24px 24px 0 0}
  .game-modal-media{min-height:0;height:130px;border-radius:24px 24px 0 0}
  .game-modal-media img{min-height:0}
  .game-modal-close{top:.75rem;right:.75rem}
  .game-modal-content{padding:1.4rem 1.15rem 1.25rem}
  .game-modal-content h2{font-size:2rem;margin-bottom:.65rem}
  .game-modal-summary{font-size:.95rem;margin-bottom:1rem}
  .game-modal-details{margin:1rem 0;grid-template-columns:1fr 1fr}
  .game-modal-details div{padding:.65rem .45rem .65rem 0}
  .game-modal-details dd{font-size:.9rem}
  .game-actions.has-play-store{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .game-actions.has-play-store .button{min-width:0;padding-inline:.65rem}
  .game-actions.has-play-store .button-info{grid-column:1/-1}
}

/* v0.4.3 playable catalogue and Beta status. */
.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.game-card:last-child{grid-column:1/-1;max-width:calc(50% - .7rem);width:100%;justify-self:center}
.mata-helang .game-artwork{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.kedai-adik .game-artwork{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.game-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.game-heading h3{margin-bottom:1rem}
.game-body .game-meta{margin-top:-.65rem;margin-bottom:1.2rem;color:#526580;font-size:.82rem;font-weight:750}
.game-status,.guide-status{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:.28rem .55rem;border-radius:999px;background:#fff2b8;color:#6b5100;font-size:.68rem;font-weight:950;line-height:1.2;letter-spacing:.07em;text-transform:uppercase}
.guide-game summary .guide-status{margin-left:auto}
@media(max-width:680px){
  .game-grid{grid-template-columns:1fr}
  .game-card:last-child{grid-column:auto;max-width:none}
  .mata-helang .game-artwork{object-position:center}
  .kedai-adik .game-artwork{object-position:center}
}

/* v0.5.0 lightweight connectivity status. */
.connection-status{position:fixed;z-index:1100;left:50%;bottom:1.25rem;transform:translateX(-50%);width:min(calc(100% - 2rem),620px);padding:.85rem 1.1rem;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:#071f48;color:#fff;box-shadow:0 14px 40px rgba(3,18,48,.28);font-size:.92rem;font-weight:750;text-align:center}
.connection-status[data-variant="online"]{background:#087950}
.connection-status[hidden]{display:none}
@media(max-width:680px){.connection-status{bottom:.75rem;font-size:.86rem}}
