@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Nunito:wght@700;800;900&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#14244c;background:#eef3ff;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 5% 10%,#dce8ff,transparent 30%),radial-gradient(circle at 95% 85%,#ffe8ca,transparent 28%),#eef3ff}button{font:inherit;cursor:pointer}button:focus-visible{outline:4px solid #ffbd52;outline-offset:3px}.app-shell{max-width:1180px;min-height:100vh;margin:auto;padding:20px 24px;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 0 24px}.brand{border:0;background:none;color:#172958;font-family:Nunito,system-ui,sans-serif;font-weight:900;font-size:1.28rem;display:flex;align-items:center;gap:10px;padding:4px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#ffca66;color:#15306f;box-shadow:0 4px 0 #e8ad4c;font-size:1.5rem}.top-stats{display:flex;align-items:center;gap:9px}.stat{background:#fff;border:2px solid #dae3fa;border-radius:999px;padding:8px 13px;font-weight:800;white-space:nowrap}main{flex:1}.reset-icon{border:2px solid #dae3fa;background:#fff;color:#294cba;border-radius:999px;width:42px;height:42px;font-size:1.55rem;font-weight:800;line-height:1;display:grid;place-items:center}.reset-icon:hover{background:#e8efff}.hero{background:#203a85;color:white;border-radius:31px;display:grid;grid-template-columns:1.5fr .9fr;gap:20px;padding:clamp(26px,5vw,56px);box-shadow:0 10px 0 #172b66;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:380px;height:380px;border:2px solid #ffffff20;border-radius:50%;right:-105px;top:-150px;box-shadow:0 0 0 45px #ffffff08,0 0 0 94px #ffffff08}.eyebrow{font-size:.83rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#ffd68b}.hero h1,.page-title{font-family:Nunito,system-ui,sans-serif;font-weight:900;letter-spacing:-.035em;line-height:1.08}.hero h1{font-size:clamp(2.4rem,5vw,4.35rem);margin:14px 0}.hero p{max-width:580px;font-size:1.12rem;line-height:1.55;color:#e5edff;margin:0 0 27px}.hero-art{display:grid;place-items:center;z-index:1}.art-stack{position:relative;width:min(260px,100%);aspect-ratio:1}.art-card{position:absolute;background:#fff;border-radius:25px;box-shadow:0 10px 0 #0002;display:grid;place-items:center;font-size:4rem}.art-card:nth-child(1){width:66%;height:66%;left:0;top:15%;transform:rotate(-13deg);background:#ffd878}.art-card:nth-child(2){width:66%;height:66%;right:0;top:5%;transform:rotate(12deg);background:#a9f0cf}.art-card:nth-child(3){width:66%;height:66%;right:15%;bottom:0;transform:rotate(-3deg);background:#ffa7a0}.actions{display:flex;flex-wrap:wrap;gap:12px}.btn{border:0;border-radius:16px;padding:15px 20px;font-weight:900;min-height:54px;box-shadow:0 5px 0 #0003;transition:transform .12s,box-shadow .12s}.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 7px 0 #0003}.btn:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #0003}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:#ffcf68;color:#20345f}.btn-secondary{background:#fff;color:#203a85}.btn-blue{background:#2b55c7;color:white}.btn-ghost{background:#eff3ff;color:#203a85;box-shadow:0 4px 0 #dce5fc}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:34px 0 15px}.section-head h2{font-family:Nunito,system-ui,sans-serif;font-size:1.75rem;margin:0}.section-head p{margin:0;color:#5a6c94}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.level-card,.mode-card,.panel{background:#fff;border:2px solid #dfe7fb;border-radius:23px;box-shadow:0 5px 0 #dae3f9}.level-card{padding:21px;text-align:left;transition:transform .12s,border-color .12s;min-height:192px}.level-card:hover{transform:translateY(-3px);border-color:#86a8ff}.level-top{display:flex;justify-content:space-between;align-items:center}.level-icon{width:53px;height:53px;border-radius:16px;display:grid;place-items:center;font-size:1.7rem;background:#e8efff}.level-card h3{font-family:Nunito,system-ui,sans-serif;font-size:1.24rem;line-height:1.2;margin:16px 0 6px}.level-card p{color:#637399;margin:0 0 16px;font-size:.94rem}.level-progress{height:9px;background:#e9eefb;border-radius:99px;overflow:hidden}.level-progress span{display:block;height:100%;background:#48ca9b;border-radius:99px}.mode-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}.mode-card{padding:23px;display:flex;align-items:center;gap:18px;text-align:left}.mode-icon{font-size:2rem;width:64px;height:64px;border-radius:18px;background:#fff0d3;display:grid;place-items:center;flex:none}.mode-card strong{display:block;font-family:Nunito,system-ui,sans-serif;font-size:1.25rem}.mode-card small{display:block;color:#637399;font-size:.92rem;margin-top:4px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:4px 0 20px}.page-title{font-size:clamp(2rem,4vw,3rem);margin:7px 0}.back{border:0;background:none;color:#294cba;font-weight:900;padding:8px 0}.game{max-width:850px;margin:0 auto}.game-top{display:flex;align-items:center;gap:15px;margin-bottom:16px}.round-label{font-weight:900;white-space:nowrap;color:#52658f}.bar{height:13px;background:#d9e3fa;border-radius:50px;overflow:hidden;flex:1}.bar span{display:block;height:100%;border-radius:50px;background:#43caa1;transition:width .25s}.game-card{padding:clamp(22px,5vw,42px);position:relative;overflow:hidden}.chip{display:inline-flex;align-items:center;background:#e8efff;color:#2853b5;border-radius:999px;padding:8px 12px;font-size:.83rem;font-weight:900}.question{font-family:Nunito,system-ui,sans-serif;font-size:clamp(1.48rem,3vw,2.2rem);line-height:1.22;margin:23px 0 27px}.options{display:grid;gap:12px}.option{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:#f8faff;border:2px solid #dce6fa;border-radius:16px;padding:15px;color:#1b2c57;font-weight:800;min-height:68px;transition:background .12s,border-color .12s}.option:hover:not(:disabled){background:#ecf3ff;border-color:#789bf5}.option:disabled{cursor:default}.option-letter{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#e2ebff;color:#2b55c7;font-weight:900}.option.selected{border-color:#2b55c7;background:#e8efff}.option.correct{border-color:#20ab7f;background:#e6fff3}.option.wrong{border-color:#e96b70;background:#fff0f0}.option.correct .option-letter{background:#31bb8f;color:white}.option.wrong .option-letter{background:#ed7478;color:white}.feedback{margin-top:20px;padding:18px 20px;border-radius:17px;background:#e9fff5;border:2px solid #a7e9ce;line-height:1.48}.feedback.wrong{background:#fff1f0;border-color:#ffc3c0}.feedback strong{display:block;font-family:Nunito,system-ui,sans-serif;font-size:1.16rem;margin-bottom:5px}.feedback p{margin:0}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.mini-note{color:#697a9e;font-size:.88rem}.result{max-width:760px;margin:25px auto;text-align:center;padding:40px 32px}.result-icon{font-size:4.5rem;line-height:1}.result h1{font-family:Nunito,system-ui,sans-serif;font-size:clamp(2rem,5vw,3.3rem);margin:12px 0}.result p{color:#5d6e95;line-height:1.55;font-size:1.05rem}.result-score{display:inline-grid;place-items:center;border:12px solid #ffcf68;border-radius:50%;width:180px;height:180px;margin:12px auto;font:900 3rem Nunito,system-ui,sans-serif;color:#203a85}.result-score small{display:block;font-size:.9rem;margin-top:-38px;color:#697a9e}.result .actions{justify-content:center;margin-top:20px}.review-list{text-align:left;margin:24px auto 0;max-width:560px;background:#f6f8ff;border-radius:17px;padding:20px}.review-list h2{font-size:1.1rem;margin:0 0 10px}.review-list li{margin:8px 0;line-height:1.4}.intro-panel{padding:28px;max-width:800px;margin:22px auto}.intro-panel h2{font-family:Nunito,system-ui,sans-serif;margin:0 0 11px}.intro-panel p{line-height:1.55;color:#56698e}.intro-panel ul{line-height:1.8;padding-left:22px}.clear-progress{font-size:.9rem;font-weight:800;color:#20a37c}.game-status{font-size:.9rem;font-weight:900;color:#5f7195}@media(max-width:750px){.hero{grid-template-columns:1fr}.hero-art{display:none}.level-grid{grid-template-columns:repeat(2,1fr)}.section-head{align-items:flex-start;flex-direction:column}.app-shell{padding:15px}.game-card{padding:22px}.mode-grid{grid-template-columns:1fr}}@media(max-width:530px){.brand{font-size:1rem}.brand-mark{width:35px;height:35px}.stat{padding:7px 10px}.level-grid{grid-template-columns:1fr}.level-card{min-height:160px}.hero{border-radius:23px;padding:27px}.hero p{font-size:1rem}.game-bottom{align-items:stretch;flex-direction:column}.game-bottom .btn{width:100%}.round-label{font-size:.9rem}}
