:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.hub-container{min-height:100vh;padding:20px 0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#0d0d0d;color:#fff;font-family:Outfit,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;position:relative}.hub-header{padding-top:clamp(40px,8vh,80px);padding-inline:20px;text-align:center;z-index:10}.hub-title{font-size:clamp(2.5rem,8vw,4.5rem);font-weight:800;margin:0;background:linear-gradient(135deg,#fff,#a1a1a1);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.04em}.hub-subtitle{font-size:clamp(.9rem,2vw,1.25rem);opacity:.6;margin-top:10px}.hub-main{width:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4vh,40px);z-index:10;padding-bottom:30px}.carousel-wrapper{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;max-width:1200px;padding:0 20px}.card-container{width:100%;max-width:min(450px,85vw);height:clamp(420px,65vh,600px);perspective:1000px;cursor:grab;touch-action:pan-y;margin:10px 0}.card-container:active{cursor:grabbing}.app-card{width:100%;height:100%;border-radius:clamp(20px,4vw,30px);padding:clamp(25px,5vw,40px);display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 30px 60px #00000080;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);-webkit-user-select:none;user-select:none}.app-content{z-index:2;display:flex;flex-direction:column;gap:15px}.icon-wrapper{margin-bottom:20px;background:#ffffff1a;width:fit-content;padding:20px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-icon{width:48px;height:48px;color:#fff}.app-title{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:700;margin:0;color:#fff}.app-description{font-size:clamp(.9rem,2vw,1.1rem);opacity:.9;line-height:1.5;margin:0;color:#ffffffe6}.legacy-badge{background:#0000004d;color:#fff;padding:4px 12px;border-radius:12px;font-size:.8rem;width:fit-content;text-transform:uppercase;letter-spacing:1px;font-weight:600}.launch-button{margin-top:15px;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:12px 24px;border-radius:15px;width:fit-content;display:flex;align-items:center;gap:10px;font-weight:600;border:1px solid rgba(255,255,255,.3);transition:all .3s ease}.launch-button:hover{background:#fff;color:#000}.nav-button{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#fff;width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.nav-button:hover{background:#fff3;transform:scale(1.1)}.pagination{display:flex;gap:12px;padding:10px 0;margin-top:10px}.dot{width:10px;height:10px;border-radius:50%;background:#fff3;cursor:pointer;transition:all .3s ease}.dot.active{background:#fff;width:30px;border-radius:5px}.hub-footer{padding:40px;opacity:.4;font-size:.9rem}.bg-blob{position:fixed;width:600px;height:600px;border-radius:50%;filter:blur(100px);z-index:1;opacity:.15}.blob-1{background:#ff9a9e;top:-200px;left:-200px;animation:float 20s infinite alternate}.blob-2{background:#a18cd1;bottom:-200px;right:-200px;animation:float 25s infinite alternate-reverse}@keyframes float{0%{transform:translate(0)}50%{transform:translate(100px,100px)}to{transform:translate(-50px,50px)}}@media(max-width:1024px){.desktop-only{display:none!important}.carousel-wrapper{gap:0;padding:0}}@media(max-width:480px){.hub-header{padding-top:30px}.hub-main{justify-content:flex-start;padding-top:40px}.card-container{height:480px}.app-card{padding:25px}.launch-button{width:100%;justify-content:center}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.app-container{display:flex;flex-direction:column;align-items:center;gap:2rem}.hero-section{display:flex;flex-direction:column;align-items:center;animation:fadeIn 1.2s ease-out}.hero-image{height:18em;padding:1.5em;will-change:filter;transition:filter .3s,transform .5s ease;filter:drop-shadow(0 0 2em #646cffaa)}.hero-image:hover{filter:drop-shadow(0 0 3em #dd64ff);transform:scale(1.05)}.title{font-size:4rem;margin-top:1rem;background:linear-gradient(to right,#fff,#dd64ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.subtitle{font-size:1.2rem;color:#888;max-width:600px}.primary-button{background-color:#dd64ff;color:#fff;border:none;padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 15px #646cff4d}.primary-button:hover{background-color:#535bf2;transform:translateY(-2px);box-shadow:0 6px 20px #646cff66}.primary-button:active{transform:translateY(0)}.password-input{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);padding:1rem 1.5rem;border-radius:12px;color:#fff;font-size:1.1rem;width:100%;max-width:300px;transition:border-color .3s,box-shadow .3s;outline:none}.password-input:focus{border-color:#646cff;box-shadow:0 0 15px #646cff33}.challenges-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;width:100%;max-width:1000px;margin-top:2rem}.challenge-card{background:#ffffff08;border:1px solid rgba(255,255,255,.1);padding:2rem;border-radius:20px;cursor:pointer;transition:transform .3s,border-color .3s,background .3s;position:relative;overflow:hidden}.challenge-card:hover{transform:translateY(-10px);border-color:#dd64ff;background:#ffffff0f}.challenge-card.completed{border-color:#4caf50;background:#4caf500d}.challenge-status{font-size:1.5rem;margin-bottom:1rem}.start-btn{margin-top:1.5rem;background:transparent;border:1px solid #dd64ff;color:#dd64ff;padding:.5rem 1rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s}.challenge-card:hover .start-btn{background:#dd64ff;color:#fff}.final-button{padding:1.5rem 3rem;font-size:1.5rem;background:linear-gradient(135deg,#ff4d4d,#f96d6d);box-shadow:0 10px 30px #ff4d4d4d}@keyframes bounceIn{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.05);opacity:1}70%{transform:scale(.9)}to{transform:scale(1)}}.instruction{margin-top:1.5rem;color:#666;font-style:italic}.wordle-container{display:flex;flex-direction:column;align-items:center;gap:1.5rem;animation:fadeIn .5s ease-out;padding:1rem}.back-btn{align-self:flex-start;background:transparent;border:none;color:#888;cursor:pointer;font-size:1rem;transition:color .3s}.back-btn:hover{color:#dd64ff}.wordle-grid{display:grid;gap:8px;margin:2rem 0}.wordle-row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.wordle-cell{width:60px;height:60px;border:2px solid #333;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;text-transform:uppercase;border-radius:4px;transition:all .2s}.wordle-cell.filled{border-color:#555;animation:pop .1s ease-in-out}.wordle-cell.correct{background-color:#4caf50;border-color:#4caf50;color:#fff}.wordle-cell.present{background-color:#ffc107;border-color:#ffc107;color:#fff}.wordle-cell.absent{background-color:#2c2c2c;border-color:#2c2c2c;color:#888}.game-message{font-size:1.2rem;color:#dd64ff;font-weight:700;height:1.5rem}.key-btn{background:#3a3a3a;color:#fff;border:none;padding:1rem;border-radius:8px;cursor:pointer;font-weight:700;transition:background .2s}.key-btn:hover{background:#555}.key-btn.special{padding:1rem 2rem;background:#444}@keyframes pop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}.trivia-container{width:100vw;height:100vh;position:fixed;top:0;left:0;background-size:cover;background-position:center;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:100;padding:2rem;font-family:Playfair Display,Georgia,Times New Roman,serif}.parchment-overlay{background:#fffdf0eb;border:4px double #d4af37;padding:3rem;border-radius:12px;max-width:800px;width:90%;box-shadow:0 15px 40px #0006,inset 0 0 100px #d4af371a;color:#3d2b1f;text-align:center;position:relative;animation:fadeInDown .8s ease-out}.romantic-title{font-size:3rem;margin-bottom:2rem;color:#8b0000;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.trivia-question{font-size:2rem;margin-bottom:2rem;line-height:1.3}.options-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:1rem}.option-btn{background:#fff;border:1px solid #d4af37;padding:1.2rem;font-size:1.2rem;border-radius:8px;cursor:pointer;transition:all .3s;color:#3d2b1f;font-family:inherit}.option-btn:hover:not(:disabled){background:#fdf6e3;transform:translateY(-3px);box-shadow:0 5px 15px #d4af3733}.option-btn.selected{border-color:#8b0000;background:snow}.option-btn.correct{background-color:#e8f5e9!important;border-color:#4caf50!important;color:#2e7d32}.option-btn.incorrect{background-color:#ffebee!important;border-color:#f44336!important;color:#c62828}.romantic-btn{background:linear-gradient(135deg,#8b0000,#b22222);color:#fff;border:none;padding:1rem 2.5rem;font-size:1.3rem;border-radius:30px;cursor:pointer;margin-top:2rem;box-shadow:0 4px 15px #8b00004d;transition:all .3s;font-family:inherit}.romantic-btn:hover{transform:scale(1.05);box-shadow:0 6px 20px #8b000066}.back-btn-romantic{position:absolute;top:2rem;left:2rem;background:#fffc;border:1px solid #d4af37;padding:.5rem 1rem;border-radius:20px;cursor:pointer;color:#3d2b1f;font-family:inherit;font-size:.9rem}.memory-gallery{margin:2rem 0;display:flex;flex-direction:column;align-items:center}.memory-img{width:100%;max-width:400px;border-radius:8px;border:5px solid white;box-shadow:0 10px 30px #0000004d;transform:rotate(-2deg)}.memory-caption{margin-top:1rem;font-style:italic;font-size:1.1rem;color:#5d4037}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}.back-hub-btn{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#888;padding:8px 16px;border-radius:20px;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:.9rem;transition:all .3s ease;margin:0 auto 1.5rem}.back-hub-btn:hover{background:#ffffff1a;color:#fff;border-color:#ffffff4d}.balloon-game-container{display:flex;flex-direction:column;align-items:center;width:100%;height:90vh;position:relative;overflow:hidden}.game-header{text-align:center;z-index:10;margin-bottom:1rem}.game-stats{display:flex;gap:2rem;justify-content:center;font-size:1.5rem;font-weight:700;color:#dd64ff}.message-display{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:1rem 0;z-index:10;max-width:600px}.letter-slot{width:35px;height:45px;background:#ffffff0d;border:1px solid rgba(221,100,255,.3);display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:700;color:#dd64ff;border-radius:8px;transition:all .3s}.letter-slot.space{width:20px;background:transparent;border:none}.game-area{flex:1;width:100%;position:relative;background:#ffffff05;border-radius:20px;border:1px dashed rgba(221,100,255,.2);cursor:crosshair}.balloon{position:absolute;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.balloon-letter{font-size:1.5rem;color:#fffc;font-weight:700}.balloon-string{position:absolute;bottom:-40px;left:50%;width:2px;height:40px;background:#ffffff4d}.game-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000c;padding:3rem;border-radius:20px;text-align:center;z-index:20;border:1px solid #dd64ff;width:80%;max-width:400px}.memory-carousel{display:flex;align-items:center;justify-content:center;gap:1rem;margin:2rem 0;position:relative;width:100%}.carousel-arrow{background:#8b0000;color:#fff;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:all .3s;z-index:10}.carousel-arrow:hover{background:#b22222;transform:scale(1.1)}.memory-item{flex:1;display:flex;flex-direction:column;align-items:center;animation:fadeIn .5s ease-in-out}.memory-card{width:100%;max-width:450px;border:5px solid white;box-shadow:0 10px 30px #0000004d;border-radius:8px;overflow:hidden;transform:rotate(-1deg);transition:transform .3s}.memory-card:hover{transform:rotate(0) scale(1.02)}.memory-img{width:100%;height:auto;display:block}.carousel-dots{display:flex;justify-content:center;gap:.5rem;margin-bottom:2rem}.dot{width:10px;height:10px;background:#d4af37;border-radius:50%;cursor:pointer;opacity:.4;transition:opacity .3s}.dot.active{opacity:1;transform:scale(1.2)}.candle-game-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:90vh;position:relative;overflow:hidden}.cake-container{position:relative;margin-top:3rem;width:300px;height:200px;display:flex;justify-content:center;align-items:flex-end}.cake{width:280px;height:140px;background:#f4d03f;border-radius:10px 10px 5px 5px;position:relative;box-shadow:inset -10px 0 10px #0000001a;display:flex;justify-content:center}.icing{position:absolute;top:0;left:0;width:100%;height:40px;background:#ff69b4;border-radius:10px 10px 0 0}.drip{width:20px;height:25px;background:#ff69b4;border-radius:0 0 10px 10px;position:absolute;top:30px}.drip:nth-child(1){left:20px;height:35px}.drip:nth-child(2){left:80px;height:25px}.drip:nth-child(3){left:160px;height:40px}.plate{width:340px;height:15px;background:#ddd;border-radius:10px;position:absolute;bottom:-15px;box-shadow:0 5px 15px #0003}.candle{width:15px;height:60px;background:linear-gradient(to right,#e0e0e0 50%,#fff 50%);position:absolute;bottom:140px;cursor:pointer;border-radius:3px}.candle:before{content:"";position:absolute;top:-10px;left:7px;width:1px;height:10px;background:#333}.flame{display:none;width:15px;height:30px;background:radial-gradient(circle at 50% 80%,#ffeb3b,#ff9800,#ff5722);border-radius:50% 50% 20% 20%;position:absolute;top:-35px;left:0;box-shadow:0 0 20px #ffeb3b;animation:flicker .2s infinite alternate}.candle.lit .flame{display:block}.candle.out .flame{display:none}.connections-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:90vh;padding:1rem}.game-board{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:600px;margin:1rem 0}.words-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}.word-card{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);padding:1rem .5rem;border-radius:8px;cursor:pointer;text-align:center;font-weight:700;text-transform:uppercase;font-size:.9rem;transition:all .2s;height:80px;display:flex;align-items:center;justify-content:center;word-break:break-word}.word-card:hover{background:#fff3}.word-card.selected{background:#535bf2;color:#fff;border-color:#535bf2;transform:translateY(-2px)}.found-group{width:100%;padding:1rem;border-radius:8px;text-align:center;color:#333;animation:pop .5s ease-out}.group-category{font-weight:700;font-size:1.1rem;margin-bottom:.2rem;text-transform:uppercase}.group-items{font-size:1rem}.controls{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-top:1rem}.connections-submit{border:1px solid #666;color:#888;background:transparent;padding:.8rem 2rem;border-radius:20px;cursor:not-allowed;font-weight:700;transition:all .3s}.connections-submit.active{border-color:#fff;color:#fff;cursor:pointer}.connections-submit.active:hover{background:#ffffff1a}.message-area{height:1.5rem;color:#dd64ff;font-weight:700}.win-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .5s}.win-content{background:#1a1a1a;padding:3rem;border-radius:20px;border:1px solid #dd64ff;text-align:center}.letter-game-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:90vh;perspective:1000px;position:relative}.mute-btn{position:absolute;top:1rem;right:1rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:50%;width:45px;height:45px;font-size:1.3rem;cursor:pointer;z-index:50;transition:all .3s;display:flex;align-items:center;justify-content:center}.mute-btn:hover{background:#fff3;transform:scale(1.1)}.gallery-view{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:600px;flex:1}.envelope-container{cursor:pointer;animation:float 3s ease-in-out infinite}.envelope{width:300px;height:200px;background:#fdf2e9;position:relative;box-shadow:0 10px 20px #0003;display:flex;align-items:center;justify-content:center}.envelope-flap{position:absolute;top:0;left:0;width:0;height:0;border-left:150px solid transparent;border-right:150px solid transparent;border-top:100px solid #f0decb;transform-origin:top;transition:transform .8s;z-index:10}.envelope:hover .envelope-flap{transform:rotateX(180deg)}.heart-seal{font-size:3rem;z-index:20;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.tap-hint{position:absolute;bottom:-40px;color:#dd64ff;font-weight:700;animation:pulse 1.5s infinite}.letter-paper{background:#fffdf0;width:90%;max-width:600px;padding:3rem;box-shadow:0 0 50px #0003;font-family:Dancing Script,Brush Script MT,cursive;font-size:1.5rem;line-height:1.6;color:#5d4037;position:relative;min-height:400px;display:flex;flex-direction:column}.letter-content{flex:1;white-space:pre-wrap}.cursor{animation:blink 1s step-end infinite}.letter-footer{margin-top:2rem;display:flex;justify-content:center;animation:fadeIn 1s}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-15px)}to{transform:translateY(0)}}@keyframes blink{50%{opacity:0}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.reward-view .reward-content{text-align:center;max-width:800px}.reward-title{font-size:3rem;color:#dd64ff;margin-bottom:1rem}.coupons-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin:2rem 0}.coupon-card{background:linear-gradient(135deg,#1a1a1a,#2a2a2a);border:1px dashed #dd64ff;padding:1.5rem;border-radius:15px;cursor:pointer;transition:transform .3s,background .3s}.coupon-card:hover{transform:translateY(-5px);background:#dd64ff1a}.coupon-emoji{font-size:3rem;margin-bottom:.5rem}.coupon-title{font-size:1.2rem;font-weight:700;color:#fff;margin-bottom:.5rem}.coupon-desc{font-size:.9rem;color:#aaa}.footer-section{margin-top:3rem;opacity:.5}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.knowledge-container{min-height:100vh;padding:clamp(20px,5vw,60px);background:#f8fafc;color:#1e293b;font-family:Inter,-apple-system,sans-serif}.knowledge-header{max-width:1200px;margin:0 auto 60px;display:flex;flex-direction:column;gap:40px}.header-top,.header-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.header-bottom h1{font-size:clamp(2rem,5vw,2.5rem);font-weight:800;margin:0;color:#0f172a}.back-button{background:#fff;border:1px solid #e2e8f0;color:#64748b;display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer;padding:10px 18px;border-radius:12px;box-shadow:0 2px 4px #00000005;transition:all .2s ease}.back-button:hover{color:#0f172a;border-color:#cbd5e1;transform:translate(-4px)}.search-bar{position:relative;max-width:400px;width:100%}.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8}.search-bar input{width:100%;padding:12px 14px 12px 42px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-size:.95rem;outline:none;transition:all .2s}.search-bar input:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11a}.add-project-btn{background:#6366f1;color:#fff;border:none;padding:12px 24px;border-radius:12px;font-weight:600;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 10px 15px -3px #6366f14d;transition:all .2s}.add-project-btn:hover{background:#4f46e5;transform:translateY(-2px)}.knowledge-content{max-width:1200px;margin:0 auto}.project-form-card{background:#fff;padding:30px;border-radius:20px;border:1px solid #e2e8f0;box-shadow:0 20px 25px -5px #0000000d;margin-bottom:40px;animation:slideDown .3s ease-out}.project-form-card h2{margin-top:0;font-size:1.25rem;margin-bottom:20px}.project-form-card form{display:flex;flex-direction:column;gap:15px}.project-form-card input,.project-form-card textarea{padding:14px;border:1px solid #e2e8f0;border-radius:12px;font-size:1rem;outline:none}.project-form-card textarea{min-height:100px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.cancel-btn{padding:10px 20px;background:#f1f5f9;border:none;border-radius:10px;cursor:pointer;font-weight:600;color:#64748b}.submit-btn{padding:10px 20px;background:#6366f1;border:none;border-radius:10px;cursor:pointer;font-weight:600;color:#fff}.submit-btn:disabled{opacity:.5;cursor:not-allowed}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;animation:fadeIn .4s ease-out}.project-card{background:#fff;padding:24px;border-radius:20px;border:1px solid #e2e8f0;cursor:pointer;transition:all .25s ease;display:flex;flex-direction:column;height:100%;min-height:200px;box-shadow:0 4px 6px -1px #00000005}.project-card:hover{border-color:#6366f1;transform:translateY(-8px);box-shadow:0 20px 25px -5px #0000000d}.project-icon{color:#6366f1;margin-bottom:20px}.project-info{flex:1}.project-info h3{margin:0 0 10px;font-size:1.2rem}.project-info p{margin:0;color:#64748b;font-size:.95rem;line-height:1.5}.card-footer{margin-top:20px;padding-top:15px;border-top:1px solid #f1f5f9}.date-badge{font-size:.8rem;color:#94a3b8}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 20px;color:#94a3b8;text-align:center}.empty-icon{margin-bottom:20px;opacity:.4}.animate-spin{animation:spin 1s linear infinite;margin-bottom:20px;color:#6366f1}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@media(prefers-color-scheme:dark){.knowledge-container{background:#0f172a;color:#f1f5f9}.header-bottom h1{color:#fff}.project-card,.project-form-card,.back-button,.search-bar input{background:#1e293b;border-color:#334155;color:#fff}.project-info p,.back-button,.search-bar input::placeholder{color:#94a3b8}.search-bar input:focus{border-color:#6366f1}.cancel-btn{background:#334155;color:#cbd5e1}}@media(max-width:640px){.header-bottom{align-items:flex-start;flex-direction:column}.add-project-btn{width:100%;justify-content:center}}.deck-actions{display:flex;gap:12px;flex-wrap:wrap}.study-btn{background:#10b981;color:#fff;border:none;padding:12px 24px;border-radius:12px;font-weight:600;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 10px 15px -3px #10b9814d;transition:all .2s}.study-btn:hover:not(:disabled){background:#059669;transform:translateY(-2px)}.study-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.project-subtitle{margin:0;color:#64748b;font-size:1.1rem}.deck-tag{background:#f1f5f9;color:#6366f1;padding:4px 12px;border-radius:6px;font-size:.75rem;font-weight:700;text-transform:uppercase}.card-list{display:flex;flex-direction:column;gap:16px;max-width:800px;margin:0 auto}.knowledge-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:24px;display:flex;flex-direction:column;gap:16px;transition:all .2s}.card-front,.card-back{display:flex;gap:16px;align-items:flex-start}.card-front p{font-size:1.1rem;font-weight:600;margin:0}.card-back{padding-top:16px;border-top:1px dashed #e2e8f0}.card-back p{margin:0;color:#475569;line-height:1.6}.card-icon{color:#6366f1}.answer-icon{color:#10b981}@media(prefers-color-scheme:dark){.knowledge-card,.deck-tag{background:#1e293b;border-color:#334155}.card-back{border-color:#334155}.card-back p{color:#cbd5e1}}.study-container{min-height:100vh;display:flex;flex-direction:column;background:#f1f5f9;padding:clamp(20px,5vw,40px)}.study-header{max-width:800px;margin:0 auto 40px;width:100%;display:flex;flex-direction:column;gap:20px}.close-btn{background:none;border:none;color:#64748b;display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer;width:fit-content}.study-progress-wrapper{width:100%}.progress-text{font-size:.9rem;color:#64748b;margin-bottom:8px;font-weight:600}.progress-bar-bg{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-bar-fill{height:100%;background:#6366f1}.study-main{flex:1;display:flex;align-items:center;justify-content:center;perspective:1000px}.flashcard{width:100%;max-width:600px;min-height:400px;background:#fff;border-radius:30px;box-shadow:0 40px 100px #0000001a;display:flex;flex-direction:column;padding:40px;text-align:center;position:relative;border:1px solid #e2e8f0}.flashcard-front,.flashcard-back{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:30px}.card-q-icon{color:#6366f1;opacity:.3}.q-text{font-size:1.8rem;font-weight:700;line-height:1.4}.show-btn{background:#6366f1;color:#fff;border:none;padding:14px 40px;border-radius:15px;font-weight:700;cursor:pointer;box-shadow:0 10px 20px #6366f133}.q-peek{font-size:.9rem;color:#94a3b8;font-weight:600;padding-bottom:20px;border-bottom:1px solid #f1f5f9;width:100%}.a-text{font-size:1.5rem;line-height:1.6;color:#1e293b;font-weight:500}.rating-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:100%;margin-top:20px}.rate-btn{padding:15px;border-radius:12px;border:none;color:#fff;font-weight:700;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;transition:transform .2s}.rate-btn:hover{transform:translateY(-2px)}.again{background:#ef4444}.hard{background:#f59e0b}.good{background:#10b981}.easy{background:#6366f1}.rate-time{font-size:.75rem;opacity:.8}.finished{background:#fff;text-align:center}.finish-card{max-width:500px;display:flex;flex-direction:column;align-items:center;gap:20px}.finish-actions{display:flex;gap:15px;margin-top:20px}@media(prefers-color-scheme:dark){.study-container{background:#0f172a}.flashcard,.finished{background:#1e293b;border-color:#334155}.a-text{color:#fff}.q-peek{border-color:#334155}.progress-bar-bg{background:#334155}}@media(max-width:640px){.flashcard{padding:30px 20px}.q-text{font-size:1.4rem}.a-text{font-size:1.2rem}.rating-options{grid-template-columns:1fr}}.stats-hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;margin-bottom:40px}.stat-hero-card{background:#fff;padding:30px;border-radius:24px;border:1px solid #e2e8f0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;transition:all .3s}.stat-hero-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #0000000d}.stat-val{font-size:2.2rem;font-weight:800;color:#0f172a}.stat-label{font-size:.9rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.stats-detail-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.stats-card-main{background:#fff;padding:30px;border-radius:24px;border:1px solid #e2e8f0}.stats-card-main h3{margin-top:0;display:flex;align-items:center;gap:10px;font-size:1.1rem}.profile-bar{height:40px;display:flex;border-radius:12px;overflow:hidden;margin:30px 0;background:#f1f5f9}.pb-segment{height:100%;transition:width 1s ease-in-out}.pb-segment.mature{background:#10b981}.pb-segment.young{background:#6366f1}.pb-segment.new{background:#94a3b8}.profile-legend{display:flex;gap:20px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#64748b;font-weight:600}.dot{width:10px;height:10px;border-radius:50%}.dot.mature{background:#10b981}.dot.young{background:#6366f1}.dot.new{background:#94a3b8}.activity-chart{height:200px;display:flex;align-items:flex-end;gap:12px;padding:20px 0;border-bottom:1px solid #f1f5f9}.activity-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end}.activity-bar{width:100%;background:#6366f1;border-radius:6px 6px 0 0;position:relative;transition:height 1s}.bar-val{position:absolute;top:-20px;left:50%;transform:translate(-50%);font-size:.7rem;font-weight:700;color:#6366f1}.activity-label{font-size:.7rem;color:#94a3b8;font-weight:700}@media(prefers-color-scheme:dark){.stat-hero-card,.stats-card-main{background:#1e293b;border-color:#334155}.stat-val{color:#fff}.activity-chart,.profile-bar{background:#ffffff0d;border-color:#334155}}@media(max-width:640px){.stats-detail-section{grid-template-columns:1fr}}
