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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 200, 255, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    padding: 120px 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

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

.page-title {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: #a0a0b0;
    line-height: 1.6;
}

/* Introduction Section */
.intro-section {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 60px;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0e27;
}

.intro-icon svg {
    width: 45px;
    height: 45px;
}

.intro-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.intro-section p {
    font-size: 17px;
    color: #a0a0b0;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Filters */
.filters-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(100, 200, 255, 0.1);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    color: #0a0e27;
    border-color: transparent;
    transform: translateY(-2px);
}

.filter-icon {
    font-size: 18px;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.stat-box {
    background: rgba(20, 25, 45, 0.6);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #64c8ff;
    box-shadow: 0 15px 35px rgba(100, 200, 255, 0.2);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #a0a0b0;
    font-size: 14px;
}

/* Articles Grid */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: rgba(20, 25, 45, 0.6);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: #64c8ff;
    box-shadow: 0 20px 50px rgba(100, 200, 255, 0.3);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.2), rgba(0, 255, 136, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.2), rgba(0, 255, 136, 0.1));
}

.article-image-placeholder svg {
    width: 60px;
    height: 60px;
    color: #64c8ff;
}

.article-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid rgba(100, 200, 255, 0.4);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #64c8ff;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 25px;
}

.article-header {
    margin-bottom: 15px;
}

.article-date {
    color: #00ff88;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date svg {
    width: 14px;
    height: 14px;
}

.article-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-description {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 5px 12px;
    background: rgba(100, 200, 255, 0.1);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: #e0e0e0;
}

.article-footer {
    display: flex;
    gap: 12px;
}

.article-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(100, 200, 255, 0.1);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 12px;
    color: #64c8ff;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.article-btn:hover {
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    color: #0a0e27;
    border-color: transparent;
    transform: translateY(-2px);
}

.article-btn svg {
    width: 16px;
    height: 16px;
}

/* No Articles Message */
.no-articles {
    text-align: center;
    padding: 80px 20px;
    color: #a0a0b0;
}

.no-articles svg {
    width: 80px;
    height: 80px;
    color: #64c8ff;
    margin-bottom: 20px;
}

.no-articles h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

/* FAQ/Sources Section */
.faq-section {
    margin-top: 80px;
}

.faq-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #64c8ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.source-card {
    background: rgba(20, 25, 45, 0.6);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.source-card:hover {
    transform: translateY(-5px);
    border-color: #64c8ff;
    box-shadow: 0 15px 35px rgba(100, 200, 255, 0.2);
}

.source-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.source-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #64c8ff;
}

.source-card p {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .main-container {
        padding: 100px 30px 60px;
    }

    .page-title {
        font-size: 40px;
    }

    .articles-container {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .intro-section {
        padding: 30px 20px;
    }

    nav {
        padding: 15px 30px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .filters-section {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
        /* Titre article cliquable */
        .article-title a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }
        .article-title a:hover {
            color: #64c8ff;
            text-decoration: underline;
        }

        /* Bouton titre long : texte tronqué */
        .article-btn.btn-title {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            display: block;
            padding: 12px 16px;
        }

        /* Bouton secondaire : largeur fixe */
        .article-btn.btn-secondary {
            flex: 0 0 auto;
            white-space: nowrap;
        }
