*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--yellow: #ffe135;--yellow-dark: #e6c400;--bg: #0a0a0a;--surface: #161616;--surface-hover: #1e1e1e;--text: #f5f5f5;--text-muted: #888;--error: #ff4444;--radius: 12px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);background-image:radial-gradient(ellipse at 50% 0%,#1a1600 0%,transparent 70%);color:var(--text);min-height:100vh;display:flex;flex-direction:column;align-items:center}.container{max-width:560px;width:100%;padding:2rem 1.5rem}header{text-align:center;margin-bottom:2.5rem}header h1{font-size:2rem;font-weight:700;letter-spacing:-.02em}header h1 span{color:var(--yellow);text-shadow:0 0 30px rgba(255,225,53,.3)}header p{color:var(--text-muted);margin-top:.5rem;font-size:.95rem}.hero-compare{margin-bottom:2rem}.compare-slider{position:relative;width:100%;aspect-ratio:560 / 392;border-radius:var(--radius);overflow:hidden;cursor:ew-resize}.compare-slider img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;display:block}.compare-before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}.compare-slider:after{content:"";position:absolute;top:0;bottom:0;left:var(--pos);width:2px;background:#fff;transform:translate(-50%);pointer-events:none;box-shadow:0 0 6px #00000080}.compare-label{position:absolute;bottom:12px;background:#0009;color:#fff;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:4px 10px;border-radius:20px;pointer-events:none}.compare-before-label{left:12px}.compare-after-label{right:12px}.compare-range{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.compare-caption{text-align:center;font-size:.8rem;color:var(--text-muted);margin-top:.5rem}@keyframes pulse-border{0%,to{border-color:#333}50%{border-color:#555}}.drop-zone{border:2px dashed #333;border-radius:var(--radius);padding:3rem 2rem;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;animation:pulse-border 2.5s ease-in-out infinite}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--yellow);background:#ffe1350a;animation:none}.drop-zone-icon{display:block;margin:0 auto 1rem;opacity:.4}.drop-zone-label{font-size:1rem;color:var(--text-muted)}.drop-zone-label strong{color:var(--yellow)}.drop-zone-hint{font-size:.8rem;color:var(--text-muted);margin-top:.5rem}.preview-container{margin-top:1.5rem;text-align:center}.preview-container img{max-width:100%;max-height:300px;border-radius:var(--radius);object-fit:contain}.enhance-options{margin-top:1.5rem;background:var(--surface);border-radius:var(--radius);padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.option-row{display:flex;align-items:center;justify-content:space-between}.option-label{font-size:.9rem;color:var(--text-muted)}.toggle-label{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0}.toggle-label input{opacity:0;width:0;height:0;position:absolute}.toggle-switch{position:absolute;top:0;right:0;bottom:0;left:0;background:#333;border-radius:24px;cursor:pointer;transition:background .2s}.toggle-switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .2s}.toggle-label input:checked+.toggle-switch{background:var(--yellow)}.toggle-label input:checked+.toggle-switch:after{transform:translate(20px)}.style-selector{display:flex;gap:.5rem}.style-btn{background:transparent;border:1.5px solid #333;color:var(--text-muted);font-size:.8rem;padding:.35rem .75rem;border-radius:20px;cursor:pointer;transition:border-color .2s,color .2s}.style-btn:hover{border-color:#555;color:var(--text)}.style-btn.active{border-color:var(--yellow);color:var(--yellow)}.progress-container{margin-top:1rem;background:#222;border-radius:6px;overflow:hidden;height:6px}.progress-bar{height:100%;width:0%;background:var(--yellow);transition:width .2s ease}.btn{display:inline-block;padding:.85rem 2rem;font-size:1rem;font-weight:600;border:none;border-radius:var(--radius);cursor:pointer;text-decoration:none;text-align:center;transition:background .2s,opacity .2s}.btn-primary{background:var(--yellow);color:#000;width:100%;margin-top:1.5rem;box-shadow:0 0 20px #ffe13526}.btn-primary:hover:not(:disabled){background:var(--yellow-dark);box-shadow:0 0 30px #ffe1354d}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.btn-secondary{background:var(--surface);color:var(--text);margin-top:1rem}.btn-secondary:hover{background:var(--surface-hover)}.btn-download{background:var(--yellow);color:#000;font-size:1.1rem;padding:1rem 2.5rem}.btn-download:hover{background:var(--yellow-dark)}.error-text{color:var(--error);font-size:.9rem;margin-top:.75rem}.status-section{text-align:center;padding-top:2rem}.spinner{width:48px;height:48px;border:4px solid #333;border-top-color:var(--yellow);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1.5rem}@keyframes spin{to{transform:rotate(360deg)}}.status-text{font-size:1.1rem;color:var(--text-muted);margin-bottom:1.5rem}.hidden{display:none!important}.footer{margin-top:auto;padding:2rem 0 1.5rem;text-align:center;font-size:.8rem;color:var(--text-muted)}.lang-option{cursor:pointer}.lang-option:hover{color:var(--text)}.lang-option.active{color:var(--yellow);cursor:default}.lang-sep{margin:0 .4rem}@media(max-width:600px){.container{padding:1.5rem 1rem}header h1{font-size:1.6rem}}
