body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.data-structures-app{background:linear-gradient(135deg,#ffb6c1,pink 50%,#ffd1dc);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh}.app-header{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffff4d;border-radius:20px;box-shadow:0 8px 32px #db709333;color:#8b4b8c;margin-bottom:2rem;padding:2rem;text-align:center}.app-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(45deg,#ff69b4,#ff1493);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:600;margin:0;text-shadow:0 2px 4px #db70934d}.app-header p{font-size:1.1rem;margin:.5rem 0 0;opacity:.9}.main-content{display:flex;gap:2rem;padding:0 2rem}.sidebar{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffffe6;border:1px solid #ffb6c14d;border-radius:20px;box-shadow:0 8px 32px #db709333;height:-webkit-fit-content;height:fit-content;padding:1.5rem}.sidebar h3{color:#333;font-weight:600;margin:0 0 1rem}.tab-buttons{display:flex;flex-direction:column;gap:.5rem}.tab-buttons button{background:#ffe4e6;border:1px solid #ffb6c180;border-radius:12px;color:#8b4b8c;cursor:pointer;font-weight:500;padding:.75rem 1rem;text-align:left;transition:all .3s ease}.tab-buttons button:hover{background:#ffb6c1;box-shadow:0 4px 15px #ffb6c166;transform:translateX(4px) scale(1.02)}.tab-buttons button.active{background:linear-gradient(135deg,#ff69b4,#ff1493);box-shadow:0 4px 15px #ff69b466;color:#fff;transform:scale(1.05)}.content-area{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffffe6;border:1px solid #ffb6c14d;border-radius:20px;box-shadow:0 8px 32px #db709333;flex:1 1;padding:2rem}.structure-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.structure-header h2{color:#333;font-size:1.8rem;font-weight:600;margin:0}.header-buttons{display:flex;gap:.5rem}.clear-btn,.save-btn{border:none;border-radius:12px;box-shadow:0 4px 15px #ff69b44d;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.save-btn{background:linear-gradient(135deg,#667eea,#764ba2)}.save-btn:hover{background:linear-gradient(135deg,#764ba2,#667eea);transform:translateY(-2px) scale(1.05)}.clear-btn{background:linear-gradient(135deg,#ff69b4,#ff1493)}.clear-btn:hover{background:linear-gradient(135deg,#ff1493,#dc143c);box-shadow:0 6px 20px #ff69b466}.capture-btn:hover,.clear-btn:hover{transform:translateY(-2px) scale(1.05)}.capture-btn:hover{background:linear-gradient(135deg,#20c997,#17a2b8);box-shadow:0 6px 20px #28a74566}.visualization-container{align-items:center;background:linear-gradient(135deg,#ffe4e6,#fff0f5);border:2px dashed #ffb6c1;border-radius:15px;box-shadow:inset 0 2px 10px #ffb6c133;display:flex;justify-content:center;margin-bottom:2rem;min-height:200px;padding:2rem}.array-visualization{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.array-item{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;box-shadow:0 4px 15px #667eea4d;color:#fff;min-width:80px;padding:1rem;text-align:center;transition:transform .3s ease}.array-item:hover{transform:translateY(-5px)}.item-index{font-size:.8rem;margin-bottom:.5rem;opacity:.8}.item-value{font-size:1.2rem;font-weight:600}.linked-list-visualization{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.linked-list-node{align-items:center;display:flex;gap:.5rem}.node-value{background:linear-gradient(135deg,#28a745,#20c997);border-radius:8px;box-shadow:0 4px 15px #28a7454d;color:#fff;font-weight:600;min-width:60px;padding:1rem;text-align:center}.arrow{color:#6c757d;font-size:1.5rem;font-weight:700}.tree-visualization{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.tree-svg{background:#0000;height:400px;width:100%}.empty-tree{color:#ff69b4;font-size:1.1rem;font-style:italic;padding:2rem;text-align:center}.tree-node{align-items:center;background:linear-gradient(135deg,#fd7e14,#e83e8c);border-radius:50%;box-shadow:0 4px 15px #fd7e144d;color:#fff;display:flex;font-weight:600;justify-content:center;min-height:50px;min-width:50px;padding:.75rem}.controls{background:#f8f9fa;border-radius:10px;margin-bottom:2rem;padding:1.5rem}.input-group{margin-bottom:1rem}.value-input{border:2px solid #dee2e6;border-radius:6px;font-size:1rem;padding:.75rem;transition:border-color .3s ease;width:100%}.value-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.value-input.error{border-color:#dc3545;box-shadow:0 0 0 3px #dc35451a}.error-message{animation:slideIn .3s ease-out;color:#dc3545;font-size:.875rem;font-weight:500;margin-top:.5rem}.operation-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.operation-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:.9rem;font-weight:500;gap:.25rem;padding:.75rem 1.5rem;transition:all .3s ease}.operation-btn:hover{box-shadow:0 4px 15px #667eea66;transform:translateY(-2px)}.operation-btn:active{transform:translateY(0)}.complexity-badge{background:#fff3;border-radius:4px;font-family:Courier New,monospace;font-size:.7rem;opacity:.9;padding:.15rem .4rem}.complexity-info{background:#f8f9fa;border-radius:10px;margin-bottom:2rem;padding:1.5rem}.complexity-info h3{color:#333;font-weight:600;margin:0 0 1rem}.complexity-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.complexity-card{background:#fff;border:2px solid #e9ecef;border-radius:8px;padding:1rem;transition:all .3s ease}.complexity-card:hover{border-color:#667eea;box-shadow:0 4px 15px #667eea33}.complexity-card h4{color:#667eea;font-size:1rem;margin:0 0 .75rem}.complexity-details{display:flex;gap:1rem;margin-bottom:.75rem}.complexity-item{display:flex;flex-direction:column;gap:.25rem}.complexity-item .label{color:#666;font-size:.75rem;font-weight:600;text-transform:uppercase}.complexity-item .value{border-radius:4px;display:inline-block;font-family:Courier New,monospace;font-weight:600;padding:.25rem .5rem}.complexity-item .value.time{background:linear-gradient(135deg,#ff69b4,#ff1493);color:#fff}.complexity-item .value.space{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.complexity-description{color:#666;font-size:.85rem;line-height:1.5;margin:0}.operation-history{background:#f8f9fa;border-radius:10px;padding:1.5rem}.operation-history h3{color:#333;font-weight:600;margin:0 0 1rem}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-item{background:#fff;border-left:4px solid #667eea;border-radius:6px;color:#495057;font-family:Courier New,monospace;font-size:.9rem;padding:.75rem}.visualization-container:empty:before{color:#ff69b4;content:"🌸 Empty structure - Add some elements to see the magic! 🌸";font-size:1.1rem;font-style:italic;padding:2rem;text-align:center}@media (max-width:768px){.main-content{flex-direction:column;padding:0 1rem}.sidebar{order:2}.content-area{order:1}.tab-buttons{flex-direction:row;flex-wrap:wrap}.operation-buttons{justify-content:center}.app-header h1{font-size:2rem}.array-visualization,.linked-list-visualization{align-items:center;flex-direction:column}.linked-list-node{flex-direction:column}.arrow{transform:rotate(90deg)}}@keyframes bounce{0%,20%,53%,80%,to{transform:translateZ(0)}40%,43%{transform:translate3d(0,-8px,0)}70%{transform:translate3d(0,-4px,0)}90%{transform:translate3d(0,-2px,0)}}.array-item,.node-value,.tree-node{animation:slideIn .5s ease-out}.array-item:hover,.node-value:hover,.tree-node:hover{animation:pulse .6s ease-in-out}.operation-btn:active{animation:bounce .6s ease-in-out}.app-header:before{animation:pulse 2s ease-in-out infinite;left:20px}.app-header:after,.app-header:before{content:"✨";font-size:2rem;position:absolute;top:20px}.app-header:after{animation:pulse 2s ease-in-out infinite reverse;right:20px}.modal-overlay{align-items:center;animation:fadeIn .3s ease-out;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{animation:slideIn .3s ease-out;background:#fff;border-radius:20px;box-shadow:0 10px 40px #0000004d;max-height:80vh;max-width:500px;overflow-y:auto;padding:2rem;width:90%}.modal-content h3{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.modal-content h4{color:#555;font-size:1.1rem;margin:1rem 0 .5rem}.load-session-section,.save-session-section{margin-bottom:1.5rem}.session-input-group{display:flex;gap:.5rem;margin-top:.5rem}.session-input{border:2px solid #dee2e6;border-radius:8px;flex:1 1;font-size:1rem;padding:.75rem}.session-input:focus{border-color:#667eea;outline:none}.modal-btn{border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .3s ease}.modal-btn.save{background:linear-gradient(135deg,#28a745,#20c997)}.modal-btn.save:hover{box-shadow:0 4px 15px #28a74566;transform:translateY(-2px)}.modal-btn.load{background:linear-gradient(135deg,#667eea,#764ba2);font-size:.9rem;padding:.5rem 1rem}.modal-btn.load:hover{box-shadow:0 4px 15px #667eea66;transform:translateY(-2px)}.modal-btn.delete{background:linear-gradient(135deg,#ff69b4,#ff1493);font-size:.9rem;padding:.5rem 1rem}.modal-btn.delete:hover{box-shadow:0 4px 15px #ff69b466;transform:translateY(-2px)}.modal-btn.close{background:#6c757d;margin-top:1rem;width:100%}.modal-btn.close:hover{background:#5a6268}.no-sessions{color:#999;font-style:italic;padding:1rem;text-align:center}.sessions-list{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.session-item{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;display:flex;justify-content:space-between;padding:1rem}.session-info{display:flex;flex-direction:column;gap:.25rem}.session-name{color:#333;font-weight:600}.session-date{color:#666;font-size:.85rem}.session-actions{display:flex;gap:.5rem}.algorithms-container{background:linear-gradient(135deg,#eda8d1,#eaa2dd);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:2rem}.algorithms-header{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffff1a;border-radius:20px;box-shadow:0 8px 32px #667eea4d;margin-bottom:2rem;padding:2rem 0;text-align:center}.algorithms-header h1{color:#d40ab2;font-size:2.5rem;margin:0;text-shadow:2px 2px 4px #0000004d}.algorithms-header p{color:#ffffffe6;font-size:1.1rem;margin:.5rem 0 0}.algorithms-content{background:#fffffff2;border-radius:20px;box-shadow:0 8px 32px #0003;margin:0 auto;max-width:1200px;padding:2rem}.algorithm-selector{margin-bottom:2rem}.algorithm-selector h3{color:#333;font-weight:600;margin:0 0 1rem}.algorithm-buttons{display:flex;flex-wrap:wrap;gap:1rem}.algorithm-buttons button{background:#fff;border:2px solid #e889f7;border-radius:12px;color:#667eea;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.algorithm-buttons button:hover:not(:disabled){background:#667eea;box-shadow:0 4px 15px #667eea66;color:#fff;transform:translateY(-2px)}.algorithm-buttons button.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#764ba2;box-shadow:0 4px 15px #bb09be66;color:#fff}.algorithm-buttons button:disabled{cursor:not-allowed;opacity:.5}.algorithm-info{background:#f8f9fa;border-left:4px solid #9d56dc;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.algorithm-info h2{color:#667eea;font-size:1.5rem;margin:0 0 1rem}.info-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1rem}.info-item{background:#ffffffb3;border-left:3px solid #667eea;border-radius:8px;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.info-item .label{color:#666;font-size:.875rem;font-weight:600}.info-item .value{color:#667eea;font-family:Courier New,monospace;font-size:1.1rem;font-weight:700}.algorithm-description{color:#555;line-height:1.6;margin:0}.visualization-area{background:#fff;border:2px solid #e9ecef;border-radius:12px;margin-bottom:2rem;min-height:400px;padding:2rem}.bars-container,.visualization-area{align-items:flex-end;display:flex;justify-content:center}.bars-container{gap:2px;height:350px;width:100%}.bar{align-items:flex-start;background:linear-gradient(135deg,#c811ed,#c12996);border-radius:4px 4px 0 0;box-shadow:0 2px 8px #667eea4d;display:flex;justify-content:center;position:relative;transition:all .3s ease}.bar.comparing{background:linear-gradient(135deg,#ff69b4,#ff1493);box-shadow:0 4px 15px #ff69b480;transform:scale(1.05)}.bar.sorted{background:linear-gradient(135deg,#3d28a7,#a618d6);box-shadow:0 2px 8px #28a7454d}.bar-value{color:#fff;font-size:.7rem;font-weight:600;padding:.25rem;text-shadow:1px 1px 2px #00000080}.statistics{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:2rem}.stat-item{background:linear-gradient(135deg,#e631d1,#dd7ebe);border-radius:12px;box-shadow:0 4px 15px #667eea4d;color:#fff;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.stat-label{font-size:.875rem;opacity:.9}.stat-value{font-family:Courier New,monospace;font-size:1.5rem;font-weight:700}.controls-panel{background:#f8f9fa;border-radius:12px;padding:1.5rem}.control-group{margin-bottom:1.5rem}.control-group label{color:#333;display:block;font-weight:600;margin-bottom:.5rem}.size-slider,.speed-slider{appearance:none;-webkit-appearance:none;background:linear-gradient(135deg,#f66bcc,#cd93bc);border-radius:4px;cursor:pointer;height:8px;outline:none;width:100%}.size-slider::-webkit-slider-thumb,.speed-slider::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #667eea;border-radius:50%;box-shadow:0 2px 8px #0003;cursor:pointer;height:20px;width:20px}.size-slider::-moz-range-thumb,.speed-slider::-moz-range-thumb{background:#fff;border:3px solid #d14cc8;border-radius:50%;box-shadow:0 2px 8px #0003;cursor:pointer;height:20px;width:20px}.size-slider:disabled,.speed-slider:disabled{cursor:not-allowed;opacity:.5}.action-buttons{display:flex;flex-wrap:wrap;gap:1rem}.capture-btn,.generate-btn,.sort-btn{border:none;border-radius:12px;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;min-width:150px;padding:1rem 2rem;transition:all .3s ease}.sort-btn{background:linear-gradient(135deg,#f230b8,#eb9ec8);box-shadow:0 4px 15px #a258d14d}.sort-btn:hover:not(:disabled){box-shadow:0 6px 20px #ad8d9d66;transform:translateY(-2px)}.sort-btn:disabled{cursor:not-allowed;opacity:.7}.generate-btn{background:linear-gradient(135deg,#e7bed8,#f591bf);box-shadow:0 4px 15px #df76ec4d}.generate-btn:hover:not(:disabled){box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.generate-btn:disabled{cursor:not-allowed;opacity:.7}.capture-btn{background:linear-gradient(135deg,#28a745,#20c997);box-shadow:0 4px 15px #28a7454d}.capture-btn:hover:not(:disabled){box-shadow:0 6px 20px #28a74566;transform:translateY(-2px)}@media (max-width:768px){.algorithms-container{padding:1rem}.algorithms-header h1{font-size:2rem}.algorithms-content{padding:1rem}.bars-container{height:250px}.bar-value{font-size:.6rem}.action-buttons{flex-direction:column}.capture-btn,.generate-btn,.sort-btn{width:100%}}@keyframes sorting-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.bar.comparing{animation:sorting-pulse .5s ease-in-out infinite}.exercise-box{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffff1a;border:1px solid #fff3;border-radius:20px;box-shadow:0 8px 32px #667eea4d;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-bottom:2rem}.exercise-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-bottom:1px solid #fff3;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;padding:1rem 1.5rem}.exercise-header h3{color:#fff;font-size:1.2rem;font-weight:600;margin:0}.help-icon{align-items:center;background:#fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:.9rem;height:24px;justify-content:center;transition:background-color .3s ease;width:24px}.help-icon:hover{background:#ffffff4d}.exercise-content{padding:1.5rem}.category-buttons{display:flex;justify-content:center;margin-bottom:1.5rem}.category-btn{flex:1 1;font-size:.85rem;padding:.5rem 1rem}.category-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea80;box-shadow:0 2px 8px #667eea4d}.exercise-instruction{color:#fff;font-size:.95rem;line-height:1.5;margin:0 0 1.5rem}.exercise-instruction .highlight{background:#fff3;border-radius:4px;padding:.2rem .4rem}.code-area{background:#ffffff0d;border:1px solid #fff3;border-radius:12px;margin-bottom:1.5rem;min-height:60px;padding:1rem}.code-area,.code-line{align-items:center;display:flex}.code-line{gap:.5rem;width:100%}.code-text{color:#e0e0e0}.code-placeholder,.code-text{font-family:Courier New,monospace;font-size:.9rem}.code-placeholder{background:#ffffff1a;border:2px dashed #ffffff4d;border-radius:8px;color:#ffffffb3;min-width:120px;padding:.5rem 1rem;text-align:center;transition:all .3s ease}.code-placeholder.filled{background:#6e0ad833;border:2px solid #15bfe180;color:#0cbef0}.options-container{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.option-button{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-family:Courier New,monospace;font-size:.85rem;padding:.75rem;text-align:center;transition:all .3s ease}.option-button:hover:not(:disabled){background:#fff3;border-color:#ffffff4d;transform:translateY(-1px)}.option-button.selected{background:#667eea4d;border-color:#667eea80;color:#e0e0ff}.option-button:disabled{cursor:not-allowed;opacity:.6}.exercise-actions{margin-bottom:1rem}.submit-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea66;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.875rem;transition:all .3s ease;width:100%}.submit-button:hover:not(:disabled){background:linear-gradient(135deg,#764ba2,#667eea);box-shadow:0 6px 20px #667eea80;transform:translateY(-1px)}.submit-button:disabled{background:#ffffff1a;box-shadow:none;cursor:not-allowed;transform:none}.result-message{background:#ffffff0d;border-left:4px solid;border-radius:12px;margin-bottom:1rem;padding:1rem}.result-message.correct{background:#4caf501a;border-left-color:#4caf50}.result-message.incorrect{background:#f443361a;border-left-color:#f44336}.result-message p{color:#fff;font-size:.9rem;margin:0 0 .5rem}.complete-code{background:#ffffff1a;border-radius:6px;color:#4caf50;font-family:Courier New,monospace;font-size:.85rem;padding:.5rem}.hint{color:#ffcc80;font-style:italic}.result-actions{display:flex;gap:.5rem;margin-top:.75rem}.next-button,.reset-button{border:none;border-radius:6px;cursor:pointer;flex:1 1;font-size:.85rem;padding:.5rem;transition:all .3s ease}.next-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.next-button:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.reset-button{background:linear-gradient(135deg,#f230b8,#eb9ec8);color:#fff}.reset-button:hover{background:linear-gradient(135deg,#eb9ec8,#f230b8)}.exercise-info{align-items:center;border-top:1px solid #fff3;display:flex;justify-content:space-between;padding-top:1rem}.language-badge{background:#acd4ed4d;border-radius:12px;color:#e0e0ff;font-size:.8rem;font-weight:500;padding:.25rem .75rem}.exercise-counter{color:#ffffffb3;font-size:.8rem}@media (max-width:768px){.exercise-box{margin:1rem 0;position:relative;right:auto;top:auto;width:100%}.options-container{grid-template-columns:1fr}.exercise-header{padding:.75rem 1rem}.exercise-content{padding:1rem}}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.result-message.incorrect{animation:shake .5s ease-in-out}.result-message.correct{animation:pulse .6s ease-in-out}.syntax-box{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffff1a;border:1px solid #fff3;border-radius:20px;box-shadow:0 8px 32px #667eea4d;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-bottom:2rem}.syntax-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-bottom:1px solid #fff3;border-radius:20px 20px 0 0;padding:1.5rem 1.5rem 1rem}.syntax-header h3{color:#fff;font-size:1.3rem;font-weight:600;margin:0 0 .5rem}.syntax-header p{color:#fffc;font-size:.9rem;margin:0}.syntax-content{padding:1.5rem}.language-selector,.syntax-categories{margin-bottom:1.5rem}.language-selector h4,.syntax-categories h4{color:#fff;font-size:1rem;font-weight:600;margin:0 0 .75rem}.language-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.lang-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-size:.85rem;font-weight:500;min-width:80px;padding:.5rem 1rem;text-align:center;transition:all .3s ease}.lang-btn:hover{background:#fff3;border-color:#ffffff4d;transform:translateY(-1px)}.lang-btn.active{background:linear-gradient(135deg,#f23697,#d93edf);border-color:#e3268e80;box-shadow:0 2px 8px #b2bded4d;color:#fff}.category-buttons{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr)}.category-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:500;padding:.5rem .75rem;text-align:center;transition:all .3s ease}.category-btn:hover{background:#fff3;border-color:#ffffff4d;transform:translateY(-1px)}.category-btn.active{background:linear-gradient(135deg,#f230b8,#eb9ec8);border-color:#f230b880;box-shadow:0 2px 8px #f230b84d;color:#fff}.syntax-display{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:1rem}.syntax-header-info h4{color:#fff;font-size:1rem;font-weight:600;margin:0 0 1rem}.code-display{background:#e7d7d74d;border:1px solid #ff69b4;border-radius:8px;padding:1rem}.syntax-code{word-wrap:break-word;color:#e0e0e0;font-family:Courier New,monospace;font-size:.85rem;line-height:1.5;margin:0;white-space:pre-wrap}@media (max-width:768px){.syntax-content{padding:1rem}.language-buttons{flex-direction:column}.lang-btn{min-width:auto}.category-buttons{grid-template-columns:1fr}.syntax-code{font-size:.8rem}}@media (max-width:1024px){.category-buttons{grid-template-columns:repeat(2,1fr)}}.chatbot-container{background:#fff;border-radius:12px;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;transition:all .3s ease;width:100%}.chatbot-container.minimized{height:auto}.chatbot-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #fff3;color:#fff;display:flex;justify-content:space-between;padding:.875rem 1rem}.chatbot-title{font-size:.95rem;gap:.5rem}.chatbot-icon{font-size:1.25rem}.context-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border-radius:12px;font-size:.75rem;font-weight:500;padding:.2rem .625rem}.chatbot-actions{display:flex;gap:.5rem}.chatbot-action-btn{align-items:center;background:#fff3;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:1rem;height:36px;justify-content:center;padding:.5rem;transition:all .2s ease;width:36px}.chatbot-action-btn:hover{background:#ffffff4d;transform:scale(1.1)}.chatbot-messages{background:#f8f9fa;flex:1 1;gap:.75rem;max-height:calc(100vh - 340px);min-height:280px;overflow-x:hidden;overflow-y:auto;padding:.875rem;scroll-behavior:smooth}.chatbot-messages,.message{display:flex;flex-direction:column}.message{animation:slideIn .3s ease;max-width:85%}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{align-self:flex-end}.message.assistant{align-self:flex-start}.message-content{word-wrap:break-word;border-radius:12px;font-size:.875rem;line-height:1.5;padding:.625rem .875rem}.message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom-right-radius:4px;color:#fff}.message.assistant .message-content{background:#fff;border:1px solid #e0e0e0;border-bottom-left-radius:4px;box-shadow:0 2px 4px #0000000d;color:#333}.message.assistant.error .message-content{background:#fff3f3;border-color:#ffcdd2;color:#c62828}.message-content p{font-size:.875rem;line-height:1.5;margin:0;padding:.2rem 0}.message-content p:first-child{padding-top:0}.message-content p:last-child{padding-bottom:0}.message-content strong{color:#667eea;font-weight:600}.message.user .message-content strong{color:#fff}.message-timestamp{color:#999;font-size:.7rem;margin-top:.2rem;padding:0 .5rem}.message.user .message-timestamp{text-align:right}.message.assistant.loading .message-content{padding:1rem}.typing-indicator{align-items:center;display:flex;gap:.4rem}.typing-indicator span{animation:typing 1.4s infinite;background:#667eea;border-radius:50%;height:8px;width:8px}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.7;transform:translateY(0)}30%{opacity:1;transform:translateY(-10px)}}.chatbot-error{background:#ffebee;border-left:4px solid #ef5350;border-radius:8px;color:#c62828;font-size:.9rem;margin:.5rem 1rem;padding:.75rem}.quick-actions{background:#fff;border-top:1px solid #e0e0e0;display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem 1rem}.quick-action-btn{background:#f0f0f0;border:1px solid #e0e0e0;border-radius:20px;color:#555;cursor:pointer;font-size:.85rem;padding:.5rem 1rem;transition:all .2s ease;white-space:nowrap}.quick-action-btn:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;box-shadow:0 4px 8px #667eea4d;color:#fff;transform:translateY(-2px)}.chatbot-input-container{background:#fff;border-top:1px solid #e0e0e0;display:flex;gap:.5rem;padding:1rem}.chatbot-input{border:2px solid #e0e0e0;border-radius:8px;flex:1 1;font-family:inherit;font-size:.875rem;line-height:1.4;padding:.625rem .75rem;resize:none;transition:border-color .2s ease}.chatbot-input:focus{border-color:#667eea;outline:none}.chatbot-input:disabled{background:#f5f5f5;cursor:not-allowed}.chatbot-send-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;justify-content:center;min-width:60px;padding:.75rem 1.25rem;transition:all .2s ease}.chatbot-send-btn:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.chatbot-send-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.chatbot-action-btn:active:not(:disabled){transform:translateY(0)}.chatbot-action-btn svg,.chatbot-send-btn svg{height:1em;width:1em}.minimize-btn{font-size:1.1rem}.loading-spinner-small{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@keyframes spin{to{transform:rotate(1turn)}}.chatbot-messages::-webkit-scrollbar{width:8px}.chatbot-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.chatbot-messages::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.chatbot-messages::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width:1400px){.chatbot-messages{max-height:calc(100vh - 360px);min-height:260px}}@media (max-width:1200px){.chatbot-messages{max-height:calc(100vh - 380px);min-height:240px}.chatbot-title{font-size:.9rem}.chatbot-icon{font-size:1.1rem}.quick-actions{flex-direction:column}.quick-action-btn{font-size:.8rem;text-align:left;width:100%}}@media (max-width:992px){.chatbot-messages{max-height:350px;min-height:250px}}@media (max-width:768px){.chatbot-container{border-radius:8px}.message{max-width:90%}.chatbot-messages{max-height:300px;min-height:200px;padding:.75rem}.chatbot-header{padding:.75rem}.message-content{font-size:.825rem;padding:.5rem .75rem}.chatbot-input{font-size:.825rem;padding:.5rem .625rem}}.main-page{background:linear-gradient(135deg,#d02e87,#b078e8);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh}.main-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-bottom:1px solid #fff3;padding:2rem 0;text-align:center}.main-header h1{color:#fff;font-family:Georgia,serif;font-size:3rem;margin:0;text-shadow:2px 2px 4px #0000004d}.main-header p{color:#ffffffe6;font-size:1.2rem;margin:.5rem 0 0}.main-navigation{background:#ffffff0d;border-bottom:1px solid #ffffff1a;display:flex;gap:1rem;justify-content:center;padding:1rem 0}.nav-btn{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff1a;border:none;border-radius:25px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.8rem 1.5rem;transition:all .3s ease}.nav-btn:hover{background:#fff3;transform:translateY(-2px)}.nav-btn.active{background:#ffffff4d;box-shadow:0 4px 15px #dc64ea33}.main-content{margin:0 auto;max-width:1200px;padding:2rem}.home-page{text-align:center}.welcome-section h1{color:#fff;font-size:2.5rem;margin-bottom:.5rem;text-shadow:2px 2px 4px #0000004d}.subtitle{color:#ffffffe6;font-family:Georgia,serif;font-size:1.3rem;margin-bottom:3rem}.features-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:2rem;justify-content:center;margin-top:2rem}.feature-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:15px;padding:2rem;transition:transform .3s ease}.feature-card:hover{background:#ffffff26;transform:translateY(-5px)}.feature-card.clickable{cursor:pointer;transition:all .3s ease}.feature-card.clickable:hover{background:#fff3;box-shadow:0 8px 25px #0003;transform:translateY(-5px)}.feature-card h3{color:#fff;font-size:1.5rem;margin-bottom:1rem}.feature-card p{color:#fffc;line-height:1.6}.algorithms-page,.concepts-page,.languages-page{text-align:center}.languages-page .languages-content>p{color:#fff;font-size:1.2rem;margin-bottom:2rem}.algorithms-page h2,.concepts-page h2,.languages-page h2{color:#fff;font-size:2.5rem;margin-bottom:2rem;text-shadow:2px 2px 4px #0000004d}.content-grid{grid-gap:2rem;align-items:start;display:grid;gap:2rem;grid-template-columns:1fr 1fr 1fr;margin-top:2rem}.content-section{display:flex;flex-direction:column}.section-header{margin-bottom:1rem}.section-header h3{color:#fff;font-size:1.2rem;font-weight:600;margin:0;text-align:center}.languages-table-container{display:flex;justify-content:center}.languages-table{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:15px;box-shadow:0 8px 32px #0003;max-width:800px;overflow:hidden;width:100%}.languages-table thead{background:#fff3}.languages-table th{border-bottom:1px solid #ffffff1a;color:#fff;font-size:1.1rem;font-weight:600;padding:1rem;text-align:left}.languages-table td{border-bottom:1px solid #ffffff0d;color:#ffffffe6;padding:1rem;vertical-align:middle}.languages-table tr:hover{background:#ffffff0d}.language-name{font-size:1.1rem;font-weight:600}.resource-link{color:#ee1074;font-weight:500;text-decoration:none;transition:color .3s ease}.resource-link:hover{color:#d90dad;text-decoration:underline}.coming-soon h3{color:#fff;font-size:2rem;margin-bottom:1rem}.coming-soon p{color:#fffc;font-size:1.2rem;margin-bottom:3rem}.placeholder-content{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:2rem}.algorithm-card,.concept-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:10px;padding:1.5rem;transition:transform .3s ease}.algorithm-card:hover,.concept-card:hover{background:#ffffff26;transform:translateY(-3px)}.algorithm-card h4,.concept-card h4{color:#fff;font-size:1.3rem;margin-bottom:.8rem}.algorithm-card p,.concept-card p{color:#ffffffb3;line-height:1.5}@media (max-width:768px){.main-header h1{font-size:2rem}.main-navigation{flex-wrap:wrap;gap:.5rem}.nav-btn{font-size:.9rem;padding:.6rem 1rem}.main-content{padding:1rem}.features-grid{align-items:center;flex-direction:column}.placeholder-content{grid-template-columns:1fr}.languages-table{font-size:.9rem}.languages-table td,.languages-table th{padding:.8rem .5rem}.content-grid{gap:1.5rem;grid-template-columns:1fr}}@media (max-width:1024px){.content-grid{gap:1.5rem;grid-template-columns:1fr 1fr}.content-section:last-child{grid-column:1/-1}}.floating-chat-button{align-items:center;animation:pulse 2s infinite;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;bottom:2rem;box-shadow:0 4px 20px #0000004d;color:#fff;cursor:pointer;display:flex;font-size:1.8rem;height:60px;justify-content:center;position:fixed;right:2rem;transition:all .3s ease;width:60px;z-index:999}.floating-chat-button:hover{box-shadow:0 6px 30px #667eea80;transform:scale(1.1)}.floating-chat-button:active{transform:scale(.95)}@keyframes pulse{0%,to{box-shadow:0 4px 20px #0000004d}50%{box-shadow:0 4px 30px #667eea99}}.chat-interface{bottom:2rem;position:fixed;right:2rem;z-index:999}.chat-fab{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;box-shadow:0 4px 20px #0000004d;color:#fff;cursor:pointer;display:flex;font-size:1.8rem;height:60px;justify-content:center;transition:all .3s ease;width:60px}.chat-fab:hover{box-shadow:0 6px 30px #667eea80;transform:scale(1.1)}.chat-fab-icon{font-size:1.8rem}.chat-fab.hidden{opacity:0;pointer-events:none;transform:scale(.9)}.floating-chatbot-container{background:#fff;border-radius:20px;bottom:2rem;box-shadow:0 8px 40px #0000004d;display:flex;flex-direction:column;height:600px;max-height:calc(100vh - 4rem);opacity:1;overflow:hidden;pointer-events:auto;position:fixed;right:2rem;transform:scale(1);transform-origin:bottom right;transition:all .3s ease-in-out;width:400px}.floating-chatbot-container.hidden{opacity:0;pointer-events:none;transform:scale(0)}.chatbot-custom-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:1rem}.chatbot-title{align-items:center;display:flex;font-size:1.1rem;font-weight:600;gap:.8rem}.chatbot-controls{display:flex;gap:.5rem}.chat-control-btn{align-items:center;background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;height:36px;justify-content:center;padding:0;transition:all .2s ease;width:36px}.chat-control-btn:hover{background:#fff6;transform:scale(1.15)}.minimize-btn{font-size:1rem;line-height:1}.minimize-btn svg{height:16px;width:16px}.close-btn{background:#ff525266}.close-btn:hover{background:#ff525299;transform:rotate(90deg) scale(1.1)}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.floating-close-button{align-items:center;background:linear-gradient(135deg,#ff6b6b,#ff5252);border:4px solid #fff;border-radius:50%;box-shadow:0 6px 16px #ff525280;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;font-weight:700;height:40px;justify-content:center;line-height:1;position:absolute;right:-15px;top:-15px;transition:all .3s ease;width:40px;z-index:1003}.floating-close-button:hover{background:linear-gradient(135deg,#ff5252,#ff3838);box-shadow:0 8px 24px #ff525299;transform:rotate(90deg) scale(1.15)}.floating-close-button:active{transform:rotate(90deg) scale(1)}@media (max-width:768px){.chat-interface{bottom:1rem;right:1rem}.floating-chatbot-container{border-radius:20px 20px 0 0;bottom:0;height:80vh;left:0;position:fixed;right:0;transform-origin:bottom center;width:100%}.chat-fab{height:50px;width:50px}.chat-fab,.chat-fab-icon{font-size:1.5rem}}.App{margin:0;padding:0}*,.App{box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0;padding:0}
/*# sourceMappingURL=main.8f6f401e.css.map*/