@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Bold.ttf')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fcf8f2;color:#261e2c;font-family:Tajawal,Arial,sans-serif}a{color:inherit}button{font:inherit;cursor:pointer}.bar{max-width:1150px;margin:auto;padding:23px 28px;display:flex;justify-content:space-between;gap:20px}.bar a{text-decoration:none;font-size:15px;color:#725269}.bar a:last-child{background:#f4e5ed;padding:11px 16px;border-radius:30px;color:#7f3555}main{max-width:1150px;margin:auto;padding:10px 28px 90px}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:55px;padding:45px 0 65px}.eyebrow{color:#a04763;font-size:14px;letter-spacing:.05em}.hero h1{font-size:clamp(48px,6vw,80px);line-height:1.15;margin:12px 0 25px;color:#622e48}.lead{font-size:21px;line-height:1.8;max-width:650px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:15px;padding:15px 20px;text-decoration:none;font-size:16px;transition:transform .18s}.btn:hover{transform:translateY(-2px)}.primary{color:white;background:#873951}.demo{background:#ebd7ac;color:#322733}.plain{background:#fff;border:1px solid #e8d9d0;color:#823b56}.fact,.sub{font-size:14px;color:#736774;line-height:1.7}.art{min-height:310px;border-radius:30px;background:#f1e7d9;display:grid;place-items:center;padding:25px;position:relative;overflow:hidden}.art img{width:100%;max-width:420px;height:310px;object-fit:contain}.art span{position:absolute;bottom:15px;right:20px;font-size:12px;background:#fff9ee;padding:6px 12px;border-radius:20px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:25px}.facts>div,.panel{background:white;border:1px solid #eadfd5;border-radius:26px;padding:25px}.facts b,.facts span{display:block}.facts b{color:#884e61;margin-bottom:12px}.facts span{line-height:1.65}.panel{margin:20px 0;padding:34px}.panel h2{font-size:31px;margin:8px 0 20px}.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.steps li{background:#faf5ed;border-radius:17px;padding:22px;line-height:1.7}.steps b{display:block;color:#ae5d68;font-size:22px;margin-bottom:10px}.sample{background:#f3e5de;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}.sample p{line-height:1.8}#demo-card{background:white;border-radius:22px;padding:25px;min-height:160px;display:flex;flex-direction:column;gap:14px;align-items:stretch;justify-content:center}#demo-card button{border:1px solid #d8b9bb;border-radius:12px;background:#fff8f3;padding:11px;color:#672d46}#demo-card button:hover{background:#eeddd3}#demo-card .revealed{background:#e7f3e6;border-color:#91b89c}.demo-options{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}#demo-card p{margin:0}.foot{background:#f7efdf}.foot .sub a{color:#85384d}footer{text-align:center;padding:30px;color:#8e7b79}@media(max-width:750px){.hero,.sample{grid-template-columns:1fr;gap:20px}.hero{padding:15px 0 35px}.art{min-height:220px}.art img{height:230px}.facts,.steps{grid-template-columns:1fr}.panel{padding:24px}.hero h1{font-size:48px}.lead{font-size:18px}}
.code-link{display:inline-flex;align-items:center;padding:12px 4px;color:#683048;text-decoration:underline;text-underline-offset:4px;min-height:44px}.facts span,.fact,.sub{color:#574d56}#demo-card input{width:100%;min-height:44px;border:1px solid #a9929b;border-radius:9px;padding:10px;font:inherit}#demo-card button{min-height:44px}.art img{max-width:100%}@media(max-width:750px){.actions .btn{min-height:48px}.foot{padding-bottom:78px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
.facts{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:800px){.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.facts{grid-template-columns:1fr}}
body[data-game="family-feud"] .art{background:#041e4e}
body[data-game="family-feud"] .art img{width:auto;max-width:100%;height:min(310px,70vw);object-fit:contain}
body[data-game="memory"] .art,body[data-game="knowledge"] .art{overflow:hidden;padding:0}
body[data-game="memory"] .art{background:#f6d2a7}
body[data-game="knowledge"] .art{background:#0b4f4a}
body[data-game="memory"] .art img,body[data-game="knowledge"] .art img{position:absolute;top:50%;left:50%;width:auto;height:110%;max-width:none;transform:translate(-50%,-50%);object-fit:contain}
.demo-preview{position:relative;min-height:280px;border-radius:20px;background:#fff9f1;overflow:hidden;display:grid;place-items:center}
.demo-preview img{display:block;max-width:85%;max-height:240px;width:auto;height:auto;object-fit:contain}
body[data-game="family-feud"] .demo-preview{background:#041e4e}
body[data-game="memory"] .demo-preview{background:#f6d2a7}
body[data-game="knowledge"] .demo-preview{background:#0b4f4a}
body[data-game="memory"] .demo-preview img,body[data-game="knowledge"] .demo-preview img{position:absolute;top:50%;left:50%;width:auto;height:110%;max-width:none;max-height:none;transform:translate(-50%,-50%)}
