:root{color-scheme:dark}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}#root{width:100%;height:100vh}.effect-selector{position:fixed;left:20px;top:20px;width:320px;max-height:calc(100vh - 40px);background:#14141ef2;border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000}.category-tabs{display:flex;border-bottom:1px solid rgba(255,255,255,.1)}.category-tabs button{flex:1;padding:16px;background:transparent;border:none;color:#fff9;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;text-transform:uppercase;letter-spacing:.5px}.category-tabs button:hover{background:#ffffff0d;color:#ffffffe6}.category-tabs button.active{background:#6366f133;color:#fff;border-bottom:2px solid #6366f1}.effects-list{overflow-y:auto;padding:8px;max-height:calc(100vh - 140px)}.effect-item{width:100%;padding:12px 16px;margin-bottom:4px;background:#ffffff08;border:1px solid transparent;border-radius:8px;text-align:left;cursor:pointer;transition:all .2s}.effect-item:hover{background:#ffffff14;border-color:#6366f14d}.effect-item.selected{background:#6366f133;border-color:#6366f1}.effect-name{font-size:15px;font-weight:600;color:#fff;margin-bottom:4px}.effect-description{font-size:12px;color:#fff9;line-height:1.4}.effects-list::-webkit-scrollbar{width:6px}.effects-list::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.effects-list::-webkit-scrollbar-thumb{background:#6366f180;border-radius:3px}.effects-list::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.custom-shader-button{background:linear-gradient(135deg,#6366f133,#8b5cf633);border:1px dashed rgba(99,102,241,.5);margin-top:8px}.custom-shader-button:hover{background:linear-gradient(135deg,#6366f14d,#8b5cf64d);border-color:#6366f1}.custom-shader-button .effect-name{font-size:16px}.info-panel{position:fixed;right:20px;top:20px;width:280px;background:#14141ef2;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000}.info-panel h2{margin:0 0 16px;font-size:20px;color:#fff;font-weight:700}.info-panel h3{margin:16px 0 8px;font-size:14px;color:#6366f1;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.controls-info ul{list-style:none;padding:0;margin:0}.controls-info li{padding:6px 0;font-size:13px;color:#fffc;line-height:1.5}.controls-info strong{color:#fff;font-weight:600}.instructions{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.instructions p{font-size:13px;color:#ffffffb3;line-height:1.6;margin:0}.modal-overlay{position:fixed;inset:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#14141efa;border:1px solid rgba(255,255,255,.2);border-radius:12px;width:90%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.1)}.modal-header h2{margin:0;font-size:22px;color:#fff;font-weight:700}.close-button{background:transparent;border:none;color:#fff9;font-size:32px;line-height:1;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-button:hover{background:#ffffff1a;color:#fff}.modal-body{padding:24px;overflow-y:auto;flex:1}.shader-editors{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.editor-section{display:flex;flex-direction:column}.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.editor-header h3{margin:0;font-size:16px;color:#6366f1;font-weight:600}.editor-hint{font-size:12px;color:#ffffff80}.shader-editor{width:100%;min-height:300px;background:#0006;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.6;padding:12px;resize:vertical;outline:none;transition:border-color .2s}.shader-editor:focus{border-color:#6366f1}.templates-section{margin-bottom:20px;padding:16px;background:#6366f11a;border:1px solid rgba(99,102,241,.2);border-radius:8px}.templates-section h4{margin:0 0 12px;font-size:14px;color:#fff;font-weight:600}.template-buttons{display:flex;gap:8px;flex-wrap:wrap}.template-button{padding:8px 16px;background:#6366f133;border:1px solid rgba(99,102,241,.3);border-radius:6px;color:#fff;font-size:13px;cursor:pointer;transition:all .2s}.template-button:hover{background:#6366f14d;border-color:#6366f1}.error-message{margin-bottom:20px;padding:12px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;color:#fca5a5;font-size:13px;line-height:1.5}.error-message strong{color:#ef4444}.info-box{padding:16px;background:#ffffff08;border:1px solid rgba(255,255,255,.1);border-radius:8px;font-size:13px}.info-box h4{margin:0 0 8px;font-size:13px;color:#ffffffb3;font-weight:600}.info-box ul{list-style:none;padding:0;margin:0 0 12px}.info-box ul:last-child{margin-bottom:0}.info-box li{padding:4px 0;color:#fff9}.info-box code{background:#6366f133;padding:2px 6px;border-radius:3px;color:#a5b4fc;font-family:Consolas,Monaco,Courier New,monospace;font-size:12px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 24px;border-top:1px solid rgba(255,255,255,.1)}.button{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;border:none}.button-secondary{background:#ffffff1a;color:#fffc}.button-secondary:hover{background:#ffffff26;color:#fff}.button-primary{background:#6366f1;color:#fff}.button-primary:hover{background:#4f46e5}@media(max-width:768px){.shader-editors{grid-template-columns:1fr}.modal-content{width:95%;max-height:95vh}.shader-editor{min-height:200px}}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}.modal-body::-webkit-scrollbar-thumb{background:#6366f180;border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.navigation{position:fixed;top:0;left:0;right:0;z-index:1000;background:#000c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1)}.nav-container{max-width:1400px;margin:0 auto;padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between}.nav-logo a{color:#fff;font-size:18px;font-weight:600;text-decoration:none;transition:opacity .3s ease;white-space:nowrap}.nav-logo a:hover{opacity:.7}.nav-menu{display:flex;align-items:center;gap:30px}.nav-item{color:#fff;text-decoration:none;font-size:14px;font-weight:500;transition:opacity .3s ease;cursor:pointer;white-space:nowrap}.nav-item:hover{opacity:.7}.nav-dropdown{position:relative}.nav-dropdown-toggle{display:flex;align-items:center;gap:4px;cursor:pointer}.dropdown-arrow{transition:transform .3s ease}.nav-dropdown:hover .dropdown-arrow{transform:rotate(180deg)}.nav-submenu{position:absolute;top:100%;right:0;margin-top:15px;background:#14141ef2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:8px;min-width:160px;padding:8px 0;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .3s ease;box-shadow:0 8px 24px #00000080}.nav-submenu.open{opacity:1;visibility:visible;transform:translateY(0)}.submenu-item{display:block;padding:10px 20px;color:#fff;text-decoration:none;font-size:14px;transition:background .2s ease}.submenu-item:hover{background:#ffffff1a}.nav-kofi{display:flex;align-items:center;padding:0;margin-left:10px}.kofi-image{height:36px;width:auto;border-radius:6px;transition:all .3s ease;box-shadow:0 2px 8px #0000004d}.nav-kofi:hover .kofi-image{transform:translateY(-2px);box-shadow:0 4px 12px #00000080}.mobile-menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:5px}.mobile-menu-toggle span{display:block;width:25px;height:2px;background:#fff;transition:all .3s ease}@media(max-width:768px){.nav-container{height:50px;padding:0 15px}.nav-logo a{font-size:16px}.mobile-menu-toggle{display:flex;z-index:1002}.nav-menu{position:fixed;top:50px;left:0;right:0;background:#0a0a0ffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex-direction:column;gap:0;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.1);max-height:0;overflow:hidden;transition:max-height .3s ease}.nav-menu.mobile-open{max-height:400px}.nav-item{width:100%;padding:12px 20px;text-align:left;border-bottom:1px solid rgba(255,255,255,.05)}.nav-dropdown{width:100%}.nav-dropdown-toggle{padding:12px 20px;border-bottom:1px solid rgba(255,255,255,.05)}.nav-submenu{position:static;opacity:1;visibility:visible;transform:none;background:#00000080;border:none;border-radius:0;margin:0;box-shadow:none;max-height:0;overflow:hidden;transition:max-height .3s ease}.nav-submenu.open{max-height:300px}.submenu-item{padding:10px 40px;font-size:13px}.nav-kofi{justify-content:center;padding:15px 20px;margin:0;border-bottom:none}.kofi-image{height:32px}}@media(max-width:480px){.nav-logo a{font-size:14px}.nav-item{font-size:13px}}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden}.app{width:100vw;height:100vh;background:#000}canvas{display:block;width:100%;height:100%}
