/* BCMonster Crypto Price Ticker */

.bcm-ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    z-index: 10000;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bcm-ticker-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    height: 100%;
    will-change: transform;
    white-space: nowrap;
}

.bcm-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    padding: 0.35rem 0.85rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.bcm-ticker-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.5);
}

.bcm-ticker-symbol {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.bcm-ticker-price {
    color: #f8fafc;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bcm-ticker-change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}

.bcm-ticker-positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.bcm-ticker-negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

/* Light theme */
[data-theme="light"] .bcm-ticker-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .bcm-ticker-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .bcm-ticker-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .bcm-ticker-price {
    color: #1e293b;
}

/* Mobile */
@media (max-width: 768px) {
    .bcm-ticker-container { height: 36px; }
    .bcm-ticker-item { font-size: 0.75rem; gap: 0.5rem; padding: 0.3rem 0.6rem; }
    .bcm-ticker-symbol { font-size: 0.8rem; }
    .bcm-ticker-change { font-size: 0.7rem; }
    .bcm-ticker-track { gap: 1rem; padding: 0 1rem; }
}

/* Page content offset */
body { padding-top: 40px !important; }
@media (max-width: 768px) { body { padding-top: 36px !important; } }
