:root{--bg: #f0f4ff;--surface: #ffffff;--text: #1e1b4b;--text-muted: #6b7280;--radius: 16px;--radius-sm: 10px;--shadow: 0 4px 24px rgba(99, 102, 241, .1);--shadow-hover: 0 8px 32px rgba(99, 102, 241, .18)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;font-family:Segoe UI,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text)}.bg-shapes{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:0}.shape{position:absolute;border-radius:50%;opacity:.15;filter:blur(60px);animation:float 20s ease-in-out infinite}.shape-1{width:400px;height:400px;background:#6366f1;top:-100px;left:-100px;animation-delay:0s}.shape-2{width:350px;height:350px;background:#f59e0b;top:50%;right:-80px;animation-delay:-5s}.shape-3{width:300px;height:300px;background:#10b981;bottom:-80px;left:30%;animation-delay:-10s}.shape-4{width:280px;height:280px;background:#ec4899;top:30%;left:60%;animation-delay:-15s}@keyframes float{0%,to{transform:translate(0) scale(1)}25%{transform:translate(30px,-40px) scale(1.05)}50%{transform:translate(-20px,20px) scale(.95)}75%{transform:translate(40px,30px) scale(1.02)}}.app{position:relative;min-height:100vh;display:flex;justify-content:center;padding:2rem 1rem}.container{position:relative;z-index:1;width:100%;max-width:640px;display:flex;flex-direction:column;gap:1.5rem}.header{text-align:center;padding:2rem 1rem 1.5rem}.header-icon{font-size:3rem;animation:bounce 2s ease-in-out infinite;display:inline-block}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.header h1{font-size:2rem;font-weight:800;background:linear-gradient(135deg,#6366f1,#ec4899,#f59e0b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-top:.5rem;letter-spacing:-.03em}.subtitle{color:var(--text-muted);font-size:.95rem;margin-top:.25rem}.progress-bar{margin-top:1rem;height:10px;background:#6366f11f;border-radius:99px;overflow:hidden;position:relative}.progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#ec4899,#f59e0b);border-radius:99px;transition:width .5s cubic-bezier(.34,1.56,.64,1);background-size:200% 100%;animation:shimmer 2s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.progress-label{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:.65rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}.add-section{background:var(--surface);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:1rem}.input-row{display:flex;gap:.75rem}.task-input{flex:1;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:var(--radius-sm);font-size:.95rem;font-family:inherit;color:var(--text);background:#f9fafb;outline:none;transition:border-color .2s,box-shadow .2s}.task-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.task-input::placeholder{color:#9ca3af}.add-btn{display:flex;align-items:center;gap:.35rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:transform .15s,box-shadow .2s,opacity .2s;white-space:nowrap}.add-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 16px #6366f159}.add-btn:active:not(:disabled){transform:translateY(0)}.add-btn:disabled{opacity:.5;cursor:not-allowed}.add-btn-icon{font-size:1.1rem;line-height:1}.cat-picker{display:flex;flex-wrap:wrap;gap:.5rem}.cat-chip{display:flex;align-items:center;gap:.3rem;padding:.4rem .75rem;border:2px solid #e5e7eb;border-radius:99px;background:#f9fafb;font-size:.8rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .2s;font-family:inherit}.cat-chip:hover{border-color:#c7d2fe;background:#eef2ff}.cat-chip-active{color:#fff!important;border-color:transparent!important;transform:scale(1.05);box-shadow:0 2px 12px #6366f140}.cat-chip-icon{font-size:1rem;line-height:1}.filter-bar{display:flex;flex-wrap:wrap;gap:.4rem}.filter-chip{padding:.35rem .7rem;border:2px solid #e5e7eb;border-radius:99px;background:var(--surface);font-size:.78rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .2s;font-family:inherit}.filter-chip:hover{border-color:#c7d2fe;background:#eef2ff}.filter-active{background:#eef2ff;font-weight:600}.task-list{display:flex;flex-direction:column;gap:.6rem}.task-card{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;background:var(--surface);border-radius:var(--radius-sm);box-shadow:var(--shadow);transition:transform .15s,box-shadow .2s,opacity .3s;animation:slideIn .3s cubic-bezier(.34,1.56,.64,1)}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.task-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}.task-done{opacity:.7}.task-done .task-text{text-decoration:line-through;color:var(--text-muted)}.task-check{width:26px;height:26px;min-width:26px;border:2px solid #d1d5db;border-radius:50%;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}.task-check:hover{border-color:#6366f1;transform:scale(1.1)}.check-mark{color:#fff;font-size:.75rem;font-weight:700;line-height:1}.task-content{flex:1;display:flex;flex-direction:column;gap:.3rem;min-width:0}.task-text{font-size:.95rem;font-weight:500;color:var(--text);transition:color .3s,text-decoration .3s}.task-category-badge{display:inline-flex;align-items:center;gap:.25rem;width:fit-content;padding:.15rem .55rem;border-radius:99px;font-size:.68rem;font-weight:600;color:#fff;letter-spacing:.01em}.delete-btn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:transparent;color:#9ca3af;font-size:.85rem;cursor:pointer;transition:all .15s;padding:0}.delete-btn:hover{background:#fef2f2;color:#ef4444;transform:scale(1.15)}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.empty-icon{font-size:3rem;display:block;margin-bottom:.75rem;animation:bounce 2s ease-in-out infinite}.empty-state p{font-size:1rem;font-weight:500}.empty-hint{font-size:.85rem!important;font-weight:400!important;margin-top:.25rem;opacity:.7}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.6rem}.stat-card{display:flex;align-items:center;gap:.65rem;padding:.75rem .85rem;background:var(--surface);border-radius:var(--radius-sm);border-top:3px solid transparent;box-shadow:var(--shadow);transition:transform .15s}.stat-card:hover{transform:translateY(-2px)}.stat-icon{width:36px;height:36px;min-width:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.15rem}.stat-info{display:flex;flex-direction:column}.stat-name{font-size:.78rem;font-weight:600;color:var(--text)}.stat-count{font-size:.72rem;color:var(--text-muted);font-weight:500}@media(max-width:480px){.app{padding:1rem .5rem}.header h1{font-size:1.5rem}.input-row{flex-direction:column}.add-btn{justify-content:center}.stats-grid{grid-template-columns:1fr 1fr}}
