:root{--font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--bg-primary: #ffffff;--bg-secondary: #f8fafc;--bg-tertiary: #f1f5f9;--text-primary: #1e293b;--text-secondary: #64748b;--text-muted: #94a3b8;--border: #e2e8f0;--border-hover: #cbd5e1;--accent: #3b82f6;--accent-hover: #2563eb;--success: #10b981;--warning: #f59e0b;--error: #ef4444;--glass: rgba(255, 255, 255, .8);--shadow: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 20px 25px -5px rgb(0 0 0 / .1);--gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%)}body.dark-theme{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-tertiary: #334155;--text-primary: #f8fafc;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--border: #334155;--border-hover: #475569;--accent: #60a5fa;--accent-hover: #3b82f6;--success: #34d399;--warning: #fbbf24;--error: #f87171;--glass: rgba(15, 23, 42, .8);--shadow: 0 4px 6px -1px rgb(0 0 0 / .3);--shadow-lg: 0 20px 25px -5px rgb(0 0 0 / .4);--gradient: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-family);font-weight:400;line-height:1.6;color:var(--text-primary);background-color:var(--bg-primary);transition:all .3s cubic-bezier(.4,0,.2,1);min-height:100vh;overflow-x:hidden}.gradient-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--gradient);opacity:.03;z-index:-1}body.dark-theme .gradient-bg{opacity:.1}.container{max-width:1400px;margin:0 auto;padding:0 1.5rem}.header{position:sticky;top:0;z-index:1000;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background-color:var(--glass);border-bottom:1px solid var(--border);padding:.5rem 0}.header-content{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem}.nav-left{display:flex;align-items:center;gap:1rem}.logo{display:flex;flex-direction:column;gap:.125rem}.logo-link{text-decoration:none;color:inherit}.logo h1{font-size:1.25rem;font-weight:800;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}.logo-sub{font-size:.65rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em}.nav-center{justify-self:center}.nav{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.nav a{text-decoration:none;font-size:.9rem;color:var(--text-secondary);padding:.5rem .75rem;border-radius:.5rem;transition:all .2s ease;border:1px solid transparent}.nav a:hover{color:var(--text-primary);border-color:var(--border);background-color:var(--bg-secondary)}.nav a.active{color:var(--accent);border-color:var(--accent);background-color:transparent}.header-controls{display:flex;align-items:center;gap:.5rem}.support-pill{display:inline-flex;align-items:center;gap:.5rem;border:1px solid var(--border);background-color:var(--bg-secondary);color:var(--text-primary);border-radius:.75rem;padding:.4rem .6rem;position:relative}.support-pill .gamepad{width:18px;height:18px;color:var(--accent)}.support-id{font-weight:700;letter-spacing:.02em;color:var(--accent);font-size:.85rem}.copy-btn-compact{border:1px solid var(--border);background:var(--bg-primary);color:var(--accent);border-radius:.5rem;padding:.3rem .4rem;cursor:pointer;transition:background .2s ease,transform .1s ease}.copy-btn-compact:hover{background:var(--bg-tertiary);transform:translateY(-1px)}.theme-btn{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border:1px solid var(--border);border-radius:.6rem;background-color:var(--bg-secondary);color:var(--text-primary);cursor:pointer;transition:all .2s ease}.theme-btn:hover{background-color:var(--bg-tertiary);border-color:var(--border-hover)}.hamburger{display:none;width:2.25rem;height:2.25rem;border:1px solid var(--border);border-radius:.6rem;background-color:var(--bg-secondary);color:var(--text-primary);cursor:pointer}.hamburger svg{width:20px;height:20px}.mobile-menu{display:none;padding:.75rem 0}.mobile-menu.show{display:block;animation:fadeIn .2s ease-out}.mobile-menu .nav{flex-direction:column;align-items:stretch}.support-dropdown{border:1px solid var(--border);background-color:var(--bg-secondary);border-radius:.75rem;padding:.75rem}.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-secondary)}.breadcrumb-link{color:var(--text-secondary);text-decoration:none;transition:color .2s ease}.breadcrumb-link:hover{color:var(--accent)}.breadcrumb-separator{color:var(--text-muted);font-weight:300}.breadcrumb-current{color:var(--accent);font-weight:600}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:.75rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease;text-decoration:none}.btn-primary{background:var(--gradient);color:#fff;box-shadow:0 4px 15px #667eea4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.btn-secondary{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover{background-color:var(--bg-tertiary);border-color:var(--accent)}.btn-icon{width:20px;height:20px}.card{background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;padding:1.5rem;transition:all .3s ease;position:relative}.card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.card-title{display:flex;align-items:center;gap:.75rem;font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-label{font-size:.875rem;font-weight:500;color:var(--text-primary)}.form-input{width:100%;padding:.75rem;border:1px solid var(--border);border-radius:.75rem;background-color:var(--bg-primary);color:var(--text-primary);font-size:.875rem;transition:all .2s ease}.form-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.form-input::placeholder{color:var(--text-muted)}.error{border-color:var(--error)!important;animation:shake .5s ease-in-out}.error-message{display:flex;align-items:center;gap:.75rem;padding:1rem;background-color:#ef44441a;border:1px solid var(--error);border-radius:.75rem;color:var(--error);font-size:.875rem;margin-bottom:1rem}.success-message{display:flex;align-items:center;gap:.75rem;padding:1rem;background-color:#10b9811a;border:1px solid var(--success);border-radius:.75rem;color:var(--success);font-size:.875rem;margin-bottom:1rem}.language-selector{position:relative}.language-btn,.theme-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid var(--border);border-radius:.75rem;background-color:var(--bg-secondary);color:var(--text-primary);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s ease}.language-btn:hover,.theme-btn:hover{border-color:var(--border-hover);background-color:var(--bg-tertiary)}.language-dropdown{position:absolute;top:100%;right:0;z-index:2000;margin-top:.5rem;background-color:var(--bg-primary);border:1px solid var(--border);border-radius:.75rem;box-shadow:var(--shadow-lg);min-width:200px;display:none}.language-dropdown.show{display:block;animation:dropdownSlideIn .2s ease-out}.language-dropdown-item{padding:.75rem 1rem;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:space-between;font-size:.875rem}.language-dropdown-item:first-child{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.language-dropdown-item:last-child{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.language-dropdown-item:hover{background-color:var(--bg-secondary)}.language-dropdown-item.active{background-color:var(--bg-tertiary);color:var(--accent);font-weight:600}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.main{padding:2rem 0}.hero{position:relative;padding:4rem 0;text-align:center;margin-bottom:3rem;overflow:hidden}.hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient);opacity:.05;z-index:-1}body.dark-theme .hero:before{opacity:.15}.hero-content{max-width:800px;margin:0 auto}.hero-title{font-size:2.5rem;font-weight:800;margin-bottom:1rem;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}.hero-subtitle{font-size:1.125rem;color:var(--text-secondary);margin-bottom:2rem}.calculators{margin-bottom:4rem}.calculator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:1200px;margin:0 auto}.calculator-card{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;transition:all .3s ease;text-decoration:none;color:inherit;position:relative;overflow:hidden}.calculator-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient);opacity:0;transition:opacity .3s ease}.calculator-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--accent)}.calculator-card.active:hover:before{opacity:.05}.calculator-card.inactive{opacity:.6;cursor:not-allowed}.calculator-card.inactive:hover{transform:none;box-shadow:none;border-color:var(--border)}.card-icon{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:1rem;background:var(--gradient);color:#fff;flex-shrink:0;position:relative;z-index:1;margin:0 auto}.card-icon svg{width:2rem;height:2rem}.card-content{flex:1;position:relative;z-index:1;text-align:center}.card-title{font-size:1.25rem;font-weight:700;margin-bottom:.5rem;color:var(--text-primary)}.card-description{font-size:.875rem;color:var(--text-secondary);line-height:1.6;margin-bottom:1rem}.card-status{font-size:.875rem;padding:.375rem 1rem;border-radius:.5rem;font-weight:500;display:inline-block}.card-status.available{background-color:#10b98126;color:var(--success);border:1px solid var(--success)}.card-status.coming-soon{background-color:#f59e0b1a;color:var(--warning)}.card-arrow{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.75rem;background-color:var(--bg-tertiary);color:var(--text-secondary);transition:all .3s ease;position:relative;z-index:1;margin:0 auto}.card-arrow svg{width:1.25rem;height:1.25rem}.calculator-card:hover .card-arrow{background-color:var(--accent);color:#fff;transform:translateY(-.25rem)}.calculator-card.inactive .card-arrow{background-color:var(--bg-tertiary);color:var(--text-muted)}.calculator-card.inactive:hover .card-arrow{background-color:var(--bg-tertiary);color:var(--text-muted);transform:none}.support{max-width:900px;margin:0 auto}.support-card{background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1.25rem;padding:2.5rem;position:relative;overflow:hidden;text-align:center}.support-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--gradient);opacity:.05}body.dark-theme .support-card:before{opacity:.1}.support-content{position:relative;z-index:1}.support-header{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-bottom:1.5rem}.support-icon{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:1rem;background:var(--gradient);color:#fff;box-shadow:var(--shadow-lg)}.support-header h3{font-size:1.75rem;font-weight:700;color:var(--text-primary)}.support-content p{color:var(--text-secondary);margin-bottom:2rem;line-height:1.7;font-size:1rem;max-width:600px;margin-left:auto;margin-right:auto}.game-id-container{display:flex;flex-direction:column;gap:1rem;max-width:400px;margin:0 auto}.game-id-label{font-size:.875rem;font-weight:600;color:var(--text-primary);text-transform:uppercase;letter-spacing:.05em}.game-id-display{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1.25rem 1.5rem;background-color:var(--bg-primary);border:2px solid var(--border);border-radius:.75rem;transition:all .2s ease}.game-id-display:hover{border-color:var(--accent)}.game-id-text{font-size:1.5rem;font-weight:700;color:var(--accent);font-family:Courier New,monospace;letter-spacing:.1em}.copy-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:.5rem;color:var(--accent);cursor:pointer;transition:all .2s ease;flex-shrink:0}.copy-btn:hover{background-color:var(--bg-tertiary);border-color:var(--accent);transform:scale(1.05)}.copy-btn svg{width:1.25rem;height:1.25rem}@media (max-width: 768px){.hero-title{font-size:2rem}.hero-subtitle{font-size:1rem}.calculator-grid{grid-template-columns:1fr}.calculator-card{padding:1.25rem}.card-icon{width:3rem;height:3rem}.card-icon svg{width:1.5rem;height:1.5rem}.support-card{padding:1.5rem}.support-header{flex-direction:column;text-align:center}.support-header h3{font-size:1.25rem}.game-id-display{flex-direction:column;align-items:stretch;text-align:center}.copy-btn{width:100%}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.calculator-layout{display:grid;grid-template-columns:1fr 380px;gap:2rem;max-width:1400px;margin:0 auto;padding:0 1rem}.sidebar{position:sticky;top:2rem;height:fit-content;display:flex;flex-direction:column;gap:1.5rem}.main-content{min-width:0}.page-header{text-align:center;margin-bottom:3rem}.page-title{font-size:2rem;font-weight:700;margin-bottom:.5rem;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-subtitle{font-size:1rem;color:var(--text-secondary);font-weight:500}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.material-info{display:flex;align-items:center;gap:.75rem;flex:1}.material-icon{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;flex-shrink:0}.material-icon img{width:100%;height:100%;object-fit:contain}.material-name{font-weight:500;font-size:.875rem;color:var(--text-primary)}.gear-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem}.gear-card{background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;padding:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;z-index:1}.gear-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);z-index:2;border-color:var(--border-hover)}.gear-header{margin-bottom:1rem}.gear-title{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.gear-checkbox{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:var(--accent)}.gear-controls{display:flex;flex-direction:column;gap:0}.charm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1.5rem}.charm-card{background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;padding:1.25rem;transition:all .3s ease}.charm-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:var(--border-hover)}.charm-header{margin-bottom:1rem}.calculate-btn{width:100%;padding:1rem 1.5rem;font-size:1rem;font-weight:600;box-shadow:0 4px 15px #667eea4d}.calculate-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.results-container{background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;padding:1.5rem}.results-header{text-align:center;margin-bottom:1.5rem}.results-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.results-subtitle{font-size:.875rem;color:var(--text-secondary);font-weight:500}.results-grid{display:grid;grid-template-columns:1fr;gap:1rem}.result-card{background-color:var(--bg-primary);border:1px solid var(--border);border-radius:.75rem;padding:1rem;transition:all .2s ease}.result-card:hover{border-color:var(--border-hover);transform:translateY(-1px)}.result-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.result-card-title{font-size:.875rem;font-weight:600;color:var(--text-primary);margin:0}.result-needed{display:flex;align-items:center;gap:1rem}.result-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;flex-shrink:0;background-color:var(--bg-tertiary)}.result-icon img{width:28px;height:28px;object-fit:contain}.result-info{flex:1;min-width:0}.result-amount{font-size:1rem;font-weight:600;margin-bottom:.25rem}.result-amount.sufficient{color:var(--success)}.result-amount.insufficient{color:var(--error)}.result-status{font-size:.75rem;color:var(--text-secondary);font-weight:500}.svs-points-card{background:linear-gradient(135deg,#667eea1a,#764ba21a);border:1px solid var(--accent)}.svs-points-card .result-card-title{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700}.svs-points-card .result-amount{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:1.25rem;font-weight:700}.hero-tools{margin-bottom:3rem}.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}.tool-card{display:flex;align-items:center;gap:1.5rem;padding:1.5rem;background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:1rem;transition:all .3s ease;text-decoration:none;color:inherit}.tool-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:var(--accent)}.tool-icon{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;background:var(--gradient);color:#fff;flex-shrink:0}.tool-icon svg{width:1.5rem;height:1.5rem}.tool-content{flex:1}.tool-title{font-size:1.125rem;font-weight:600;margin-bottom:.25rem;color:var(--text-primary)}.tool-description{font-size:.875rem;color:var(--text-secondary);margin-bottom:.5rem}.tool-status{font-size:.75rem;padding:.25rem .75rem;border-radius:.5rem;font-weight:500;display:inline-block}.tool-status.available{background-color:#10b9811a;color:var(--success)}.tool-arrow{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.5rem;background-color:var(--bg-tertiary);color:var(--text-secondary);transition:all .3s ease;opacity:.7}.tool-arrow svg{width:1.25rem;height:1.25rem}.tool-card:hover .tool-arrow{opacity:1;transform:translate(.25rem);background-color:var(--accent);color:#fff}.tool-card:hover .tool-arrow .calculator-grid{grid-template-columns:1fr;gap:1.5rem}.tool-card:hover .tool-arrow .support-card{padding:1.5rem}.tool-card:hover .tool-arrow .game-id-text{font-size:1.25rem}.tool-card:hover .tool-arrow .support-header h3{font-size:1.5rem}@media (max-width: 1200px){.calculator-layout{grid-template-columns:300px 1fr}}@media (max-width: 1024px){.calculator-layout{grid-template-columns:1fr;gap:1.5rem}.sidebar{position:static;order:-1}.main-content{order:2}.gear-grid,.charm-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.page-title{font-size:1.75rem}.gear-grid,.charm-grid,.grid-2,.tools-grid{grid-template-columns:1fr}}@media (max-width: 640px){.page-title{font-size:1.5rem}.calculator-layout{gap:1rem;padding:0 .75rem}}@media (max-width: 480px){.main{padding:1rem 0}.inventory-item{flex-direction:column;align-items:stretch;text-align:center;gap:.75rem;padding:.75rem}.inventory-item .form-input{width:100%;max-width:120px;margin:0 auto}.results-container{padding:1rem}}.desktop-nav{display:flex;flex:1;justify-content:center;max-width:800px}@media (max-width: 960px){.nav-center{display:none}.hamburger{display:flex!important;align-items:center;justify-content:center}}@keyframes cardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.calculator-card:hover{animation:cardFloat .6s ease-in-out}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html{scroll-behavior:smooth}@media (max-width: 768px){.support-pill{display:none}.logo h1{font-size:1rem}.logo-sub{font-size:.6rem}.mobile-menu .nav{flex-direction:column;align-items:stretch;gap:.5rem}.mobile-menu .nav a{width:100%;text-align:left;padding:.75rem 1rem}}@media (max-width: 480px){.header-content{gap:.5rem}.theme-btn,.hamburger{width:2rem;height:2rem}.hamburger svg{width:18px;height:18px}.logo h1{font-size:.9rem}.logo-sub{font-size:.55rem}}.xp-slider{width:100%;height:8px;border-radius:6px;background:linear-gradient(to right,#3b82f633,#3b82f64d,#3b82f633);outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;border:1px solid rgba(59,130,246,.3)}.xp-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:grab;border:3px solid white;box-shadow:0 2px 8px #667eea66,0 0 #667eea66;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;z-index:2}.xp-slider::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px #667eea99,0 0 0 8px #667eea1a}.xp-slider::-webkit-slider-thumb:active{cursor:grabbing;transform:scale(1.05);box-shadow:0 2px 6px #667eea80,0 0 0 12px #667eea26}.xp-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:grab;border:3px solid white;box-shadow:0 2px 8px #667eea66;transition:all .3s cubic-bezier(.4,0,.2,1)}.xp-slider::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px #667eea99}.xp-slider::-moz-range-thumb:active{cursor:grabbing;transform:scale(1.05)}.xp-slider::-webkit-slider-runnable-track{width:100%;height:8px;cursor:pointer;border-radius:6px;background:var(--bg-tertiary)}.xp-slider::-moz-range-track{width:100%;height:8px;cursor:pointer;border-radius:6px;background:var(--bg-tertiary)}.xp-slider:hover:not(:disabled){background:linear-gradient(to right,#3b82f640,#3b82f666,#3b82f640);border-color:#3b82f680}.xp-slider:disabled{opacity:.4;cursor:not-allowed;background:var(--bg-tertiary);border-color:var(--border)}.xp-slider:disabled::-webkit-slider-thumb{cursor:not-allowed;background:var(--text-muted);box-shadow:none}.xp-slider:disabled::-moz-range-thumb{cursor:not-allowed;background:var(--text-muted);box-shadow:none}#dropdown-portal-root{position:absolute;top:0;left:0;width:100%;pointer-events:none}#dropdown-portal-root>div{pointer-events:auto}body:has(#dropdown-portal-root>div){overflow-x:hidden}@media (max-width: 768px){#dropdown-portal-root>div{max-width:calc(100vw - 2rem);left:1rem!important;right:1rem;width:auto!important}}.hero-page{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#030712;color:#f3f4f6;min-height:100vh;padding:2rem;box-sizing:border-box}.hero-page *{box-sizing:border-box}.hero-page .flex-center{display:flex;align-items:center;justify-content:center}.hero-page .grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.hero-page .text-center{text-align:center}.hero-page .container{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:3rem}.hero-page .card{background-color:#11182799;border:1px solid #1f2937;border-radius:1.5rem;padding:2rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.hero-page h1{font-size:2.5rem;font-weight:900;margin:0 0 1rem;background:linear-gradient(to right,#60a5fa,#a855f7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.hero-page .subtitle{color:#9ca3af;max-width:40rem;margin:0 auto;line-height:1.5}.hero-page .gear-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:2rem}.hero-page .gear-btn{background:none;border:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:.75rem;transition:transform .2s}.hero-page .gear-btn:hover{transform:translateY(-4px)}.hero-page .gear-icon-box{width:6rem;height:6rem;border-radius:1rem;display:flex;align-items:center;justify-content:center;position:relative;border:2px solid rgba(249,115,22,.3);background:#1f293780;color:#fb923c;transition:all .2s}.hero-page .gear-btn:hover .gear-icon-box{border-color:#fb923c;box-shadow:0 0 15px #fb923c33}.hero-page .gear-widget .gear-icon-box{border-color:#a855f780;background:#581c8733;color:#c084fc}.hero-page .gear-widget:hover .gear-icon-box{border-color:#c084fc;box-shadow:0 0 15px #c084fc33}.hero-page .level-badge{position:absolute;top:-8px;right:-8px;background:#111827;border:1px solid #4b5563;color:#fff;font-size:.75rem;padding:2px 6px;border-radius:999px}.hero-page .section-row{display:flex;gap:2rem;flex-wrap:wrap}.hero-page .section-col{flex:1;min-width:350px;background:#1f29374d;padding:1.5rem;border-radius:1rem;border:1px solid rgba(55,65,81,.5)}.hero-page .section-title{display:flex;align-items:center;gap:.5rem;font-size:1.125rem;font-weight:700;margin-bottom:1rem}.hero-page .star-selector{display:flex;flex-direction:column;gap:1rem}.hero-page .stars-container{display:flex;flex-wrap:nowrap;gap:.25rem;justify-content:center;overflow-x:auto}.hero-page .star-svg{overflow:visible;min-width:75px;min-height:75px;flex-shrink:0}.hero-page .star-petal-group{transition:all .2s}.hero-page .star-petal-group:hover{filter:drop-shadow(0 0 4px #22d3ee)}.hero-page .petal-active{filter:drop-shadow(0 0 5px #22d3ee);transition:all .3s}.hero-page .star-values{display:flex;gap:1rem;font-family:monospace;color:#9ca3af;font-size:.875rem;justify-content:center;margin-top:.5rem}.hero-page .input-group{display:flex;flex-direction:column;gap:.25rem}.hero-page .input-label{font-size:.75rem;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em}.hero-page .styled-input{background:#1f2937;border:1px solid #374151;color:#fff;padding:.5rem;border-radius:.5rem;width:100%;text-align:center;font-family:monospace;font-size:1rem}.hero-page .styled-input:focus{outline:2px solid #3b82f6;border-color:transparent}.hero-page .range-slider{width:100%;height:.5rem;background:#374151;border-radius:.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.hero-page .range-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.25rem;height:1.25rem;background:#3b82f6;border-radius:50%}.hero-page .inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.hero-page .inventory-item{background:#1f293780;border:1px solid #374151;padding:1rem;border-radius:.75rem;display:flex;flex-direction:column;gap:.75rem;transition:all .2s}.hero-page .inventory-item:hover{border-color:#4b5563;background:#1f2937b3}.hero-page .inventory-item-header{display:flex;align-items:center;gap:.75rem}.hero-page .inventory-icon{width:40px;height:40px;object-fit:contain}.hero-page .inventory-info{flex:1}.hero-page .inventory-name{font-size:.875rem;font-weight:600;color:#fff}.hero-page .inventory-status{font-size:.75rem;margin-top:.25rem}.hero-page .inventory-status.sufficient{color:#22c55e}.hero-page .inventory-status.insufficient{color:#ef4444}.hero-page .inventory-controls{display:flex;flex-direction:column;gap:.5rem}.hero-page .inventory-needed{font-size:.75rem;text-align:center;font-weight:600}.hero-page .res-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.hero-page .res-card{background:#111827;border:1px solid #1f2937;padding:1.25rem;border-radius:.75rem;display:flex;flex-direction:column;gap:.5rem}.hero-page .res-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;font-weight:600;letter-spacing:.05em}.hero-page .res-value{font-size:1.5rem;font-weight:700;color:#fff}.hero-page .modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;padding:1rem}.hero-page .modal-content{background:#111827;border:1px solid #374151;border-radius:1rem;width:100%;max-width:28rem;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}.hero-page .modal-header{background:#1f2937;padding:1rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #374151}.hero-page .modal-title-group{display:flex;align-items:center;gap:.75rem}.hero-page .icon-box{padding:.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.hero-page .icon-gear{background:#f9731633;color:#fb923c}.hero-page .icon-widget{background:#a855f733;color:#c084fc}.hero-page .close-btn{background:none;border:none;color:#9ca3af;cursor:pointer}.hero-page .close-btn:hover{color:#fff}.hero-page .modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:2rem}.hero-page .section-header{display:flex;align-items:center;gap:.5rem;font-weight:600;text-transform:uppercase;font-size:.875rem;letter-spacing:.05em;margin-bottom:1rem}.hero-page .preview-text{font-size:.75rem;text-align:center;margin-top:.5rem;font-weight:600}.hero-page .modal-footer{background:#1f2937;padding:1rem}.hero-page .primary-btn{background:#2563eb;color:#fff;width:100%;padding:.75rem;border-radius:.5rem;border:none;font-weight:600;cursor:pointer}.hero-page .primary-btn:hover{background:#1d4ed8}.hero-page .section-block{margin-bottom:1rem}.hero-page .apply-to-section{background:#1f29374d;padding:1rem;border-radius:.75rem;margin-bottom:1rem;border:1px solid #374151}.hero-page .toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.875rem;font-weight:500;color:#f3f4f6}.hero-page .toggle-checkbox{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:#3b82f6}.hero-page .slot-selector{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.hero-page .slot-btn{padding:.5rem 1rem;background:#1f2937;border:1px solid #374151;border-radius:.5rem;color:#9ca3af;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.hero-page .slot-btn:hover{border-color:#3b82f6;color:#60a5fa}.hero-page .slot-btn.selected{background:#3b82f6;border-color:#3b82f6;color:#fff}.hero-page .modal-content-new{background:#111827;border:1px solid #374151;border-radius:1.5rem;width:100%;max-width:600px;padding:2rem;position:relative;box-shadow:0 25px 50px -12px #00000080}.hero-page .close-btn-new{position:absolute;top:1rem;right:1rem;background:#1f2937cc;border:1px solid #374151;color:#9ca3af;cursor:pointer;width:2.5rem;height:2.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:10}.hero-page .close-btn-new:hover{background:#1f2937;color:#fff;border-color:#4b5563}.hero-page .apply-to-section-top{background:#1f29374d;padding:1rem;border-radius:.75rem;margin-bottom:1.5rem;border:1px solid #374151}.hero-page .gear-display-container{display:flex;flex-direction:column;gap:2rem}.hero-page .gear-image-wrapper{display:flex;flex-direction:column;align-items:center;gap:1.5rem;position:relative;padding:2rem 1rem}.hero-page .gear-image-large{width:200px;height:200px;object-fit:contain;position:relative}.hero-page .enhance-badge{position:absolute;top:1rem;right:calc(50% - 120px);padding:.5rem 1rem;border-radius:.5rem;font-size:1.25rem;font-weight:700;color:#fff;box-shadow:0 4px 6px #0000004d;border:2px solid rgba(255,255,255,.2)}.hero-page .mastery-badge{position:absolute;bottom:1rem;right:calc(50% - 120px);padding:.5rem 1rem;border-radius:.5rem;font-size:1.125rem;font-weight:700;color:#facc15;background:#1f2937e6;border:2px solid #facc15;box-shadow:0 4px 6px #0000004d}.hero-page .gear-level-labels{display:flex;align-items:center;gap:2rem;justify-content:center;width:100%;padding:1rem;background:#1f293766;border-radius:.75rem}.hero-page .level-section{display:flex;flex-direction:column;align-items:center;gap:.5rem}.hero-page .level-label{font-size:.75rem;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.hero-page .level-values{display:flex;gap:1rem;align-items:baseline}.hero-page .mastery-value{font-size:1.125rem;font-weight:700}.hero-page .enhance-value{font-size:1.5rem;font-weight:700}.hero-page .rank-name{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.hero-page .gear-controls{display:flex;flex-direction:column;gap:1rem}.hero-page .control-section{background:#1f293766;padding:1rem;border-radius:.75rem;border:1px solid #374151}.hero-page .control-label{display:block;font-size:.875rem;font-weight:600;color:#f3f4f6;margin-bottom:.75rem}.hero-page .control-inputs{display:flex;align-items:center;gap:1rem}.hero-page .control-input{flex:1;background:#1f2937;border:1px solid #374151;color:#fff;padding:.75rem;border-radius:.5rem;text-align:center;font-family:monospace;font-size:1rem;font-weight:600}.hero-page .control-input:focus{outline:2px solid #3b82f6;border-color:transparent}.hero-page .arrow-separator{color:#6b7280;font-size:1.25rem;font-weight:600}.hero-page .mastery-control .control-label{color:#facc15}.hero-page .enhance-control .control-label{color:#60a5fa}@media (max-width: 1200px){.hero-page .section-row{flex-direction:column}.hero-page .section-col{min-width:100%}}@media (max-width: 1024px){.hero-page{padding:1.5rem}.hero-page h1{font-size:2rem}.hero-page .container{gap:2rem}.hero-page .card{padding:1.5rem}.hero-page .gear-grid{gap:1.5rem}.hero-page .inventory-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.hero-page .res-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media (max-width: 768px){.hero-page{padding:1rem}.hero-page h1{font-size:1.75rem}.hero-page .subtitle{font-size:.9rem}.hero-page .container{gap:1.5rem}.hero-page .card{padding:1.25rem;border-radius:1rem}.hero-page .gear-grid{gap:1rem;flex-wrap:wrap;justify-content:space-around}.hero-page .gear-icon-box{width:5rem;height:5rem}.hero-page .section-col{padding:1rem;min-width:100%}.hero-page .section-title{font-size:1rem}.hero-page .stars-container{justify-content:flex-start;padding:.5rem 0}.hero-page .star-svg{min-width:65px;min-height:65px}.hero-page .grid-2{grid-template-columns:1fr;gap:.75rem}.hero-page .inventory-grid{grid-template-columns:1fr}.hero-page .res-grid{grid-template-columns:repeat(2,1fr)}.hero-page .res-card{padding:1rem}.hero-page .res-value{font-size:1.25rem}.hero-page .modal-content-new{max-width:95%;padding:1.5rem;border-radius:1rem}.hero-page .gear-image-wrapper{padding:1.5rem .5rem}.hero-page .gear-image-large{width:160px;height:160px}.hero-page .enhance-badge{right:calc(50% - 100px);font-size:1.125rem;padding:.4rem .8rem}.hero-page .mastery-badge{right:calc(50% - 100px);font-size:1rem;padding:.4rem .8rem}.hero-page .gear-level-labels{flex-direction:column;gap:1rem}.hero-page .level-section{width:100%}.hero-page .slot-selector{justify-content:center}}@media (max-width: 640px){.hero-page{padding:.75rem}.hero-page h1{font-size:1.5rem;margin-bottom:.75rem}.hero-page .subtitle{font-size:.85rem}.hero-page .container{gap:1.25rem}.hero-page .card{padding:1rem}.hero-page .gear-grid{gap:.75rem}.hero-page .gear-icon-box{width:4.5rem;height:4.5rem}.hero-page .section-row{gap:1rem}.hero-page .section-col{padding:.875rem}.hero-page .star-svg{min-width:55px;min-height:55px}.hero-page .star-values{flex-direction:column;gap:.5rem;font-size:.8rem}.hero-page .styled-input{padding:.6rem;font-size:.9rem}.hero-page .inventory-item{padding:.875rem}.hero-page .inventory-icon{width:36px;height:36px}.hero-page .inventory-name{font-size:.8rem}.hero-page .res-grid{grid-template-columns:1fr;gap:.75rem}.hero-page .res-card{padding:.875rem}.hero-page .res-value{font-size:1.125rem}.hero-page .modal-content-new{padding:1rem}.hero-page .close-btn-new{top:.75rem;right:.75rem;width:2rem;height:2rem}.hero-page .gear-image-wrapper{padding:1rem .25rem;gap:1rem}.hero-page .gear-image-large{width:140px;height:140px}.hero-page .enhance-badge{right:calc(50% - 85px);font-size:1rem;padding:.35rem .7rem;top:.5rem}.hero-page .mastery-badge{right:calc(50% - 85px);font-size:.9rem;padding:.35rem .7rem;bottom:.5rem}.hero-page .gear-level-labels{padding:.75rem;gap:.75rem}.hero-page .enhance-value{font-size:1.25rem}.hero-page .mastery-value{font-size:1rem}.hero-page .control-section{padding:.875rem}.hero-page .control-input{padding:.6rem;font-size:.9rem}.hero-page .slot-btn{padding:.4rem .8rem;font-size:.8rem}.hero-page .primary-btn{padding:.6rem;font-size:.9rem}}@media (max-width: 480px){.hero-page{padding:.5rem}.hero-page h1{font-size:1.25rem}.hero-page .subtitle{font-size:.8rem;padding:0 .5rem}.hero-page .card{padding:.75rem;border-radius:.75rem}.hero-page .gear-grid{gap:.5rem}.hero-page .gear-icon-box{width:4rem;height:4rem}.hero-page .level-badge{font-size:.7rem;padding:1px 5px}.hero-page .section-col{padding:.75rem}.hero-page .section-title{font-size:.9rem}.hero-page .star-svg{min-width:50px;min-height:50px}.hero-page .inventory-item{padding:.75rem;gap:.5rem}.hero-page .inventory-icon{width:32px;height:32px}.hero-page .inventory-name{font-size:.75rem}.hero-page .inventory-status{font-size:.7rem}.hero-page .res-card{padding:.75rem}.hero-page .res-label{font-size:.7rem}.hero-page .res-value{font-size:1rem}.hero-page .modal-overlay{padding:.5rem}.hero-page .modal-content-new{padding:.75rem;max-width:98%}.hero-page .close-btn-new{width:1.75rem;height:1.75rem;top:.5rem;right:.5rem}.hero-page .apply-to-section-top{padding:.75rem}.hero-page .toggle-label{font-size:.8rem}.hero-page .gear-image-wrapper{padding:.75rem .25rem;gap:.75rem}.hero-page .gear-image-large{width:120px;height:120px}.hero-page .enhance-badge{right:calc(50% - 70px);font-size:.9rem;padding:.3rem .6rem}.hero-page .mastery-badge{right:calc(50% - 70px);font-size:.8rem;padding:.3rem .6rem}.hero-page .gear-level-labels{padding:.5rem;gap:.5rem}.hero-page .level-label{font-size:.7rem}.hero-page .enhance-value{font-size:1.125rem}.hero-page .mastery-value{font-size:.9rem}.hero-page .rank-name{font-size:.8rem}.hero-page .control-section{padding:.75rem}.hero-page .control-label{font-size:.8rem;margin-bottom:.5rem}.hero-page .control-inputs{gap:.75rem}.hero-page .control-input{padding:.5rem;font-size:.85rem}.hero-page .arrow-separator{font-size:1rem}.hero-page .slot-selector{gap:.4rem}.hero-page .slot-btn{padding:.35rem .7rem;font-size:.75rem}.hero-page .modal-footer{padding:.75rem}.hero-page .primary-btn{padding:.55rem;font-size:.85rem}}@media (max-width: 360px){.hero-page h1{font-size:1.125rem}.hero-page .gear-icon-box{width:3.5rem;height:3.5rem}.hero-page .star-svg{min-width:45px;min-height:45px}.hero-page .gear-image-large{width:100px;height:100px}.hero-page .enhance-badge{right:calc(50% - 60px);font-size:.8rem;padding:.25rem .5rem}.hero-page .mastery-badge{right:calc(50% - 60px);font-size:.75rem;padding:.25rem .5rem}.hero-page .res-grid{gap:.5rem}.hero-page .inventory-grid{gap:.75rem}}
