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

113 lines
2.4 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;
}
.card {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 12px;
}
/* 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; }
}