/* Reset and base styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --bg-primary: #1a1a1a; --bg-secondary: #2a2a2a; --bg-tertiary: #3a3a3a; --bg-card: #2d2d2d; --bg-hover: #404040; --border-color: #444; --text-primary: #ffffff; --text-secondary: #b3b3b3; --text-muted: #888; --accent-blue: #4a9eff; --accent-blue-hover: #357abd; --accent-orange: #ff6b35; --accent-green: #4caf50; --shadow: 0 4px 12px rgba(0, 0, 0, 0.3); --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4); --border-radius: 8px; --transition: all 0.2s ease; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, var(--bg-primary) 0%, #1e1e1e 100%); color: var(--text-primary); min-height: 100vh; line-height: 1.6; } /* Login Page */ .login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; } .login-card { background: var(--bg-card); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); text-align: center; max-width: 400px; width: 100%; border: 1px solid var(--border-color); } .login-card h1 { margin-bottom: 10px; color: var(--accent-blue); font-size: 2.5rem; font-weight: 700; } .login-card p { margin-bottom: 30px; color: var(--text-secondary); font-size: 1.1rem; } /* App Layout */ .app-container { display: flex; flex-direction: column; min-height: 100vh; } .app-header { background: var(--bg-secondary); padding: 1rem 2rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); } .header-left h1 { color: var(--accent-blue); font-size: 1.8rem; font-weight: 700; } .header-right { display: flex; align-items: center; gap: 1rem; } .user-info { color: var(--text-secondary); font-size: 0.9rem; } .logout-btn { background: var(--accent-orange); color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: var(--border-radius); transition: var(--transition); font-weight: 500; } .logout-btn:hover { background: #e55a2b; color: white; text-decoration: none; } .app-main { display: flex; flex: 1; overflow: hidden; } /* Sidebar */ .sidebar { width: 320px; background: var(--bg-secondary); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; position: relative; max-height: 100vh; overflow: hidden; } .sidebar-header { padding: 1.5rem; border-bottom: 1px solid var(--border-color); } .sidebar-header h3 { color: var(--text-primary); font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; } .search-container { position: relative; } .search-container input { width: 100%; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 0.75rem; color: var(--text-primary); font-size: 0.9rem; transition: var(--transition); } .search-container input:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2); } .search-container input::placeholder { color: var(--text-muted); } .sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; overflow-x: hidden; } .nav-item { display: flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer; transition: var(--transition); border-left: 3px solid transparent; } .nav-item:hover { background: var(--bg-hover); border-left-color: var(--accent-blue); } .nav-item.active { background: var(--bg-hover); border-left-color: var(--accent-blue); } .nav-icon { font-size: 1.2rem; margin-right: 0.75rem; width: 24px; text-align: center; } .nav-content { flex: 1; display: flex; align-items: center; justify-content: space-between; } .nav-text { font-weight: 500; color: var(--text-primary); } .nav-count { background: var(--bg-tertiary); color: var(--text-secondary); font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 12px; font-weight: 600; min-width: 20px; text-align: center; } .nav-item.active .nav-count { background: var(--accent-blue); color: white; } .nav-arrow { color: var(--text-muted); transition: var(--transition); font-size: 0.8rem; margin-left: 0.5rem; } /* Main Content */ .main-content { flex: 1; padding: 2rem; overflow-y: auto; background: var(--bg-primary); } .loadout-header { margin-bottom: 2rem; } .loadout-header h2 { color: var(--text-primary); font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; } .loadout-header p { color: var(--text-secondary); font-size: 1.1rem; } /* Loadout Grid */ .loadout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1200px; } .loadout-item { background: var(--bg-card); border-radius: var(--border-radius); border: 1px solid var(--border-color); overflow: hidden; transition: all 0.3s ease; position: relative; } .loadout-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent-blue); } .item-image-container { position: relative; aspect-ratio: 16/10; background: linear-gradient(145deg, #2a2a2a, #1a1a1a); display: flex; align-items: center; justify-content: center; overflow: hidden; } .item-image { width: 80%; height: auto; object-fit: contain; transition: var(--transition); } .item-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); } .loadout-item:hover .item-overlay { opacity: 1; } .customize-btn, .equip-btn { background: var(--accent-blue); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: var(--border-radius); cursor: pointer; font-weight: 600; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.9rem; } .customize-btn:hover, .equip-btn:hover { background: var(--accent-blue-hover); transform: translateY(-1px); } .equip-btn { background: var(--accent-green); } .equip-btn:hover { background: #45a049; } .item-info { padding: 1rem; } .item-category { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; font-weight: 500; } .item-name { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; line-height: 1.3; } /* Footer */ .app-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 1rem 0; text-align: center; margin-top: 2rem; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .footer-content p { margin: 0; color: var(--text-muted); font-size: 0.9rem; } .footer-content a { color: var(--accent-blue); text-decoration: none; transition: var(--transition); } .footer-content a:hover { color: var(--accent-blue-hover); text-decoration: underline; } /* Overlays and Modals */ .overlay, .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; transition: var(--transition); } .overlay.hidden, .modal.hidden { opacity: 0; pointer-events: none; } .overlay-content, .modal-content { background: var(--bg-card); border-radius: var(--border-radius); border: 1px solid var(--border-color); box-shadow: var(--shadow-lg); max-width: 90vw; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; } .overlay-content { width: 1400px; height: 800px; max-height: 95vh; max-width: 98vw; } .modal-content { width: 500px; } .overlay-header, .modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--bg-secondary); } .overlay-header h3, .modal-header h3 { color: var(--text-primary); font-size: 1.4rem; font-weight: 600; margin: 0; } .close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; line-height: 1; transition: var(--transition); } .close-btn:hover { color: var(--text-primary); } /* Skin Grid */ .skin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; padding: 1.5rem; overflow-y: auto; flex: 1; } .skin-item { background: var(--bg-secondary); border-radius: var(--border-radius); border: 1px solid var(--border-color); overflow: hidden; cursor: pointer; transition: var(--transition); } .skin-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-blue); } .skin-item .skin-image { width: 100%; height: 280px; object-fit: contain; background: linear-gradient(145deg, #333, #222); padding: 1rem; display: block; box-sizing: border-box; } .skin-name { padding: 0.75rem; color: var(--text-primary); font-weight: 500; font-size: 0.9rem; text-align: center; border-top: 1px solid var(--border-color); } /* Modal Body */ .modal-body { padding: 1.5rem; } .customize-grid { display: grid; gap: 1.5rem; } .customize-section { display: flex; flex-direction: column; gap: 0.5rem; } .customize-section label { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; } .customize-section select, .customize-section input { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 0.75rem; color: var(--text-primary); font-size: 1rem; transition: var(--transition); } .customize-section select:focus, .customize-section input:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2); } .modal-footer { display: flex; justify-content: flex-end; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--border-color); background: var(--bg-secondary); } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: var(--border-radius); cursor: pointer; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); font-size: 0.9rem; } .btn-primary { background: var(--accent-blue); color: white; } .btn-primary:hover { background: var(--accent-blue-hover); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); } .btn-secondary:hover { background: var(--bg-hover); } /* Responsive Design */ @media (max-width: 768px) { .app-main { flex-direction: column; } .sidebar { width: 100%; height: auto; } .main-content { padding: 1rem; } .loadout-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; } .overlay-content { width: 95vw; height: 80vh; } .modal-content { width: 95vw; } .app-header { flex-direction: column; gap: 1rem; text-align: center; } .header-right { flex-direction: column; gap: 0.5rem; } } @media (max-width: 480px) { .loadout-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .skin-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .main-content { padding: 0.5rem; } .loadout-header h2 { font-size: 1.5rem; } } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--bg-hover); } /* Animation for loadout items */ .loadout-item { animation: fadeInUp 0.3s ease forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Special styling for equipped items */ .loadout-item[data-equipped="true"] { border-color: var(--accent-green); } .loadout-item[data-equipped="true"] .item-category { color: var(--accent-green); } /* Empty Loadout Message */ .empty-loadout { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; min-height: 200px; background: var(--bg-card); border-radius: var(--border-radius); border: 2px dashed var(--border-color); } .empty-message { text-align: center; color: var(--text-secondary); } .empty-message h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-primary); } .empty-message p { font-size: 1rem; color: var(--text-muted); } /* Sidebar Weapon Lists */ .nav-category { margin-bottom: 0.5rem; } .category-header { margin-bottom: 0 !important; } .weapon-list { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--bg-tertiary); border-left: 3px solid var(--accent-blue); margin-left: 1rem; } .weapon-list.expanded { max-height: 2000px; padding: 0.5rem 0; } .weapon-container { border-bottom: 1px solid var(--border-color); } .weapon-container:last-child { border-bottom: none; } .weapon-item { display: flex; align-items: center; padding: 0.75rem 1rem; cursor: pointer; transition: var(--transition); position: relative; } .weapon-item:hover { background: var(--bg-hover); padding-left: 1.25rem; } .weapon-item.expanded { background: var(--bg-hover); border-bottom: 1px solid var(--border-color); } .weapon-icon { width: 48px; height: 32px; object-fit: contain; margin-right: 0.75rem; background: linear-gradient(145deg, #333, #222); border-radius: 4px; padding: 4px; } .weapon-name { color: var(--text-primary); font-size: 0.85rem; font-weight: 500; flex: 1; } .weapon-arrow { color: var(--text-muted); font-size: 0.7rem; transition: var(--transition); margin-left: 0.5rem; } .weapon-item.expanded .weapon-arrow { transform: rotate(90deg); color: var(--accent-blue); } .weapon-skins-grid { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--bg-primary); padding: 0; } .weapon-skins-grid.expanded { max-height: 2000px; padding: 1rem; } .skins-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } .skin-option { background: var(--bg-secondary); border-radius: var(--border-radius); border: 1px solid var(--border-color); overflow: hidden; cursor: pointer; transition: var(--transition); aspect-ratio: 16/10; } .skin-option:hover { border-color: var(--accent-blue); transform: scale(1.02); } .skin-option.active { border-color: var(--accent-green); box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3); } .skin-option img { width: 100%; height: 100%; object-fit: contain; background: linear-gradient(145deg, #333, #222); padding: 4px; box-sizing: border-box; } .skin-option-name { padding: 0.25rem; font-size: 0.7rem; color: var(--text-secondary); text-align: center; background: var(--bg-tertiary); border-top: 1px solid var(--border-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }