/* -- S'assurer que le parent aligne bien le logo et le badge -- */
.site-logo {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap; /* Empêcher le retour à la ligne */
    align-items: center;
    gap: 15px; /* Espace entre le logo et le badge */
}

/* -- Style pour l'écusson des 25 ans -- */
.badge-25-ans {
    position: relative;
    white-space: nowrap;
    background: linear-gradient(135deg, #FFDF00 0%, #D4AF37 50%, #C5A059 100%);
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: shine-badge 3s infinite alternate;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: transform 0.2s;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 100;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .site-logo {
        gap: 4px; /* Réduire l'espace sur mobile au maximum */
    }
    .badge-25-ans {
        font-size: 0.65rem; /* Texte et emojis encore plus petits */
        padding: 2px 6px; /* Marge interne minimale */
        letter-spacing: 0px;
        border: 1px solid rgba(255, 255, 255, 0.5); /* Bordure plus fine */
    }
}

.badge-25-ans:hover {
    transform: scale(1.05) rotate(3deg);
}

.badge-content {
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes shine-badge {
    0% {
        box-shadow: 0 0 5px rgba(255, 223, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 223, 0, 1);
        border-color: rgba(255, 255, 255, 0.8);
    }
}


/* -- Effet pluie de plumes et étincelles -- */
.feather-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Pour ne pas bloquer les clics sur la page */
    z-index: 1; /* Derrière le menu et le texte, mais devant l'image de fond */
    overflow: hidden;
}

.golden-feather {
    position: absolute;
    top: -50px; /* On commence un peu au-dessus de l'écran */
    color: #FFDF00;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(255, 223, 0, 0.9));
    animation-name: fall-feather;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall-feather {
    0% {
        transform: translateY(-50px) rotate(-15deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translateY(25vh) translateX(50px) rotate(15deg) scale(1.1);
    }
    50% {
        transform: translateY(50vh) translateX(-30px) rotate(-15deg) scale(0.9);
    }
    75% {
        transform: translateY(75vh) translateX(20px) rotate(10deg) scale(1.1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(105vh) translateX(0) rotate(-5deg) scale(1);
        opacity: 0;
    }
}
