:root {
    --primary-color: #0098D4; /* Bleu OM */
    --secondary-color: #FFFFFF;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-color: #EAEAEA;
    --gold-accent: #FFD700;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    animation: fadeIn 1.5s ease-in-out;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--dark-bg), #1a1a1a);
    border-bottom: 2px solid var(--primary-color);
    animation: fadeInUp 0.5s ease-out;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    margin-bottom: 0.5rem;
}

header p {
    font-style: italic;
    color: var(--secondary-color);
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    animation: fadeInUp 0.7s ease-out;
}

.hero img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: glow 3s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.hero img:hover {
    transform: scale(1.05);
}

.hero-text h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.9s ease-out backwards;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.post-card:nth-of-type(2) { animation-delay: 0.2s; }
.post-card:nth-of-type(3) { animation-delay: 0.4s; }

.post-card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.troll-comment {
    background: linear-gradient(135deg, #2c2c2c, var(--card-bg));
    border-left: 5px solid var(--gold-accent);
}

.troll-comment h3 {
    color: var(--gold-accent);
    border-bottom-color: var(--gold-accent);
}

.troll-comment .signature {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
    color: var(--gold-accent);
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    background-color: #1E1E1E;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

footer p:first-child {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero img {
        margin-bottom: 1rem;
    }
}
