
        :root {
            --google-color: #4285f4;
            --twitter-color: #1DA1F2;
            --news-color: #34A853;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --top-trend-color: #dc2626;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #f9fafb;
            color: #111827;
            line-height: 1.5;
        }

        .header {
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            padding: 1.5rem 1rem;
            margin-bottom: 2rem;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo {
            width: 2rem;
            height: 2rem;
            color: #4f46e5;
        }

        h1 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111827;
        }

        .stats-section {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
            color: #6b7280;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .stat-label {
            font-weight: 500;
        }

        .trends-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .trend-card {
            background: #ffffff;
            border-radius: 0.75rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.2s ease;
            overflow: hidden;
        }

        .trend-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .card-content {
            padding: 1.5rem;
        }

        .trend-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            color: #6b7280;
            margin: 0.5rem 0 0.75rem;
        }

        .trend-date {
            font-size: 0.75rem;
            color: #6b7280;
            margin: 0.5rem 0 0.75rem;
        }

        .source-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .source-badge svg {
            width: 0.875rem;
            height: 0.875rem;
        }

        .source-google { background-color: var(--google-color); }
        .source-twitter { background-color: var(--twitter-color); }
        .source-news { background-color: var(--news-color); }

        .trend-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 0.75rem;
        }

        .trend-volume {
            font-size: 0.75rem;
            color: #6b7280;
            margin: 0;
            border: none;
            padding: 0;
        }

        .news-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .news-item {
            display: block;
            padding: 0.75rem;
            background: #f3f4f6;
            border-radius: 0.5rem;
            color: #111827;
            text-decoration: none;
            font-size: 0.875rem;
            transition: background-color 0.2s ease;
        }

        .news-item:hover {
            background: #e5e7eb;
        }

        .filter-section {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .filter-btn {
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            text-decoration: none;
            color: #6b7280;
            background: #f3f4f6;
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }

        .filter-btn:hover {
            background: #e5e7eb;
        }

        .filter-btn.active {
            background: #4f46e5;
            color: white;
        }

        .top-topics-container {
            padding: 2rem;
            background-color: #f8fafc;
            border-radius: 1rem;
            border: 1px solid #e2e8f0;
            margin-bottom: 2rem;
        }

        .top-topics-container h2 {
            color: #1e293b;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                align-items: flex-start;
            }

            .stats-section {
                flex-direction: column;
                gap: 0.75rem;
            }

            .trends-grid {
                grid-template-columns: 1fr;
            }
        }
  
  .news-link {
    display: block;
    padding: 10px;
    margin-bottom: 8px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    color: #4f46e5; /* Couleur violette pour les liens */
    transition: background-color 0.2s, color 0.2s;
    font-size: 14px;
    line-height: 1.4;
}

.news-link:hover {
    background: #e5e7eb;
    color: #312e81; /* Violet plus foncé au survol */
}

/* Modifier le style du conteneur des top trends */
.top-topics-container {
    padding: 2rem;
    background-color: #4f46e5; /* Fond violet */
    border-radius: 1rem;
    border: none;
    margin-bottom: 2rem;
    color: white;
}

.top-topics-container h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Ajuster le style des cartes dans le top trends */
.top-topics-container .trend-card {
    background: white;
}

.top-topics-container .source-badge {
    background-color: #4f46e5;
}

.source-badge.source-top-trend {
    background-color: var(--top-trend-color);
}
    
.source-badge.source-discover { 
            background-color: #9333ea; /* Purple color for Discover */ 
        }
        
        .discover-date {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        .discover-section {
            margin-bottom: 2rem;
        }    
    