/* Mundo Curioso • estilos propios, sin fuentes, frameworks ni servicios externos */
:root{--ink:#253451;--muted:#64728b;--cream:#fffaf3;--white:#fff;--orange:#ff8a4c;--purple:#8067db;--teal:#20a99e;--border:#e9eaf1;--shadow:0 17px 42px rgba(43,52,81,.09);--round:27px;--focus:#214bc2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:ui-rounded,"Trebuchet MS",Verdana,Arial,sans-serif;background:var(--cream);color:var(--ink);line-height:1.55;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{cursor:default}img,svg{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.9rem,6.2vw,5.35rem)}h2{font-size:clamp(2rem,4vw,3rem)}h3{font-size:1.42rem}.container{width:min(1152px,calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;top:-80px;left:16px;z-index:99;background:#fff;color:#172d5c;padding:12px 20px;border-radius:12px}.skip-link:focus{top:8px}:focus-visible{outline:4px solid var(--focus);outline-offset:4px}.site-header{background:rgba(255,250,243,.97);border-bottom:1px solid #ede7df;position:relative;z-index:2}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:89px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:1.28rem;font-weight:900;letter-spacing:-.05em;white-space:nowrap}.brand img{width:45px;height:45px}.brand span span{color:#ff7654}.site-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.site-nav a{font-weight:800;color:#59657b;padding:10px 15px;border-radius:999px;white-space:nowrap}.site-nav a:hover,.site-nav a[aria-current=page]{background:#fff0df;color:#ae4e21}.nav-cta{background:#293c62!important;color:white!important}.nav-cta:hover{background:#405985!important}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#9b542e;background:#fff1db;padding:9px 15px;border-radius:999px;font-size:.84rem;font-weight:900;letter-spacing:.045em;text-transform:uppercase}.hero{padding:70px 0 77px;position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:30px;align-items:center}.hero h1{margin:21px 0 20px}.hero .accent{color:#ef7354;position:relative;white-space:nowrap}.hero .accent:after{content:'';position:absolute;left:2px;right:6px;bottom:-9px;height:11px;border:5px solid #ffc78f;border-left:0;border-right:0;border-top:0;border-radius:50%;transform:rotate(-2deg)}.hero p.lead{font-size:1.19rem;color:#586782;max-width:520px;margin-bottom:27px}.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:11px;min-height:56px;border:0;border-radius:17px;padding:15px 25px;font-weight:900;font-size:1.04rem;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:#ff8651;color:#2b2534;box-shadow:0 7px 0 #eeb07d}.btn-primary:hover{background:#ff9b62}.btn-outline{color:#334568;background:#fff;border:2px solid #e5e6ed}.btn-outline:hover{background:#f5f4ff}.small-note{font-size:.92rem;color:#66738c;font-weight:800}.hero-art{position:relative;min-height:420px;display:grid;place-items:center}.hero-art:before{content:'';position:absolute;width:93%;aspect-ratio:1.13;border-radius:45% 55% 61% 39% / 42% 45% 55% 58%;background:#ddecfc;transform:rotate(-13deg)}.hero-art:after{content:'';position:absolute;width:66px;height:66px;border:13px solid #ffd69d;border-radius:50%;right:3%;top:12%}.hero-art img{width:min(465px,92%);position:relative;z-index:1;filter:drop-shadow(0 15px 12px rgba(61,70,111,.12));animation:bob 4s ease-in-out infinite}.star{position:absolute;z-index:1;font-size:2.1rem;animation:twinkle 3s ease-in-out infinite}.star-a{left:10%;top:14%}.star-b{right:9%;bottom:14%;animation-delay:.65s}.star-c{left:11%;bottom:16%;animation-delay:1.2s}.trust-strip{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.trust-pill{background:#fff;border:1px solid #efe9e5;border-radius:999px;padding:8px 13px;font-size:.84rem;font-weight:900;color:#68718b}.section{padding:47px 0 74px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head p{color:var(--muted);font-size:1.05rem;max-width:620px;margin:10px 0 0}.section-kicker{font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:#e06b50;font-size:.86rem;margin:0 0 9px}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.subject-card{border-radius:28px;overflow:hidden;background:white;box-shadow:var(--shadow);border:1px solid rgba(55,55,55,.06);display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.subject-card:hover{transform:translateY(-7px);box-shadow:0 22px 46px rgba(45,56,89,.13)}.subject-illustration{height:194px;position:relative;display:flex;justify-content:center;align-items:center;isolation:isolate}.subject-illustration:before,.subject-illustration:after{content:'';position:absolute;border-radius:50%;opacity:.46}.subject-illustration:before{width:185px;height:185px;background:white;left:-34px;top:-80px}.subject-illustration:after{width:130px;height:130px;background:white;right:-39px;bottom:-66px}.illustration-orange{background:#ffe0bc}.illustration-purple{background:#e6ddfc}.illustration-teal{background:#c8f5e8}.subject-illustration .big-symbol{font-size:6rem;line-height:1;filter:drop-shadow(0 14px 3px rgba(27,48,70,.08));z-index:1}.subject-illustration .float-symbol{font-size:2.3rem;position:absolute;z-index:1;top:20px;right:50px;transform:rotate(18deg)}.subject-illustration .float-left{font-size:1.8rem;position:absolute;bottom:21px;left:44px;transform:rotate(-15deg)}.subject-card-body{padding:25px 27px 28px;display:flex;flex:1;flex-direction:column;align-items:start}.card-overline{font-size:.82rem;text-transform:uppercase;font-weight:900;letter-spacing:.09em;color:#9b6b47}.subject-card h3{font-size:1.75rem;margin:8px 0 9px}.subject-card p{color:#61708a;flex:1;margin-bottom:22px}.card-action{font-weight:900;color:#293e63;display:inline-flex;gap:8px;align-items:center}.subject-card:hover .card-action{gap:14px}.how-section{background:#f0f5ff;padding:64px 0 78px}.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px}.how-step{background:white;border-radius:24px;padding:26px;min-height:178px}.how-step .number{display:inline-grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#e5eeff;color:#3e5c9d;font-weight:900;font-size:1.25rem;margin-bottom:15px}.how-step h3{margin-bottom:6px}.how-step p{margin-bottom:0;color:#697791}.privacy-banner{display:flex;align-items:center;gap:20px;background:#fff;border:2px dashed #e0b8ff;border-radius:25px;padding:26px 30px;margin-top:60px}.privacy-banner .shield{font-size:3.1rem}.privacy-banner h3{margin:0 0 5px}.privacy-banner p{margin:0;color:#6b7289}.site-footer{padding:26px 0 30px;border-top:1px solid #ede9e4}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:.88rem;font-weight:800;color:#68758b}.footer-row strong{color:#354565}
/* Páginas de juegos */
.game-body{--topic:#ff8a4c;--topic-light:#fff0d9;--topic-deep:#a54d24}.game-body[data-subject="lenguaje"]{--topic:#8b71dc;--topic-light:#efe9ff;--topic-deep:#6448b7}.game-body[data-subject="ciencias"]{--topic:#27aa9e;--topic-light:#dbf7ee;--topic-deep:#0c776e}.game-hero{padding:45px 0 29px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#596780;font-size:.94rem;font-weight:900;margin-bottom:27px}.back-link:hover{color:#253653}.game-heading{border-radius:30px;padding:34px 39px;background:var(--topic-light);display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden;position:relative}.game-heading:after{content:'';position:absolute;right:-46px;bottom:-95px;width:210px;height:210px;background:rgba(255,255,255,.5);border-radius:50%}.game-heading .eyebrow{background:white;color:var(--topic-deep)}.game-heading h1{font-size:clamp(2.3rem,4.4vw,3.65rem);margin:15px 0 9px}.game-heading p{font-size:1.04rem;color:#56657c;max-width:615px;margin:0}.game-heading .emblem{font-size:6.8rem;line-height:1;position:relative;z-index:1;filter:drop-shadow(0 10px 1px rgba(25,32,60,.06))}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px;align-items:start;padding-bottom:85px}.game-main,.game-side{min-width:0}.game-panel,.side-panel{background:white;border:1px solid #eceef3;box-shadow:var(--shadow);border-radius:27px;padding:28px}.game-panel{margin-bottom:20px}.panel-label{display:block;font-size:.85rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:var(--topic-deep);margin-bottom:14px}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode-button{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:2px solid #eaedf3;background:#fff;border-radius:18px;padding:17px 14px;min-height:105px;color:var(--ink)}.mode-button:hover{border-color:var(--topic)}.mode-button[aria-pressed="true"]{border-color:var(--topic);background:var(--topic-light)}.mode-emoji{font-size:2.2rem;line-height:1.3}.mode-copy strong{font-weight:900;font-size:.98rem;display:block;line-height:1.3}.mode-copy small{font-size:.81rem;color:#66748b;display:block;margin-top:5px;line-height:1.35}.level-control{display:flex;gap:9px;flex-wrap:wrap}.level-button{border:2px solid #e8eaf1;background:white;border-radius:13px;padding:10px 16px;min-height:45px;font-weight:900;color:#5d6880}.level-button[aria-pressed="true"]{background:#2c4065;color:#fff;border-color:#2c4065}.level-button:hover:not([aria-pressed="true"]){background:#f6f7fa}.play-area{position:relative;min-height:370px}.question-meta{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:15px;font-weight:900;color:#66758c;font-size:.88rem}.question-badge{background:var(--topic-light);color:var(--topic-deep);padding:7px 12px;border-radius:999px}.question-symbol{height:74px;font-size:3.65rem;line-height:1.3;text-align:center;margin:5px 0 10px}.question-title{text-align:center;font-size:clamp(1.48rem,3vw,2.1rem);margin:0 0 11px;line-height:1.3}.question-hint{text-align:center;color:#63718b;margin:0 0 20px;font-size:.95rem;min-height:23px}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.answer-button{border:2px solid #e3e8f0;background:#fafbff;min-height:73px;border-radius:18px;color:#273955;font-size:1.17rem;font-weight:900;padding:12px 14px;overflow-wrap:anywhere;transition:transform .12s,border-color .12s,background .12s}.answer-button:hover:not(:disabled){transform:translateY(-2px);border-color:var(--topic);background:var(--topic-light)}.answer-button.correct{background:#dff7e8;border-color:#32aa70;color:#146243}.answer-button.incorrect{background:#ffebea;border-color:#ee8177;color:#9b3933}.answer-button:disabled{opacity:1}.feedback{min-height:0;margin-top:0;border-radius:15px;font-size:.95rem;font-weight:800}.feedback:not(:empty){margin-top:17px;padding:14px 16px;background:#edf7ef;color:#256846}.feedback.is-error:not(:empty){background:#fff0e9;color:#9b4d35}.next-row{margin-top:15px;display:flex;justify-content:center}.next-button{background:#2d4167;color:#fff;box-shadow:none}.next-button:hover:not(:disabled){background:#405985}.next-button[hidden],.results[hidden],.play-area[hidden]{display:none}.results{text-align:center;padding:18px 0 7px}.results .trophy{font-size:5rem;display:block}.results h2{font-size:2.1rem;margin:12px 0}.results .result-score{font-size:2.6rem;font-weight:900;color:var(--topic-deep);margin:14px 0}.results p{color:#5a6a83;font-size:1.06rem}.results .btn{margin-top:10px}.side-panel{position:sticky;top:19px;padding:26px}.side-panel h3{font-size:1.27rem;margin-bottom:20px}.score-box{display:flex;align-items:center;justify-content:space-between;background:var(--topic-light);padding:15px 16px;border-radius:19px;margin-bottom:24px}.score-box .score-label{font-size:.84rem;color:#65718a;font-weight:900}.score-box .score-num{font-size:2rem;font-weight:900;color:var(--topic-deep);line-height:1.2}.score-box .score-star{font-size:2.5rem}.progress-caption{display:flex;justify-content:space-between;font-size:.85rem;font-weight:900;color:#63718a;margin-bottom:10px}.progress-track{width:100%;height:14px;background:#eef0f5;border-radius:100px;overflow:hidden;margin-bottom:20px}.progress-fill{width:0%;height:100%;background:var(--topic);border-radius:100px;transition:width .3s ease}.tip-card{background:#f5f7fc;padding:18px;border-radius:18px;font-size:.92rem;color:#5d6b80;margin:21px 0 17px}.tip-card strong{color:#283b5f}.restart-button{background:#fff;width:100%;border:2px solid #e6eaf1;color:#455778;min-height:49px;border-radius:15px;font-weight:900}.restart-button:hover{background:#f7f8ff}.subject-links{margin-top:22px;border-top:1px solid #ececf3;padding-top:16px}.subject-links strong{display:block;font-size:.83rem;color:#6b7587;margin-bottom:9px}.subject-links a{display:block;color:#364f78;font-weight:900;padding:7px 0}.subject-links a:hover{text-decoration:underline}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr 1fr}.hero-art{min-height:320px}.subject-grid{gap:13px}.subject-card-body{padding:22px}.game-layout{grid-template-columns:1fr}.game-side{order:1}.side-panel{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px 19px}.side-panel h3{grid-column:1/-1;margin-bottom:5px}.score-box{margin-bottom:0}.progress-caption{align-self:end}.progress-track{grid-column:2;grid-row:3;margin:0}.tip-card{grid-column:1/-1;margin:10px 0 3px}.restart-button{grid-column:1/-1}.subject-links{display:none}}
@media(max-width:650px){.container{width:min(100% - 28px,1152px)}.header-row{min-height:75px;display:block;padding:14px 0 10px}.brand{font-size:1.15rem}.brand img{width:37px;height:37px}.site-nav{overflow-x:auto;flex-wrap:nowrap;gap:4px;padding:11px 0 2px;scrollbar-width:none}.site-nav::-webkit-scrollbar{display:none}.site-nav a{font-size:.87rem;padding:8px 11px}.nav-cta{display:none}.hero{padding:38px 0 50px}.hero-grid{grid-template-columns:1fr;gap:11px}.hero h1{font-size:clamp(2.55rem,10vw,4.3rem);margin:14px 0}.hero p.lead{font-size:1.03rem}.hero-art{min-height:275px;max-height:330px;order:-1}.hero-art img{width:270px}.hero-art:before{width:265px}.hero-art:after{width:47px;height:47px;border-width:9px;right:14%}.trust-strip{margin-top:22px}.trust-pill{font-size:.76rem}.section{padding:35px 0 56px}.section-head{display:block}.subject-grid,.how-grid{grid-template-columns:1fr}.subject-illustration{height:145px}.subject-illustration .big-symbol{font-size:5.2rem}.subject-card-body{padding:23px}.subject-card h3{font-size:1.5rem}.subject-card p{margin-bottom:15px}.how-section{padding:45px 0}.how-grid{gap:11px}.how-step{min-height:0}.privacy-banner{margin-top:35px;padding:18px;gap:13px}.privacy-banner .shield{font-size:2.4rem}.privacy-banner h3{font-size:1.2rem}.footer-row{align-items:flex-start;flex-direction:column;gap:7px}.game-hero{padding:25px 0 17px}.back-link{margin-bottom:14px}.game-heading{padding:27px 23px}.game-heading h1{font-size:2.18rem}.game-heading p{font-size:.92rem}.game-heading .emblem{font-size:4rem;align-self:flex-start;margin-top:15px}.game-layout{gap:12px;padding-bottom:55px}.game-panel,.side-panel{padding:20px 16px;border-radius:22px}.mode-grid{gap:9px}.mode-button{min-height:116px;gap:8px;display:block;padding:12px}.mode-emoji{font-size:1.8rem}.mode-copy strong{font-size:.87rem;margin-top:6px}.mode-copy small{font-size:.75rem}.question-symbol{font-size:3.1rem;height:64px}.question-title{font-size:1.5rem}.answer-button{font-size:1.02rem;min-height:70px;padding:9px}.side-panel{grid-template-columns:1fr 1fr}.score-box{padding:11px}.score-box .score-num{font-size:1.65rem}.score-box .score-star{font-size:2rem}.tip-card{padding:12px}.results h2{font-size:1.7rem}}
@media(max-width:360px){.game-heading .emblem{display:none}.mode-grid{grid-template-columns:1fr}.mode-button{display:flex;min-height:75px}.answers{gap:8px}.answer-button{min-height:65px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(1deg)}}@keyframes twinkle{0%,100%{opacity:.6;transform:scale(.93)}50%{opacity:1;transform:scale(1.13)}}
