/* Ajoutez ces styles à votre fichier CSS existant */

/* Animation d'entrée des sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Délai pour chaque section */
.news-section {
  animation-delay: 0.2s;
}

.about-section {
  animation-delay: 0.4s;
}

.donation-section {
  animation-delay: 0.6s;
}

.support-band {
  animation-delay: 0.8s;
}

/* Animation des cartes */
.news-card, .donation-card {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-card:hover, .donation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Animation du bouton play */
.play-btn {
  transition: all 0.3s, transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
}

/* Effet de vague sur le bouton principal */
.plus {
  position: relative;
  overflow: hidden;
}

.plus::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.5s;
}

.plus:hover::after {
  left: 100%;
}

/* Animation du header */
.article-header {
  animation: headerFadeIn 1.5s ease-out;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
    background-position-y: -50px;
  }
  to {
    opacity: 1;
    background-position-y: 0;
  }
}

/* Animation du contenu */
.article-content {
  animation: contentScaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: top center;
}

@keyframes contentScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation des éléments au scroll */
.article-section, .quote {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.article-section.visible, .quote.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bouton flottant animé */
.floating-home-btn {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Timeline animée */
.timeline-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.timeline-item:nth-child(even) {
  transform: translateX(30px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Testimonials avec effet de carte */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: perspective(1000px) rotateY(15deg);
}

.testimonial-card:hover {
  transform: perspective(1000px) rotateY(0);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Effet de vague sur la section join-us */
.join-us {
  position: relative;
  overflow: hidden;
}

.join-us::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0) 60%
  );
  transform: rotate(30deg);
  transition: all 0.8s;
}

.join-us:hover::before {
  left: 100%;
  top: 100%;
}

/* Animation du header au scroll */
header {
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Animation des liens */
.nav-links a::after {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Animation du menu mobile */
.mobile-nav {
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
}

/* Effet "morphing" sur le bouton de don */
.donate-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.donate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e63946;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  clip-path: circle(0% at 50% 50%);
}

.donate-btn:hover::before {
  clip-path: circle(100% at 50% 50%);
}