*{margin:0;padding:0;box-sizing:border-box}:root{--primary:#6366f1;--primary-light:#818cf8;--primary-dark:#4f46e5;--accent:#06b6d4;--bg-primary:#0a0a0f;--bg-secondary:#141419;--bg-tertiary:#1a1a24;--text-primary:#fff;--text-secondary:#a1a1aa;--text-tertiary:#71717a;--border:hsla(0,0%,100%,.08);--border-hover:hsla(0,0%,100%,.15);--glass-bg:rgba(20,20,25,.6);--glass-border:hsla(0,0%,100%,.1);--shadow-sm:0 2px 8px rgba(0,0,0,.3);--shadow-md:0 4px 16px rgba(0,0,0,.4);--shadow-lg:0 8px 32px rgba(0,0,0,.5);--shadow-glow:0 0 24px rgba(99,102,241,.3)}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#000;min-height:100vh;color:var(--text-primary);position:relative;overflow-x:hidden;letter-spacing:-.01em}body:before{top:0;left:0;width:100%;height:100%;background:repeating-linear-gradient(0deg,hsla(0,0%,100%,.01),transparent 1px,transparent 40px,hsla(0,0%,100%,.01) 41px),repeating-linear-gradient(90deg,hsla(0,0%,100%,.01),transparent 1px,transparent 40px,hsla(0,0%,100%,.01) 41px);opacity:.5}body:after,body:before{content:"";position:fixed;pointer-events:none;z-index:0}body:after{top:50%;left:50%;transform:translate(-50%,-50%);width:600px;height:600px;background:transparent}.container{max-width:1400px;margin:0 auto;padding:60px 24px;position:relative;z-index:1}.card{background:var(--glass-bg);backdrop-filter:blur(40px) saturate(180%);-webkit-backdrop-filter:blur(40px) saturate(180%);border-radius:32px;padding:48px;box-shadow:var(--shadow-lg);margin-bottom:32px;border:1px solid var(--glass-border);transition:all .3s cubic-bezier(.4,0,.2,1)}.card:hover{border-color:var(--border-hover);box-shadow:var(--shadow-lg),var(--shadow-glow)}.btn{padding:12px 24px;border:none;border-radius:12px;font-size:.875rem;font-weight:500;cursor:pointer;background:linear-gradient(135deg,var(--primary) 0,var(--primary-dark) 100%);color:#fff;box-shadow:var(--shadow-md);position:relative;overflow:hidden;letter-spacing:-.01em;transition:all .2s cubic-bezier(.4,0,.2,1);border:1px solid hsla(0,0%,100%,.1)}.btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);transition:left .5s}.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg),var(--shadow-glow)}.btn:hover:before{left:100%}.btn:active{transform:translateY(0)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn:disabled,.btn:disabled:hover{transform:none;box-shadow:var(--shadow-sm)}.btn:disabled:before{display:none}.input{width:100%;padding:14px 18px;border:1px solid var(--border);border-radius:12px;font-size:.9375rem;outline:none;transition:all .2s cubic-bezier(.4,0,.2,1);background:var(--bg-secondary);color:var(--text-primary);font-weight:400;letter-spacing:-.01em}.input:hover{border-color:var(--border-hover)}.input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1);background:var(--bg-tertiary)}.input::placeholder{color:var(--text-tertiary)}.loading{display:flex;justify-content:center;align-items:center;padding:80px}.spinner{width:48px;height:48px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s cubic-bezier(.4,0,.2,1) infinite;box-shadow:var(--shadow-glow)}@keyframes spin{to{transform:rotate(1turn)}}@keyframes pulse{0%,to{transform:translate(-50%,-50%) scale(1);opacity:.15}50%{transform:translate(-50%,-50%) scale(1.1);opacity:.2}}@keyframes fadeIn{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.card{animation:fadeIn .5s cubic-bezier(.4,0,.2,1)}.upload-zone{border:2px dashed var(--border);border-radius:20px;padding:48px 24px;text-align:center;cursor:pointer;background:var(--bg-secondary);transition:all .3s cubic-bezier(.4,0,.2,1)}.upload-zone:hover{border-color:var(--border-hover);background:var(--bg-tertiary)}.upload-zone.dragover{border-color:var(--primary);background:rgba(99,102,241,.1);transform:scale(1.01);box-shadow:var(--shadow-glow)}.popular-manga-card,.reading-library-card{animation:fadeInUp .6s ease-out backwards}.popular-manga-card:first-child{animation-delay:.05s}.popular-manga-card:nth-child(2){animation-delay:.1s}.popular-manga-card:nth-child(3){animation-delay:.15s}.popular-manga-card:nth-child(4){animation-delay:.2s}.popular-manga-card:nth-child(5){animation-delay:.25s}.popular-manga-card:nth-child(6){animation-delay:.3s}.popular-manga-card:nth-child(7){animation-delay:.35s}.popular-manga-card:nth-child(8){animation-delay:.4s}.popular-manga-card:nth-child(9){animation-delay:.45s}.popular-manga-card:nth-child(10){animation-delay:.5s}.popular-manga-card:nth-child(11){animation-delay:.55s}.popular-manga-card:nth-child(12){animation-delay:.6s}.popular-manga-card:nth-child(13){animation-delay:.65s}.popular-manga-card:nth-child(14){animation-delay:.7s}.popular-manga-card:nth-child(15){animation-delay:.75s}.popular-manga-card:nth-child(16){animation-delay:.8s}.popular-manga-card:nth-child(17){animation-delay:.85s}.popular-manga-card:nth-child(18){animation-delay:.9s}.popular-manga-card:nth-child(19){animation-delay:.95s}.popular-manga-card:nth-child(20){animation-delay:1s}.reading-library-card:first-child{animation-delay:.05s}.reading-library-card:nth-child(2){animation-delay:.1s}.reading-library-card:nth-child(3){animation-delay:.15s}.reading-library-card:nth-child(4){animation-delay:.2s}.reading-library-card:nth-child(5){animation-delay:.25s}.reading-library-card:nth-child(6){animation-delay:.3s}.reading-library-card:nth-child(7){animation-delay:.35s}.reading-library-card:nth-child(8){animation-delay:.4s}.reading-library-card:nth-child(9){animation-delay:.45s}.reading-library-card:nth-child(10){animation-delay:.5s}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes heartbeat{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.favorite-active{animation:heartbeat .4s cubic-bezier(.4,0,.2,1)}.progress-bar-container{background:var(--bg-secondary);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.3);border:1px solid var(--border)}.progress-bar-fill{background:linear-gradient(90deg,var(--primary),var(--primary-light),var(--accent));box-shadow:var(--shadow-glow);transition:width .6s cubic-bezier(.4,0,.2,1);border-radius:12px}@media (max-width:768px){.container{padding:32px 16px}.card{padding:24px;border-radius:24px}.btn{padding:12px 20px;font-size:.875rem;width:100%}.input{padding:12px 16px;font-size:.9375rem}.upload-zone{padding:32px 16px}h1{font-size:1.75rem!important;padding:24px!important}h2{font-size:1.25rem!important}h3{font-size:1.125rem!important}}@media (max-width:480px){.container{padding:15px 10px}.card{padding:15px;border-radius:12px}h1{font-size:1.6em!important;padding:15px!important;letter-spacing:.5px!important}.btn{padding:10px 16px;font-size:.8em}}@media (hover:none) and (pointer:coarse){.btn,.input{min-height:44px}.input{font-size:16px}}@media (max-width:896px) and (orientation:landscape){.container{padding:15px}h1{font-size:1.8em!important;padding:15px!important}}@media (max-width:768px){div[style*=gridTemplateColumns]{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}div[style*="gridTemplateColumns: 200px 1fr"]{grid-template-columns:1fr!important;gap:20px!important}}@media (max-width:480px){div[style*=gridTemplateColumns]{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))!important;gap:15px!important}}