body{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:0;margin:0;text-align:center;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}#heading{background:linear-gradient(135deg,#667eea,#764ba2);padding:30px 20px 50px;text-shadow:0 2px 4px rgba(0,0,0,.3);position:relative}h1{font-size:38px;font-weight:700}h2{font-size:24px;font-weight:400}.language-switcher{position:absolute;top:20px;right:20px;display:flex;background:#fff3;border-radius:20px;padding:4px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.lang-btn{padding:8px 16px;border:none;background:transparent;color:#fff;border-radius:16px;cursor:pointer;transition:all .3s ease;font-weight:500;font-size:14px}.lang-btn.active{background:#ffffff4d;box-shadow:0 2px 8px #0003}.lang-btn:hover:not(.active){background:#ffffff1a}.project-links{position:absolute;bottom:15px;left:20px;display:flex;gap:10px;flex-wrap:wrap}.project-source{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:8px 16px;font-size:13px;color:#ffffffe6;text-decoration:none;transition:all .3s ease;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:6px;white-space:nowrap}.project-source:hover{background:#ffffff40;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #0003}.project-source .icon{font-size:11px}.github-avatar{width:16px;height:16px;border-radius:50%;object-fit:cover;vertical-align:middle;transition:all .3s ease;border:1px solid rgba(255,255,255,.3)}.project-source:hover .github-avatar{transform:scale(1.1);border-color:#fff9;box-shadow:0 2px 8px #0000004d}.demo-section{margin:40px auto;padding:30px;background:#fffffff2;border-radius:12px;box-shadow:0 8px 32px #2a24474d;max-width:1200px;text-align:left;color:#333;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:fadeInUp .6s ease-out}.demo-content{display:flex;gap:30px;align-items:flex-start}.demo-left,.demo-right{flex:1;min-width:0}.demo-section h3{margin-top:0;margin-bottom:15px;color:#1a1a1a;border-bottom:3px solid #4caf50;padding-bottom:12px;font-size:24px;font-weight:600}.demo-section .description{color:#555;margin-bottom:25px;font-style:italic;font-size:16px;line-height:1.5;padding:15px;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:8px;border-left:4px solid #4caf50}#icon,.demo-section object{display:block;box-sizing:border-box;width:100%;height:250px;background:#fff;margin:20px auto;padding:60px;border-radius:8px;box-shadow:0 4px 12px #0000001a;border:2px solid #e0e0e0}.demo-section .options-container{background:#fffc;padding:20px;border-radius:8px;margin-top:20px}#options,.demo-section #options,.demo-section #optionsDynamic{margin-top:0;margin-bottom:0;text-align:center}.option,.demo-section .option{width:100%;max-width:500px;display:flex;align-items:center;margin:15px auto;text-align:left;overflow:visible}label,.demo-section .option label{text-align:left;display:inline-block;font-size:18px;font-weight:500;width:120px;color:#333;margin-right:15px}select,.demo-section .option select{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;padding:12px 15px;color:#333;background:#fff;border:2px solid #ddd;border-radius:6px;flex:1;transition:border-color .3s ease;margin:0}.demo-section .option select:focus{outline:none;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.code-section{background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e9ecef;height:fit-content;position:sticky;top:20px}.code-section h4{margin:0 0 15px;color:#495057;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}.copy-btn{background:#007bff;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;cursor:pointer;transition:background-color .2s}.copy-btn:hover{background:#0056b3}.copy-btn.copied{background:#28a745}.code-section pre{border-radius:6px;overflow-x:auto;font-family:Fira Code,Monaco,Consolas,monospace;font-size:13px;line-height:1.5;margin:0;white-space:pre-wrap;max-height:500px;overflow-y:auto}.code-section pre::-webkit-scrollbar{width:8px;height:8px}.code-section pre::-webkit-scrollbar-track{background:#37474f;border-radius:4px}.code-section pre::-webkit-scrollbar-thumb{background:#546e7a;border-radius:4px}.code-section pre::-webkit-scrollbar-thumb:hover{background:#607d8b}#loadingIndicator{text-align:center;padding:20px;color:#666;font-size:16px;font-weight:500}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid #4caf50;border-radius:50%;animation:spin 1s linear infinite;margin-right:10px}.initially-hidden{display:none}.dynamic-iconset{transition:opacity .3s ease}.dynamic-iconset:hover{opacity:.8}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.demo-section{margin:20px 10px;padding:20px}.language-switcher{position:static;margin:0 auto 20px;justify-content:center}.demo-content{flex-direction:column;gap:20px}.code-section{position:static}.demo-section .option{flex-direction:column;align-items:flex-start}.demo-section .option label{width:100%;margin-bottom:8px}.demo-section .option select{width:100%}.project-links{position:static;margin:0 auto 10px;justify-content:center;gap:8px;flex-direction:column;align-items:center}.project-source{width:auto;min-width:200px;justify-content:center}}
