@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#24252d;--muted:#85848e;--purple:#7860d5;--paper:#faf9f6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #ae8fff;outline-offset:5px}.header{max-width:1280px;margin:auto;height:108px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid #e9e7e2}.logo{font-family:Manrope,sans-serif;font-size:27px;font-weight:800;display:flex;align-items:center;letter-spacing:-1px}.logo-icon{background:var(--purple);width:34px;height:36px;margin-right:11px;border-radius:11px;color:white;text-align:center;line-height:30px;transform:rotate(-8deg);font-size:30px}.logo-icon span{font-size:17px}.logo-dot{color:var(--purple)}.header-note{font-size:12px;color:#777783;display:flex;align-items:center;gap:8px}.header-note i,.difficulty i{width:6px;height:6px;background:#91bda2;border-radius:50%;display:inline-block}.browse{font-size:12px;font-weight:700}.browse span{margin-left:20px;font-size:19px}main{max-width:1192px;margin:auto}.hero{position:relative;padding:69px 0 62px;min-height:415px;overflow:hidden}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8a8497}.eyebrow>span{color:var(--purple);font-size:16px;margin-right:7px}h1{font-family:Manrope,sans-serif;font-size:65px;letter-spacing:-3.8px;line-height:1.13;margin:20px 0}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--purple)}.purple{color:var(--purple)}.hero p{font-size:14px;color:#81808a;line-height:1.8;margin:0}.hero-link{display:inline-flex;gap:24px;font-size:12px;font-weight:700;margin-top:24px}.hero-link span{color:var(--purple)}.hero-art{position:absolute;right:58px;top:35px;width:440px;height:330px}.orbit{position:absolute;border:1px dashed #e2ded4;width:320px;height:270px;border-radius:50%;transform:rotate(-25deg);top:45px;left:50px}.float-tile{position:absolute;width:116px;height:116px;border-radius:26px;display:grid;place-items:center;font-size:80px;box-shadow:0 20px 35px #30284a10;border:5px solid #ffffff50}.tile-purple{background:#c7b7ec;color:#795aba;left:66px;top:52px;transform:rotate(-16deg)}.tile-orange{background:#f6c295;color:#c27a42;left:222px;top:10px;transform:rotate(16deg)}.tile-green{background:#b7d4b9;color:#5a8d69;left:189px;top:168px;transform:rotate(10deg)}.spark{position:absolute;color:#b1a48d}.spark-one{left:37px;top:230px;font-size:43px}.spark-two{right:20px;top:146px;font-size:50px;color:#b5a1d4}.tiny-dot{position:absolute;width:12px;height:12px;border-radius:50%;background:#edcfa2;left:166px;top:5px}.games-section{padding-top:19px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:26px}h2{font-family:Manrope,sans-serif;letter-spacing:-.8px;font-size:25px;margin:9px 0 0;font-weight:800}.game-count{font-size:11px;color:#94909b;padding-bottom:4px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.game-card{background:white;border:1px solid #ebe8e3;border-radius:19px;overflow:hidden;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px #42325a0c}.game-art{height:235px;position:relative;display:grid;place-items:center;overflow:hidden}.candy-art{background:#f8e3e6}.arrow-art{background:#e8e5f4}.block-art{background:#e3ede2}.tag{position:absolute;left:18px;top:17px;font-size:8px;letter-spacing:1px;font-weight:700;background:#ffffffa6;padding:7px 9px;border-radius:6px;z-index:1}.candy-board{display:grid;grid-template-columns:repeat(3,47px);gap:7px;transform:rotate(-13deg);padding:13px;border-radius:22px;background:#fff5f57a;box-shadow:0 14px 25px #c06d7c18;margin-top:17px}.candy-board span{font-size:34px;display:grid;place-items:center;height:44px;border-radius:10px;background:#fff7f7b5}.art-spark{position:absolute;right:26px;bottom:24px;font-size:35px;color:#c28b9d}.arrow-board{display:grid;grid-template-columns:repeat(3,49px);gap:7px;transform:rotate(12deg);margin-top:20px}.arrow-board span{height:48px;display:grid;place-items:center;background:#fffafc;border-radius:11px;font-size:33px;font-weight:700;color:#9b87c5;box-shadow:0 5px 0 #d4c9e7}.arrow-board span:nth-child(5){background:#9276c5;color:white;box-shadow:0 5px 0 #7d5fb1}.arrow-art .art-spark{left:36px;color:#b4a2d8}.block-board{display:grid;grid-template-columns:repeat(5,28px);gap:4px;transform:rotate(-10deg);margin-top:12px;padding:11px;background:#d3e0d080;border-radius:12px}.block-board i{height:27px;border-radius:4px;background:#c1d3bf42}.block-board .violet{background:#a899d5;box-shadow:inset 3px 3px #c7bbed}.block-board .yellow{background:#e4b959;box-shadow:inset 3px 3px #f7d788}.block-board .mint{background:#7bad99;box-shadow:inset 3px 3px #a8d2bd}.block-board .pink{background:#d393a2;box-shadow:inset 3px 3px #edb8c4}.block-art .art-spark{color:#8dae90}.card-body{padding:25px 23px 22px}.category{font-size:8px;letter-spacing:1.2px;color:#97909d;font-weight:700}.category span{margin:0 6px;color:#c6c0ca}h3{font-family:Manrope,sans-serif;font-size:23px;letter-spacing:-.8px;margin:11px 0}.card-body p{color:#8a8590;font-size:12px;line-height:1.85;margin:0;max-width:290px;min-height:66px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.difficulty{font-size:10px;color:#8c8791;white-space:nowrap}.difficulty i{width:5px;height:5px;margin-right:5px}.card-bottom button{background:#f0edf8;color:#7860ac;font-size:11px;font-weight:700;border:0;border-radius:9px;padding:13px 15px}.card-bottom button:hover{background:#7960c8;color:white}.card-bottom button span{margin-left:17px}.benefits{display:flex;justify-content:center;gap:46px;font-size:11px;color:#99949d;padding:37px 0 40px}footer{max-width:1192px;margin:auto;border-top:1px solid #e9e7e2;display:flex;justify-content:space-between;align-items:center;padding:26px 0 31px;font-size:10px;color:#9a959e}.footer-logo{font-weight:800;font-size:18px;color:#77707f;letter-spacing:-.7px}footer .purple{margin-left:8px}dialog{border:1px solid #e9e2f3;border-radius:22px;padding:26px;width:min(94vw,470px);max-height:95vh;box-shadow:0 30px 100px #29203235}dialog::backdrop{background:#25213599;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-header button,#restart{border:0;background:#f1edf8;border-radius:8px;padding:9px 12px;color:#785ead}#instructions{font-size:13px;line-height:1.6;color:#807787}.score-bar{display:flex;justify-content:space-between;align-items:center;margin:16px 0;font-size:13px;font-weight:700}.play-grid{display:grid;gap:5px}.play-grid button{aspect-ratio:1;border:0;border-radius:8px;background:#f2edf8;font-size:25px}.play-grid button.selected{outline:3px solid #8f6bce;background:#ded0f5}.play-grid button:disabled{opacity:0;cursor:default}#game-status{font-size:13px;min-height:18px;color:#7960ac}.tetris-canvas{display:block;max-height:48vh;max-width:100%;margin:auto;background:#282533;border-radius:8px}.controls{display:flex;justify-content:center;gap:8px;margin-top:12px}.controls button{border:0;background:#eee7f7;padding:10px 17px;border-radius:8px;color:#675085}@media(min-width:1500px){.hero{padding-top:88px;padding-bottom:80px}.game-art{height:260px}}@media(max-width:1270px){main,footer{margin-left:44px;margin-right:44px}.card-body{padding:20px 17px}.card-bottom button{padding:12px 10px}.card-bottom button span{margin-left:8px}}@media(max-width:900px){.hero-art{right:-65px;transform:scale(.8)}h1{font-size:57px}.game-grid{gap:14px}.card-bottom{align-items:flex-start;gap:12px;flex-direction:column}.game-art{height:215px}.category{font-size:7px}.header-note{display:none}}@media(max-width:650px){.header{height:82px;padding:0 22px}main,footer{margin-left:22px;margin-right:22px}.logo{font-size:23px}.hero{padding-top:42px;padding-bottom:35px;min-height:400px}h1{font-size:51px;position:relative;z-index:1}.hero-art{right:-155px;top:28px;transform:scale(.49);opacity:.6}.hero p{font-size:13px;position:relative;z-index:1}.section-heading{display:block}h2{font-size:23px}.game-count{display:block;margin-top:12px}.game-grid{grid-template-columns:1fr;gap:22px}.game-art{height:240px}.card-body{padding:24px}.card-body p{max-width:none;min-height:0}.category{font-size:9px}.card-bottom{flex-direction:row;align-items:center}.card-bottom button{padding:13px 18px}.benefits{gap:14px;font-size:9px;padding:28px 0}footer{flex-wrap:wrap;gap:17px}footer>span:last-child{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.game-card{transition:none}}
.game-audio{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.game-audio>span{font-size:8px;letter-spacing:1.5px;color:#9986a3}.game-audio button{border:1px solid #ddcfe8;border-radius:20px;background:#faf6ff;color:#856299;padding:7px 12px;font-size:11px;margin-left:6px}.game-audio button[aria-pressed=true]{background:#8860bb;border-color:#8860bb;color:white}.snake-dialog .game-audio>span{color:#8cab94}.snake-dialog .game-audio button{background:#243c2c;border-color:#486340;color:#b5ccaa}.snake-dialog .game-audio button[aria-pressed=true]{background:#b9e995;color:#213b21;border-color:#b9e995}
#game-levels{background:#f1ebf8;border:1px solid #e0d3ed;border-radius:12px;padding:12px 14px;margin:12px 0}.level-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.level-heading strong{font-size:12px;letter-spacing:1px;color:#8459aa}.level-heading span{font-size:10px;color:#927c9e}#level-detail{font-size:11px;color:#927c9e;margin:7px 0}#level-progress{appearance:none;border:0;width:100%;height:6px;border-radius:9px;overflow:hidden;background:#e1d6ed}#level-progress::-webkit-progress-bar{background:#e1d6ed}#level-progress::-webkit-progress-value{background:linear-gradient(90deg,#aa79cf,#e9a7c5);transition:width .25s}#level-progress::-moz-progress-bar{background:#aa79cf}#level-achievement{font-size:11px;color:#975fa5;font-weight:700}#level-achievement:not(:empty){margin-top:7px}.snake-dialog #game-levels{background:#21382b;border-color:#3b5841}.snake-dialog .level-heading strong,.snake-dialog #level-achievement{color:#cefa9f}.snake-dialog .level-heading span,.snake-dialog #level-detail{color:#a8bf9a}.next-level-button{display:block;border:0;border-radius:12px;background:#8961b3;color:white;padding:13px 22px;margin:18px auto 0;font-weight:700}.sweet-6{background:linear-gradient(145deg,#eeffdd,#b9dda4)}.sweet-7{background:linear-gradient(145deg,#e4eaff,#b9c4ef)}
