body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(133deg, #6e8efb, #54c4c4, #dfda9f, #a777e3);
    background-size: 400% 400%;
    animation: gradient 60s ease infinite;
}

/* Entête */
.entete {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    margin-top: 50px;
}

.entete h1 {
    color: #333;
    margin-bottom: 10px;
}

.entete img {
    border-radius: 50%;
    border: 3px solid #333;
    margin: 10px 0;
    transition: transform 0.3s ease;
    cursor:grabbing;
}

.entete img:hover {
    transform: scale(1.1);
}

.entete h2 {
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Sous-entête */

.sous_entete {
    text-align: center;
    padding: 15px;
    background-color: #e9e9e9;
    border-radius: 8px;
    margin: 10px auto;
    max-width: 600px;
    font-size: 18px;
    color: #444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sous_entete p {
    margin: 0;
    font-weight: bold;
}

/* Site IMPORTANT lol */
.SiteImportant {
    text-align: center;
    padding: 15px;
    background-color: #ffeb3b; /* Jaune pour attirer l'attention */
    border-radius: 8px;
    margin: 20px auto;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.SiteImportant a {
    color: #d32f2f; /* Rouge pour indiquer l'importance */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.SiteImportant a:hover {
    text-decoration: underline;
    color: #b71c1c; /* Rouge plus foncé au survol */
}

/* Réseaux Principaux */
.princip_net {
    text-align: center;
    padding: 20px;
    background-color: #e3f2fd; /* Couleur de fond douce */
    border-radius: 10px;
    margin: 20px auto;
    max-width: 300px;
}

.princip_net h3 {
    color: #1976d2; /* Bleu pour le titre */
    margin-bottom: 15px;
}

.princip_net a {
    color: #1976d2; /* Couleur des icônes */
    font-size: 24px; /* Taille des icônes */
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.princip_net a:hover {
    transform: scale(1.2); /* Agrandit légèrement l'icône au survol */
    color: #0d47a1; /* Couleur plus foncée au survol */
}

/* Réseaux Secondaires */
.second_net {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5; /* Couleur de fond douce */
    border-radius: 10px;
    margin: 20px auto;
    max-width: 400px;
}

.second_net h3 {
    color: #757575; /* Couleur du titre */
    margin-bottom: 15px;
}

.second_net a {
    color: #757575; /* Couleur des liens */
    text-decoration: none;
    display: inline-block;
    margin: 5px 5px;
    font-size: 16px;
}

.second_net a i {
    margin-right: 3px;
    margin-left: 5px;
    color: #757575; /* Couleur des icônes */
}

.second_net a:hover {
    color: #333; /* Couleur plus foncée au survol */
}

.second_net a:hover i {
    color: #333; /* Couleur des icônes au survol */
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc avec transparence */
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e9ecef;
    margin-bottom: 20px;
}

footer p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

/* Discord Promo */
.discord-promo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #36393f, #23272a);
    border-radius: 10px;
    padding: 8px 14px;
    margin: 10px auto;
    max-width: 420px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    border: 1px solid #5865F2;
}
 
.discord-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #5865F2;
    flex-shrink: 0;
}
 
.discord-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
 
.discord-name {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.discord-desc {
    color: #b9bbbe;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.discord-btn {
    background: #5865F2;
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
 
.discord-btn:hover {
    background: #4752c4;
    text-decoration: none !important;
}
 
.discord-btn i {
    margin-right: 4px;
}

#visitorCount {
    font-weight: bold;
    color: #007BFF;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Autres Styles */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ajuster les styles pour les appareils mobiles */
@media only screen and (max-width: 768px) {
    body {
        height: auto;
        padding: 10px;
    }

    .entete img {
        width: 100px;
        height: 100px;
    }

    .princip_net a,
    .second_net a {
        font-size: 20px;
    }

    .second_net a {
        display: block;
    }

    /* Discord promo mobile */
    .discord-promo {
        flex-wrap: wrap;
        max-width: 90%;
        padding: 10px 12px;
        gap: 8px;
    }

    .discord-logo {
        width: 30px;
        height: 30px;
    }

    .discord-text {
        flex: 1 1 60%;
    }

    .discord-name {
        font-size: 10px;
    }

    .discord-desc {
        font-size: 8.5px;
        white-space: normal;
    }

    .discord-btn {
        width: 100%;
        text-align: center;
        padding: 6px 0;
        font-size: 12px;
    }
}

/* ================================================
   🌻 BLOC BIENVEILLANCE
================================================ */
.sunflower-link-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto;
    max-width: 460px;
    padding: 0 8px;
}

.sf-deco {
    font-size: 2rem;
    animation: sfSway 3s ease-in-out infinite;
    display: inline-block;
    transform-origin: bottom center;
    flex-shrink: 0;
}
.sf-deco:nth-child(1) { animation-delay: 0s; }
.sf-deco:nth-child(2) { animation-delay: 0.4s; }
.sf-deco:nth-child(4) { animation-delay: 0.2s; }
.sf-deco:nth-child(5) { animation-delay: 0.6s; }

@keyframes sfSway {
    0%, 100% { transform: rotate(-8deg); }
    50%       { transform: rotate(8deg); }
}

.sunflower-link-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFFDE7, #FFF9C4);
    border: 2px solid #FFD600;
    border-radius: 16px;
    padding: 14px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(255, 200, 0, 0.35);
    flex: 1;
    min-width: 0;
}

.sf-title {
    font-weight: 800;
    font-size: 1rem;
    color: #5D4037;
}

.sf-desc {
    font-size: 0.78rem;
    color: #795548;
    line-height: 1.4;
}

.sf-btn {
    display: inline-block;
    margin-top: 4px;
    background: linear-gradient(135deg, #FFD600, #FF8C00);
    color: #5D4037 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.sf-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.5);
    text-decoration: none !important;
}

@media only screen and (max-width: 768px) {
    .sunflower-link-wrap { gap: 6px; max-width: 95%; }
    .sf-deco { font-size: 1.5rem; }
    .sf-title { font-size: 0.92rem; }
}

