:root{--primary-color: #FF6B6B;--secondary-color: #4ECDC4;--background-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);--text-color: #2d3436;--font-family: "Comic Sans MS", "Chalkboard SE", sans-serif}body{margin:0;font-family:var(--font-family);background:var(--background-gradient);height:100vh;display:flex;justify-content:center;align-items:center;overflow:hidden}.container{text-align:center;width:100%;max-width:800px;padding:2rem}.title{font-size:3rem;color:var(--primary-color);margin-bottom:2rem;text-shadow:2px 2px 4px rgba(0,0,0,.1)}#app{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;min-height:60vh}.app-logo{position:fixed;top:20px;left:20px;width:30vmin;min-width:160px;max-width:300px;height:auto;z-index:2000;filter:drop-shadow(0 4px 6px rgba(0,0,0,.1));transition:opacity .3s}html:fullscreen .app-logo{opacity:0;pointer-events:none}.word-display{min-height:8rem;display:flex;align-items:center;justify-content:center;background:#ffffff4d;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:30px;padding:0 3rem;box-shadow:0 8px 32px #1f26871a;border:1px solid rgba(255,255,255,.4);margin-top:1rem}.reward-container{width:40vmin;height:40vmin;max-width:400px;max-height:400px;display:flex;justify-content:center;align-items:center;position:relative}.reward-emoji{font-size:20vmin;line-height:1;animation:popIn .5s cubic-bezier(.175,.885,.32,1.275)}.reward-emoji.hidden{display:none}.reward-emoji.visible{display:block}#reward-image{max-width:100%;max-height:100%;border-radius:20px;box-shadow:0 10px 20px #0003;transition:transform .5s cubic-bezier(.175,.885,.32,1.275)}#reward-image.hidden{display:none;transform:scale(0)}#reward-image.visible{display:block;transform:scale(1);animation:popIn .5s cubic-bezier(.175,.885,.32,1.275)}.typed-text{font-size:5rem;font-weight:700;color:var(--text-color);letter-spacing:.5rem;height:6rem;white-space:pre;display:flex;align-items:center}#intro-screen{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#fed6e3,#a8edea);display:flex;justify-content:center;align-items:center;z-index:1000;text-align:center}.intro-content{display:flex;flex-direction:column;align-items:center;gap:2rem}.intro-graphic{width:80%;max-width:600px;border-radius:20px;box-shadow:0 10px 30px #0000001a;margin-bottom:2rem}#start-button{background-color:#2ecc71;color:#fff;font-size:3rem;font-weight:700;padding:1rem 4rem;border:none;border-radius:50px;cursor:pointer;box-shadow:0 8px #27ae60;transition:transform .1s,box-shadow .1s;font-family:Comic Sans MS,Chalkboard SE,sans-serif}#start-button:hover{transform:translateY(-2px);box-shadow:0 10px #27ae60}#start-button:active{transform:translateY(4px);box-shadow:0 0 #27ae60}.start-hint{font-size:1.2rem;color:#7f8c8d;margin-top:1rem;animation:pulse 2s infinite}.hidden{display:none!important}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@keyframes floatUp{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.letter{display:inline-block;animation:fadeOut 5s forwards;transition:color .3s ease,transform .3s ease}.letter.highlight{color:#2ecc71;transform:scale(1.2);text-shadow:0 0 10px rgba(46,204,113,.5);animation:none;opacity:1}@keyframes popIn{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes floatUp{0%{transform:translateY(20px) scale(.5);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.virtual-keyboard{display:none;width:100%;max-width:600px;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:2rem;padding-bottom:2rem}.key-btn{background:#fff9;border:2px solid white;border-radius:15px;width:50px;height:60px;font-size:1.5rem;font-weight:700;color:var(--text-color);cursor:pointer;display:flex;justify-content:center;align-items:center;box-shadow:0 4px 6px #0000001a;transition:transform .1s,background .2s;font-family:var(--font-family)}.key-btn:active{transform:scale(.95);background:#ffffffe6}.key-btn.backspace{width:auto;padding:0 1.5rem;background:#ff7675;color:#fff;border:none}@media(max-width:1024px){.virtual-keyboard{display:flex}#app{justify-content:flex-start;padding-top:80px}.app-logo{width:80px}.typed-text{font-size:3rem;height:4rem}.reward-container{width:50vmin;height:50vmin}}.controls{margin-top:1rem;display:flex;justify-content:center;gap:1rem}.control-btn{background:#ffffff80;border:2px solid white;border-radius:20px;padding:.5rem 1.5rem;font-family:var(--font-family);font-size:1rem;cursor:pointer;transition:all .2s;color:var(--text-color)}.control-btn:hover{background:#fffc;transform:translateY(-2px)}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:3000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-content{background:#fff;padding:2rem;border-radius:20px;width:90%;max-width:600px;max-height:80vh;overflow-y:auto;position:relative;box-shadow:0 10px 30px #0003}.close-btn{position:absolute;top:10px;right:20px;font-size:2rem;cursor:pointer;color:#aaa}.close-btn:hover{color:#000}.wordlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:1rem;margin-top:1rem}.word-item{background:#f0f2f5;padding:.5rem;border-radius:10px;text-align:center;font-size:1.2rem;cursor:pointer;transition:background .2s}.word-item:hover{background:#e1e8ed}
