/* Reset simple */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Whitney", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #dcddde;
  background-color: #2c2f33;
}

/* Conteneur principal centré et avec marges sur les côtés */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;       /* centre horizontalement */
  padding: 0 15px;           /* marge latérale sympa */
}

/* Header */
header {
  width: 100%;
  max-width: 900px;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid #23272a;
}

header h1 {
  font-size: 2.8rem;
  color: #5865f2;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 8px #5865f2;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 0.5rem;
}

nav a {
  color: #b9bbbe;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: #5865f2;
  color: white;
  box-shadow: 0 0 10px #5865f2;
}

/* Main container */
main {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  text-align: center;
}

/* Titres */
h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 0 6px #5865f2;
}

/* Paragraphes */
p, li, ul {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #b9bbbe;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

/* Listes stylées */
ul {
  list-style: inside disc;
  padding-left: 0;
  text-align: left;
}

/* Code blocks */
pre {
  background: #202225;
  color: #7289da;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-family: "Fira Mono", monospace, monospace;
  font-size: 1rem;
  max-width: 700px;
  margin: 1rem auto 2rem auto;
  overflow-x: auto;
  box-shadow: inset 0 0 8px #5865f2;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px #5865f2aa;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 1rem 0 2rem 0;
  border-top: 1px solid #23272a;
  color: #72767d;
  font-size: 0.9rem;
}

/* Bouton invitebot */
.invitebot {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 30px;
  background: #5865f2;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
  border: none;
  text-decoration: none;
  display: block;
  width: max-content;
}

.invitebot:hover {
  background: #4752c4;
  box-shadow: 0 6px 20px rgba(71, 82, 196, 0.7);
  transform: translateY(-3px);
}

.invitebot:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(71, 82, 196, 0.5);
}

/* Section spacing */
section {
  margin-bottom: 3rem;
  text-align: center;
}

/* Wrapper for Wumpus image on home */
.wumpus-container {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Animation pulse léger pour Wumpus */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(88, 101, 242, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.7));
  }
}

.wumpus-container img {
  width: 220px;
  height: auto;
  animation: pulse 3s infinite ease-in-out;
  filter: drop-shadow(0 0 10px #5865f2);
  border-radius: 50%;
}

/* Wrapper pour centrer l’image */
.image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.image-wrapper img {
  max-width: 150px;   /* plus petite */
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px #5865f2aa;
  animation: pulse 3s infinite ease-in-out;
  margin-top: 15px;
}

/* Animation pulse */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(88, 101, 242, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.7));
  }
}

/* Centrage global */
body, main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px;
}

main {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  text-align: center;
}

section {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 700px;
  text-align: center;
}

/* Bannière en haut pleine largeur */
.banner-container {
  width: 100%;
  overflow: hidden;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 150px; /* limite la hauteur */
  border-bottom: 3px solid #5865f2; /* bleu Discord */
}

/* Header principal : photo profil + titre */
.header-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
}

/* Photo profil bot */
.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #5865f2; /* contour bleu */
  object-fit: cover;
  box-shadow: 0 0 10px #5865f2aa;
}

/* Header titre */
header h1 {
  font-size: 2.5rem;
  color: #5865f2;
  text-shadow: 0 0 6px #5865f2bb;
  margin: 0;
}

/* Nav bar - stylisée simple */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

nav a {
  color: #b9bbbe;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: #5865f2;
  color: white;
}

/* Pour le reste du contenu (extrait déjà fourni) */
.image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;  /* décale un peu vers le bas */
  margin-bottom: 1.5rem;
}

.image-wrapper img {
  max-width: 150px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px #5865f2aa;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(88, 101, 242, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.7));
  }
}

body, main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px;
}

main {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  text-align: center;
}

section {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 700px;
  text-align: center;
}

/* Ombres pour header, main et footer */
header,
main,
footer {
  background-color: #2f3136;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  margin-top: 1rem;
}


/* Surcharge spécifique pour cette image */
img.wiki-image-big {
  max-width: 500px !important;  /* ou + si tu veux plus grand */
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px #5865f2aa;
}

img.wiki-image-cropped {
  width: 1000px;
  height: 300px;
  object-fit: cover; /* coupe l’image pour remplir sans déformation */
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 0 25px #5865f2aa;
}

    /* Styles spécifiques à équipe.html */

    main {
      max-width: 900px;
      margin: 2rem auto 4rem auto;
      text-align: center;
      display: flex;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
    }

    .team-member {
      background-color: #23272a;
      border-radius: 15px;
      box-shadow: 0 0 20px #5865f2aa;
      padding: 1.5rem 2rem;
      width: 280px;
      opacity: 0;
      animation: fadeInUp 0.8s forwards;
      transition: box-shadow 0.3s ease;
      cursor: default;
    }

    /* Retard d'apparition pour le 2e bloc */
    .team-member:nth-child(2) {
      animation-delay: 0.4s;
    }

    .team-member:hover {
      box-shadow: 0 0 30px #7289da;
    }

    .profile-pic {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #5865f2;
      box-shadow: 0 0 15px #5865f2aa;
      margin-bottom: 1rem;
      animation: pulse 3s infinite ease-in-out;
    }

    h3 {
      color: #5865f2;
      margin-bottom: 0.5rem;
      font-size: 1.8rem;
      text-shadow: 0 0 8px #5865f2;
    }

    p {
      color: #b9bbbe;
      font-size: 1.1rem;
      line-height: 1.4;
      max-width: 260px;
      margin: 0 auto;
    }

    /* Animations */

    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(88, 101, 242, 0));
      }
      50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.7));
      }
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Team member styling */
.team-member {
  display: inline-block;
  width: 250px;
  margin: 20px;
  text-align: center;
  background: #1e1e2f;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  cursor: default;
}
.team-member:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0,255,255,0.7);
}

.team-member .profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #00ffff;
  transition: border-color 0.3s ease;
}

.team-member h3 {
  margin: 10px 0 5px;
  color: #00ffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.team-member p {
  font-style: italic;
  color: #ccc;
  font-size: 0.9rem;
}

/* Discord presence block */
.discord-presence {
  margin: 40px auto;
  max-width: 350px;
  background: #2f3136;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  user-select: none;
  transition: box-shadow 0.3s ease;
}

.discord-presence:hover {
  box-shadow: 0 0 30px #7289da;
}

.discord-presence a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  text-decoration: none;
  justify-content: center;
}

.discord-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #7289da;
  transition: transform 0.3s ease;
}

.discord-presence:hover .discord-avatar {
  transform: scale(1.1);
}

.discord-username {
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 0 6px #7289da;
}

.discord-status {
  font-size: 0.9rem;
  margin-left: 10px;
  font-style: italic;
  opacity: 0.8;
}
.discord-presence {
  background: #36393f;
  color: white;
  width: 300px;
  margin: 2rem auto;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  transition: box-shadow 0.3s ease;
}
.discord-presence:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
.discord-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #7289da;
  object-fit: cover;
  flex-shrink: 0;
}
.discord-info {
  flex: 1;
}
.discord-username {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.discord-status {
  font-size: 0.9rem;
  color: #b9bbbe;
  margin-bottom: 0.3rem;
  text-transform: capitalize;
}
.discord-activity {
  font-size: 0.85rem;
  font-style: italic;
  color: #b9bbbe;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  background-color: gray;
}
.status-online { background-color: #43b581; }
.status-idle { background-color: #faa61a; }
.status-dnd { background-color: #f04747; }
.status-offline { background-color: #747f8d; }
