/* 🌌 Style global avec background cyberpunk animé */
body {
  font-family: "Orbitron", Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* 🔥 Dégradé animé cyberpunk */
  background: linear-gradient(270deg, #1f1c2c, #928dab, #ff00cc, #00ffff);
  background-size: 800% 800%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🎭 Header */
header {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 2.8rem;
  margin: 0;
  animation: neon 2s infinite alternate;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ddd;
}

/* 📌 Section projets */
.projects {
  margin: 40px auto;
  padding: 20px;
}

.projects h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffd700;
  animation: neon 2s infinite alternate;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  margin: 15px auto;
  padding: 20px;
  border-radius: 15px;
  width: 85%;
  max-width: 500px;
  font-size: 1.2rem;
  transition: transform 0.25s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

/* 👥 Section membres */
.members {
  margin: 40px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.members h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffd700;
  animation: neon 2s infinite alternate;
}

.members ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.members li {
  padding: 12px;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.members li:last-child {
  border-bottom: none;
}

/* 🔗 Liens GitHub */
.members a {
  color: #00c3ff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.members a:hover {
  color: #ffd700;
  text-shadow: 0px 0px 6px #ffd700;
}

/* 🌟 Style spécial leader */
.members li:first-child a {
  color: #ff4d4d;
  font-size: 1.3rem;
}

/* 👤 Avatars des membres */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  border: 2px solid #00c3ff;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.members li:first-child .avatar {
  border-color: #ff4d4d;
}

.avatar:hover {
  transform: scale(1.2);
  border-color: #ffd700;
}

/* 🎯 Bouton GitHub */
.btn {
  display: inline-block;
  margin: 40px 0;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00c3ff, #009ad6);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #ffd700, #ff9900);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 📌 Footer */
footer {
  padding: 20px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ✨ Animation néon pulsant pour titres */
@keyframes neon {
  0%, 100% {
    text-shadow: 0 0 5px #00c3ff, 0 0 10px #00c3ff, 0 0 20px #009ad6;
  }
  50% {
    text-shadow: 0 0 15px #00f0ff, 0 0 30px #00c3ff, 0 0 45px #009ad6;
  }
}
