:root{--bg-primary:#0a0a0f;--bg-card:#13131a;--bg-input:#1a1a24;--border-card:#1e1e2a;--border-input:#333;--accent:#00d4ff;--accent-hover:#00b8d9;--accent-purple:#7b2ff7;--gradient:linear-gradient(135deg, #7b2ff7, #00d4ff);--text-primary:#e0e0e0;--text-heading:#fff;--text-secondary:#888;--text-tertiary:#666;--font-body:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;--font-mono:"Courier New", Courier, monospace}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--font-body);background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;line-height:1.6}.nav{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-card);background:#0a0a0fcc;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:fixed;top:0;left:0;right:0}.nav-brand{font-family:var(--font-mono);color:var(--text-heading);cursor:pointer;background:var(--gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:1.1rem;font-weight:700}.nav-links{align-items:center;gap:.5rem;display:flex}.nav-links button{color:var(--text-secondary);font-family:var(--font-body);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.4rem .8rem;font-size:.9rem;transition:color .2s,background .2s}.nav-links button:hover{color:var(--accent);background:#00d4ff14}.nav-btn{background:var(--accent);color:var(--bg-primary);border-radius:6px;margin-left:.5rem;padding:.4rem 1rem;font-size:.85rem;font-weight:600;text-decoration:none;transition:background .2s;display:inline-block}.nav-btn:hover{background:var(--accent-hover)}.nav-user{align-items:center;gap:.5rem;display:flex}.editing-badge{color:var(--accent);border:1px solid var(--accent);border-radius:4px;padding:.2rem .5rem;font-size:.75rem}.hero{text-align:center;justify-content:center;align-items:center;min-height:100vh;padding:6rem 2rem 4rem;display:flex;position:relative;overflow:hidden}.hero:before{content:"";pointer-events:none;background:radial-gradient(circle,#7b2ff726,#00d4ff0d,#0000 70%);border-radius:50%;width:600px;height:600px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hero-content{z-index:1;position:relative}.hero-title{font-family:var(--font-mono);background:var(--gradient);-webkit-text-fill-color:transparent;letter-spacing:-1px;-webkit-background-clip:text;background-clip:text;margin-bottom:1rem;font-size:4rem;font-weight:700}.hero-subtitle{color:var(--text-secondary);margin-bottom:2rem;font-size:1.3rem}.hero-cta button{background:var(--gradient);color:var(--text-heading);cursor:pointer;border:none;border-radius:8px;padding:.8rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s,box-shadow .2s}.hero-cta button:hover{transform:translateY(-2px);box-shadow:0 4px 20px #7b2ff74d}.section{max-width:1000px;margin:0 auto;padding:5rem 2rem}.section-title{font-family:var(--font-mono);color:var(--text-heading);margin-bottom:2.5rem;font-size:2rem;display:inline-block;position:relative}.section-title:after{content:"";background:var(--gradient);border-radius:2px;width:100%;height:3px;position:absolute;bottom:-8px;left:0}.projects-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem;display:grid}.project-card{background:var(--bg-card);border:1px solid var(--border-card);border-radius:12px;padding:1.5rem;transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden}.project-card:before{content:"";background:var(--gradient);height:3px;position:absolute;top:0;left:0;right:0}.project-card:hover{transform:translateY(-4px);box-shadow:0 4px 20px #00d4ff1a}.project-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:.8rem;display:flex}.project-card-header h3{color:var(--text-heading);font-size:1.2rem}.project-desc{color:var(--text-secondary);margin-bottom:1rem;font-size:.9rem}.project-tags{flex-wrap:wrap;gap:.4rem;margin-bottom:1rem;display:flex}.tag{color:var(--accent);background:#7b2ff726;border:1px solid #7b2ff74d;border-radius:4px;padding:.2rem .6rem;font-size:.75rem}.project-links{gap:1rem;display:flex}.project-links a{color:var(--accent);font-size:.85rem;text-decoration:none;transition:color .2s}.project-links a:hover{color:var(--accent-hover)}.project-actions{gap:.3rem;display:flex}.about-content{max-width:700px}.about-text{color:var(--text-primary);white-space:pre-wrap;font-size:1.05rem;line-height:1.8}.resume-content{text-align:center}.resume-viewer{border:1px solid var(--border-card);border-radius:12px;margin-bottom:1.5rem;overflow:hidden}.resume-viewer iframe{background:var(--bg-card);border:none;width:100%;height:600px}.download-btn{background:var(--gradient);color:var(--text-heading);border-radius:8px;margin-bottom:1.5rem;padding:.7rem 1.5rem;font-weight:600;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-block}.download-btn:hover{transform:translateY(-2px);box-shadow:0 4px 20px #7b2ff74d}.placeholder-text{color:var(--text-tertiary);padding:3rem 0;font-style:italic}.resume-edit{margin-top:1rem}.resume-url-form{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.resume-url-form input{width:300px}.contact-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;display:grid}.contact-item{background:var(--bg-card);border:1px solid var(--border-card);text-align:center;border-radius:12px;padding:1.5rem;transition:transform .2s,box-shadow .2s}.contact-item:hover{transform:translateY(-2px);box-shadow:0 4px 20px #00d4ff1a}.contact-item.dragging{opacity:.5}.contact-item-header{justify-content:center;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.contact-actions{gap:.25rem;display:flex}.contact-label{font-family:var(--font-mono);color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;font-size:.85rem}.contact-link{color:var(--accent);word-break:break-all;font-size:.95rem;text-decoration:none}.contact-form{background:var(--bg-card);border:1px solid var(--border-card);border-radius:12px;flex-direction:column;gap:.75rem;max-width:500px;margin-top:1.5rem;padding:1.5rem;display:flex}.contact-form h3{color:var(--text-heading);margin:0 0 .5rem}.contact-form input{background:var(--bg-input);border:1px solid var(--border-card);color:var(--text-primary);border-radius:8px;padding:.6rem .8rem;font-size:.9rem}.contact-form input:focus{border-color:var(--accent);outline:none}.editable{cursor:pointer;border-radius:4px;transition:outline .2s;position:relative}.editable:hover{outline:1px dashed var(--accent);outline-offset:4px}.editable-input,.editable-textarea{background:var(--bg-input);border:1px solid var(--accent);width:100%;color:var(--text-primary);font-family:var(--font-body);font-size:inherit;border-radius:6px;outline:none;padding:.5rem}.editable-textarea{resize:vertical;min-height:120px;line-height:1.8}.add-btn{border:1px dashed var(--border-input);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:8px;padding:.6rem 1.5rem;font-size:.9rem;transition:border-color .2s,color .2s;display:inline-block}.add-btn:hover{border-color:var(--accent);color:var(--accent)}.icon-btn{border:1px solid var(--border-input);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:4px;padding:.3rem .6rem;font-size:.85rem;transition:border-color .2s,color .2s}.icon-btn:hover{border-color:var(--accent);color:var(--accent)}.icon-btn.danger:hover{color:#f44;border-color:#f44}.cancel-btn{border:1px solid var(--border-input);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:6px;padding:.5rem 1rem;transition:border-color .2s,color .2s}.cancel-btn:hover{border-color:var(--text-primary);color:var(--text-primary)}.project-form{background:var(--bg-card);border:1px solid var(--border-card);border-radius:12px;margin-top:1.5rem;padding:1.5rem}.project-form h3{color:var(--text-heading);margin-bottom:1rem;font-size:1.1rem}.project-form input,.project-form textarea{background:var(--bg-input);border:1px solid var(--border-input);width:100%;color:var(--text-primary);font-family:var(--font-body);border-radius:6px;outline:none;margin-bottom:.8rem;padding:.6rem;font-size:.9rem;transition:border-color .2s}.project-form input:focus,.project-form textarea:focus{border-color:var(--accent)}.form-actions{gap:.5rem;display:flex}.form-actions button[type=submit]{background:var(--accent);color:var(--bg-primary);cursor:pointer;border:none;border-radius:6px;padding:.5rem 1.5rem;font-weight:600;transition:background .2s}.form-actions button[type=submit]:hover{background:var(--accent-hover)}.footer{text-align:center;border-top:1px solid var(--border-card);color:var(--text-tertiary);padding:2rem;font-size:.85rem}.section{opacity:0;transition:opacity .6s ease-out,transform .6s ease-out;transform:translateY(30px)}.section.visible{opacity:1;transform:translateY(0)}.drag-handle{cursor:grab;color:var(--text-tertiary);-webkit-user-select:none;user-select:none;flex-shrink:0;padding:.2rem .4rem;font-size:1rem;transition:color .2s}.drag-handle:hover{color:var(--accent)}.drag-handle:active{cursor:grabbing}.project-card.dragging{box-shadow:0 8px 32px #7b2ff74d}.custom-section-header{align-items:flex-start;gap:.8rem;margin-bottom:2.5rem;display:flex}.reorder-overlay{z-index:200;background:#0009;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.reorder-panel{background:var(--bg-card);border:1px solid var(--border-card);border-radius:12px;width:100%;max-width:420px;max-height:80vh;padding:1.5rem;overflow-y:auto}.reorder-panel-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.reorder-panel-header h3{color:var(--text-heading);font-size:1.1rem}.reorder-list{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.reorder-item{background:var(--bg-input);border:1px solid var(--border-input);cursor:default;border-radius:8px;align-items:center;gap:.8rem;padding:.6rem .8rem;display:flex}.reorder-item-title{color:var(--text-primary);flex:1;font-size:.9rem}.reorder-item-type{color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.5px;font-size:.7rem}.reorder-panel-actions{gap:.5rem;margin-bottom:1rem;display:flex}.reorder-panel-actions button:first-child{background:var(--accent);color:var(--bg-primary);cursor:pointer;border:none;border-radius:6px;padding:.5rem 1.5rem;font-weight:600;transition:background .2s}.reorder-panel-actions button:first-child:hover{background:var(--accent-hover)}.reorder-panel-actions button:first-child:disabled{opacity:.6;cursor:not-allowed}.reorder-divider{border:none;border-top:1px solid var(--border-card);margin:1rem 0}.add-section-form{flex-direction:column;gap:.6rem;display:flex}.add-section-form input,.add-section-form textarea{background:var(--bg-input);border:1px solid var(--border-input);width:100%;color:var(--text-primary);font-family:var(--font-body);border-radius:6px;outline:none;padding:.6rem;font-size:.9rem;transition:border-color .2s}.add-section-form input:focus,.add-section-form textarea:focus{border-color:var(--accent)}.upload-zone{border:2px dashed var(--border-input);text-align:center;color:var(--text-secondary);cursor:pointer;border-radius:12px;max-width:400px;margin:1rem auto;padding:2rem;transition:border-color .2s,background .2s}.upload-zone:hover,.upload-zone.drag-over{border-color:var(--accent);background:#00d4ff0d}.upload-icon{margin-bottom:.5rem;font-size:2rem}.url-fallback-btn{color:var(--text-tertiary);cursor:pointer;background:0 0;border:none;padding:.3rem;font-size:.8rem;text-decoration:underline;transition:color .2s}.url-fallback-btn:hover{color:var(--accent)}.hero-image{justify-content:center;margin-bottom:2rem;display:flex}.hero-image img{object-fit:cover;border-radius:12px}.hero-image-portrait img{width:auto;max-width:100%;max-height:400px}.hero-image-landscape img{max-width:100%;height:auto;max-height:350px}.hero-image-circle img{object-fit:cover;border-radius:50%;width:250px;height:250px}.hero-upload-controls{flex-direction:column;align-items:center;gap:.8rem;margin-top:1.5rem;display:flex}.display-mode-picker{gap:1rem;display:flex}.display-mode-picker label{color:var(--text-secondary);cursor:pointer;align-items:center;gap:.3rem;font-size:.85rem;display:flex}.display-mode-picker input[type=radio]{accent-color:var(--accent)}.mail-link{text-decoration:none;position:relative}.unread-badge{color:#fff;background:#f44;border-radius:10px;padding:.1rem .35rem;font-size:.65rem;font-weight:700;line-height:1;position:absolute;top:-6px;right:-8px}.crop-modal-overlay{z-index:1000;background:#000000d9;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.crop-modal{background:var(--bg-card);border:1px solid var(--border-card);border-radius:12px;width:100%;max-width:600px;padding:1.5rem}.crop-container{border-radius:8px;width:100%;height:400px;position:relative;overflow:hidden}.crop-controls{color:var(--text-secondary);align-items:center;gap:.75rem;margin-top:1rem;font-size:.85rem;display:flex}.crop-zoom-slider{accent-color:var(--accent);flex:1}.crop-actions{justify-content:flex-end;gap:.75rem;margin-top:1rem;display:flex}@media (width<=768px){.nav{padding:.8rem 1rem}.nav-links button{display:none}.hero-title{font-size:2.5rem}.hero-subtitle{font-size:1rem}.section{padding:3rem 1.5rem}.projects-grid{grid-template-columns:1fr}.resume-viewer iframe{height:400px}.hero-image-portrait img{max-height:280px}.hero-image-circle img{width:180px;height:180px}}@media (width<=480px){.hero-title{font-size:2rem}.contact-grid{grid-template-columns:1fr}}
