330 lines
7.3 KiB
CSS
330 lines
7.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;
|
|
}
|
|
|
|
.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: 1;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
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 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Hero & Carousel */
|
|
.hero-section {
|
|
padding: 80px 5%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4rem;
|
|
min-height: 500px;
|
|
}
|
|
|
|
.hero-content { flex: 1; }
|
|
.hero-image { flex: 1; position: relative; }
|
|
|
|
.hero-carousel {
|
|
width: 100%;
|
|
height: 350px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.carousel-inner {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.carousel-item {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
opacity: 0;
|
|
transition: opacity 1s ease-in-out;
|
|
background-size: cover;
|
|
background-position: center;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
padding: 30px;
|
|
}
|
|
|
|
.carousel-item.active { opacity: 1; }
|
|
|
|
.carousel-caption {
|
|
background: rgba(0,0,0,0.6);
|
|
padding: 15px 25px;
|
|
border-radius: 8px;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
/* Sections */
|
|
.section-title {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.market-table-card {
|
|
background: var(--card-bg);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.market-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.market-table th, .market-table td {
|
|
padding: 16px 24px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.market-table th {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Why Choose Us */
|
|
.why-section {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin: 80px auto;
|
|
max-width: 1200px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.why-left { flex: 1.5; }
|
|
.why-right { flex: 1; background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); }
|
|
|
|
.why-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.why-item {
|
|
background: var(--card-bg);
|
|
padding: 30px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.why-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Partners */
|
|
.partners-section {
|
|
padding: 80px 5%;
|
|
background: #0d1117;
|
|
text-align: center;
|
|
}
|
|
|
|
.partners-grid {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 40px;
|
|
margin-top: 40px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.partner-logo {
|
|
height: 40px;
|
|
filter: grayscale(1);
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.partner-logo:hover {
|
|
filter: grayscale(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Floating Service */
|
|
.floating-service {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
right: 30px;
|
|
width: 60px;
|
|
height: 60px;
|
|
background: var(--primary-color);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
color: white;
|
|
cursor: pointer;
|
|
box-shadow: 0 10px 25px rgba(0,82,255,0.3);
|
|
z-index: 1000;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.floating-service:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Back Button */
|
|
.back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
margin-bottom: 20px;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.back-btn:hover {
|
|
color: white;
|
|
}
|
|
|
|
/* Trading Pages specific */
|
|
.trading-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px 320px;
|
|
height: calc(100vh - 64px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.chart-area { flex: 1; border-right: 1px solid var(--border-color); display: flex; flex-direction: column; }
|
|
.orderbook-area { width: 320px; border-right: 1px solid var(--border-color); display: flex; flex-direction: column; }
|
|
.trade-area { width: 320px; padding: 20px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
|
|
|
|
.trade-tabs { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
|
|
.trade-tab { flex: 1; padding: 10px; text-align: center; cursor: pointer; color: var(--text-muted); }
|
|
.trade-tab.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
|
|
|
|
.input-group { margin-bottom: 15px; }
|
|
.input-label { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; display: flex; justify-content: space-between; }
|
|
.trade-input-wrapper { background: #2b3139; border-radius: 4px; display: flex; align-items: center; padding: 0 12px; border: 1px solid transparent; }
|
|
.trade-input-wrapper:focus-within { border-color: var(--primary-color); }
|
|
.trade-input { background: transparent; border: none; color: white; padding: 10px 0; width: 100%; outline: none; font-size: 14px; }
|
|
|
|
.slider-container { margin: 20px 0; }
|
|
.slider { width: 100%; cursor: pointer; }
|
|
|
|
.btn-buy { background: var(--success-color); color: white; width: 100%; padding: 12px; border-radius: 4px; border: none; font-weight: bold; cursor: pointer; }
|
|
.btn-sell { background: var(--danger-color); color: white; width: 100%; padding: 12px; border-radius: 4px; border: none; font-weight: bold; cursor: pointer; }
|
|
|
|
/* Responsive */
|
|
@media (max-width: 992px) {
|
|
.hero-section { flex-direction: column; text-align: center; }
|
|
.why-section { flex-direction: column; }
|
|
.trading-container { grid-template-columns: 1fr; height: auto; }
|
|
.orderbook-area, .trade-area { width: 100%; }
|
|
} |