:root{--background-color: #121212;--surface-color: #1e1e1e;--primary-color: #1F9CED;--primary-hover-color: #1a8bd4;--secondary-color: #3f3f46;--secondary-hover-color: #52525b;--secondary-accent-color: #08d9d6;--secondary-accent-hover: #00b3b0;--text-primary-color: #f5f5f5;--text-secondary-color: #a1a1aa;--border-color: #2a3b5a;--featured-glow: 0 0 30px rgba(59, 130, 246, .5);--accent-glow: 0 0 20px rgba(8, 217, 214, .4);--background-gradient: radial-gradient(ellipse at top, #1c263c, #121212);--font-family: "Inter", sans-serif;--border-radius: 8px}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{background-color:var(--background-color);background-image:var(--background-gradient);color:var(--text-primary-color);font-family:var(--font-family);line-height:1.6;min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 2rem}a{color:var(--primary-color);text-decoration:none}h1,h2{font-weight:700}.button-primary,.button-secondary{display:inline-block;border:none;padding:.75rem 1.5rem;border-radius:var(--border-radius);font-weight:600;cursor:pointer;text-align:center;transition:background-color .2s ease,transform .1s ease}.button-primary{background-color:var(--primary-color);color:#fff;position:relative;overflow:hidden}.button-primary:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.button-primary:hover{background-color:var(--primary-hover-color);transform:translateY(-2px);box-shadow:var(--featured-glow)}.button-primary:hover:before{width:300px;height:300px}.button-secondary{background-color:var(--secondary-color);color:#fff}.button-secondary:hover{background-color:var(--secondary-hover-color);transform:translateY(-2px);box-shadow:0 4px 15px #0000004d}.button-accent{display:inline-block;background-color:transparent;color:var(--secondary-accent-color);border:2px solid var(--secondary-accent-color);padding:.75rem 1.5rem;border-radius:var(--border-radius);font-weight:600;cursor:pointer;text-align:center;transition:all .3s ease;position:relative}.button-accent:hover{background-color:var(--secondary-accent-color);color:var(--background-color);box-shadow:var(--accent-glow);transform:translateY(-2px)}.button-primary:active,.button-secondary:active{transform:scale(.98)}.main-header{background-color:#121212cc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border-color);padding:1rem 0;position:sticky;top:0;z-index:100}.main-header .container{display:flex;justify-content:space-between;align-items:center}.main-header .logo{font-size:1.5rem;font-weight:700;color:var(--text-primary-color);display:flex;align-items:center;gap:.5rem;text-decoration:none;transition:opacity .3s ease}.main-header .logo:hover{opacity:.8}.main-header .logo-icon{width:28px;height:28px;display:inline-block;vertical-align:middle}.main-header .logo span{display:inline-block;vertical-align:middle}.main-header nav a{color:var(--text-secondary-color);margin:0 1rem;font-weight:600;transition:color .2s ease}.main-header nav a:hover{color:var(--text-primary-color)}.hero{padding:6rem 0;text-align:center}.hero .container{display:grid;grid-template-columns:1fr;align-items:center;gap:2rem}.hero-content h1{font-size:3.5rem;font-weight:900;line-height:1.2;margin-bottom:1rem;background:linear-gradient(90deg,#fff,#b8b8b8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 10px rgba(0,0,0,.3)}.hero-content p{font-size:1.25rem;color:var(--text-secondary-color);max-width:600px;margin:0 auto 2rem}.hero-cta{font-size:1.1rem;padding:1rem 2rem}.effect-container{position:relative;width:100%;border-radius:var(--border-radius);overflow:hidden;box-shadow:0 10px 30px #0003}.hero-image-container{max-width:700px;margin:2rem auto 0}.bg-image,.fg-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.bg-image{z-index:1}.fg-image{z-index:3}.midground-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;text-align:center;font-weight:900;color:var(--text-primary-color);opacity:.95;z-index:2;text-shadow:0 5px 15px rgba(0,0,0,.4);line-height:1;pointer-events:none}.gallery-section{padding:6rem 0;text-align:center}.gallery-section h2{font-size:2.5rem;margin-bottom:.5rem}.gallery-section .subtitle{font-size:1.125rem;color:var(--text-secondary-color);margin-bottom:3rem}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;max-width:900px;margin:0 auto}.gallery-item{aspect-ratio:1 / 1;transition:transform .3s ease}.gallery-item:hover{transform:scale(1.03)}.gallery-item .bg-image{position:static;display:block}.gallery-item .fg-image,.gallery-item .midground-text{position:absolute;top:0;left:0}.how-it-works-section{padding:6rem 0;background-color:var(--surface-color);text-align:center}.how-it-works-section h2{font-size:2.5rem;margin-bottom:3rem}.steps-container{display:flex;justify-content:space-around;gap:2rem}.step{max-width:300px}.step-number{width:50px;height:50px;border:2px solid var(--primary-color);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:var(--primary-color);margin-bottom:1rem}.step h3{font-size:1.25rem;margin-bottom:.5rem}.step p{color:var(--text-secondary-color)}.pricing-section{padding:6rem 0;text-align:center}.pricing-section h2{font-size:2.5rem;margin-bottom:.5rem}.pricing-section>p{color:var(--text-secondary-color);margin-bottom:3rem}.pricing-table{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;max-width:900px;margin:0 auto}.plan{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:2rem;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.plan:hover{transform:translateY(-5px);box-shadow:0 5px 20px #0000004d}.plan.featured{border-color:var(--primary-color);box-shadow:var(--featured-glow)}.plan.featured:hover{box-shadow:var(--featured-glow),0 5px 20px #0000004d}.plan h3{font-size:1.25rem}.plan .price{font-size:2.5rem;font-weight:700;margin:1rem 0}.plan .price span{font-size:1rem;font-weight:400;color:var(--text-secondary-color)}.plan .credits{font-weight:600;color:var(--primary-color);margin-bottom:1.5rem}.plan ul{list-style:none;text-align:left;margin-bottom:2rem;flex-grow:1}.plan ul li{margin-bottom:.75rem;padding-left:1.5rem;position:relative}.plan ul li:before{content:"✓";color:var(--primary-color);position:absolute;left:0}.plan .pricing-button{width:100%}footer.main-footer{padding:1rem 0;text-align:center;color:var(--text-secondary-color);border-top:1px solid var(--border-color);margin-top:3rem}footer.main-footer .footer-content{display:flex;align-items:center;justify-content:center;gap:2rem;flex-wrap:wrap}footer.main-footer .coffee-link{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;border:1px solid #444;color:#666;text-decoration:none;font-size:12px;transition:all .3s}footer.main-footer .coffee-link:hover{border-color:#fd0;color:#fd0}@media (max-width: 992px){.pricing-table{grid-template-columns:1fr}.plan{margin-bottom:1rem}.hero-content h1{font-size:2.8rem}.steps-container{flex-direction:column;align-items:center}.step{margin-bottom:2rem}}@media (max-width: 768px){.main-header nav{display:none}.hero-content h1{font-size:2.2rem}.hero-content p{font-size:1rem}.hero,.gallery-section,.pricing-section,.how-it-works-section{padding:4rem 0}.midground-text{font-size:15vw!important}.container{padding:0 1rem}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{box-shadow:0 0 #08d9d6b3}70%{box-shadow:0 0 0 10px #08d9d600}to{box-shadow:0 0 #08d9d600}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.fade-in-section{opacity:0;transform:translateY(30px);transition:all .8s ease}.fade-in-section.visible{opacity:1;transform:translateY(0)}.hero-image-container{position:relative;transform-style:preserve-3d;transition:transform .1s ease}.hero-image-container .bg-image,.hero-image-container .fg-image{will-change:transform}.gallery-item{transition:all .3s ease}.gallery-item:hover{transform:scale(1.02);box-shadow:0 10px 40px #3b82f64d}.gallery-item:hover .midground-text{animation:pulse 1.5s infinite}.plan{transition:all .3s ease}.plan:hover{transform:translateY(-5px)}.plan.featured:hover{transform:translateY(-8px);box-shadow:0 15px 50px #3b82f666}.step{opacity:0;animation:fadeInUp .6s ease forwards}.step:nth-child(1){animation-delay:.1s}.step:nth-child(2){animation-delay:.2s}.step:nth-child(3){animation-delay:.3s}.hero-cta{animation:pulse 2s infinite}.scroll-indicator{position:absolute;bottom:30px;left:50%;transform:translate(-50%);animation:float 2s ease-in-out infinite;color:var(--secondary-accent-color);font-size:2rem;cursor:pointer}.about-main,.pro-main,.examples-main{min-height:calc(100vh - 200px)}.hero-minimal{padding:4rem 0;text-align:center}.hero-subtitle{font-size:1.25rem;color:var(--text-secondary-color);max-width:600px;margin:1.5rem auto}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.feature-card{background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:2rem;text-align:center}.feature-icon{font-size:3rem;margin-bottom:1.5rem}.tech-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-top:3rem}.stat{text-align:center}.stat-number{font-size:2.5rem;font-weight:700;color:#00b4d8}.stat-label{color:var(--text-secondary-color);margin-top:.5rem}.pro-hero{text-align:center;padding:4rem 0 5rem}.pro-badge{display:inline-block;background:linear-gradient(135deg,gold,orange);color:var(--background-color);padding:.25rem 1rem;border-radius:20px;font-weight:700;margin-bottom:1rem}.comparison-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.plan-column{background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:2rem;position:relative}.plan-column.featured{border-color:#00b4d8;transform:scale(1.05)}.popular-badge{position:absolute;top:-10px;right:20px;background:linear-gradient(135deg,#00b4d8,#0077be);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.plan-header h3{margin-bottom:1rem}.plan-features{margin:2.5rem 0}.feature-item{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;line-height:1.6}.feature-item.disabled{opacity:.5}.feature-item .check{color:#4caf50}.feature-item .x{color:#ff4757}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:3rem;margin-top:3rem}.feature-detail{text-align:center;padding:1rem}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:3rem;margin-top:3rem}.faq-item{padding:1rem}.faq-item h4{color:#00b4d8;margin-bottom:1rem}.examples-hero{text-align:center;padding:3rem 0}.filter-buttons{display:flex;justify-content:center;gap:1rem;margin-top:2rem}.filter-btn{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:var(--text-secondary-color);padding:.5rem 1.5rem;border-radius:25px;cursor:pointer;transition:all .3s ease}.filter-btn:hover,.filter-btn.active{background:#00b4d8;color:#fff;border-color:#00b4d8}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:2rem;margin-top:3rem;max-width:900px;margin-left:auto;margin-right:auto}.gallery-item{background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;transition:transform .3s ease}.gallery-item:hover{transform:translateY(-5px)}.gallery-item .effect-container{height:250px;position:relative;overflow:hidden}.gallery-item-info{padding:1.5rem}.gallery-item-info h3{margin-bottom:.5rem}.gallery-item-info p{color:var(--text-secondary-color);font-size:.9rem}.placeholder-container{height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff05}.placeholder-icon{font-size:3rem;opacity:.3}.placeholder-text{color:var(--text-secondary-color);margin-top:1rem}.use-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:2rem}.use-case{text-align:center}.use-case-icon{font-size:2.5rem;margin-bottom:1rem}.cta-buttons{display:flex;justify-content:center;gap:1rem;margin-top:2rem}.comparison-section,.pro-features-detail,.faq-section,.cta-section{padding-top:5rem;padding-bottom:5rem}.comparison-section{padding-top:3rem}.comparison-section h2,.pro-features-detail h2,.faq-section h2,.cta-section h2{margin-bottom:3rem;text-align:center}/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */main.container{padding:2rem;max-width:1400px}.intro{text-align:center;margin-bottom:3rem;padding:2rem 0}.intro h2{font-size:2.5rem;font-weight:700;margin-bottom:1rem;color:#00b4d8}.intro p{color:var(--text-secondary-color);font-size:1.1rem}.editor-panel{display:flex;flex-direction:column;align-items:center;gap:3rem;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.controls{display:flex;flex-direction:column;gap:2rem;width:100%;max-width:400px}.upload-box{background:var(--surface-color);border:2px dashed var(--border-color);border-radius:var(--border-radius);padding:3rem;text-align:center;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.upload-box:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(8,217,214,.1),transparent);transition:left .5s ease}.upload-box:hover{border-color:var(--secondary-accent-color);box-shadow:var(--accent-glow);transform:translateY(-2px)}.upload-box:hover:before{left:100%}.upload-box.dragging{border-color:var(--primary-color);background-color:#3b82f61a}.upload-box img{width:48px;height:48px;margin-bottom:1rem;opacity:.7}.upload-box p{margin:.5rem 0}.upload-box small{color:var(--text-secondary-color);font-size:.875rem}.image-preview{position:relative;background:var(--surface-color);border-radius:var(--border-radius);padding:1rem;border:1px solid var(--border-color)}.image-preview img{width:100%;height:auto;border-radius:calc(var(--border-radius) - 4px)}.image-preview button{position:absolute;top:1rem;right:1rem;background:#000000b3;border:none;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:1.5rem;line-height:1;transition:all .2s ease}.image-preview button:hover{background:var(--error-color);transform:scale(1.1)}.text-input-container{display:flex;flex-direction:column;gap:.5rem}.text-input-container label{font-weight:600;color:var(--text-primary-color)}.text-input-container input{background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:.75rem 1rem;color:var(--text-primary-color);font-size:1rem;transition:all .2s ease}.text-input-container input:focus{outline:none;border-color:var(--secondary-accent-color);box-shadow:0 0 0 3px #08d9d61a}.text-input-container input::placeholder{color:var(--text-secondary-color)}#generate-button{background:#00b4d8;color:#fff;border:none;padding:1rem 2rem;border-radius:var(--border-radius);font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}#generate-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}#generate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px #00b4d866;background:#0096c7}#generate-button:hover:not(:disabled):before{width:300px;height:300px}#generate-button:disabled{opacity:.5;cursor:not-allowed}.result-section{background:var(--surface-color);border-radius:var(--border-radius);padding:2rem;min-height:400px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-color)}#result-placeholder{text-align:center;color:var(--text-secondary-color)}#result-placeholder img{width:100px;opacity:.3;margin-bottom:1rem}#result-image-container{display:flex;gap:1rem;width:100%}.result-column{flex:1}.result-column h3{font-size:.875rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary-color);margin-bottom:.5rem}.result-column img{width:100%;height:auto;border-radius:var(--border-radius);border:1px solid var(--border-color)}#loader{text-align:center;padding:2rem;display:flex;flex-direction:column;align-items:center}#loader p{display:block!important;width:100%!important;margin:.5rem 0;word-wrap:break-word;max-width:100%;text-align:center!important}.spinner{border:3px solid var(--border-color);border-top:3px solid var(--secondary-accent-color);border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#error-message{background:#ef44441a;border:1px solid var(--error-color);color:var(--error-color);padding:1rem;border-radius:var(--border-radius);text-align:center}.pricing-section{background:transparent;padding:3rem 0}@media (max-width: 992px){.editor-panel{grid-template-columns:1fr}.result-section{margin-top:2rem}}@media (max-width: 768px){.intro h2{font-size:1.8rem}main.container{padding:1rem}#result-image-container{flex-direction:column}}.auth-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:1000;align-items:center;justify-content:center}.auth-modal-content{background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:2rem;max-width:400px;width:90%;position:relative;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.app-header{position:fixed;top:0;left:0;right:0;background:#0f0f0ff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1);z-index:1000;padding:1rem 2rem}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.header-left{display:flex;align-items:center;gap:3rem}.logo-link{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--text-primary-color);font-weight:700;font-size:1.25rem}.logo-icon{width:32px;height:32px}.logo-text{font-family:Leckerli One,cursive;background:linear-gradient(135deg,#1f9ced,#1a7fc7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:1.6rem;font-weight:300;line-height:1.3;padding-bottom:2px}.main-nav{display:flex;gap:2rem;align-items:center;position:relative;top:3px}.nav-link{color:var(--text-secondary-color);text-decoration:none;font-weight:500;transition:color .2s ease;position:relative;display:inline-block;padding-bottom:2px;border-bottom:2px solid transparent}.nav-link:hover{color:var(--text-primary-color)}.nav-link.active{color:#1f9ced;border-bottom-color:#1f9ced}.header-right{display:flex;align-items:center;gap:1.5rem}.tier-indicator{padding:.5rem 1rem;background:#ffffff0d;border-radius:20px;font-size:.875rem;color:var(--text-secondary-color);border:1px solid rgba(255,255,255,.1)}.login-btn{background:#1f9ced;color:#fff;border:none;padding:.5rem 1.5rem;border-radius:20px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease}.login-btn:hover{background:#1a7fc7;transform:translateY(-1px);box-shadow:0 4px 20px #1f9ced4d}.upgrade-button{position:fixed;bottom:2rem;right:2rem;background:linear-gradient(135deg,#ff6b6b,#ff4757);color:#fff;padding:.75rem 1.5rem;border-radius:25px;font-weight:600;text-decoration:none;box-shadow:0 4px 20px #ff4b574d;transition:all .3s ease;z-index:100}.upgrade-button:hover{transform:translateY(-2px);box-shadow:0 6px 30px #ff4b5766}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#121212;background-image:radial-gradient(ellipse at top,#1c263c,#121212);color:#fff;min-height:100vh;display:flex;flex-direction:column;margin:0;padding:80px 0 0;box-sizing:border-box}*{margin:0;padding:0;box-sizing:border-box}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.auth-close{position:absolute;top:1rem;right:1rem;background:transparent;border:none;color:var(--text-secondary-color);font-size:1.5rem;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.auth-close:hover{background:#ffffff1a;color:var(--text-primary-color)}.auth-modal-content h2{margin-bottom:1.5rem;color:#00b4d8}.auth-tabs{display:flex;gap:1rem;margin-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.auth-tab{background:transparent;border:none;color:var(--text-secondary-color);padding:.75rem 1rem;cursor:pointer;font-size:1rem;font-weight:500;position:relative;transition:all .2s ease}.auth-tab:hover{color:var(--text-primary-color)}.auth-tab.active{color:var(--secondary-accent-color)}.auth-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--secondary-accent-color)}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-form div{display:flex;flex-direction:column;gap:.5rem}.auth-form label{font-weight:500;color:var(--text-primary-color);font-size:.9rem}.auth-form input{background:var(--background-color);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:.75rem 1rem;color:var(--text-primary-color);font-size:1rem;transition:all .2s ease}.auth-form input:focus{outline:none;border-color:var(--secondary-accent-color);box-shadow:0 0 0 3px #08d9d61a}.auth-form input::placeholder{color:var(--text-secondary-color)}.auth-submit{margin-top:1rem;padding:.75rem 1.5rem;font-size:1rem}.auth-error{background:#ef44441a;border:1px solid var(--error-color);color:var(--error-color);padding:.75rem;border-radius:var(--border-radius);text-align:center;font-size:.9rem;margin-top:1rem}.auth-success{animation:slideIn .3s ease}.logged-in{background:#00b4d8!important;color:#fff!important}.canvas-container{display:flex;justify-content:center;align-items:center;background:var(--background-color);border-radius:8px;padding:2rem;min-height:600px;position:relative}.layer-compositor-canvas{border:2px solid var(--border-color);border-radius:8px;display:block;cursor:grab;box-shadow:0 8px 16px #00000026;max-width:100%;height:auto}.layer-compositor-canvas:active{cursor:grabbing}.text-controls-panel{background:var(--background-color);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;max-width:800px;margin:0 auto;width:100%;max-height:calc(100vh - 200px);overflow-y:auto}.text-controls-panel h3{margin-bottom:1.5rem;color:var(--primary-color);font-size:1.2rem}.control-group{margin-bottom:1.5rem}.control-group label{display:block;margin-bottom:.5rem;color:var(--text-secondary-color);font-size:.9rem;font-weight:500}.control-group input[type=text],.control-group select{width:100%;padding:.5rem;border:1px solid var(--border-color);border-radius:4px;background:var(--secondary-bg-color);color:var(--text-primary-color);font-size:1rem}.control-group input[type=color]{width:60px;height:40px;border:1px solid var(--border-color);border-radius:4px;cursor:pointer}.control-group input[type=range]{width:100%;margin-bottom:.25rem;padding:0;height:6px;background:var(--border-color);border-radius:3px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.control-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;background:var(--primary-color);cursor:pointer;border-radius:50%}.control-group input[type=range]::-moz-range-thumb{width:16px;height:16px;background:var(--primary-color);cursor:pointer;border-radius:50%;border:none}.control-group span{display:inline-block;color:var(--text-secondary-color);font-size:.85rem;margin-left:.5rem}.control-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:1rem;margin-bottom:1.5rem}.control-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.control-actions button{flex:1}@media (max-width: 1200px){.text-controls-panel{max-width:600px}.canvas-container{min-height:400px}}@media (max-width: 768px){.canvas-container{padding:1rem;min-height:300px}.text-controls-panel{padding:1rem}}.rotate-btn{padding:8px 16px;background:#00b4d8;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background .3s ease;margin-right:10px;font-weight:600}.rotate-btn:hover{background:#0099b8}#rotation-value{font-weight:700;color:#00b4d8;margin-left:5px;font-size:14px}.canvas-area{flex:1;display:flex;flex-direction:column;background:#1e1e1e80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;min-height:0}.upload-zones{display:flex;gap:1rem;padding:1.5rem;background:#1e1e2dcc;border-bottom:1px solid rgba(255,255,255,.05);height:min-content;justify-content:center}.upload-zone{flex:1;max-width:200px;aspect-ratio:1 / 1;background:#28283c4d;border:2px dashed rgba(255,255,255,.2);border-radius:12px;cursor:pointer;transition:all .3s;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.upload-zone-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;text-align:center;width:100%;height:100%}.upload-zone .thumbnail-preview{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#14141ee6;z-index:0;border-radius:12px}.upload-zone .thumbnail-preview img{max-width:90%;max-height:90%;object-fit:contain;border-radius:8px;opacity:1}.upload-zone:hover{border-color:#6366f1;background:#32324666;transform:translateY(-2px)}.upload-zone.has-image{border-color:#10b981;background:#14141ecc}.upload-zone.dragging{border-color:#6366f1;background:#6366f11a}#layer-compositor-container{flex:1;display:grid;place-items:center;padding:1rem;overflow:hidden;background:transparent}.canvas-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem;background:#1e1e2d4d;border:2px dashed rgba(255,255,255,.1);border-radius:16px;color:#fff9;font-size:1rem;text-align:center;cursor:pointer;transition:all .3s ease;width:100%;max-width:600px;min-height:400px}.canvas-placeholder:hover{background:#28283c66;border-color:#fff3;color:#fffc}#layer-compositor-container:not(.is-empty) .canvas-placeholder{display:none}#layer-compositor-container.is-empty .layer-compositor-canvas{display:none}.controls-panel{background:#1e1e2df2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;border-top:1px solid rgba(255,255,255,.05)}.controls-row{display:flex;gap:1rem;align-items:flex-end;flex-wrap:wrap}.control-group{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:200px}.control-group label{font-size:.875rem;color:#ffffffb3;font-weight:500}.control-group input,.control-group select{padding:.75rem;background:#28283c80;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:1rem;transition:all .3s}.control-group input:focus,.control-group select:focus{outline:none;border-color:#6366f1;background:#32324680}.color-picker-wrapper{position:relative;width:100%}.color-display{width:100%;height:44px;border:1px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;position:relative;overflow:hidden}.color-picker-input{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer}.font-style-toggles{display:flex;gap:.5rem}.style-toggle{padding:.5rem 1rem;background:#28283c80;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#ffffffb3;cursor:pointer;transition:all .3s;font-weight:600}.style-toggle:hover{background:#32324680;color:#fff}.style-toggle.active{background:#6366f1;border-color:#6366f1;color:#fff}.processing-display{position:fixed;bottom:2rem;right:2rem;background:#1e1e2df2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(99,102,241,.3);border-radius:12px;padding:1.5rem;max-width:300px;box-shadow:0 8px 32px #0006;z-index:1000}.processing-content{display:flex;flex-direction:column;gap:1rem}.processing-header{display:flex;align-items:center;gap:1rem}.processing-spinner{width:24px;height:24px;border:3px solid rgba(99,102,241,.2);border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite}.processing-title{font-weight:600;color:#fff}.processing-status{color:#ffffffb3;font-size:.875rem;line-height:1.5}.processing-progress{width:100%;height:4px;background:#6366f133;border-radius:2px;overflow:hidden}.processing-progress-bar{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:2px;animation:progress 2s ease-in-out infinite}@keyframes progress{0%{width:0%}50%{width:70%}to{width:100%}}
