38451-vm/assets/css/index.css
2026-02-16 08:59:58 +00:00

173 lines
3.5 KiB
CSS

:root {
--primary-color: #0062ff;
--bg-dark: #0b0e11;
--card-bg: #1e2329;
--text-main: #eaecef;
--text-muted: #848e9c;
--border-color: #2b3139;
--success: #26a69a;
--danger: #ef5350;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
}
/* Ensure readability on dark backgrounds */
.text-muted {
color: var(--text-muted) !important;
}
.text-light {
color: #fff !important;
}
.fs-3, .fs-5, h1, h2, h3, h4 {
color: #ffffff;
}
.card {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 12px;
}
/* Contrast optimization */
.alert {
background: rgba(239, 83, 80, 0.1);
color: #ef5350;
border: 1px solid rgba(239, 83, 80, 0.2);
}
.bg-black {
background-color: #000000 !important;
}
/* Hero Carousel Optimization */
.carousel-item {
transition: transform 0.6s ease-in-out;
}
.carousel-content {
border-radius: 16px;
overflow: hidden;
position: relative;
background-size: cover !important;
background-position: center !important;
}
.carousel-overlay {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.carousel-content > div {
position: relative;
z-index: 2;
}
/* Coin Cards */
.coin-card {
border: 1px solid var(--border-color);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.coin-card:hover {
transform: translateY(-8px);
border-color: var(--primary-color);
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.price-up { color: var(--success) !important; }
.price-down { color: var(--danger) !important; }
/* Icons */
.icon-box {
width: 64px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 16px;
margin-bottom: 1.5rem;
transition: transform 0.3s;
}
.icon-box:hover {
transform: scale(1.1);
}
/* Partner Cards */
.partner-card {
background: var(--card-bg);
border: 1px solid var(--border-color);
transition: all 0.3s;
height: 100px;
filter: grayscale(0.5);
opacity: 0.8;
}
.partner-card:hover {
filter: grayscale(0);
opacity: 1;
border-color: var(--text-muted);
}
/* Footer status */
.status-indicator {
width: 8px;
height: 8px;
background: #00ff00;
border-radius: 50%;
display: inline-block;
margin-right: 8px;
box-shadow: 0 0 8px #00ff00;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(0.95); opacity: 0.7; }
70% { transform: scale(1.2); opacity: 1; }
100% { transform: scale(0.95); opacity: 0.7; }
}
@media (max-width: 768px) {
.carousel-content {
height: 400px !important;
padding: 20px !important;
}
.display-3 {
font-size: 1.8rem !important;
}
.lead {
font-size: 1rem !important;
}
.btn-lg {
padding: 10px 20px !important;
font-size: 14px !important;
}
.market-section h2 {
font-size: 1.5rem;
}
.col-md-3 {
width: 50% !important;
flex: 0 0 auto;
}
.coin-card .card-body {
padding: 15px !important;
}
.price-display {
font-size: 1.2rem !important;
}
.icon-box {
width: 50px;
height: 50px;
}
.icon-box i {
font-size: 1.5rem !important;
}
.why-us h2 {
font-size: 1.8rem !important;
}
}