@charset "UTF-8";*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#1e1e1e;color:#fff}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#2d2d2d}::-webkit-scrollbar-thumb{background:#6366f1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#5855eb}.home-page{min-height:100vh;padding:1rem 2rem}.home-header{text-align:center;margin-bottom:3rem}.home-header h1{font-size:2.5rem;margin-bottom:1rem;color:#fff}.home-header p{font-size:1.2rem;color:#ccc;margin:0}.filters-section{max-width:1400px;margin:0 auto 2rem;padding:1.5rem;background:#ffffff0d;border-radius:12px;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filters-container{display:flex;align-items:center;gap:2rem;flex-wrap:wrap;margin-bottom:1rem}.filter-group{display:flex;align-items:center;gap:.75rem}.filter-group label{color:#fff;font-weight:500;font-size:.95rem;white-space:nowrap;min-width:fit-content}.filter-dropdown{padding:.75rem 1rem;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#0006;color:#fff;font-size:.9rem;min-width:140px;cursor:pointer;transition:all .3s ease;font-family:inherit}.filter-dropdown:hover{border-color:#ffffff4d;background:#00000080;transform:translateY(-1px)}.filter-dropdown:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f133;background:#0009}.filter-dropdown option{background:#1a1a1a;color:#fff;padding:.5rem;border:none}.results-info{display:flex;justify-content:flex-start;align-items:center;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.results-count{color:#a1a1aa;font-size:.9rem;font-weight:500}.problems-container{margin:0 auto}.problems-container .problems-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.problems-container .no-results{text-align:center;padding:4rem 2rem;background:#ffffff05;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.problems-container .no-results h3{color:#fff;font-size:1.5rem;margin-bottom:1rem;font-weight:600}.problems-container .no-results p{color:#a1a1aa;font-size:1rem;margin-bottom:2rem;opacity:.8;line-height:1.5}.difficulty-badge{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500;color:#fff}.problem-card{background-color:#252526;border:1px solid #3e3e42;border-radius:8px;padding:1.2rem;text-decoration:none;color:inherit;transition:all .2s ease;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between}.problem-card:hover{border-color:#007acc;transform:translateY(-2px);box-shadow:0 4px 12px #007acc33}.problem-card .problem-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.problem-card .problem-title{margin:0;font-size:1.25rem;color:#fff;flex:1}.problem-card .problem-description{color:#ccc;line-height:1.5;margin-bottom:1rem}.problem-card .problem-tags{display:flex;flex-wrap:wrap;gap:.5rem}.problem-card .tag{background-color:#3c3c3c;color:#ccc;padding:.25rem .5rem;border-radius:4px;font-size:.75rem}.problem-card .problem-stats{display:flex;justify-content:space-between;margin-top:1rem;padding-top:.75rem;border-top:1px solid #3e3e42}.problem-card .stat{display:flex;flex-direction:column;align-items:center;gap:.25rem}.problem-card .stat-label{font-size:.75rem;color:#888;text-transform:uppercase;letter-spacing:.5px}.problem-card .stat-value{font-size:.875rem;color:#fff;font-weight:500}.btn{display:flex;align-items:center;justify-content:center;gap:.6rem;border:1px solid transparent;border-radius:8px;font-family:inherit;cursor:pointer;transition:all .3s ease;font-weight:700}.btn--sm{padding:.5rem .75rem;font-size:.825rem;min-height:2rem}.btn--md{padding:.75rem 1.25rem;font-size:.9rem;min-height:2.5rem}.btn--lg{padding:1rem 1.5rem;font-size:1rem;min-height:3rem}.btn--full-width{width:100%}.btn--primary{background:#6366f1;border-color:#6366f1;color:#fff}.btn--primary:not(:disabled):hover{background:#5855eb;border-color:#5855eb;box-shadow:0 4px 12px #6366f14d}.btn--secondary{background:#ffffff1a;border-color:#fff3;color:#fff}.btn--secondary:not(:disabled):hover{background:#ffffff26;border-color:#ffffff4d;box-shadow:0 4px 12px #ffffff1a}.btn--danger{background:#ef444426;border-color:#ef44444d;color:#ef4444}.btn--danger:not(:disabled):hover{background:#ef444440;border-color:#ef444480;box-shadow:0 4px 12px #ef444433}.btn--success{background:#22c55e26;border-color:#22c55e4d;color:#22c55e}.btn--success:not(:disabled):hover{background:#22c55e40;border-color:#22c55e80;box-shadow:0 4px 12px #22c55e33}.btn--outline{background:transparent;border-color:#ffffff4d;color:#fff}.btn--outline:not(:disabled):hover{background:#ffffff0d;border-color:#ffffff80;box-shadow:0 4px 12px #ffffff1a}.btn--ghost{background:transparent;border-color:transparent;color:#a1a1aa}.btn--ghost:not(:disabled):hover{background:#ffffff0d;color:#fff}.btn--loading{cursor:wait}.btn--loading .btn__text--loading{opacity:.7}.btn__spinner{display:inline-flex;align-items:center;justify-content:center}.btn__spinner svg{animation:spin 1s linear infinite}.btn__text--loading{opacity:.7}@media (max-width: 768px){.btn--sm{padding:.5rem .625rem;font-size:.8rem}.btn--md{padding:.625rem 1rem;font-size:.85rem}.btn--lg{padding:.75rem 1.25rem;font-size:.9rem}}.btn:focus-visible{box-shadow:0 0 0 3px #6366f14d}.problem-statement{padding:2rem 1rem}.problem-statement .tab-container{display:flex;border-bottom:2px solid #444444;margin-bottom:1.5rem}.problem-statement .tab-container .tab{padding:.5rem 1rem;cursor:pointer;font-weight:600;color:#bbb;border-bottom:2px solid transparent;transition:color .3s,border-bottom-color .3s}.problem-statement .tab-container .tab.active{color:#fff;border-bottom-color:#007acc}.problem-statement .tab-container .tab:hover{color:#fff}.problem-statement h2{margin:0 0 1.5rem;color:#fff;font-size:1.5rem}.problem-statement .problem-header-info .problem-meta{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.problem-statement .problem-header-info .problem-meta .difficulty{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.problem-statement .problem-header-info .problem-meta .tags{display:flex;gap:.5rem}.problem-statement .problem-content p{line-height:1.6;margin-bottom:1rem;color:#ccc}.problem-statement .problem-content code{background-color:#3c3c3c;padding:.2rem .4rem;border-radius:3px;font-family:Courier New,monospace;color:#fff}.problem-statement .problem-content .examples{margin:1.5rem 0}.problem-statement .problem-content .examples h3{color:#fff;margin-bottom:1rem}.problem-statement .problem-content .examples .example{margin-bottom:1.5rem;background-color:#2d2d30;padding:1rem;border-radius:6px;border-left:4px solid #007acc}.problem-statement .problem-content .examples .example h4{margin:0 0 .5rem;color:#fff}.problem-statement .problem-content .examples .example .example-content p{margin:.5rem 0;font-family:Courier New,monospace;font-size:.875rem}.problem-statement .problem-content .examples .example .example-content .example-output{white-space:pre-wrap;display:flex;gap:1rem}.problem-statement .problem-content .constraints,.problem-statement .problem-content .hints{margin:1.5rem 0}.problem-statement .problem-content .constraints h3,.problem-statement .problem-content .hints h3{color:#fff;margin-bottom:1rem}.problem-statement .problem-content .constraints ul,.problem-statement .problem-content .hints ul{padding-left:1.5rem}.problem-statement .problem-content .constraints ul li,.problem-statement .problem-content .hints ul li{margin-bottom:.5rem;color:#ccc;line-height:1.5}.code-editor-page{display:flex}.code-editor-page>.left{background-color:#252526;border-right:1px solid #3e3e42;overflow-y:auto;width:50%}.code-editor-page>.divider{width:4px;background-color:#3e3e42;cursor:col-resize}.code-editor-page>.divider:hover{background-color:#007acc}.code-editor-page>.divider.dragging{background-color:#007acc}.code-editor-page>.right{display:flex;flex-direction:column;width:50%}.code-section{height:60vh;min-height:10px}.output-section{background-color:#1e1e1e;border-top:1px solid #3e3e42;padding:1rem;overflow-y:auto}.output-section h3{margin:0 0 .5rem;color:#ccc;font-size:1rem}.output-section .output{background-color:#0c0c0c;color:#0f0;padding:1rem;margin:0;border-radius:4px;font-family:Courier New,monospace;font-size:.875rem;white-space:pre-wrap;word-break:break-word;max-height:120px;overflow-y:auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.controls{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.6rem 1rem;background-color:#2d2d30;border-bottom:1px solid #3e3e42;margin-bottom:1.2rem}.controls .left{display:flex;gap:1.5rem}.controls .left .control-group{display:flex;flex-direction:column;gap:.25rem}.controls .left .control-group label{font-size:.875rem;color:#ccc}.controls .left .control-group select{padding:.5rem;border:1px solid #3e3e42;border-radius:4px;background-color:#3c3c3c;color:#fff;font-size:.875rem}.controls .left .control-group select:focus{outline:none;border-color:#007acc}.controls .right{display:flex;align-items:center;gap:1.2rem}.controls .right>svg{cursor:pointer;transition:all .2s ease}.controls .right>svg:hover{transform:scale(1.1);opacity:.8}.app{min-height:100vh}.main-content{margin-top:60px}.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;background:#1e1e1ef2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #3e3e42;height:60px;padding:0 2rem;display:flex;align-items:center;justify-content:space-between}.navbar .navbar-logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:#fff;font-weight:600;font-size:1.25rem;transition:all .3s ease}.navbar .navbar-logo:hover{color:#6366f1;transform:translateY(-1px)}.navbar .navbar-nav{display:flex;align-items:center;gap:1rem}.navbar .nav-link{color:#ccc;text-decoration:none;padding:.5rem 1rem;border-radius:6px;transition:all .3s ease;font-weight:500;position:relative}.navbar .nav-link:hover{color:#fff;background:#ffffff1a;transform:translateY(-1px)}.navbar .nav-link.active{color:#6366f1;background:#6366f11a}.navbar .nav-link.active:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);width:30px;height:2px;background:#6366f1;border-radius:2px}.navbar .nav-link.external{display:inline-flex;align-items:center;gap:.5rem}.navbar .nav-link.external:after{content:"↗";font-size:.8rem;opacity:.7}.navbar .nav-link.external:hover:after{opacity:1}.navbar .nav-breadcrumb{display:flex;align-items:center;gap:.5rem;color:#a1a1aa;font-size:.9rem}.navbar .nav-breadcrumb .breadcrumb-separator{color:#6b7280}.navbar .nav-breadcrumb .current-problem{color:#ccc;font-weight:500;text-transform:capitalize}.navbar .navbar-actions{display:flex;align-items:center;gap:1rem}.navbar-spacer{height:60px}@media (max-width: 768px){.navbar .navbar-container{padding:0 1rem}.navbar .navbar-logo .logo-text,.navbar .nav-breadcrumb{display:none}.navbar .navbar-actions{gap:.5rem}}
