/* Styles spécifiques pour l'article sur la série 5000 */

/* Header */
.article-header {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../img/Veille/Articles/DLSS-4-Multi-Frame-Generation-1024x532-avif.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.header-content {
    max-width: 800px;
    padding: 2rem;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-subtitle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.tag {
    background-color: #76b900;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

/* Contenu principal */
.article-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #000000;
}

.article-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.section-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(118, 185, 0, 0.2);
}

/* Introduction */
.intro h2 {
    color: #76b900;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.lead {
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin: 2rem 0;
}

/* Loi de Moore */
.info-box {
    background: rgba(118, 185, 0, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.quote {
    font-style: italic;
    color: #76b900;
    text-align: center;
    font-size: 1.2rem;
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid #76b900;
}

/* Tableau comparatif */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(118, 185, 0, 0.2);
}

th {
    background: rgba(118, 185, 0, 0.1);
    color: #76b900;
    font-weight: bold;
}

tr:hover {
    background: rgba(118, 185, 0, 0.05);
}

/* DLSS Section */
.feature-box {
    background: rgba(118, 185, 0, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(118, 185, 0, 0.1);
    border-radius: 10px;
}

/* Crédits et Vidéo */
.credits {
    margin-top: 4rem;
    text-align: center;
}

.credits-content {
    padding: 2rem;
}

.credits h2 {
    color: #76b900;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.credits p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-link {
    margin-top: 1rem;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.youtube-link:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.youtube-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

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

    .section-content {
        padding: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .credits-content {
        padding: 1rem;
    }

    .credits h2 {
        font-size: 1.8rem;
    }

    .credits p {
        font-size: 1rem;
    }

    .youtube-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animations */
.article-section:nth-child(1) { animation-delay: 0.2s; }
.article-section:nth-child(2) { animation-delay: 0.4s; }
.article-section:nth-child(3) { animation-delay: 0.6s; }
.article-section:nth-child(4) { animation-delay: 0.8s; }
.article-section:nth-child(5) { animation-delay: 1.0s; } 