/* ✅ Fond clair, police soignée, alignement centré */
body {
    font-family: 'Inter', sans-serif;
    background-color: #d0f0ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}

/* ✅ Carte centrée et responsive */
.card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* ✅ Image de profil protégée en background */
.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background-image: url('ton-image.jpg'); /* remplace par le bon lien */
    background-size: cover;
    background-position: center;
    pointer-events: none;
    user-select: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ✅ Boutons sociaux */
.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
}

.social-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

/* ✅ Couleurs spécifiques à chaque bouton */
.youtube-bg {
    background: linear-gradient(to right, #ff0000, #cc0000);
}

.discord-bg {
    background: linear-gradient(to right, #7289da, #5b6fb8);
}

.instagram-bg {
    background: linear-gradient(to right top, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

/* ✅ Fond noir avec X stylisé (logo ou lettre) */
.x-bg {
    position: relative;
    background-color: #000; /* fond noir */
    color: white; /* texte blanc */
    overflow: hidden;
}

/* ✅ "X" géant en filigrane (texte) */
.x-bg::after {
    content: "X";
    position: absolute;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ✅ Pour que le contenu passe au-dessus du filigrane */
.x-bg > * {
    position: relative;
    z-index: 1;
}

/* ✅ Bulle d’arrière-plan */
.bubble-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: rise 12s infinite ease-in;
    opacity: 1;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-130vh) scale(0.7);
        opacity: 0;
    }
}

.kofi-bg {
      background-color: #13C3FF; /* Couleur officielle de Ko-fi */
      color: white;
    }
    .kofi-bg:hover {
      background-color: #00a8e6; /* Une couleur un peu plus foncée au survol */
    }
    .kofi-icon {
      height: 24px; /* Hauteur de l'icône */
      width: auto; /* Largeur automatique pour garder les proportions */
      margin-right: 1rem; /* Espace à droite de l'icône, similaire aux autres boutons */
    }
