.header-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.nav-link {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #8b5cf6;
}

.nav-link:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #b0b0b0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
    animation: pulse 2s infinite;
}

.status-dot.connected {
    background: #22c55e;
}

.status-dot.connecting {
    background: #f59e0b;
}

.status-dot.disconnected {
    background: #ef4444;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-feed-section {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.feed-header {
    display: grid;
    grid-template-columns: 100px 1.5fr 1.5fr 100px 100px 100px 100px 100px 100px;
    gap: 10px;
    padding: 15px;
    background: #242424;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #f5a623;
    font-size: 13px;
    text-align: center;
}

.feed-col {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-col.col-collection,
.feed-col.col-model {
    text-align: left;
    justify-content: flex-start;
}

.live-feed {
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #1a1a1a;
}

.live-feed::-webkit-scrollbar {
    width: 8px;
}

.live-feed::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.live-feed::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

.live-feed::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

.feed-placeholder {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.feed-item {
    display: grid;
    grid-template-columns: 100px 1.5fr 1.5fr 100px 100px 100px 100px 100px 100px;
    gap: 10px;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    align-items: center;
    animation: slideIn 0.5s ease;
    transition: all 0.3s ease;
}

.feed-item:hover {
    background: #353535;
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.feed-item.new {
    animation: slideIn 0.5s ease, highlight 2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes highlight {
    0%, 100% {
        background: #2a2a2a;
    }
    50% {
        background: #3a4a3a;
    }
}

.feed-time {
    color: #b0b0b0;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-collection,
.feed-model {
    color: #e0e0e0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.feed-price {
    color: #f5a623;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-market {
    color: #8b5cf6;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-percent-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.feed-percent {
    font-weight: 600;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.feed-median {
    font-size: 11px;
    color: #888;
    text-align: center;
}

.feed-percent.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.feed-percent.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.feed-percent.neutral {
    color: #b0b0b0;
    background: rgba(176, 176, 176, 0.1);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-box {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid #2a2a2a;
    text-align: center;
}

.stat-box h3 {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.stat-value {
    color: #f5a623;
    font-size: 32px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .feed-header,
    .feed-item {
        grid-template-columns: 80px 1fr 1fr 80px 80px 90px 90px 90px 90px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .feed-header,
    .feed-item {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .feed-col {
        text-align: left !important;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
}
