@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Fredoka:wght@500;600;700&display=swap";:root{--ink:#26345f;--purple:#6c4eea;--blue:#38a9ee;--pink:#ff6584;--yellow:#ffd447;--mint:#55d7b0;--paper:#fffdf7}*{box-sizing:border-box}body{color:var(--ink);background:linear-gradient(150deg,#e9f8ff,#fff1fa 55%,#fff9dc);min-height:100vh;margin:0;font:16px DM Sans,sans-serif;overflow-x:hidden}body:before,body:after{content:"✦";z-index:-1;color:#fff;opacity:.6;font-size:100px;animation:7s ease-in-out infinite float;position:fixed;top:16%;left:4%}body:after{content:"☁";color:#c9ecff;font-size:150px;animation-delay:-3s;top:8%;left:auto;right:-20px}header{height:76px;color:var(--purple);z-index:2;background:#fff;align-items:center;gap:13px;padding:0 max(6%,24px);font-size:19px;display:flex;position:relative;box-shadow:0 5px #dfe6ff}header svg{filter:drop-shadow(2px 3px 0 var(--yellow))}header span{color:#7890b8;font-size:14px;font-weight:700}header button{color:var(--purple);cursor:pointer;background:#eeeaff;border:0;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:12px 18px;font-weight:800;display:flex}main{max-width:1160px;margin:auto;padding:32px 24px}.welcome{text-align:center;padding:38px 10px 32px}.spark{color:var(--yellow);text-shadow:0 4px #ff9d3d;font-size:62px;animation:2.5s ease-in-out infinite wiggle;display:inline-block}.welcome h1,.hero h1,.summary h1{color:var(--ink);text-shadow:3px 3px #fff;margin:7px 0;font:700 42px Fredoka}.welcome p{color:#667b9e;font-size:17px}.grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.lesson{text-align:left;background:var(--paper);min-height:145px;color:var(--ink);cursor:pointer;border:3px solid #fff;border-radius:25px;padding:22px;transition:all .2s;position:relative;overflow:hidden;box-shadow:0 7px #d5d7f6,0 12px 25px #6c4eea18}.lesson:before{content:"";background:var(--mint);opacity:.24;border-radius:50%;width:90px;height:90px;position:absolute;bottom:-25px;right:-25px}.lesson:nth-child(3n+2):before{background:var(--pink)}.lesson:nth-child(3n):before{background:var(--yellow)}.lesson:hover{transform:translateY(-7px)rotate(-1deg);box-shadow:0 12px #c5c5ec,0 18px 30px #6c4eea30}.lesson:active{transform:translateY(-2px)}.lesson-disabled,.lesson-disabled:hover{color:#a1a8bb;cursor:not-allowed;background:#eff1f6;transform:none;box-shadow:0 6px #d4d8e3}.lesson strong{max-width:85%;margin:14px 0 8px;font:600 21px Fredoka;display:block}.lesson small{color:#8795b0}.num{color:#238dca;background:#e8f8ff;border-radius:12px;padding:6px 10px;font-weight:800}.star{color:#ffb72e;fill:#ffdb58;animation:2s infinite twinkle;position:absolute;top:18px;right:18px}.hero{justify-content:space-between;align-items:end;margin:28px 0;display:flex}.hero small{color:var(--purple);letter-spacing:1.2px;font-weight:800}.hero h1{margin:8px 0;font-size:36px}.hero p,.muted{color:#7184a5;font-size:14px}.progress{background:#dbe7f5;border:3px solid #fff;border-radius:20px;width:280px;height:14px;overflow:hidden;box-shadow:0 3px #c7d4e9}.progress i{background:linear-gradient(90deg,var(--mint),var(--blue),var(--purple));border-radius:20px;height:100%;transition:width .5s;display:block}.media{grid-template-columns:1fr 1fr;gap:24px;display:grid}.video,.slide,.questions{background:var(--paper);border:3px solid #fff;border-radius:25px;box-shadow:0 8px #d8dbf3,0 12px 28px #314b9218}.video{color:#fff;background:linear-gradient(135deg,#7657ed,#38a9ee);flex-direction:column;justify-content:center;align-items:center;gap:10px;height:360px;display:flex}.slide{text-align:center;justify-content:center;align-items:center;height:360px;margin-top:0;padding:14px;display:flex}.video iframe,.slide iframe{border:0;border-radius:17px;width:100%;height:100%}.slide img{border-radius:17px;max-width:100%;max-height:430px}.missing{color:#fff;flex-direction:column;align-items:center;gap:12px;display:flex}.missing:first-line{font-size:46px}.questions{margin-top:24px;padding:26px}.questionHead{align-items:center;gap:10px;display:flex}.questionHead span{font-size:32px}.questionHead h2{margin:0;font:700 27px Fredoka}.q label:first-child{font-size:18px}label{margin:20px 0 10px;font-weight:700;display:block}.option{color:#405174;border-radius:14px;margin:9px 0;padding:12px 14px;font-weight:600;transition:all .15s}.option:hover{background:#eef8ff}.option input{width:19px;height:19px;accent-color:var(--purple);vertical-align:middle;margin-right:10px}.check{background:linear-gradient(135deg,var(--purple),#9d68f4);color:#fff;cursor:pointer;border:0;border-radius:16px;justify-content:center;gap:8px;width:100%;margin-top:16px;padding:16px;font-weight:800;transition:all .15s;display:flex;box-shadow:0 5px #4e37b7}.check:hover{filter:saturate(1.25);transform:translateY(-2px)}.check:disabled{cursor:not-allowed;background:#b9c1d4;box-shadow:0 5px #929caf}.nav{justify-content:space-between;margin-top:22px;display:flex}.nav button{color:var(--purple);cursor:pointer;background:0 0;border:0;align-items:center;font-weight:800;display:flex}.nav button:disabled{color:#c3cada}.summary{text-align:center;padding-top:50px}.celebrate{font-size:48px;animation:1.2s infinite bounce}.trophy{color:#f5b52e;filter:drop-shadow(3px 4px #ffdf78)}.summary h1{font-size:46px}.summaryLead{color:#71809d;font-size:18px}.score{background:#fff;border:3px solid #fff;border-radius:20px;align-items:baseline;gap:7px;margin:20px 0;padding:18px 28px;font-size:20px;display:inline-flex;box-shadow:0 7px #d5d7f6}.score b{color:var(--purple);font:700 40px Fredoka}.score span{color:#71809d;font-size:16px}.mistakes{text-align:left;background:#fff;border:3px solid #ffccd7;border-radius:22px;max-width:760px;margin:20px auto;padding:24px}.mistakes h2{color:#d94c6b;margin-top:0;font:700 27px Fredoka}.mistake{border-top:1px solid #f0e1e1;padding:14px 0}.mistake p{color:#71809d;margin:8px 0}.mistake span{color:#d94c6b}.mistake strong{color:#15926e}.backHome{color:var(--purple);cursor:pointer;background:0 0;border:0;margin:16px auto;font-weight:800;display:block}button:focus-visible{outline-offset:3px;outline:4px solid #ffbd45}@keyframes float{50%{transform:translateY(-20px)rotate(8deg)}}@keyframes wiggle{50%{transform:rotate(12deg)scale(1.1)}}@keyframes twinkle{50%{transform:scale(1.2)rotate(12deg)}}@keyframes bounce{50%{transform:translateY(-10px)}}@media (width<=800px){.grid{grid-template-columns:1fr 1fr}.media{grid-template-columns:1fr}.hero{display:block}.progress{width:100%;margin-top:20px}}@media (width<=500px){.grid{grid-template-columns:1fr}.welcome h1{font-size:34px}header span{display:none}.hero h1{font-size:29px}main{padding:20px 15px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
