38350-vm/assets/css/custom.css
2026-02-14 05:11:30 +00:00

270 lines
6.2 KiB
CSS

* { box-sizing: border-box; }
:root {
--bg-color: #0B0E11;
--nav-bg: #0B0E11;
--primary-color: #0052FF;
--text-color: #FFFFFF;
--text-muted: #848E9C;
--border-color: #2B3139;
--card-bg: #1E2329;
--danger-color: #F6465D;
--success-color: #0ECB81;
--gold-color: #F0B90B;
}
body {
margin: 0;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.5;
padding-bottom: 0;
overflow-x: hidden;
}
/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #2b3139; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3b4149; }
.navbar {
background-color: var(--nav-bg);
padding: 0 1.5rem;
height: 64px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 1000;
}
.nav-links {
display: flex;
gap: 1.5rem;
align-items: center;
}
.nav-links a {
color: var(--text-color);
text-decoration: none;
font-size: 14px;
font-weight: 600;
transition: color 0.2s;
display: flex;
align-items: center;
}
.nav-links a:hover {
color: var(--primary-color);
}
/* Utility Classes */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
@media (max-width: 767px) {
.d-sm-none { display: none !important; }
}
@media (max-width: 991px) {
.d-md-none { display: none !important; }
}
@media (min-width: 768px) {
.d-md-block { display: block !important; }
.d-md-flex { display: flex !important; }
}
@media (min-width: 992px) {
.d-lg-block { display: block !important; }
.d-lg-flex { display: flex !important; }
}
@media (min-width: 1200px) {
.d-xl-flex { display: flex !important; }
}
/* Colorful Icons */
.fa-home { color: #5d5dff; }
.fa-chart-line { color: #00e676; }
.fa-coins { color: #ffd600; }
.fa-file-contract { color: #ff3d00; }
.fa-bolt { color: #fbc02d; }
.fa-hammer { color: #8e24aa !important; }
.fa-wallet { color: #03a9f4; }
.fa-clock { color: #fbc02d; }
.fa-mobile-alt { color: #4facfe; }
.fa-exchange-alt { color: #00e676; }
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #1E2329;
min-width: 180px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
z-index: 1002;
border: 1px solid var(--border-color);
border-radius: 8px;
top: 100%;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
font-size: 14px;
}
.dropdown-content a:hover {
background-color: #2B3139;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
border: none;
padding: 8px 20px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
transition: 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
/* Mobile Bottom Nav */
.mobile-bottom-nav {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 65px;
background: #161a1e;
border-top: 1px solid var(--border-color);
z-index: 1000;
justify-content: space-around;
align-items: center;
padding: 5px 0 10px;
backdrop-filter: blur(10px);
}
.mobile-nav-item {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: var(--text-muted);
font-size: 11px;
gap: 4px;
}
.mobile-nav-item i { font-size: 22px; }
.mobile-nav-item.active { color: var(--primary-color); }
.mobile-nav-item.active i { color: var(--primary-color); }
/* Sidebar Drawer */
.mobile-sidebar {
position: fixed;
top: 0;
left: -100%;
width: 280px;
height: 100%;
background: #0B0E11;
z-index: 2000;
transition: 0.3s;
box-shadow: 10px 0 30px rgba(0,0,0,0.5);
padding: 20px;
overflow-y: auto;
}
.mobile-sidebar.open { left: 0; }
.sidebar-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.7);
z-index: 1999;
}
.sidebar-overlay.open { display: block; }
/* Responsive Grid Helper */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.responsive-grid {
display: grid;
grid-template-columns: 1fr 380px;
gap: 30px;
}
/* Mobile Optimizations */
@media (max-width: 992px) {
.navbar { padding: 0 1rem; }
.nav-links { display: none; }
.hero-section { flex-direction: column; text-align: center; padding: 40px 5%; }
.grid-3, .grid-2, .responsive-grid { grid-template-columns: 1fr; }
.mobile-bottom-nav { display: flex; }
body { padding-bottom: 70px; }
.section-title { font-size: 1.8rem; }
/* Market Table Mobile */
.market-table-container {
width: 100%;
overflow-x: auto;
}
.market-table th:nth-child(4),
.market-table td:nth-child(4) { display: none; }
}
@media (max-width: 576px) {
.container { padding: 0 15px; }
.logo-text { font-size: 1.2rem !important; }
.logo-svg { width: 24px !important; height: 24px !important; }
.btn-login-hide { display: none; }
.market-table th, .market-table td { padding: 10px 12px !important; }
.market-table td div { font-size: 0.85rem !important; }
.deposit-card, .withdraw-card { padding: 25px 20px !important; }
}
/* User Profile Dropdown Adjustments */
.user-info-header {
padding: 15px;
border-bottom: 1px solid var(--border-color);
}
.uid-badge {
display: inline-block;
background: rgba(79, 172, 254, 0.1);
color: var(--primary-color);
font-size: 11px;
padding: 2px 8px;
border-radius: 4px;
margin-top: 5px;
}