.language-switcher{display:flex;gap:4px;background:#ffffff1a;padding:4px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-left:16px;margin-right:16px}.lang-button{display:flex;align-items:center;gap:4px;padding:6px 10px;border:none;background:transparent;border-radius:8px;cursor:pointer;transition:all .2s ease;font-weight:600;font-size:.85rem;color:#ffffffb3;position:relative;overflow:hidden}.lang-button:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffff26;opacity:0;transition:opacity .2s ease;border-radius:8px;z-index:-1}.lang-button.active:before{opacity:1}.lang-button.active{color:#fff}.lang-button:hover:not(.active){background:#ffffff0d}.lang-button:active{transform:scale(.95)}.flag{font-size:1.1rem;line-height:1}.lang-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.3px;font-size:.85rem}@media (max-width: 768px){.lang-button{padding:5px 8px;font-size:.75rem}.flag{font-size:1rem}.lang-text{display:none}}.lang-button:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}:root{--bg-dark: #1a1a1a;--bg-cream: #FFF9E5;--text-white: #ffffff;--text-dark: #2D2D2D;--color-red: #FF6B6B;--color-orange: #FF9F43;--color-yellow: #FECA57;--color-green: #1DD1A1;--color-blue: #54A0FF}body{margin:0;padding:0;font-family:Quicksand,sans-serif;background-color:var(--bg-cream)}.welcome-container{width:100%;min-height:100vh;display:flex;flex-direction:column}.hero-section{background-color:var(--bg-dark);color:var(--text-white);position:relative;padding-bottom:50px;overflow:hidden}.navbar{display:flex;justify-content:space-between;align-items:center;padding:20px 50px;z-index:10;position:relative}.nav-logo{display:flex;align-items:center;gap:15px}.nav-logo-text{font-family:Fredoka,sans-serif;font-size:2rem;font-weight:700;display:flex;align-items:center}.logo-rainbow{background:linear-gradient(to right,var(--color-red),var(--color-yellow),var(--color-blue));-webkit-background-clip:text;background-clip:text;color:transparent}.nav-links{display:flex;align-items:center}.nav-links a{color:#fff;text-decoration:none;margin-left:30px;font-weight:600;font-size:1.1rem;transition:color .3s}.nav-links a:hover{color:var(--color-yellow)}.nav-contact-btn{background:#ffffff1a;padding:8px 20px;border-radius:20px;border:1px solid rgba(255,255,255,.2)}.hero-content{display:flex;align-items:center;justify-content:space-between;padding:40px 80px;position:relative;z-index:5;min-height:500px}.hero-text-area{max-width:50%;z-index:2}.hero-subtitle{color:var(--color-yellow);font-size:1.2rem;letter-spacing:2px;margin-bottom:10px;text-transform:uppercase}.hero-title{font-family:Fredoka,sans-serif;font-size:5rem;line-height:1.1;margin:0 0 20px}.title-white{display:block;color:#fff}.title-color{color:var(--color-orange)}.hero-description{font-size:1.2rem;line-height:1.6;margin-bottom:40px;color:#e0e0e0;max-width:80%}.cta-button{background-color:#fff;color:var(--bg-dark);font-family:Fredoka,sans-serif;font-size:1.2rem;font-weight:600;padding:15px 40px;border:none;border-radius:50px;cursor:pointer;transition:transform .3s,box-shadow .3s;box-shadow:0 4px 15px #fff3}.cta-button:hover{transform:translateY(-3px);box-shadow:0 8px 25px #ffffff4d}.rainbow-stream{position:absolute;top:-100px;right:20%;width:200px;height:800px;transform:rotate(30deg);z-index:0;opacity:.8;pointer-events:none}.rainbow-color{width:100%;height:100%;position:absolute;border-radius:100px}.rainbow-color.red{background:var(--color-red);width:140px;right:0}.rainbow-color.orange{background:var(--color-orange);width:110px;right:15px}.rainbow-color.yellow{background:var(--color-yellow);width:80px;right:30px}.rainbow-color.green{background:var(--color-green);width:50px;right:45px}.rainbow-color.blue{background:var(--color-blue);width:20px;right:60px}.hero-character{position:relative;z-index:2;width:40%;display:flex;justify-content:center}.floating-panda{width:100%;max-width:400px;animation:float 6s ease-in-out infinite;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3))}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.wave-separator{position:absolute;bottom:-1px;left:0;width:100%;line-height:0;z-index:1}.wave-separator svg{display:block;width:100%;height:150px}.info-section{background-color:var(--bg-cream);padding:80px 50px 120px;text-align:center;position:relative}.section-header{max-width:800px;margin:0 auto 50px}.section-header h3{color:var(--color-orange);font-weight:700;margin-bottom:10px;font-size:1.5rem}.section-header h2{color:var(--text-dark);font-family:Fredoka,sans-serif;font-size:3rem;margin:0 0 20px}.section-intro{font-size:1.2rem;color:#666;line-height:1.6}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;max-width:1200px;margin:0 auto}.info-card{background:#fff;border-radius:20px;padding:40px 30px;text-align:left;box-shadow:0 10px 30px #0000000d;transition:transform .3s;position:relative;overflow:hidden}.info-card:hover{transform:translateY(-10px)}.info-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:10px}.info-card.blue:before{background-color:var(--color-blue)}.info-card.green:before{background-color:var(--color-green)}.info-card.red:before{background-color:var(--color-red)}.card-icon{font-size:3rem;margin-bottom:20px;background:#f8f9fa;width:80px;height:80px;display:flex;align-items:center;justify-content:center;border-radius:50%}.info-card h4{color:var(--text-dark);font-size:1.5rem;font-family:Fredoka,sans-serif;margin-bottom:15px}.info-card p{color:#666;line-height:1.6}.how-it-works{background-color:var(--color-blue);padding:0 0 80px;color:#fff;position:relative;margin-top:0}.wave-top{position:absolute;top:-149px;left:0;width:100%;line-height:0}.wave-top svg{display:block;width:100%;height:150px;transform:rotate(180deg);fill:var(--color-blue)}.how-it-works .container{max-width:1200px;margin:0 auto;padding:50px 20px 0;text-align:center;position:relative;z-index:2}.section-title-white{font-family:Fredoka,sans-serif;font-size:3rem;margin-bottom:60px}.steps-container{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.step-item{flex:1;background:#ffffff1a;padding:30px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.step-number{background:#fff;color:var(--color-blue);width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.5rem;margin:0 auto 20px;font-family:Fredoka,sans-serif}.step-arrow{font-size:2rem;align-self:center;opacity:.5;margin-top:50px}.step-item h4{font-size:1.5rem;margin-bottom:10px;font-family:Fredoka,sans-serif}.about-section{padding:100px 50px;background-color:#fff}.about-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:60px}.about-image{flex:1;text-align:center}.friend-panda{max-width:80%;transform:rotate(-5deg)}.about-text{flex:1}.about-text h3{color:var(--color-green);font-weight:700;letter-spacing:1px;margin-bottom:10px}.about-text h2{font-family:Fredoka,sans-serif;font-size:3rem;color:var(--text-dark);margin:0 0 30px}.about-text p{font-size:1.1rem;color:#555;line-height:1.8;margin-bottom:20px}.feature-list{list-style:none;padding:0;margin:30px 0}.feature-list li{margin-bottom:15px;font-size:1.1rem;color:var(--text-dark);display:flex;align-items:center;gap:10px}.secondary-button{background-color:var(--color-green);color:#fff;font-family:Fredoka,sans-serif;font-size:1.1rem;font-weight:600;padding:15px 35px;border:none;border-radius:50px;cursor:pointer;transition:transform .3s}.secondary-button:hover{transform:translateY(-3px);background-color:#15b58d}.main-footer{background-color:var(--bg-dark);color:#fff;padding:80px 50px 20px}.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.1)}.footer-col h4{font-family:Fredoka,sans-serif;font-size:1.5rem;margin-bottom:20px;color:var(--color-yellow)}.footer-col p{color:#aaa;line-height:1.6}.footer-col a{display:block;color:#ccc;text-decoration:none;margin-bottom:10px;transition:color .3s}.footer-col a:hover{color:#fff}.footer-bottom{text-align:center;padding-top:20px;color:#666;font-size:.9rem}@media (max-width: 768px){.navbar{padding:20px}.nav-links{display:none}.hero-content{flex-direction:column-reverse;padding:20px;text-align:center}.hero-text-area{max-width:100%;margin-top:40px}.hero-character{width:80%}.hero-title{font-size:3rem}.rainbow-stream{right:-50px;opacity:.5}.steps-container{flex-direction:column}.step-arrow{transform:rotate(90deg);margin:10px 0}.about-content{flex-direction:column}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:#1a1a1a;padding:20px;position:relative;overflow:hidden}.auth-card{background:#fff;width:100%;max-width:450px;border-radius:24px;padding:40px;box-shadow:0 20px 40px #0003;z-index:10;position:relative}.auth-header{text-align:center;margin-bottom:30px}.auth-logo{font-family:Fredoka,sans-serif;font-size:2rem;font-weight:700;margin-bottom:20px;display:flex;justify-content:center;gap:5px}.logo-text-color{background:linear-gradient(to right,#ff6b6b,#feca57,#54a0ff);-webkit-background-clip:text;background-clip:text;color:transparent}.logo-text-white{color:#2d2d2d}.auth-header h2{color:#2d2d2d;font-family:Fredoka,sans-serif;font-size:1.8rem;margin-bottom:10px}.auth-header p{color:#666;font-size:1rem}.google-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:2px solid #e0e0e0;padding:12px;border-radius:12px;font-size:1rem;font-weight:600;color:#444;cursor:pointer;transition:all .2s}.google-btn:hover{background:#f8f9fa;border-color:#d0d0d0}.google-btn img{width:24px;height:24px}.auth-divider{margin:25px 0;text-align:center;position:relative}.auth-divider:before{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;background:#e0e0e0}.auth-divider span{background:#fff;padding:0 15px;color:#888;position:relative;font-size:.9rem}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#444;font-weight:600;font-size:.9rem}.form-group input{width:100%;padding:12px 15px;border:2px solid #e0e0e0;border-radius:12px;font-size:1rem;font-family:Quicksand,sans-serif;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#54a0ff}.submit-btn{width:100%;background:#2d2d2d;color:#fff;padding:15px;border:none;border-radius:12px;font-size:1.1rem;font-weight:700;font-family:Fredoka,sans-serif;cursor:pointer;transition:transform .2s}.submit-btn:hover{transform:translateY(-2px);background:#000}.submit-btn:disabled{background:#ccc;cursor:not-allowed;transform:none}.auth-error{background:#fee2e2;color:#dc2626;padding:10px;border-radius:8px;margin-bottom:20px;font-size:.9rem;text-align:center}.auth-footer{text-align:center;margin-top:25px;font-size:.95rem;color:#666}.toggle-btn{background:none;border:none;color:#54a0ff;font-weight:700;cursor:pointer;margin-left:5px;padding:0;font-size:.95rem}.toggle-btn:hover{text-decoration:underline}.auth-decor{position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none}.rainbow-circle{position:absolute;top:-100px;right:-100px;width:400px;height:400px;background:conic-gradient(from 180deg,#ff6b6b,#feca57,#54a0ff,#1dd1a1,#ff6b6b);border-radius:50%;filter:blur(60px);opacity:.3}.auth-panda{position:absolute;bottom:-20px;left:5%;width:250px;transform:rotate(10deg);opacity:.9}@media (max-width: 768px){.auth-card{padding:30px 20px}.auth-panda{width:150px;left:-20px}}.welcome-message-screen{width:100%;height:100vh;display:flex;align-items:center;justify-content:center;background-color:#1a1a1a;overflow:hidden;position:relative}.welcome-message-content{display:flex;align-items:center;gap:60px;max-width:1000px;width:100%;padding:0 40px}.character-container{flex:1;position:relative;display:flex;justify-content:center;transform:translate(-100px);opacity:0;transition:all 1s cubic-bezier(.34,1.56,.64,1)}.character-container.slide-in{transform:translate(0);opacity:1}.welcome-character{width:100%;max-width:400px;z-index:2;filter:drop-shadow(0 10px 30px rgba(0,0,0,.3))}.text-container{flex:1;color:#fff;opacity:0;transform:translateY(30px);transition:all 1s ease .5s}.text-container.fade-up{opacity:1;transform:translateY(0)}.welcome-greeting{font-family:Fredoka,sans-serif;font-size:2rem;color:#feca57;margin-bottom:10px;letter-spacing:1px}.welcome-name{font-family:Fredoka,sans-serif;font-size:3.5rem;line-height:1.2;margin-bottom:30px}.name-highlight{background:linear-gradient(to right,#ff6b6b,#feca57,#54a0ff);-webkit-background-clip:text;background-clip:text;color:transparent;display:inline-block}.loading-text{font-size:1.1rem;color:#ccc;margin-bottom:15px;font-family:Quicksand,sans-serif}.loading-bar{width:100%;max-width:300px;height:8px;background:#ffffff1a;border-radius:4px;overflow:hidden}.loading-fill{height:100%;background:linear-gradient(to right,#ff6b6b,#feca57,#54a0ff);width:0%;border-radius:4px;animation:loadProgress 3s ease-in-out forwards}@keyframes loadProgress{0%{width:0%}to{width:100%}}@media (max-width: 768px){.welcome-message-content{flex-direction:column;text-align:center;gap:30px}.character-container{transform:translateY(-50px)}.character-container.slide-in{transform:translateY(0)}.welcome-character{max-width:250px}.loading-bar{margin:0 auto}.welcome-name{font-size:2.5rem}}.map-view{display:flex;min-height:100vh;background-color:#fff9e5;font-family:Quicksand,sans-serif}.sidebar-footer{margin-top:auto;position:relative}.user-profile{display:flex;align-items:center;gap:15px;padding:15px;background:#2d2d2d;border-radius:15px;cursor:pointer;transition:background .3s}.user-profile:hover{background:#333}.avatar-circle{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#54a0ff);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:1.2rem}@keyframes popUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.logout-btn:hover{background:#fecaca}.map-content{flex:1;margin-left:280px;padding:40px 60px}.map-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:60px}.map-header h1{font-family:Fredoka,sans-serif;font-size:2.5rem;color:#2d2d2d;margin-bottom:10px}.progress-text{color:#666;font-size:1.1rem}.continue-btn{display:flex;align-items:center;gap:15px;background:#2d2d2d;color:#fff;padding:15px 30px;border-radius:50px;border:none;font-family:Fredoka,sans-serif;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .3s;box-shadow:0 10px 20px #0000001a}.continue-btn:hover{transform:translateY(-3px);background:#000}.levels-container{display:flex;flex-direction:column;gap:50px}.unit-section{background:#fff;border-radius:24px;padding:30px;box-shadow:0 10px 30px #0000000d}.unit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;border-bottom:2px solid #f0f0f0;padding-bottom:15px}.unit-header h2{font-family:Fredoka,sans-serif;font-size:1.8rem;color:#54a0ff}.unit-count{background:#f0f0f0;padding:5px 15px;border-radius:20px;color:#666;font-size:.9rem;font-weight:600}.levels-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:25px}.level-node{background:#f8f9fa;border:2px solid #eee;border-radius:20px;padding:20px;text-align:left;cursor:pointer;transition:all .3s;position:relative;overflow:hidden;display:flex;align-items:flex-start;gap:15px}.level-node:hover:not(:disabled){transform:translateY(-5px);border-color:#54a0ff;background:#fff;box-shadow:0 10px 20px #54a0ff26}.level-node.current{border-color:#feca57;background:#fffdf0;box-shadow:0 0 0 4px #feca5733}.level-node:disabled{opacity:.6;cursor:not-allowed;filter:grayscale(100%)}.node-content{width:50px;height:50px;background:#2d2d2d;color:#fff;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;flex-shrink:0}.level-node.completed .node-content{background:#1dd1a1}.level-node.current .node-content{background:#feca57;color:#2d2d2d}.level-info h3{font-family:Fredoka,sans-serif;font-size:1.1rem;color:#2d2d2d;margin-bottom:5px}.level-info p{font-size:.9rem;color:#888;line-height:1.4}@media (max-width: 1024px){.sidebar{width:80px;padding:20px 10px}.logo-text,.nav-item span,.sidebar-footer .user-info{display:none}.nav-item{justify-content:center;padding:15px}.sidebar-footer{padding:0 10px}.user-profile{justify-content:center;padding:10px}.map-content{margin-left:80px;padding:30px}}@media (max-width: 768px){.map-content{padding:20px}.map-header{flex-direction:column;align-items:flex-start;gap:20px}.continue-btn{width:100%;justify-content:center}}.quests-view{display:flex;min-height:100vh;background-color:#fff9e5;font-family:Quicksand,sans-serif}.quests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:30px}.quest-card{background:#fff;border-radius:24px;padding:30px;display:flex;align-items:center;gap:25px;box-shadow:0 10px 30px #0000000d;transition:transform .3s;position:relative;overflow:hidden}.quest-card:hover{transform:translateY(-5px)}.quest-card.completed{background:#f0fdf4;border:2px solid #bbf7d0}.quest-icon-wrapper{width:60px;height:60px;background:#f8f9fa;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:2rem}.quest-card.completed .quest-icon-wrapper{background:#dcfce7}.quest-info{flex:1}.quest-info h3{font-family:Fredoka,sans-serif;font-size:1.3rem;color:#2d2d2d;margin-bottom:15px}.quest-progress-container{width:100%}.progress-label{display:flex;justify-content:space-between;font-size:.9rem;color:#666;margin-bottom:5px;font-weight:600}.quest-progress-track{height:10px;background:#eee;border-radius:5px;overflow:hidden}.quest-progress-fill{height:100%;background:#2d2d2d;border-radius:5px;transition:width .5s ease}.quest-card.completed .quest-progress-fill{background:#1dd1a1}.quest-badge{position:absolute;top:15px;right:15px;background:#1dd1a1;color:#fff;font-size:.7rem;padding:4px 10px;border-radius:20px;font-weight:700}@media (max-width: 768px){.header-title{font-size:2rem}.quests-grid{grid-template-columns:1fr}}.badges-view{display:flex;min-height:100vh;background-color:#fff9e5;font-family:Quicksand,sans-serif}.sidebar{width:280px;background-color:#1a1a1a;color:#fff;display:flex;flex-direction:column;padding:30px 20px;position:fixed;height:100vh;left:0;top:0;z-index:100}.sidebar-header{margin-bottom:50px;padding-left:10px}.logo-text{font-family:Fredoka,sans-serif;font-size:1.8rem;font-weight:700}.logo-rainbow{background:linear-gradient(to right,#ff6b6b,#feca57,#54a0ff);-webkit-background-clip:text;background-clip:text;color:transparent}.logo-white{color:#fff;margin-left:5px}.sidebar-nav{display:flex;flex-direction:column;gap:15px;flex:1}.nav-item{display:flex;align-items:center;gap:15px;background:transparent;border:none;color:#ccc;padding:15px 20px;border-radius:15px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;text-align:left;font-family:Fredoka,sans-serif}.nav-item.active{background:#2d2d2d;color:#feca57;box-shadow:0 4px 15px #0000004d}.nav-icon{font-size:1.4rem}.sidebar-footer{margin-top:auto}.user-profile{display:flex;align-items:center;gap:15px;padding:15px;background:#2d2d2d;border-radius:15px;cursor:pointer;position:relative}.avatar-circle{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#54a0ff);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}.user-info{display:flex;flex-direction:column}.user-name{font-weight:700;color:#fff}.user-level{font-size:.8rem;color:#feca57}.profile-menu{position:absolute;bottom:80px;left:0;width:100%;background:#fff;border-radius:15px;padding:10px;box-shadow:0 5px 20px #0003;animation:popUp .2s ease}.logout-btn{width:100%;padding:10px;background:#fee2e2;color:#dc2626;border:none;border-radius:10px;font-weight:600;cursor:pointer}.main-content-area{flex:1;margin-left:280px;padding:60px}.content-header{margin-bottom:50px}.header-title{font-family:Fredoka,sans-serif;font-size:3rem;color:#2d2d2d;margin-bottom:10px}.header-subtitle{font-size:1.2rem;color:#666}.badges-section{margin-bottom:60px}.badges-section-title{font-family:Fredoka,sans-serif;font-size:1.5rem;color:#2d2d2d;margin-bottom:25px;padding-left:10px;border-left:5px solid #54A0FF}.badges-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px}.badge-card{background:#fff;border-radius:20px;padding:25px;display:flex;align-items:center;gap:20px;box-shadow:0 10px 30px #0000000d;transition:transform .3s;position:relative;overflow:hidden}.badge-card:hover{transform:translateY(-5px)}.badge-card.unlocked{border:2px solid #FECA57;background:linear-gradient(145deg,#fff,#fffdf5)}.badge-card.locked{opacity:.7;filter:grayscale(100%);background:#f0f0f0}.badge-icon-wrapper{width:70px;height:70px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;box-shadow:0 5px 15px #0000001a}.badge-info{flex:1}.badge-name{font-family:Fredoka,sans-serif;font-size:1.2rem;color:#2d2d2d;margin-bottom:5px}.badge-description{font-size:.9rem;color:#666;line-height:1.4}.badge-date{margin-top:8px;font-size:.8rem;color:#1dd1a1;font-weight:600}.badge-lock-icon{position:absolute;top:15px;right:15px;font-size:1.2rem;opacity:.5}@media (max-width: 1024px){.sidebar{width:80px;padding:20px 10px}.logo-text,.nav-item span,.user-info{display:none}.main-content-area{margin-left:80px;padding:30px}.nav-item{justify-content:center}}@media (max-width: 768px){.header-title{font-size:2rem}.badges-grid{grid-template-columns:1fr}}.level-page{min-height:100vh;background:#fff;color:#333}.level-page.story-screen{padding:0;display:flex;align-items:center;justify-content:center}.level-page.question-screen{padding:2rem}.level-page.error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem}.level-header{max-width:800px;margin:0 auto 2rem}.back-button{background:#f3f4f6;border:2px solid #e5e7eb;color:#333;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:1rem;margin-bottom:1rem;transition:all .3s ease}.back-button:hover{background:#e5e7eb;border-color:#2563eb}.level-header h2{font-size:2rem;margin-bottom:1rem;text-align:center;color:#333}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:linear-gradient(90deg,#0ea5e9,#2563eb);transition:width .3s ease}.question-counter{text-align:center;font-size:1rem;color:#6b7280}.story-container{width:100%;max-width:1400px;display:flex;align-items:center;justify-content:center;gap:4rem;padding:3rem;min-height:100vh}.level-subtitle{font-size:1rem;color:#6b7280;margin:0;line-height:1.5}.story-image-container{flex:1;display:flex;align-items:center;justify-content:center;max-width:500px}.story-image{width:100%;max-width:400px;height:auto;object-fit:contain;filter:drop-shadow(0 10px 30px rgba(0,0,0,.1))}.story-content-container{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:600px;gap:2rem}.story-header{display:flex;flex-direction:column;gap:1rem}.level-title{font-size:2.5rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2}.story-text-container{background:#f9fafb;border:2px solid #e5e7eb;border-radius:20px;padding:2rem;min-height:200px;display:flex;align-items:center}.story-text{font-size:1.3rem;line-height:1.8;color:#1f2937;margin:0;text-align:left}.story-controls{display:flex;flex-direction:column;gap:1.5rem}.tts-controls{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:#f9fafb;border:2px solid #e5e7eb;border-radius:15px}.play-button{padding:1rem 2rem;border:none;border-radius:12px;background:#000;color:#fff;font-size:1.5rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0003;display:flex;align-items:center;justify-content:center;min-width:60px;min-height:60px}.play-button:hover{background:#1a1a1a;transform:translateY(-2px);box-shadow:0 6px 20px #0000004d}.play-button.playing{background:#000;box-shadow:0 4px 12px #0000004d}.play-button.playing:hover{background:#1a1a1a}.volume-control{display:flex;align-items:center;gap:1rem}.volume-control label{font-size:1rem;font-weight:600;color:#1f2937;min-width:120px}.volume-slider{flex:1;height:8px;border-radius:4px;background:#e5e7eb;outline:none;-webkit-appearance:none}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#2563eb;cursor:pointer;transition:all .3s ease}.volume-slider::-webkit-slider-thumb:hover{background:#1d4ed8;transform:scale(1.2)}.volume-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#2563eb;cursor:pointer;border:none;transition:all .3s ease}.volume-slider::-moz-range-thumb:hover{background:#1d4ed8;transform:scale(1.2)}.volume-value{font-size:1rem;font-weight:600;color:#6b7280;min-width:50px;text-align:right}.continue-button{padding:1.2rem 3rem;border:none;border-radius:12px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:1px;box-shadow:0 6px 22px #2563eb52}.continue-button:hover{transform:translateY(-3px);background:linear-gradient(135deg,#1e40af,#1d4ed8);box-shadow:0 10px 28px #1e40af66}.continue-button:active{transform:translateY(-1px)}.question-header{max-width:800px;margin:0 auto 2rem}.question-scoreboard{max-width:800px;margin:0 auto 1.5rem;padding:1rem 1.5rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;border-radius:16px;display:flex;justify-content:center;gap:1.5rem;box-shadow:0 10px 24px #1e40af2e}.score-item{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#1d4ed8;font-size:1rem}.score-icon{font-size:1.2rem}.score-text{letter-spacing:.3px}.question-container{max-width:800px;margin:2rem auto;background:#fff;border:2px solid #e5e7eb;border-radius:20px;padding:2rem;box-shadow:0 2px 8px #0000000d}.question-text{font-size:1.5rem;margin-bottom:2rem;text-align:center;font-weight:600;color:#333}.options{display:flex;flex-direction:column;gap:1rem}.image-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-top:1.5rem}.image-option-card{background:#fff;border:2px solid #bfdbfe;border-radius:18px;padding:1rem;display:flex;flex-direction:column;align-items:center;gap:.75rem;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;box-shadow:0 12px 26px #2563eb2e}.image-option-card:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 18px 32px #2563eb38;border-color:#2563eb}.image-option-card.correct{border-color:#2563eb;box-shadow:0 20px 38px #2563eb47}.image-option-card.incorrect{border-color:#ef4444;box-shadow:0 18px 36px #ef444433}.image-option-visual{width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#f8fafc;display:flex;align-items:center;justify-content:center}.image-option-visual img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.image-option-card:hover .image-option-visual img{transform:scale(1.05)}.image-option-emoji{font-size:4rem;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%}.image-option-label{font-weight:700;font-size:1rem;color:#0f172a;text-align:center}.option-button{background:#fff;border:2px solid #bfdbfe;color:#1d4ed8;padding:1rem 2rem;border-radius:12px;cursor:pointer;font-size:1.1rem;transition:all .3s ease;text-align:left;box-shadow:0 6px 16px #2563eb14}.option-button:hover:not(:disabled){background:#dbeafe;border-color:#2563eb;transform:translate(5px);color:#1e40af}.option-button:disabled{cursor:not-allowed}.option-button.correct{background:#2563eb;border-color:#1d4ed8;color:#fff;box-shadow:0 10px 24px #2563eb47}.option-button.incorrect{background:#ef4444;border-color:#ef4444;color:#fff}.hint-section{max-width:800px;margin:1rem auto;text-align:center}.hint-button{background:#f3f4f6;border:2px solid #e5e7eb;color:#333;padding:.75rem 1.5rem;border-radius:10px;cursor:pointer;font-size:1rem;transition:all .3s ease}.hint-button:hover{background:#e5e7eb;border-color:#2563eb}.hint-text{margin-top:1rem;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;font-size:1rem;line-height:1.6;color:#4b5563}.result-section{max-width:800px;margin:2rem auto;text-align:center}.result-message{background:#fff;border:2px solid #e5e7eb;border-radius:20px;padding:2rem;margin-bottom:1.5rem;box-shadow:0 2px 8px #0000000d}.reward-text{font-weight:700;color:#0f172a}.result-icon{font-size:4rem;display:block;margin-bottom:1rem}.result-message p{font-size:1.2rem;margin-bottom:.5rem;color:#333}.explanation{font-size:1rem;color:#6b7280;font-style:italic;margin-top:1rem}.next-button{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;color:#fff;padding:1rem 2rem;border-radius:12px;cursor:pointer;font-size:1.2rem;font-weight:600;transition:all .3s ease;box-shadow:0 6px 22px #2563eb52}.next-button:hover{background:linear-gradient(135deg,#1e40af,#1d4ed8);transform:translateY(-2px);box-shadow:0 10px 26px #1e40af66}.video-container{margin-top:1rem;border-radius:12px;overflow:hidden}.video-container video{width:100%;max-height:400px}@media (max-width: 1024px){.story-container{flex-direction:column;gap:3rem;padding:2rem}.story-image-container{max-width:100%}.story-image{max-width:300px}.story-content-container{max-width:100%}.level-title{font-size:2rem}.story-text{font-size:1.1rem}}@media (max-width: 768px){.level-page.question-screen,.level-page.story-screen{padding:1rem}.story-container{padding:1.5rem 1rem;gap:2rem}.story-image{max-width:250px}.level-title{font-size:1.75rem}.story-text{font-size:1rem}.story-text-container{padding:1.5rem}.tts-controls{padding:1rem}.play-button{font-size:1rem;padding:.875rem 1.5rem}.continue-button{font-size:1rem;padding:1rem 2rem}.question-header h2{font-size:1.5rem}.question-text{font-size:1.2rem}.option-button{padding:.75rem 1rem;font-size:1rem}.question-container{padding:1.5rem}.question-scoreboard{flex-direction:column;align-items:stretch;gap:.75rem}.score-item{justify-content:center}.image-options{grid-template-columns:1fr}}.celebration-level{min-height:100vh;background-color:#fff9e5;padding:20px;display:flex;flex-direction:column;align-items:center;font-family:Quicksand,sans-serif;overflow-x:hidden}.level-progress{display:flex;gap:12px;margin-bottom:40px;flex-wrap:nowrap;overflow-x:auto;padding:15px 5px;width:100%;max-width:1100px;justify-content:flex-start;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(to right,transparent,black 5%,black 95%,transparent);mask-image:linear-gradient(to right,transparent,black 5%,black 95%,transparent)}.level-progress::-webkit-scrollbar{display:none}.progress-chip{background:#fff9;padding:12px 24px;border-radius:20px;display:flex;align-items:center;gap:12px;font-size:1rem;font-weight:700;color:#888;transition:all .4s cubic-bezier(.34,1.56,.64,1);white-space:nowrap;flex-shrink:0;border:2px solid transparent;position:relative;overflow:hidden}.progress-chip:hover{background:#fff;transform:translateY(-2px)}.progress-chip.active{background:#e3f9e5;color:#27ae60;border-color:#27ae60}.progress-chip.current{background:#2d2d2d;color:gold;transform:scale(1.05);box-shadow:0 8px 25px #00000026;border-color:#2d2d2d;z-index:2}.progress-chip.current .chip-index{background:gold;color:#2d2d2d}.chip-index{background:#0000001a;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:800;transition:all .3s}.progress-chip.active .chip-index{background:#27ae60;color:#fff;content:"✓"}.step-card{background:#fff;border-radius:40px;padding:40px;width:100%;max-width:900px;box-shadow:0 20px 60px #00000014;text-align:center;animation:popIn .5s cubic-bezier(.175,.885,.32,1.275);margin-bottom:30px;border:4px solid #fff;position:relative}@keyframes popIn{0%{opacity:0;transform:scale(.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.step-card h2{font-family:Fredoka,sans-serif;font-size:3rem;color:#2d2d2d;margin-bottom:10px;text-shadow:2px 2px 0px rgba(0,0,0,.05)}.step-lead{font-size:1.3rem;color:#666;margin-bottom:40px;max-width:700px;margin-left:auto;margin-right:auto;line-height:1.6;font-weight:500}.video-player{width:100%;max-width:800px;aspect-ratio:16 / 9;border-radius:30px;overflow:hidden;margin:0 auto 40px;box-shadow:0 20px 50px #0003;border:8px solid #2D2D2D;background:#000;position:relative}.video-player iframe{width:100%;height:100%;border:none;display:block}.sparkle-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:15px;max-width:600px;margin:0 auto}.sparkle-item{background:#f0f7ff;padding:20px 25px;border-radius:20px;font-weight:700;color:#444;display:flex;align-items:center;gap:15px;cursor:pointer;transition:all .2s;border:2px solid transparent;text-align:left;font-size:1.1rem}.sparkle-item:hover{background:#e0f0ff;transform:translate(5px)}.sparkle-item.checked{background:#d1fae5;color:#065f46;border-color:#10b981}.checkbox-circle{width:30px;height:30px;border-radius:50%;border:3px solid #ccc;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1.2rem}.sparkle-item.checked .checkbox-circle{border-color:#10b981;background:#10b981;color:#fff}.word-slots{display:flex;gap:15px;justify-content:center;margin-bottom:40px;flex-wrap:wrap}.word-slot{width:60px;height:70px;border-bottom:5px solid #2D2D2D;font-size:2.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;text-transform:uppercase;color:#2d2d2d;background:#f9f9f9;border-radius:10px 10px 0 0}.word-pool{display:flex;gap:15px;flex-wrap:wrap;justify-content:center;max-width:700px;margin:0 auto 40px}.word-letter{width:60px;height:60px;background:#54a0ff;color:#fff;border:none;border-radius:15px;font-size:1.8rem;font-weight:700;cursor:pointer;transition:transform .1s,box-shadow .1s;box-shadow:0 5px #2e86de;font-family:Fredoka,sans-serif}.word-letter:active:not(:disabled){transform:translateY(5px);box-shadow:0 0 #2e86de}.word-letter.used{opacity:.4;cursor:not-allowed;background:#ccc;box-shadow:none;transform:translateY(5px)}.match-board{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:40px}.match-items,.match-targets{display:flex;flex-direction:column;gap:20px}.match-item{background:#fff;border:3px solid #eee;padding:25px;border-radius:20px;display:flex;align-items:center;gap:20px;cursor:pointer;transition:all .2s;font-weight:700;color:#444;font-size:1.2rem;box-shadow:0 5px 15px #0000000d}.match-item:hover{border-color:#54a0ff;transform:translate(5px)}.match-item.selected{background:#54a0ff;color:#fff;border-color:#2e86de;transform:scale(1.03);box-shadow:0 10px 20px #54a0ff4d}.match-badge{font-size:2.5rem;filter:drop-shadow(0 2px 2px rgba(0,0,0,.1))}.match-target{background:#f8f9fa;border:3px dashed #ccc;padding:25px;border-radius:20px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:100px;transition:all .2s}.match-target:hover{background:#fff;border-color:#54a0ff}.match-target.filled{background:#e0f2fe;border:3px solid #54A0FF;border-style:solid}.target-prompt{font-size:1rem;color:#666;text-align:left;flex:1;font-weight:600}.target-answer{font-weight:700;color:#fff;background:#2d2d2d;padding:10px 20px;border-radius:15px;font-size:1.1rem}.puzzle-board{display:flex;flex-direction:column;gap:30px;align-items:center;margin-bottom:40px;background:#f8f9fa;padding:30px;border-radius:30px;border:4px solid #eee}.puzzle-slots{display:flex;gap:15px;padding:20px;background:#fff;border-radius:20px;box-shadow:inset 0 5px 15px #0000000d;border:3px dashed #ccc;min-height:120px;justify-content:center;flex-wrap:wrap;width:100%}.puzzle-slot{width:100px;height:100px;border:2px solid #eee;border-radius:15px;background:#fcfcfc;display:flex;align-items:center;justify-content:center;position:relative}.puzzle-slot:before{display:none}.puzzle-hint{font-size:3rem;opacity:.15;filter:grayscale(1);pointer-events:none;position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.puzzle-tray{display:flex;gap:15px;padding:20px;background:#e0f2fe;border-radius:20px;min-height:120px;width:100%;justify-content:center;align-items:center;flex-wrap:wrap;box-shadow:0 5px #bae6fd}.puzzle-piece{width:90px;height:90px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:3rem;cursor:grab;box-shadow:0 5px 15px #0000001a;transition:transform .2s,box-shadow .2s;z-index:10;position:relative}.puzzle-piece:active{cursor:grabbing;transform:scale(1.1) rotate(3deg);box-shadow:0 15px 30px #0003;z-index:20}.memory-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;max-width:100%;margin:0 auto 40px}.memory-card{width:90px;height:110px;background:#2d2d2d;border-radius:15px;border:none;cursor:pointer;transition:transform .4s cubic-bezier(.175,.885,.32,1.275);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:2.5rem;color:#fff;box-shadow:0 5px 15px #00000026;position:relative;-webkit-user-select:none;user-select:none}.memory-card:not(.revealed):not(.matched){background:#2d2d2d;color:#ffffff4d}.memory-card:not(.revealed):not(.matched):hover{background:#3d3d3d;color:#fff;transform:translateY(-5px)}.memory-card.revealed,.memory-card.matched{background:#fff;border:3px solid #54A0FF;color:#2d2d2d;transform:rotateY(180deg)}.memory-card .memory-icon{display:block;width:100%;text-align:center;line-height:1}.memory-card:not(.revealed):not(.matched) .memory-icon{font-size:2rem;filter:grayscale(1)}.memory-card.matched{background:#d1fae5;border-color:#10b981;animation:pulse .5s}.memory-card.revealed .memory-icon,.memory-card.matched .memory-icon{transform:rotateY(180deg)}.color-workspace{display:flex;gap:40px;justify-content:center;align-items:flex-start;margin-bottom:40px;flex-wrap:wrap}.color-preview{background:#fff;padding:20px;border-radius:25px;box-shadow:0 10px 30px #0000001a;border:4px solid #eee;display:flex;flex-direction:column;align-items:center}.color-preview-cell{width:25px;height:25px;border-radius:4px;box-shadow:inset 0 0 0 1px #0000000d}.color-hint-text{margin-bottom:15px;font-size:1.1rem;color:#2d2d2d;font-weight:700;background:#f0f0f0;padding:5px 15px;border-radius:15px}.color-grid{background:#2d2d2d;padding:10px;border-radius:15px;box-shadow:0 15px 40px #0000004d}.color-cell{width:60px;height:60px;border:2px solid #fff;cursor:pointer;transition:transform .1s;background-color:#e0e0e0}.color-cell.empty{background-color:#e0e0e0;box-shadow:inset 0 0 5px #0000000d}.color-cell:hover{transform:scale(.9);border-color:#fff}.color-palette{display:flex;flex-direction:column;gap:15px;background:#fff;padding:20px;border-radius:20px;box-shadow:0 10px 30px #0000000d}.color-swatch{width:60px;height:60px;border-radius:50%;border:4px solid transparent;cursor:pointer;transition:transform .2s;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem;box-shadow:0 5px 15px #0000001a;text-shadow:0 1px 2px rgba(0,0,0,.3)}.color-swatch.selected{border-color:#2d2d2d;transform:scale(1.2);z-index:2}.silhouette-board{display:flex;flex-direction:column;gap:50px}.silhouette-targets{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}.silhouette-target{width:160px;height:160px;background:#f0f0f0;border-radius:30px;display:flex;align-items:center;justify-content:center;border:4px dashed #ccc;transition:all .3s}.silhouette-shadow{font-size:5rem;color:#000;opacity:.15;filter:blur(0px);transition:all .3s}.silhouette-target.matched{background:#d1fae5;border-style:solid;border-color:#10b981}.silhouette-items{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;padding:20px;background:#ffffff80;border-radius:30px}.silhouette-item{display:flex;flex-direction:column;align-items:center;cursor:grab;padding:20px;background:#fff;border-radius:25px;box-shadow:0 10px 20px #0000001a;transition:transform .2s}.silhouette-item:hover{transform:scale(1.1) rotate(5deg)}.silhouette-icon{font-size:4rem;margin-bottom:10px}.silhouette-label{font-weight:700;color:#444;font-size:1.1rem}.sorting-game{display:flex;justify-content:space-between;gap:30px;min-height:450px}.sorting-zone{flex:1;background:#f8f9fa;border-radius:30px;overflow:hidden;display:flex;flex-direction:column;border:4px solid transparent;transition:all .3s}.sorting-zone.drag-over{border-color:#54a0ff;background:#e0f2fe}.zone-header{padding:25px;color:#fff;font-weight:700;text-align:center;font-size:1.5rem;display:flex;align-items:center;justify-content:center;gap:15px}.zone-content{flex:1;padding:20px;display:flex;flex-direction:column;gap:15px}.sorting-pool{flex:.6;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center}.sortable-item{background:#fff;border:3px solid #e0e0e0;padding:20px;border-radius:20px;width:100%;text-align:center;cursor:grab;box-shadow:0 8px 20px #0000000d;transition:transform .2s}.sortable-item:active{cursor:grabbing;transform:scale(1.05)}.item-icon{font-size:3rem;display:block;margin-bottom:5px}.item-label{font-weight:700;font-size:1.1rem;color:#2d2d2d}.sorted-item{background:#fff;padding:15px;border-radius:15px;text-align:center;font-weight:700;box-shadow:0 4px 10px #0000000d;font-size:1.1rem;animation:dropIn .3s ease}@keyframes dropIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.ordering-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:20px;max-width:700px;margin:0 auto 40px}.ordering-list li{background:#fff;padding:20px 30px;border-radius:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 5px 15px #0000000d;border:2px solid #eee;font-size:1.2rem;font-weight:600;color:#444}.ordering-buttons button{background:#f0f0f0;border:none;width:40px;height:40px;border-radius:10px;font-size:1.2rem;margin-left:10px;cursor:pointer;transition:background .2s}.ordering-buttons button:hover:not(:disabled){background:#54a0ff;color:#fff}.ordering-buttons button:disabled{opacity:.3;cursor:default}.rhythm-board{text-align:center}.rhythm-progress{display:flex;justify-content:center;gap:20px;margin-bottom:40px}.rhythm-step{width:60px;height:60px;background:#eee;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#ccc}.rhythm-step.completed{background:#1dd1a1;color:#fff;animation:pulse .3s}.rhythm-actions{display:flex;justify-content:center;gap:30px}.rhythm-action{width:100px;height:100px;border-radius:30px;border:none;background:#fff;font-size:3rem;cursor:pointer;box-shadow:0 10px #ddd;transition:transform .1s,box-shadow .1s}.rhythm-action:active{transform:translateY(10px);box-shadow:0 0 #ddd}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:40px}.quiz-option{background:#fff;border:3px solid #eee;padding:25px;border-radius:20px;font-size:1.3rem;font-weight:600;color:#444;cursor:pointer;transition:all .2s;font-family:Quicksand,sans-serif}.quiz-option:hover{border-color:#54a0ff;background:#f0f7ff}.quiz-option.selected{background:#54a0ff;color:#fff;border-color:#2e86de;transform:scale(1.02)}.actions{display:flex;justify-content:center;gap:20px;margin-top:40px}.primary-action,.ghost-action{padding:18px 40px;border-radius:60px;font-family:Fredoka,sans-serif;font-size:1.3rem;font-weight:700;cursor:pointer;border:none;letter-spacing:1px;transition:transform .2s}.primary-action{background:#2d2d2d;color:#fff;box-shadow:0 10px 20px #0003}.primary-action:hover:not(:disabled){transform:translateY(-5px) scale(1.02);background:#000}.primary-action:disabled{background:#ccc;cursor:not-allowed;transform:none}.ghost-action{background:transparent;color:#666;border:3px solid #e0e0e0}.ghost-action:hover{border-color:#aaa;background:#0000000d}.feedback{margin-top:30px;padding:20px;background:#fff3cd;color:#856404;border-radius:20px;font-weight:700;font-size:1.2rem;animation:bounceIn .5s;border:2px solid #ffeeba}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(.9)}to{transform:scale(1)}}@media (max-width: 768px){.match-board,.sorting-game,.quiz-options{grid-template-columns:1fr}.step-card h2{font-size:2rem}.rhythm-action{width:80px;height:80px;font-size:2.5rem}.memory-card{font-size:2.5rem}}.admin-container{display:flex;height:100vh;width:100vw;overflow:hidden;font-family:Quicksand,sans-serif;background-color:#fff9e5}.admin-login-screen{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;background-color:#2d2d2d;background-image:radial-gradient(circle at 50% 50%,#3D3D3D 1px,transparent 1px);background-size:30px 30px}.login-card{background:#fff;padding:40px;border-radius:30px;width:100%;max-width:400px;text-align:center;box-shadow:0 20px 50px #0000004d;border:4px solid #fff}.login-card h1{font-family:Fredoka,sans-serif;color:#2d2d2d;margin-bottom:30px;font-size:2rem}.login-form{display:flex;flex-direction:column;gap:20px}.login-input{padding:15px 20px;border-radius:15px;border:2px solid #eee;font-size:1rem;font-family:inherit;transition:all .2s;background:#f9f9f9}.login-input:focus{border-color:#54a0ff;background:#fff;outline:none}.login-button{padding:15px;border-radius:15px;border:none;background:#54a0ff;color:#fff;font-weight:700;font-size:1.1rem;cursor:pointer;transition:transform .2s}.login-button:hover{transform:translateY(-2px);background:#2e86de}.login-error{color:#ef4444;font-size:.9rem;margin-top:10px}.admin-sidebar{width:280px;background-color:#2d2d2d;color:#fff;display:flex;flex-direction:column;padding:30px 20px;flex-shrink:0;overflow-y:auto}.admin-logo{font-family:Fredoka,sans-serif;font-size:1.8rem;margin-bottom:40px;background:linear-gradient(45deg,#ff6b6b,#feca57,#1dd1a1,#54a0ff,#5f27cd);-webkit-background-clip:text;-webkit-text-fill-color:transparent;padding-left:10px}.sidebar-nav{display:flex;flex-direction:column;gap:10px;flex:1}.nav-item{padding:15px 20px;border-radius:15px;cursor:pointer;transition:all .2s;font-weight:600;display:flex;align-items:center;justify-content:space-between;background:transparent;border:none;color:#aaa;text-align:left;font-size:1rem}.nav-item:hover{background:#ffffff1a;color:#fff}.nav-item.active{background:#54a0ff;color:#fff;box-shadow:0 5px 15px #54a0ff4d}.sidebar-footer{margin-top:auto;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:10px}.logout-button{background:#ef4444;color:#fff;border:none;padding:12px;border-radius:12px;font-weight:700;cursor:pointer}.back-button{background:#ffffff1a;color:#fff;border:none;padding:12px;border-radius:12px;font-weight:700;cursor:pointer}.admin-content{flex:1;padding:40px;overflow-y:auto;display:flex;flex-direction:column;gap:30px}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-header h2{font-family:Fredoka,sans-serif;font-size:2.5rem;color:#2d2d2d;margin:0}.admin-level-card{background:#fff;border-radius:30px;padding:30px;box-shadow:0 10px 30px #0000000d;border:2px solid #fff}.admin-section-title{font-size:1.5rem;font-weight:700;color:#444;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #f0f0f0}.admin-field-group{margin-bottom:25px}.admin-field-group label{display:block;font-weight:700;color:#666;margin-bottom:10px;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.admin-field-group input[type=text],.admin-field-group textarea,.admin-field-group select{width:100%;padding:15px;border-radius:15px;border:2px solid #eee;font-family:inherit;font-size:1rem;background:#fcfcfc;transition:all .2s}.admin-field-group input:focus,.admin-field-group textarea:focus,.admin-field-group select:focus{border-color:#54a0ff;background:#fff;outline:none}.admin-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-list{display:flex;flex-direction:column;gap:10px;background:#f8f9fa;padding:20px;border-radius:20px}.admin-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:700;color:#444}.admin-list-item{display:flex;align-items:center;gap:10px;background:#fff;padding:10px;border-radius:12px;box-shadow:0 2px 5px #0000000d}.admin-list-item.column{flex-direction:column;align-items:stretch}.admin-button{padding:12px 25px;border-radius:15px;border:none;font-weight:700;cursor:pointer;transition:all .2s;font-size:1rem}.admin-button.primary{background:#2d2d2d;color:#fff}.admin-button.primary:hover{background:#000;transform:translateY(-2px)}.admin-button.secondary{background:#e0e0e0;color:#444}.admin-button.danger{background:#fee2e2;color:#ef4444}.admin-small-button{padding:8px 15px;border-radius:10px;border:none;background:#54a0ff;color:#fff;font-weight:600;font-size:.85rem;cursor:pointer}.admin-icon-button{width:36px;height:36px;border-radius:10px;border:none;background:#f0f0f0;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}.admin-icon-button:hover{background:#ff6b6b;color:#fff}.admin-emoji-input{width:50px!important;text-align:center;font-size:1.5rem!important}.admin-color-input{width:50px!important;height:50px;padding:2px!important;border-radius:50%!important;overflow:hidden;cursor:pointer}.admin-color-grid{display:flex;flex-direction:column;gap:5px;margin-top:10px;background:#ddd;padding:10px;border-radius:10px;width:fit-content}.admin-color-row{display:flex;gap:5px}.editor-tabs{display:flex;gap:8px;padding:20px 30px;margin-bottom:20px;background:#fff;border-bottom:2px solid #f0f0f0;flex-wrap:wrap;overflow:visible}.editor-tabs .admin-button{border-radius:12px;padding:10px 18px;font-size:.9rem;white-space:nowrap;transition:all .2s ease}.editor-tabs .admin-button.secondary{background:#e7e7e7;color:#4a4a4a}.editor-tabs .admin-button.secondary:hover{background:#dcdcdc}.seed-button{background:#f59e0b;color:#fff;width:100%;margin-top:10px}.save-bar{position:sticky;bottom:20px;background:#2d2d2d;padding:20px;border-radius:20px;display:flex;justify-content:space-between;align-items:center;color:#fff;box-shadow:0 10px 30px #0000004d;margin-top:30px;z-index:100}.save-bar-info{font-weight:600}.quiz-option-editor{display:flex;gap:10px;align-items:center;margin-bottom:10px}.quiz-option-editor input[type=text]{flex:1}.quiz-correct-toggle{display:flex;align-items:center;gap:5px;font-size:.9rem;color:#374151}.sequence-list{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.sequence-chip{background:#f0f0f0;border-radius:999px;padding:6px 14px;display:flex;align-items:center;gap:8px}.sequence-chip button{border:none;background:transparent;cursor:pointer;font-size:.9rem}.sequence-adder{display:flex;gap:10px;align-items:center}.sequence-adder select{padding:10px;border-radius:12px;border:2px solid #eee;flex:1}.puzzle-piece-editor,.timeline-item-editor{display:flex;gap:10px;align-items:center;margin-bottom:10px}.timeline-controls{display:flex;gap:5px}.timeline-controls button{width:32px;height:32px;border-radius:8px;border:none;background:#e4e4e7;cursor:pointer}.timeline-controls button:disabled{opacity:.4;cursor:default}.hint{color:#6b7280;font-size:.9rem}.fade-in{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.flash-message{position:fixed;top:20px;right:20px;padding:15px 25px;border-radius:15px;font-weight:700;color:#fff;z-index:1000;animation:slideIn .3s}.flash-message.success{background:#10b981}.flash-message.error{background:#ef4444}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}*{margin:0;padding:0;box-sizing:border-box}:root{--font-heading: "Fredoka", sans-serif;--font-body: "Quicksand", sans-serif;--bg-dark: #1a1a1a;--bg-cream: #FFF9E5;--color-accent: #FF6B6B}body{font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-cream);color:#2d2d2d}#root{min-height:100vh}button,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading)}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-cream);color:var(--bg-dark);font-family:var(--font-heading);font-size:1.5rem}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:var(--bg-cream)}::-webkit-scrollbar-thumb{background:#ddd;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:var(--color-accent)}
