:root{--ink:#171530;--paper:#fffaf0;--purple:#5b3df5;--purple-dark:#3821c7;--coral:#ff6f61;--yellow:#ffd447;--blue:#4cc9f0;--mint:#9cf6cf;--line:rgba(23,21,48,.13);--shadow:0 24px 70px rgba(41,25,113,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,sans-serif;overflow-x:hidden}button,input{font:inherit}button,a{touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cursor-glow{position:fixed;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(91,61,245,.11),transparent 65%);pointer-events:none;z-index:-1;transform:translate(-50%,-50%)}
.site-header{width:min(1180px,calc(100% - 40px));height:86px;margin:auto;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-family:"Baloo 2",sans-serif;font-size:1.35rem;font-weight:800}.brand-mark{display:grid;grid-template-columns:repeat(2,24px);gap:3px}.brand-mark i{display:grid;place-items:center;height:27px;border-radius:7px;background:var(--purple);color:white;font-style:normal;font-size:.8rem;transform:rotate(-4deg)}.brand-mark i+ i{background:var(--coral);transform:rotate(5deg)}nav{display:flex;gap:30px}nav a{color:var(--ink);font-weight:700;font-size:.92rem;text-decoration:none;position:relative}nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:3px;background:var(--purple);border-radius:10px;transition:.25s}nav a:hover:after{right:0}.sound-toggle{border:1px solid var(--line);background:white;padding:10px 14px;border-radius:999px;font-weight:700;color:var(--ink);cursor:pointer}
.hero{min-height:720px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px;width:min(1180px,calc(100% - 40px));margin:auto;padding:55px 0 90px;position:relative}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:800;color:var(--purple);margin:0 0 14px}.hero h1,.section-heading h2,.how-copy h2,.cta-section h2{font-family:"Baloo 2",sans-serif;line-height:.94;margin:0}.hero h1{font-size:clamp(4rem,8vw,7.9rem);letter-spacing:-.055em}.hero h1 span{color:var(--purple);position:relative}.hero h1 span:after{content:"";position:absolute;left:4%;right:0;bottom:4px;height:12px;background:var(--yellow);z-index:-1;border-radius:50%}.hero-text{font-size:1.12rem;line-height:1.75;max-width:610px;color:#56516e}.hero-actions{display:flex;gap:14px;margin:30px 0}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:16px 22px;font-weight:800;text-decoration:none;border:0;cursor:pointer;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-3px)}.primary{background:var(--purple);color:white;box-shadow:0 14px 28px rgba(91,61,245,.27)}.secondary{background:transparent;color:var(--ink);border:2px solid var(--ink)}.mini-stats{display:flex;gap:22px;flex-wrap:wrap;color:#69647e;font-size:.85rem}.mini-stats strong{display:block;color:var(--ink);font-size:1.1rem}.hero-board{min-height:520px;background:var(--purple);border-radius:48px;box-shadow:var(--shadow);position:relative;display:grid;place-items:center;overflow:hidden;transform:rotate(2deg)}.hero-board:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:var(--coral);top:-70px;right:-40px}.hero-board:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:var(--yellow);bottom:-45px;left:-25px}.hero-board p{position:absolute;bottom:28px;color:white;font-weight:700;letter-spacing:.08em}.tile-cloud{width:360px;display:flex;flex-wrap:wrap;justify-content:center;gap:14px;z-index:2}.letter-tile{width:92px;height:92px;background:white;color:var(--ink);border:0;border-radius:23px;box-shadow:0 10px 0 rgba(28,18,100,.35);font-family:"Baloo 2",sans-serif;font-size:3.2rem;font-weight:800;cursor:grab;transition:.2s}.letter-tile:hover{transform:translateY(-8px) rotate(-4deg)}.letter-tile.big{width:112px}.letter-tile.tall{height:112px}.letter-tile.wide{width:128px}.orbit{position:absolute;border:2px dashed rgba(255,255,255,.25);border-radius:50%}.orbit-one{width:430px;height:430px}.orbit-two{width:570px;height:260px;transform:rotate(-22deg)}.floating-letters span{position:absolute;left:var(--x);top:var(--y);font-family:"Baloo 2";font-size:2.2rem;font-weight:800;color:var(--purple);transform:rotate(var(--r));animation:float 4s ease-in-out infinite var(--d)}@keyframes float{50%{translate:0 -15px;rotate:7deg}}
.game-section,.worlds-section,.how-section{width:min(1180px,calc(100% - 40px));margin:auto;padding:90px 0}.game-section{border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:34px}.section-heading h2,.how-copy h2{font-size:clamp(2.5rem,5vw,4.4rem);letter-spacing:-.035em}.streak-pill{background:white;border:1px solid var(--line);border-radius:999px;padding:12px 18px;font-weight:800}.game-shell{display:grid;grid-template-columns:1fr 330px;gap:26px}.game-card,.progress-card{border:1px solid var(--line);border-radius:30px;background:white;box-shadow:0 20px 50px rgba(39,26,92,.08)}.game-card{padding:34px}.game-topline{display:flex;justify-content:space-between;color:#6c6683;font-size:.85rem;font-weight:700}.clue{font-family:"Baloo 2";font-size:1.65rem;font-weight:700;line-height:1.2;max-width:700px}.scramble{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.scramble button{width:61px;height:65px;border:0;border-radius:15px;background:#f0ecff;color:var(--purple-dark);font-family:"Baloo 2";font-size:2rem;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #d8cffc;transition:.18s}.scramble button:hover,.scramble button.active{transform:translateY(-5px);background:var(--yellow);color:var(--ink);box-shadow:0 5px 0 #e4b61f}.answer-row{display:flex;gap:10px}.answer-row input{flex:1;min-width:0;border:2px solid #ded9ee;border-radius:15px;padding:15px 17px;font-weight:700;text-transform:uppercase;outline:none}.answer-row input:focus{border-color:var(--purple);box-shadow:0 0 0 4px rgba(91,61,245,.12)}.answer-row button{border:0;border-radius:15px;background:var(--ink);color:white;padding:0 24px;font-weight:800;cursor:pointer}.game-message{min-height:24px;color:#6f6982;font-size:.9rem}.game-controls{display:flex;gap:10px;flex-wrap:wrap}.game-controls button{border:1px solid var(--line);border-radius:12px;background:white;padding:10px 14px;font-weight:700;cursor:pointer}.game-controls button:last-child{margin-left:auto;color:var(--purple)}.progress-card{padding:30px;text-align:center;background:linear-gradient(160deg,#fff,#f2eeff)}.progress-card h3{font-family:"Baloo 2";font-size:1.8rem;margin:0 0 25px}.progress-ring{--progress:0;width:170px;height:170px;border-radius:50%;margin:0 auto 24px;background:conic-gradient(var(--purple) calc(var(--progress)*1%),#e7e1fb 0);display:grid;place-items:center;position:relative}.progress-ring:after{content:"";position:absolute;inset:15px;background:white;border-radius:50%}.progress-ring span{position:relative;z-index:1;font-size:1.3rem}.progress-ring strong{font-family:"Baloo 2";font-size:2.5rem}.progress-ring small{display:block;color:#7b748e}.badge-row{display:flex;justify-content:center;gap:8px}.badge{filter:grayscale(1);opacity:.28;font-size:1.6rem}.badge.unlocked{filter:none;opacity:1}.progress-copy{font-size:.88rem;line-height:1.6;color:#6b657d}
.worlds-section{padding-top:40px}.world-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.world-card{min-height:315px;border-radius:28px;padding:25px;display:flex;flex-direction:column;align-items:flex-start;transition:.25s;cursor:pointer;outline:none}.world-card:hover,.world-card:focus{transform:translateY(-10px) rotate(-1deg);box-shadow:var(--shadow)}.world-card.coral{background:#ff9c90}.world-card.yellow{background:#ffe373}.world-card.blue{background:#86ddf5}.world-card.violet{background:#a99af8}.world-icon{font-size:3.8rem;margin-bottom:auto}.world-card p{font-weight:800;font-size:.76rem;text-transform:uppercase;letter-spacing:.12em}.world-card h3{font-family:"Baloo 2";font-size:2rem;margin:3px 0}.world-card>span:last-child{font-size:.9rem;line-height:1.55}.how-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}.how-copy>p:last-child{line-height:1.7;color:#69647d;max-width:460px}.steps{display:grid;gap:14px}.steps div{display:grid;grid-template-columns:58px 1fr;column-gap:16px;padding:22px;border-top:1px solid var(--line)}.steps strong{grid-row:1/3;font-family:"Baloo 2";font-size:1.5rem;color:var(--purple)}.steps h3{margin:0;font-family:"Baloo 2";font-size:1.5rem}.steps p{margin:4px 0 0;color:#6c6680}.cta-section{width:min(1180px,calc(100% - 40px));margin:30px auto 90px;border-radius:36px;background:var(--ink);color:white;padding:55px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.cta-section:after{content:"JUMBLE";position:absolute;right:-25px;bottom:-45px;font-family:"Baloo 2";font-size:7rem;font-weight:800;color:rgba(255,255,255,.04)}.cta-section .eyebrow{color:var(--yellow)}.cta-section h2{font-size:clamp(2.4rem,5vw,4.5rem)}.light{background:white;color:var(--ink);z-index:2}footer{width:min(1180px,calc(100% - 40px));margin:auto;padding:0 0 45px;display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center;color:#777187;font-size:.84rem}.footer-brand{font-size:1rem}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,120px);background:var(--ink);color:white;border-radius:15px;padding:14px 20px;font-weight:700;box-shadow:var(--shadow);transition:.3s;z-index:50}.toast.show{transform:translate(-50%,0)}
@media(max-width:900px){nav{display:none}.hero{grid-template-columns:1fr;padding-top:35px}.hero-board{min-height:430px}.game-shell,.how-section{grid-template-columns:1fr}.world-grid{grid-template-columns:repeat(2,1fr)}.progress-card{display:grid;grid-template-columns:1fr 1fr;align-items:center}.progress-card .eyebrow,.progress-card h3,.progress-copy{grid-column:1/-1}.cta-section{align-items:flex-start;gap:25px;flex-direction:column}footer{grid-template-columns:1fr;gap:8px}}
@media(max-width:600px){.site-header{width:min(100% - 24px);height:70px}.sound-toggle{font-size:.72rem;padding:8px 10px}.hero,.game-section,.worlds-section,.how-section,.cta-section,footer{width:min(100% - 24px)}.hero{min-height:auto;padding:35px 0 70px;gap:35px}.hero h1{font-size:3.6rem}.hero-actions{align-items:stretch;flex-direction:column}.hero-board{min-height:370px;border-radius:30px}.tile-cloud{width:290px}.letter-tile{width:70px;height:70px;font-size:2.5rem}.letter-tile.big{width:90px}.letter-tile.tall{height:90px}.letter-tile.wide{width:105px}.mini-stats{justify-content:space-between}.game-section,.worlds-section,.how-section{padding:65px 0}.section-heading{align-items:flex-start;gap:18px;flex-direction:column}.game-card{padding:22px}.game-topline{gap:12px;font-size:.74rem}.scramble button{width:49px;height:53px;font-size:1.55rem}.answer-row{flex-direction:column}.answer-row button{padding:14px}.game-controls button:last-child{margin-left:0}.progress-card{display:block}.world-grid{grid-template-columns:1fr}.world-card{min-height:270px}.cta-section{padding:35px 26px}.cta-section:after{font-size:4rem}footer{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}.cursor-glow{display:none}}
