/* ============================
   Import des polices
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@600;700&family=Poppins:wght@300;400;600&display=swap');

/* ============================
   Styles généraux
   ============================ */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0b0b22;
    color: #fff;
}

/* Boutons génériques comme dans home.css */
.button {
    display: inline-block;
    background: #9146ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 15px;
}
.button:hover {
    background: #772ce8;
}

/* ============================
   Bandeau “Journal des mises à jour”
   ============================ */
.updates-banner {
    /*margin-top: 130px;*/
    background: #141429;
    padding: 15px;
    text-align: center;
}
.updates-banner a {
    font-family: 'Antonio', sans-serif;
    font-size: 1.1rem;
    color: #ffd700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}
.updates-banner a:hover {
    color: #fff;
}

/* ============================
   Page des mises à jour
   ============================ */
.updates-page {
    max-width: 800px;
    margin: 10em auto 2em;
    padding: 20px;
    background: #12122b;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.updates-page h1 {
    font-family: 'Antonio', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin: 1.5em 0 1em;
}
.patch-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Chaque bloc de patch note */
.patch-note {
    background: #1c1c3c;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.patch-note:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Titre et date */
.patch-note__title {
    font-family: 'Antonio', sans-serif;
    font-size: 1.8rem;
    color: #9146ff;
    margin: 0 0 0.5em;
}
.patch-note time {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.8em;
}

/* Liste des points */
.patch-note__body ul {
    margin: 0;
    padding-left: 1.25em;
}
.patch-note__body li {
    margin-bottom: 0.6em;
    line-height: 1.5;
    color: #ddd;
}

/* Lien “Retour à l’accueil” */
.updates-page .button {
    margin: 2em auto 1em;
    display: block;
    width: fit-content;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .updates-page {
        padding: 0 10px;
    }
    .updates-page h1 {
        font-size: 2rem;
    }
    .patch-note__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .updates-banner {
        padding: 10px;
    }
    .updates-banner a {
        font-size: 1rem;
    }
    .patch-note {
        padding: 15px;
    }
}
