241 lines
5.3 KiB
CSS
241 lines
5.3 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: -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;
|
|
}
|
|
|
|
/* 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: 500;
|
|
transition: color 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-link-icon {
|
|
margin-right: 6px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Colorful Menu Icons */
|
|
.fa-home { color: #5d5dff; }
|
|
.fa-chart-line { color: #00e676; }
|
|
.fa-coins { color: #ffd600; }
|
|
.fa-file-contract { color: #ff3d00; }
|
|
.fa-bolt { color: #fbc02d; }
|
|
.fa-pickaxe { color: #8e24aa; }
|
|
.fa-wallet { color: #03a9f4; }
|
|
|
|
.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: 20px; }
|
|
.mobile-nav-item.active { 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; }
|
|
|
|
/* Market Trends Table */
|
|
.market-table-container {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* 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; }
|
|
|
|
/* 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 { grid-template-columns: 1fr; }
|
|
.mobile-bottom-nav { display: flex; }
|
|
body { padding-bottom: 70px; }
|
|
|
|
.section-title { font-size: 1.8rem; }
|
|
|
|
/* Market Table Mobile */
|
|
.market-table th:nth-child(4),
|
|
.market-table td:nth-child(4) { display: none; }
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.logo-text { font-size: 1.4rem !important; }
|
|
.logo-svg { width: 28px !important; height: 28px !important; }
|
|
|
|
.btn-login-hide { display: none; }
|
|
|
|
.market-table th, .market-table td { padding: 12px 15px !important; }
|
|
.market-table td div { font-size: 0.9rem !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;
|
|
}
|