/* ================================================
   TRENDS PAGE STYLES
   ================================================ */

.trends-header {
    padding: 2rem 0;
    border-bottom: 2px solid var(--clr-border);
    margin-bottom: 2rem;
}

.trends-header h1 {
    font-size: 2rem;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
}

.market-index {
    display: flex;
    gap: 1rem;
}

.index-card {
    background: linear-gradient(135deg, var(--clr-primary), #06b6d4);
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
}

.index-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.index-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.index-change {
    font-size: 0.95rem;
    opacity: 0.85;
}

.chart-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
}

.chart-card canvas {
    max-height: 300px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--clr-surface), var(--clr-bg));
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.1);
    transform: translateY(-4px);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-state h2 {
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 768px) {
    .trends-header {
        padding: 1.5rem 0;
    }
    
    .trends-header h1 {
        font-size: 1.5rem;
    }
    
    .market-index {
        flex-direction: column;
    }
    
    .index-card {
        min-width: unset;
    }
    
    .chart-card {
        padding: 1rem;
    }
    
    .chart-card h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}