.header{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;padding:0;box-shadow:0 4px 6px #0000001a;position:sticky;top:0;z-index:1000}.header .header-content{max-width:1400px;margin:0 auto;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}@media (max-width: 768px){.header .header-content{flex-direction:column;gap:1rem;padding:1rem}}.header .header-content .logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#fff}.header .header-content .logo .logo-icon{font-size:2rem;filter:drop-shadow(0 2px 4px rgba(6,182,212,.5))}.header .header-content .logo h1{font-size:1.5rem;font-weight:700;margin:0;background:linear-gradient(135deg,#06b6d4,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}@media (max-width: 768px){.header .header-content .logo h1{font-size:1.25rem}}.header .header-content nav{display:flex;gap:.5rem}@media (max-width: 768px){.header .header-content nav{width:100%;justify-content:center;flex-wrap:wrap}}.header .header-content nav a{padding:.625rem 1.25rem;text-decoration:none;color:#ffffffe6;border-radius:.5rem;font-weight:500;transition:all .3s ease;position:relative}.header .header-content nav a:hover{background:#ffffff1a;color:#fff;transform:translateY(-2px)}.header .header-content nav a.active{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;box-shadow:0 4px 12px #2563eb66}@media (max-width: 768px){.header .header-content nav a{padding:.5rem 1rem;font-size:.9rem}}.footer{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fffc;padding:2rem 0;margin-top:auto}.footer .footer-content{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.footer .footer-content .footer-links{display:flex;gap:2rem;align-items:center}@media (max-width: 768px){.footer .footer-content .footer-links{flex-direction:column;gap:.5rem;text-align:center}}.footer .footer-content .footer-links a{color:#06b6d4;text-decoration:none;transition:color .3s ease}.footer .footer-content .footer-links a:hover{color:#2563eb}.footer .footer-content .footer-links .legal-link,.footer .footer-content .footer-links .scroll-top-btn{background:none;border:none;color:#06b6d4;cursor:pointer;font-size:inherit;text-decoration:none;transition:color .3s ease}:is(.footer .footer-content .footer-links .legal-link,.footer .footer-content .footer-links .scroll-top-btn):hover{color:#2563eb}.footer .footer-content p{margin:0;font-size:.9rem}.footer .footer-content p .heart{color:#f97316;animation:heartbeat 1.5s ease-in-out infinite}.footer .footer-content .logo-image{width:5em;height:5em}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;color:#1f2937}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}.modal-close:hover{background:#f3f4f6;color:#374151}.modal-body{padding:2rem;color:#374151}.modal-body h3{color:#111827;margin:1.5rem 0 .5rem}.modal-body h3:first-child{margin-top:0}.modal-body p{line-height:1.6;margin:.5rem 0}.modal-footer{padding:1.5rem 2rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.modal-footer .btn-primary{background:#2563eb;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:1rem;transition:background-color .3s ease}.modal-footer .btn-primary:hover{background:#1d4ed8}@keyframes heartbeat{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}html{scroll-behavior:smooth}@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}.homepage{min-height:calc(100vh - 200px)}.homepage .hero-section{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;padding:5rem 2rem;text-align:center;position:relative;overflow:hidden}.homepage .hero-section:before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fillRule='evenodd'%3E%3Cg fill='%23ffffff' fillOpacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.3}.homepage .hero-section .hero-content{position:relative;z-index:1;max-width:900px;margin:0 auto}.homepage .hero-section .hero-content h1{font-size:3.5rem;font-weight:800;margin:0 0 1.5rem;line-height:1.2;text-shadow:0 4px 12px rgba(0,0,0,.2)}@media (max-width: 768px){.homepage .hero-section .hero-content h1{font-size:2rem}}.homepage .hero-section .hero-content .subtitle{font-size:1.5rem;margin:0 0 3rem;opacity:.95;font-weight:300}@media (max-width: 768px){.homepage .hero-section .hero-content .subtitle{font-size:1.1rem}}.homepage .hero-section .hero-content .cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.homepage .hero-section .hero-content .cta-buttons .btn{padding:1rem 2.5rem;font-size:1.1rem;font-weight:600;text-decoration:none;border-radius:.75rem;transition:all .3s ease;display:inline-flex;align-items:center;gap:.5rem}.homepage .hero-section .hero-content .cta-buttons .btn.btn-primary{background:#fff;color:#2563eb;box-shadow:0 8px 24px #00000026}.homepage .hero-section .hero-content .cta-buttons .btn.btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 32px #0003}.homepage .hero-section .hero-content .cta-buttons .btn.btn-secondary{background:#fff3;color:#fff;border:2px solid white;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.homepage .hero-section .hero-content .cta-buttons .btn.btn-secondary:hover{background:#ffffff4d;transform:translateY(-3px)}.homepage .features{max-width:1200px;margin:0 auto;padding:5rem 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}@media (max-width: 768px){.homepage .features{padding:3rem 1rem}}.homepage .features .feature{background:#fff;padding:2.5rem;border-radius:1rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;border:2px solid transparent}.homepage .features .feature:hover{transform:translateY(-8px);box-shadow:0 12px 32px #2563eb26;border-color:#06b6d4}.homepage .features .feature .feature-icon{font-size:3rem;margin-bottom:1rem;display:block}.homepage .features .feature h3{font-size:1.5rem;margin:0 0 1rem;color:#1e293b}.homepage .features .feature p{color:#64748b;line-height:1.6;margin:0}.homepage .stats-section{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);padding:4rem 2rem}.homepage .stats-section .stats-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;text-align:center}.homepage .stats-section .stats-container .stat .stat-number{font-size:3rem;font-weight:800;background:linear-gradient(135deg,#2563eb,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.homepage .stats-section .stats-container .stat .stat-label{color:#64748b;font-size:1.1rem;margin-top:.5rem}.list-page{max-width:1400px;margin:0 auto;padding:3rem 2rem}@media (max-width: 768px){.list-page{padding:2rem 1rem}}.list-page h1{font-size:2.5rem;color:#1e293b;margin:0 0 2rem;text-align:center}@media (max-width: 768px){.list-page h1{font-size:2rem}}.list-page .filters-section{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 12px #00000014;margin-bottom:2rem;display:flex;gap:2rem;flex-wrap:wrap}@media (max-width: 768px){.list-page .filters-section{flex-direction:column;gap:1rem}}.list-page .filters-section .search-box{flex:1;min-width:250px}.list-page .filters-section .search-box .search-input{padding:.875rem 1.25rem;border:2px solid #e2e8f0;border-radius:.75rem;font-size:1rem;transition:all .3s ease}.list-page .filters-section .search-box .search-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.list-page .filters-section .search-box .search-input::placeholder{color:#94a3b8}.list-page .filters-section .type-filters{display:flex;flex-direction:column;align-items:center;gap:1rem}.list-page .filters-section .type-filters label{font-weight:600;color:#475569;white-space:nowrap}.list-page .filters-section .type-filters .type-select{padding:.875rem 1.25rem;border:2px solid #e2e8f0;border-radius:.75rem;font-size:1rem;background:#fff;cursor:pointer;transition:all .3s ease;min-width:200px}.list-page .filters-section .type-filters .type-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.list-page .stats{text-align:center;color:#64748b;font-size:1.1rem;margin-bottom:2rem;font-weight:500}.list-page .mermaid-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem}@media (max-width: 768px){.list-page .mermaid-grid{grid-template-columns:1fr}}.list-page .mermaid-grid .mermaid-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;border:2px solid transparent;display:flex;flex-direction:column;gap:1rem}.list-page .mermaid-grid .mermaid-card:hover{transform:translateY(-8px);box-shadow:0 12px 32px #2563eb26;border-color:#06b6d4}.list-page .mermaid-grid .mermaid-card .card-header{display:flex;align-items:center;gap:1rem}.list-page .mermaid-grid .mermaid-card .card-header .type-icon{font-size:2rem}.list-page .mermaid-grid .mermaid-card .card-header h3{margin:0;font-size:1.25rem;color:#1e293b;flex:1}.list-page .mermaid-grid .mermaid-card .card-tags{display:flex;flex-wrap:wrap;gap:.5rem}.list-page .mermaid-grid .mermaid-card .card-tags .tag{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;padding:.375rem .875rem;border-radius:.5rem;font-size:.875rem;font-weight:500}.list-page .mermaid-grid .mermaid-card .card-type{color:#64748b;font-size:.9rem}.list-page .mermaid-grid .mermaid-card .card-type strong{color:#475569}.list-page .mermaid-grid .mermaid-card .card-actions{margin-top:auto}.list-page .mermaid-grid .mermaid-card .card-actions .btn-view{display:block;text-align:center;padding:.875rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;text-decoration:none;border-radius:.75rem;font-weight:600;transition:all .3s ease}.list-page .mermaid-grid .mermaid-card .card-actions .btn-view:hover{transform:scale(1.02);box-shadow:0 8px 24px #2563eb4d}.list-page .no-results{text-align:center;padding:4rem 2rem}.list-page .no-results p{font-size:1.25rem;color:#64748b;margin-bottom:2rem}.list-page .no-results .btn-clear{padding:1rem 2rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:.75rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.list-page .no-results .btn-clear:hover{transform:translateY(-2px);box-shadow:0 8px 24px #2563eb4d}.mermaid-item-page{max-width:1400px;margin:0 auto;padding:2rem}@media (max-width: 768px){.mermaid-item-page{padding:1rem}}.mermaid-item-page.fullscreen{position:fixed;inset:0;max-width:100%;background:#fff;z-index:9999;overflow:auto}.mermaid-item-page .page-header{display:flex;align-items:flex-start;gap:2rem;margin-bottom:2rem}@media (max-width: 768px){.mermaid-item-page .page-header{flex-direction:column;gap:1rem}}.mermaid-item-page .page-header .btn-back{padding:.75rem 1.5rem;background:#fff;color:#2563eb;text-decoration:none;border-radius:.75rem;font-weight:600;border:2px solid #2563eb;transition:all .3s ease;white-space:nowrap}.mermaid-item-page .page-header .btn-back:hover{background:#2563eb;color:#fff;transform:translate(-4px)}.mermaid-item-page .page-header .item-meta{flex:1}.mermaid-item-page .page-header .item-meta h1{font-size:2rem;color:#1e293b;margin:0 0 1rem}@media (max-width: 768px){.mermaid-item-page .page-header .item-meta h1{font-size:1.5rem}}.mermaid-item-page .page-header .item-meta .meta-info{display:flex;gap:2rem;flex-wrap:wrap;align-items:center}.mermaid-item-page .page-header .item-meta .meta-info .item-type{color:#64748b}.mermaid-item-page .page-header .item-meta .meta-info .item-type strong{color:#2563eb}.mermaid-item-page .page-header .item-meta .meta-info .item-tags{display:flex;gap:.5rem;flex-wrap:wrap}.mermaid-item-page .page-header .item-meta .meta-info .item-tags .tag{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;padding:.375rem .875rem;border-radius:.5rem;font-size:.875rem;font-weight:500}.mermaid-item-page .view-controls{background:#fff;padding:1.5rem;border-radius:1rem;box-shadow:0 4px 12px #00000014;margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.mermaid-item-page .view-controls .view-toggle{display:flex;gap:.5rem;background:#f1f5f9;padding:.25rem;border-radius:.75rem}.mermaid-item-page .view-controls .view-toggle .toggle-btn{padding:.75rem 1.5rem;background:transparent;border:none;border-radius:.5rem;font-weight:600;cursor:pointer;transition:all .3s ease;color:#64748b}.mermaid-item-page .view-controls .view-toggle .toggle-btn.active{background:#fff;color:#2563eb;box-shadow:0 2px 8px #0000001a}.mermaid-item-page .view-controls .view-toggle .toggle-btn:hover:not(.active){color:#2563eb}.mermaid-item-page .view-controls .action-buttons{display:flex;gap:.5rem}.mermaid-item-page .view-controls .action-buttons .action-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:.75rem;font-weight:600;cursor:pointer;transition:all .3s ease}.mermaid-item-page .view-controls .action-buttons .action-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #2563eb4d}.mermaid-item-page .view-controls .action-buttons .action-btn.copy-btn.copied{background:#10b981}.mermaid-item-page .error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:.75rem;margin-bottom:2rem;text-align:center}.mermaid-item-page .error-message h2{margin-bottom:1rem}.mermaid-item-page .error-message a{color:#2563eb;text-decoration:none;font-weight:600}.mermaid-item-page .error-message a:hover{text-decoration:underline}.mermaid-item-page .content-area{background:#fff;border-radius:1rem;box-shadow:0 4px 12px #00000014;overflow:hidden;margin-bottom:2rem}.mermaid-item-page .content-area .mermaid-container{position:relative;min-height:500px;overflow:hidden;cursor:grab;background:linear-gradient(135deg,#f8fafc,#f1f5f9);touch-action:none}.mermaid-item-page .content-area .mermaid-container:active{cursor:grabbing}.mermaid-item-page .content-area .mermaid-container .zoom-controls{position:absolute;top:1rem;right:1rem;display:flex;gap:.5rem;z-index:10;background:#fff;padding:.5rem;border-radius:.75rem;box-shadow:0 4px 12px #0000001a}@media (max-width: 768px){.mermaid-item-page .content-area .mermaid-container .zoom-controls{top:.5rem;right:.5rem;padding:.25rem;gap:.25rem}}.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn{width:2.5rem;height:2.5rem;border:none;background:#f1f5f9;border-radius:.5rem;font-size:1.25rem;font-weight:700;cursor:pointer;transition:all .3s ease;color:#2563eb;display:flex;align-items:center;justify-content:center}@media (max-width: 768px){.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn{width:2rem;height:2rem;font-size:1rem}}.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn:hover{background:#2563eb;color:#fff;transform:scale(1.1)}.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn:active{transform:scale(.95)}.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn.zoom-reset{font-size:1rem}@media (max-width: 768px){.mermaid-item-page .content-area .mermaid-container .zoom-controls .zoom-btn.zoom-reset{font-size:.875rem}}.mermaid-item-page .content-area .mermaid-container .zoom-level{position:absolute;top:1rem;left:1rem;background:#fff;padding:.5rem 1rem;border-radius:.75rem;font-weight:600;color:#2563eb;box-shadow:0 4px 12px #0000001a;z-index:10;font-size:.875rem}@media (max-width: 768px){.mermaid-item-page .content-area .mermaid-container .zoom-level{top:.5rem;left:.5rem;padding:.375rem .75rem;font-size:.75rem}}.mermaid-item-page .content-area .mermaid-container .mobile-hint{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);background:#2563ebf2;color:#fff;padding:.5rem 1rem;border-radius:.5rem;font-size:.75rem;z-index:10;display:none;text-align:center;max-width:90%}@media (max-width: 768px){.mermaid-item-page .content-area .mermaid-container .mobile-hint{display:block}}.mermaid-item-page .content-area .mermaid-container .mermaid-diagram{padding:3rem;display:flex;justify-content:center;align-items:center;min-height:500px;transition:transform .1s ease-out;will-change:transform}.mermaid-item-page .content-area .mermaid-container .mermaid-diagram svg{max-width:100%;height:auto}.mermaid-item-page .content-area .code-section{padding:2rem}.mermaid-item-page .content-area .code-section .code-block{background:#1e293b;color:#e2e8f0;padding:2rem;border-radius:.75rem;overflow-x:auto;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6}.mermaid-item-page .content-area .code-section .code-block code{white-space:pre}.mermaid-item-page .item-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.mermaid-item-page .item-info .info-card{background:#fff;padding:1.5rem;border-radius:1rem;box-shadow:0 4px 12px #00000014}.mermaid-item-page .item-info .info-card h4{margin:0 0 1rem;color:#1e293b;font-size:1.1rem}.mermaid-item-page .item-info .info-card p{margin:0;color:#64748b;line-height:1.6}.mermaid-item-page .item-info .info-card .tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.mermaid-item-page .item-info .info-card .tags-list .tag{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;padding:.375rem .875rem;border-radius:.5rem;font-size:.875rem;font-weight:500}.editor-page{max-width:1600px;margin:0 auto;padding:1rem;overscroll-behavior:none}@media (max-width: 1024px){.editor-page{padding:.75rem}}@media (max-width: 640px){.editor-page{padding:.5rem}}.editor-page .editor-header{text-align:center;margin-bottom:1.5rem}@media (max-width: 768px){.editor-page .editor-header{margin-bottom:1rem}}.editor-page .editor-header h1{font-size:clamp(1.5rem,4vw,2.5rem);color:#1e293b;margin:0 0 .5rem;line-height:1.2}.editor-page .editor-header p{color:#64748b;font-size:clamp(.875rem,2vw,1.1rem);margin:0;line-height:1.4}.editor-page .templates-bar{background:#fff;padding:1rem;border-radius:.75rem;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem}@media (max-width: 768px){.editor-page .templates-bar{padding:.75rem;margin-bottom:1rem}}.editor-page .templates-bar h3{margin:0 0 .75rem;color:#1e293b;font-size:1rem}@media (max-width: 768px){.editor-page .templates-bar h3{font-size:.9rem;margin-bottom:.5rem}}.editor-page .templates-bar .templates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem}@media (max-width: 1024px){.editor-page .templates-bar .templates-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}@media (max-width: 768px){.editor-page .templates-bar .templates-grid{grid-template-columns:repeat(3,1fr);gap:.375rem}}@media (max-width: 640px){.editor-page .templates-bar .templates-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 380px){.editor-page .templates-bar .templates-grid{grid-template-columns:1fr}}.editor-page .templates-bar .templates-grid button{padding:.75rem .5rem;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border:2px solid transparent;border-radius:.5rem;font-weight:600;cursor:pointer;transition:all .2s ease;color:#475569;min-height:44px;font-size:.8rem;word-break:break-word;white-space:normal;line-height:1.2}@media (max-width: 768px){.editor-page .templates-bar .templates-grid button{padding:.625rem .375rem;font-size:.75rem;min-height:40px}}.editor-page .templates-bar .templates-grid button:hover{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;transform:translateY(-1px);box-shadow:0 2px 8px #2563eb4d}.editor-page .templates-bar .templates-grid button:active{transform:translateY(0)}.editor-page .mobile-tabs{display:flex;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}.editor-page .mobile-tabs button{flex:1;padding:.875rem .5rem;background:transparent;border:none;font-weight:600;font-size:.875rem;color:#64748b;cursor:pointer;transition:all .2s ease;border-bottom:2px solid transparent;min-height:44px}@media (max-width: 480px){.editor-page .mobile-tabs button{padding:.75rem .25rem;font-size:.8rem}}.editor-page .mobile-tabs button.active{color:#2563eb;border-bottom-color:#2563eb;background:linear-gradient(to bottom,rgba(37,99,235,.05),transparent)}.editor-page .editor-container{display:flex;position:relative;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;overflow:hidden;min-height:500px;flex-direction:column}@media (min-width: 1025px){.editor-page .editor-container{flex-direction:row;min-height:600px}}@media (max-width: 768px){.editor-page .editor-container{min-height:400px;border-radius:.5rem}}.editor-page .editor-container .editor-panel{display:flex;flex-direction:column;overflow:hidden;width:100%!important}@media (min-width: 1025px){.editor-page .editor-container .editor-panel{width:50%!important}}.editor-page .editor-container .editor-panel .panel-header{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;padding:.875rem 1rem;font-weight:600;font-size:.95rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}@media (max-width: 768px){.editor-page .editor-container .editor-panel .panel-header{padding:.75rem;font-size:.875rem}}.editor-page .editor-container .editor-panel .panel-header .error-badge{background:#ef4444;color:#fff;padding:.25rem .5rem;border-radius:.75rem;font-size:.7rem;font-weight:600;white-space:nowrap}.editor-page .editor-container .editor-panel .panel-header .export-buttons{display:flex;gap:.375rem}.editor-page .editor-container .editor-panel .panel-header .export-buttons .export-btn{padding:.375rem .75rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.3);border-radius:.375rem;color:#fff;font-size:.7rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-height:32px;white-space:nowrap}@media (max-width: 768px){.editor-page .editor-container .editor-panel .panel-header .export-buttons .export-btn{padding:.25rem .5rem;font-size:.65rem;min-height:28px}}.editor-page .editor-container .editor-panel .panel-header .export-buttons .export-btn:hover{background:#fff3;transform:translateY(-1px)}.editor-page .editor-container .editor-panel .panel-header .export-buttons .export-btn:active{transform:translateY(0)}.editor-page .editor-container .editor-panel .monaco-editor-wrapper{flex:1;min-height:300px}@media (min-width: 1025px){.editor-page .editor-container .editor-panel .monaco-editor-wrapper{min-height:500px}}@media (max-width: 768px){.editor-page .editor-container .editor-panel .monaco-editor-wrapper{min-height:350px}}.editor-page .editor-container .editor-panel .preview-area{flex:1;min-height:300px;position:relative;background:linear-gradient(135deg,#f8fafc,#f1f5f9)}@media (min-width: 1025px){.editor-page .editor-container .editor-panel .preview-area{min-height:500px}}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area{min-height:350px}}.editor-page .editor-container .editor-panel .preview-area .zoom-controls{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.25rem;z-index:20;background:#fff;padding:.25rem;border-radius:.5rem;box-shadow:0 2px 8px #0000001a}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .zoom-controls{top:.25rem;right:.25rem;padding:.125rem}}.editor-page .editor-container .editor-panel .preview-area .zoom-controls button{width:2rem;height:2rem;border:none;background:#f1f5f9;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease;color:#2563eb;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .zoom-controls button{width:1.75rem;height:1.75rem;font-size:.875rem;min-width:32px;min-height:32px}}.editor-page .editor-container .editor-panel .preview-area .zoom-controls button:hover{background:#2563eb;color:#fff;transform:scale(1.05)}.editor-page .editor-container .editor-panel .preview-area .zoom-controls button:active{transform:scale(.95)}.editor-page .editor-container .editor-panel .preview-area .zoom-level{position:absolute;top:.5rem;left:.5rem;background:#fff;padding:.375rem .75rem;border-radius:.5rem;font-weight:600;color:#2563eb;box-shadow:0 2px 8px #0000001a;z-index:20;font-size:.8rem}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .zoom-level{top:.25rem;left:.25rem;padding:.25rem .5rem;font-size:.75rem}}.editor-page .editor-container .editor-panel .preview-area .preview-container{position:relative;width:100%;height:100%;min-height:300px;overflow:auto;cursor:grab;background:linear-gradient(135deg,#f8fafc,#f1f5f9);overscroll-behavior:none;-webkit-overflow-scrolling:touch}@media (min-width: 1025px){.editor-page .editor-container .editor-panel .preview-area .preview-container{min-height:500px}}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .preview-container{min-height:350px}}@media (hover: none) and (pointer: coarse){.editor-page .editor-container .editor-panel .preview-area .preview-container{touch-action:pan-x pan-y;cursor:default}}.editor-page .editor-container .editor-panel .preview-area .preview-container:active{cursor:grabbing}.editor-page .editor-container .editor-panel .preview-area .mobile-instructions{position:absolute;top:3rem;left:50%;transform:translate(-50%);background:#fffffff2;padding:.5rem .75rem;border-radius:.5rem;font-size:.75rem;color:#64748b;z-index:15;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.6);pointer-events:none;white-space:nowrap;text-align:center;display:none}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .mobile-instructions{display:block;top:2.5rem;font-size:.7rem;padding:.375rem .625rem}}@media (max-width: 480px){.editor-page .editor-container .editor-panel .preview-area .mobile-instructions{white-space:normal;max-width:90%;word-break:keep-all}}.editor-page .editor-container .editor-panel .preview-area .preview-content{width:100%;height:100%;display:flex;justify-content:center;align-items:center;min-height:300px;overflow:auto;padding:1rem}@media (min-width: 1025px){.editor-page .editor-container .editor-panel .preview-area .preview-content{min-height:500px;padding:2rem}}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .preview-content{padding:4rem .75rem .75rem;min-height:350px}}.editor-page .editor-container .editor-panel .preview-area .preview-content .mermaid-preview{width:100%;height:100%;max-width:100%;max-height:100%;transition:transform .1s ease;transform-origin:center center}.editor-page .editor-container .editor-panel .preview-area .preview-content .mermaid-preview svg{max-width:100%;height:auto;display:block;margin:0 auto}.editor-page .editor-container .editor-panel .preview-area .error-display{margin:1rem;padding:1rem;background:#fee2e2;color:#991b1b;border-radius:.5rem;border-left:3px solid #ef4444;position:relative;z-index:10;font-size:.875rem}@media (max-width: 768px){.editor-page .editor-container .editor-panel .preview-area .error-display{margin:.75rem;padding:.75rem;font-size:.8rem}}.editor-page .editor-container .editor-panel .preview-area .error-display strong{display:block;margin-bottom:.25rem}.editor-page .editor-container .resize-handle{position:relative;width:100%;height:8px;background:#e2e8f0;cursor:row-resize;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}@media (min-width: 1025px){.editor-page .editor-container .resize-handle{width:8px;height:100%}}.editor-page .editor-container .resize-handle:hover{background:#2563eb}.editor-page .editor-container .resize-handle .resize-handle-bar{width:40px;height:2px;background:#94a3b8;border-radius:1px}@media (min-width: 1025px){.editor-page .editor-container .resize-handle .resize-handle-bar{width:2px;height:40px}}.editor-page .tips-section{margin-top:1.5rem;background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 2px 8px #00000014}@media (max-width: 768px){.editor-page .tips-section{padding:1rem;margin-top:1rem}}.editor-page .tips-section h3{margin:0 0 1rem;color:#1e293b;font-size:1.1rem}@media (max-width: 768px){.editor-page .tips-section h3{font-size:1rem;margin-bottom:.75rem}}.editor-page .tips-section .tips-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}@media (max-width: 768px){.editor-page .tips-section .tips-grid{grid-template-columns:1fr;gap:.75rem}}.editor-page .tips-section .tips-grid .tip{padding:1rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:.5rem;border-left:3px solid #2563eb}@media (max-width: 768px){.editor-page .tips-section .tips-grid .tip{padding:.75rem}}.editor-page .tips-section .tips-grid .tip h4{margin:0 0 .375rem;color:#2563eb;font-size:.95rem}@media (max-width: 768px){.editor-page .tips-section .tips-grid .tip h4{font-size:.9rem}}.editor-page .tips-section .tips-grid .tip p{margin:0;color:#64748b;line-height:1.5;font-size:.85rem}@media (max-width: 768px){.editor-page .tips-section .tips-grid .tip p{font-size:.8rem}}@media (max-width: 768px) and (orientation: landscape){.editor-container{max-height:60vh;min-height:300px}.monaco-editor-wrapper,.preview-area{min-height:250px!important}.preview-content{padding-top:3rem!important}}@media (max-width: 360px){.editor-page{padding:.25rem}.templates-bar .templates-grid{grid-template-columns:1fr}.mobile-tabs button{font-size:.75rem;padding:.625rem .125rem}}@media (hover: none) and (pointer: coarse){.templates-bar button:hover{transform:none;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);color:#475569}.export-buttons .export-btn:hover{transform:none;background:#ffffff1a}.zoom-controls button:hover{transform:none;background:#f1f5f9;color:#2563eb}}body.resizing{-webkit-user-select:none!important;user-select:none!important}.preview-container *{overscroll-behavior:none}.export-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.export-spinner{background:#fff;padding:2rem;border-radius:1rem;text-align:center;box-shadow:0 8px 32px #0000004d;min-width:200px}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-left:4px solid #2563eb;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.export-spinner p{margin:0;color:#1e293b;font-weight:600}.export-buttons .export-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.export-buttons .export-btn:disabled:hover{background:#ffffff1a;transform:none!important}.error-preview{padding:2rem;text-align:center;color:#991b1b;background:#fee2e2;border-radius:.5rem;border:1px solid #fecaca}.error-preview strong{display:block;margin-bottom:.5rem;font-size:1.1rem}.error-preview p{margin:.25rem 0;font-size:.9rem}.tutorial-container{max-width:1200px;margin:0 auto;padding:2rem 1rem;@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}}@media (min-width: 768px){.tutorial-container{padding:3rem 2rem}}.tutorial-container .tutorial-hero{text-align:center;margin-bottom:3rem}.tutorial-container .tutorial-hero .hero-badge{display:inline-block;background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;padding:.5rem 1.25rem;border-radius:2rem;font-size:.875rem;font-weight:600;margin-bottom:1.5rem;box-shadow:0 4px 12px #3b82f64d}.tutorial-container .tutorial-hero .hero-title{font-size:2rem;font-weight:800;color:#1e293b;margin:0 0 1rem;line-height:1.2}@media (min-width: 768px){.tutorial-container .tutorial-hero .hero-title{font-size:3rem}}.tutorial-container .tutorial-hero .hero-subtitle{font-size:1rem;color:#64748b;line-height:1.6;max-width:600px;margin:0 auto}@media (min-width: 768px){.tutorial-container .tutorial-hero .hero-subtitle{font-size:1.125rem}}.tutorial-container .progress-steps{display:flex;align-items:center;justify-content:center;margin-bottom:3rem;padding:0 1rem;flex-wrap:wrap;gap:.5rem}@media (min-width: 768px){.tutorial-container .progress-steps{flex-wrap:nowrap;gap:0}}.tutorial-container .progress-steps .step{display:flex;flex-direction:column;align-items:center;gap:.5rem;cursor:pointer;transition:all .3s ease;padding:.5rem;border-radius:.75rem}.tutorial-container .progress-steps .step:hover{background:#f8fafc}.tutorial-container .progress-steps .step .step-number{width:3rem;height:3rem;border-radius:50%;background:#e2e8f0;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;transition:all .3s ease}.tutorial-container .progress-steps .step .step-label{font-size:.75rem;color:#94a3b8;font-weight:600;text-align:center;transition:all .3s ease}@media (min-width: 768px){.tutorial-container .progress-steps .step .step-label{font-size:.875rem}}.tutorial-container .progress-steps .step.active .step-number{background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;box-shadow:0 4px 12px #3b82f666;transform:scale(1.1)}.tutorial-container .progress-steps .step.active .step-label{color:#3b82f6}.tutorial-container .progress-steps .step.completed .step-number{background:#10b981;color:#fff}.tutorial-container .progress-steps .step.completed .step-label{color:#10b981}.tutorial-container .progress-steps .step-line{width:3rem;height:2px;background:#e2e8f0;margin:0 .5rem;display:none}@media (min-width: 768px){.tutorial-container .progress-steps .step-line{display:block}}.tutorial-container .tutorial-step{display:none;animation:fadeIn .5s ease}.tutorial-container .tutorial-step.visible{display:block}.tutorial-container .step-card{background:#fff;border-radius:1.5rem;padding:2rem;box-shadow:0 4px 24px #00000014}@media (min-width: 768px){.tutorial-container .step-card{padding:3rem}}.tutorial-container .step-card .step-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.tutorial-container .step-card .step-header .step-icon{font-size:2.5rem}.tutorial-container .step-card .step-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0}@media (min-width: 768px){.tutorial-container .step-card .step-header h2{font-size:2rem}}.tutorial-container .step-card .step-description{color:#64748b;font-size:1rem;line-height:1.6;margin-bottom:2rem}.tutorial-container .diagram-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem;margin-bottom:2rem}@media (min-width: 768px){.tutorial-container .diagram-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}.tutorial-container .diagram-grid .diagram-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 1rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:1rem;cursor:pointer;transition:all .3s ease;font-weight:600;color:#475569}.tutorial-container .diagram-grid .diagram-card .diagram-icon{font-size:2rem}.tutorial-container .diagram-grid .diagram-card .diagram-label{font-size:.875rem;text-align:center}.tutorial-container .diagram-grid .diagram-card .selected-badge{position:absolute;top:.5rem;right:.5rem;width:1.5rem;height:1.5rem;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem}.tutorial-container .diagram-grid .diagram-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #3b82f633;border-color:#3b82f6}.tutorial-container .diagram-grid .diagram-card.selected{background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;border-color:#3b82f6;box-shadow:0 8px 24px #3b82f666}.tutorial-container .selected-diagram-info{display:flex;align-items:flex-start;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:1rem;border:2px solid #3b82f6;margin-bottom:2rem}.tutorial-container .selected-diagram-info .info-icon{font-size:2.5rem;flex-shrink:0}.tutorial-container .selected-diagram-info h3{font-size:1.25rem;font-weight:700;color:#1e40af;margin:0 0 .5rem}.tutorial-container .selected-diagram-info p{font-size:.875rem;color:#1e40af;margin:0;line-height:1.6}.tutorial-container .syntax-cards{margin-bottom:2rem}.tutorial-container .syntax-cards .section-title{font-size:1.25rem;font-weight:700;color:#1e293b;margin:0 0 1.5rem}.tutorial-container .syntax-cards .syntax-card{display:flex;gap:1rem;padding:1.25rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:1rem;border-left:4px solid #3b82f6;margin-bottom:1rem}.tutorial-container .syntax-cards .syntax-card .syntax-number{width:2rem;height:2rem;background:#3b82f6;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.tutorial-container .syntax-cards .syntax-card .syntax-content{flex:1}.tutorial-container .syntax-cards .syntax-card .syntax-content .syntax-label{font-weight:600;color:#3b82f6;margin-bottom:.5rem;font-size:.875rem}.tutorial-container .syntax-cards .syntax-card .syntax-content .syntax-code{display:block;background:#1e293b;color:#e2e8f0;padding:.75rem 1rem;border-radius:.5rem;font-family:Courier New,monospace;font-size:.875rem;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.tutorial-container .code-example{margin-bottom:2rem}.tutorial-container .code-example .code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.tutorial-container .code-example .code-header .section-title{font-size:1.25rem;font-weight:700;color:#1e293b;margin:0}.tutorial-container .code-example .code-header .copy-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:#f97316;color:#fff;border:none;border-radius:.75rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .3s ease}.tutorial-container .code-example .code-header .copy-btn:hover{background:#ea580c;transform:translateY(-2px);box-shadow:0 4px 12px #f9731666}.tutorial-container .code-example .code-header .copy-btn.copied{background:#10b981}.tutorial-container .code-example .code-block{background:#1e293b;color:#e2e8f0;padding:1.5rem;border-radius:1rem;font-family:Courier New,monospace;font-size:.875rem;line-height:1.8;overflow-x:auto;margin:0;white-space:pre}.tutorial-container .preview-container{position:relative;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:1.5rem;min-height:500px;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:grab;touch-action:none;margin-bottom:2rem}@media (min-width: 768px){.tutorial-container .preview-container{min-height:600px}}.tutorial-container .preview-container:active{cursor:grabbing}.tutorial-container .preview-container .preview-controls{position:absolute;top:1rem;right:1rem;display:flex;align-items:center;gap:.75rem;background:#fff;padding:.75rem;border-radius:1rem;box-shadow:0 4px 12px #0000001a;z-index:10}.tutorial-container .preview-container .preview-controls .zoom-display{font-weight:700;color:#3b82f6;font-size:.875rem;padding:0 .5rem}.tutorial-container .preview-container .preview-controls .zoom-buttons{display:flex;gap:.5rem}.tutorial-container .preview-container .preview-controls .zoom-buttons .control-btn{width:2.5rem;height:2.5rem;background:#f1f5f9;border:none;border-radius:.5rem;font-size:1.25rem;font-weight:700;color:#3b82f6;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.tutorial-container .preview-container .preview-controls .zoom-buttons .control-btn:hover{background:#3b82f6;color:#fff;transform:scale(1.1)}.tutorial-container .preview-container .preview-controls .zoom-buttons .control-btn:active{transform:scale(.95)}.tutorial-container .preview-container .mobile-instructions{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);background:#3b82f6f2;color:#fff;padding:.625rem 1.25rem;border-radius:2rem;font-size:.75rem;font-weight:600;z-index:10;display:none;white-space:nowrap}@media (max-width: 767px){.tutorial-container .preview-container .mobile-instructions{display:block}}.tutorial-container .preview-container .diagram-preview{transition:transform .1s ease-out;will-change:transform;min-width:100%}.tutorial-container .preview-container .diagram-preview svg{max-width:none;height:auto;min-width:800px;min-height:500px}@media (max-width: 767px){.tutorial-container .preview-container .diagram-preview svg{min-width:600px;min-height:400px}}.tutorial-container .tips-card{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;border-radius:1.5rem;padding:1.5rem;margin-bottom:2rem}@media (min-width: 768px){.tutorial-container .tips-card{padding:2rem}}.tutorial-container .tips-card .tips-title{display:flex;align-items:center;gap:.75rem;font-size:1.125rem;font-weight:700;color:#1e40af;margin:0 0 1rem}.tutorial-container .tips-card .tips-title span{font-size:1.5rem}.tutorial-container .tips-card .tips-list{margin:0;padding-left:1.5rem}.tutorial-container .tips-card .tips-list li{color:#1e40af;margin-bottom:.75rem;line-height:1.6;font-size:.875rem}@media (min-width: 768px){.tutorial-container .tips-card .tips-list li{font-size:.9375rem}}.tutorial-container .tips-card .tips-list li strong{color:#3b82f6;font-weight:700}.tutorial-container .tips-card .tips-list li:last-child{margin-bottom:0}.tutorial-container .next-step-btn,.tutorial-container .primary-btn,.tutorial-container .secondary-btn{padding:1rem 2rem;border:none;border-radius:.75rem;font-weight:700;font-size:1rem;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.tutorial-container .next-step-btn,.tutorial-container .primary-btn{background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;box-shadow:0 4px 12px #3b82f64d;width:100%}@media (min-width: 768px){.tutorial-container .next-step-btn,.tutorial-container .primary-btn{width:auto}}:is(.tutorial-container .next-step-btn,.tutorial-container .primary-btn):hover{transform:translateY(-2px);box-shadow:0 8px 24px #3b82f666}:is(.tutorial-container .next-step-btn,.tutorial-container .primary-btn):active{transform:translateY(0)}.tutorial-container .secondary-btn{background:#fff;color:#3b82f6;border:2px solid #3b82f6}.tutorial-container .secondary-btn:hover{background:#f8fafc;transform:translateY(-2px)}.tutorial-container .action-buttons{display:flex;gap:1rem;flex-direction:column}@media (min-width: 768px){.tutorial-container .action-buttons{flex-direction:row;justify-content:space-between}}.scroll-to-top{position:fixed;bottom:30px;right:30px;z-index:1000;opacity:0;visibility:hidden;transform:translateY(20px);transition:all .4s cubic-bezier(.4,0,.2,1)}.scroll-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}.scroll-to-top .scroll-button{position:relative;width:60px;height:60px;border:none;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;box-shadow:0 8px 25px #667eea66,inset 0 2px 4px #fff3,inset 0 -2px 4px #0003;transition:all .3s ease;display:flex;align-items:center;justify-content:center;overflow:hidden}.scroll-to-top .scroll-button:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.1) 0%,transparent 50%);border-radius:50%}.scroll-to-top .scroll-button:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 12px 35px #667eea99,inset 0 2px 6px #ffffff4d,inset 0 -2px 6px #0000001a}.scroll-to-top .scroll-button:hover .arrow{transform:translateY(-2px)}.scroll-to-top .scroll-button:hover .sparkle{opacity:1;transform:scale(1) rotate(180deg)}.scroll-to-top .scroll-button:active{transform:translateY(-1px) scale(.98)}.scroll-to-top .scroll-button .arrow{width:20px;height:20px;border-top:3px solid white;border-right:3px solid white;transform:rotate(-45deg);transition:transform .3s ease;position:relative;z-index:2}.scroll-to-top .scroll-button .sparkle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.8) rotate(0);opacity:0;transition:all .4s ease;font-size:16px;z-index:1}.scroll-to-top .background-effects{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;pointer-events:none}.scroll-to-top .background-effects .pulse-ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border:2px solid rgba(102,126,234,.3);border-radius:50%;animation:pulse 3s infinite}.scroll-to-top .background-effects .pulse-ring.delay-1{animation-delay:1s}.scroll-to-top .background-effects .pulse-ring.delay-2{animation-delay:2s}@keyframes pulse{0%{transform:translate(-50%,-50%) scale(.8);opacity:1}70%{transform:translate(-50%,-50%) scale(1.2);opacity:0}to{transform:translate(-50%,-50%) scale(1.2);opacity:0}}@media (max-width: 768px){.scroll-to-top{bottom:20px;right:20px}.scroll-to-top .scroll-button{width:50px;height:50px}.scroll-to-top .scroll-button .arrow{width:16px;height:16px}.scroll-to-top .scroll-button .sparkle{font-size:14px}.scroll-to-top .background-effects{width:65px;height:65px}}*{margin:0;padding:0;box-sizing:border-box}body{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;background:linear-gradient(135deg,#f8fafc,#e2e8f0);min-height:100vh}.app{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#2563eb,#06b6d4);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#1e40af,#0891b2)}
