/* Général */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'TT Commons', sans-serif;
  background-color: #0e1117;

  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Loader */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #555;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}


.card {
  position: relative; /* TRÈS IMPORTANT */
  background: #1a1a1a;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  max-width: 400px;
  width: 100%;
  animation: fadeIn 1s ease forwards;
  overflow: visible; /* pour que les étiquettes puissent dépasser */
  z-index: 10; /* carte au-dessus */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Profile Picture */
.profile-pic-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  width: 110px;
  height: 110px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* IMPORTANT ! Remettre ça pour rendre l'img ronde */
  pointer-events: none;
}

.profile-pic-wrapper.active {
  transform: scale(1.15);
}



.profile-pic-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.profile-pic-wrapper:hover::before {
  transform: rotate(25deg) translateX(100%);
}

/* Text */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0 10px;
}

.email {
  font-size: 1.5rem;
  color: #b0b0b0;
  margin-top: 0px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  grid-gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.buttons a {
  width: 120px;
  height: 120px;
  background: #262626;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.buttons a img {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.buttons a:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* Hover couleurs */
.buttons a.youtube:hover { background: #ff4f4f; }
.buttons a.gda:hover { background: #4b1bdc; }
.buttons a.discord:hover { background: #7289da; }
.buttons a.bonzai:hover { background: #00cc66; }

.slogan {
  font-size: 0.9rem; /* Avant sûrement genre 0.9rem */
  font-weight: 200; /* Légèrement plus costaud */
  color: #aaaaaa; /* Garde un gris propre */
  text-align: center;
  margin-top: 30px; /* Espace après la carte */
  max-width: 500px; /* Pour pas exploser sur grand écran */
}
.slogan footer{
  font-size: 0.98rem; /* Avant sûrement genre 0.9rem */
  
}

.slogan .highlight {
  color: #ffffff;
  font-weight: 700;
}

.footer-email {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
}

.footer-email:hover {
  color: #fff;
  text-decoration: underline;
}








/* Academy */
.academy a {
  display: inline-block;
  margin-top: 70px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffd700;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.academy a:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  font-weight: 400;
  margin-top: 40px; /* Espacement entre texte et footer */
}
/* Tags container */
.tags {
  position: absolute;
  top: 20px;
  right: -50px;
  transform-origin: left center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
}

/* Individual tag */
.tag {
  position: relative;
  transform-origin: left center;

  width: 70px;
  height: 40px;
  background: linear-gradient(90deg, #1a1a1a 0%, #262626 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
  border-radius: 0 20px 20px 0; /* Coins arrondis à DROITE */
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1), background 0.4s ease;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* Hover effect */
.tag:hover {
  transform-origin: left center;
  width: 220px;
  background: linear-gradient(90deg, #4b1bdc 0%, #6c47ff 100%);
}

/* Label (always visible) */
.label {
  min-width: 60px;
  flex-shrink: 0;
  text-align: left;
}

/* Info text (appears on hover) */
.info {
  opacity: 0;
  margin-left: 10px;
  transition: opacity 0.4s ease;
  flex-shrink: 0;
}

/* Reveal info on hover */
.tag:hover .info {
  opacity: 1;
}
