.christmas-decoration {
    position: absolute;
    pointer-events: none; /* Ne bloque pas les clics */
    z-index: 5; /* Entre le background et le contenu principal */
    opacity: 0;
    animation: fadeInDecor 1s ease-in-out forwards;
}

/* Animation d'apparition douce */
@keyframes fadeInDecor {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 0.85;
        transform: scale(1);
    }
}

/* Animation de flottement subtil (optionnel) */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.christmas-decoration.float {
    animation: fadeInDecor 1s ease-in-out forwards, 
               float 3s ease-in-out infinite 1s;
}

/* Animation de scintillement pour les étoiles */
@keyframes twinkle {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.5; }
}

.christmas-decoration.twinkle {
    animation: fadeInDecor 1s ease-in-out forwards,
               twinkle 2s ease-in-out infinite 1s;
}


/* ========================================
   VARIANTE A : COINS DU HERO (Discret)
   Classes : corner-top-left, corner-top-right, 
             corner-bottom-left, corner-bottom-right
   ======================================== */

/* Coin supérieur gauche */
.corner-top-left {
    top: -15px;
    left: -5px;
    width: 250px;
    height: auto;
}

/* Coin supérieur droit */
.corner-top-right {
    top: 20px;
    right: 20px;
    width: 80px;
    height: auto;
}

/* Coin inférieur gauche */
.corner-bottom-left {
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: auto;
}

/* Coin inférieur droit */
.corner-bottom-right {
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: auto;
}


/* ========================================
   VARIANTE B : AUTOUR DU TITRE (Encadrement)
   Classes : title-left, title-right, 
             title-top, title-bottom
   ======================================== */

/* Élément à gauche du titre */
.title-left {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
}

/* Élément à droite du titre */
.title-right {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
}

/* Élément au-dessus du titre */
.title-top {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: auto;
}

/* Élément en dessous du titre */
.title-bottom {
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: auto;
}


/* ========================================
   VARIANTE C : MIXTE (Équilibré et Festif)
   Combinaison harmonieuse des éléments
   ======================================== */

/* Guirlande en haut (si vous avez l'image) */
.garland-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    object-fit: contain;
    opacity: 0.7;
}

/* Sapin côté gauche */
.tree-left {
    bottom: 30px;
    left: 5%;
    width: 120px;
    height: auto;
}

/* Cloche côté droit */
.bell-right {
    top: 25%;
    right: 8%;
    width: 50px;
    height: auto;
}

/* Étoile flottante 1 */
.star-float-1 {
    top: 15%;
    left: 15%;
    width: 40px;
    height: auto;
}

/* Étoile flottante 2 */
.star-float-2 {
    top: 20%;
    right: 20%;
    width: 35px;
    height: auto;
}

/* Cadeau décoratif */
.gift-decor {
    bottom: 40px;
    right: 10%;
    width: 70px;
    height: auto;
}


/* ========================================
   TAILLES ALTERNATIVES (Modificateurs)
   Ajoutez ces classes pour varier les tailles
   ======================================== */

.small {
    width: 40px !important;
}

.medium {
    width: 70px !important;
}

.large {
    width: 120px !important;
}

.extra-large {
    width: 150px !important;
}


/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Réduire la taille sur mobile */
    .christmas-decoration {
        transform: scale(0.6);
    }
    
    /* Ajuster les positions pour éviter le débordement */
    .corner-top-left {
        top: 10px;
        width: 120px;
    }

    .corner-top-right {
        top: 10px;
        width: 40px;
    }
    
    .corner-bottom-left,
    .corner-bottom-right {
        bottom: 10px;
        width: 60px;
    }
    
    .title-left,
    .title-right {
        display: none; /* Masquer sur mobile pour éviter de gêner */
    }
    
    .tree-left,
    .gift-decor {
        width: 70px;
    }
    
    .bell-right,
    .star-float-1,
    .star-float-2 {
        width: 30px;
    }
    
    /* Masquer la guirlande sur mobile */
    .garland-top {
        display: none;
    }
}


/* ========================================
   EFFETS SPÉCIAUX (Optionnel)
   ======================================== */

/* Effet de lueur pour les étoiles */
.glow {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

/* Effet de neige légère sur l'élément */
.frost {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

/* Rotation douce continue */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}