/* Styles Généraux */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0f172a; /* Fond de secours sombre et moderne */
}

/* Image d'arrière-plan fixe */
.red-heeler {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.75); /* Assombrit légèrement pour faire ressortir le texte */
}

/* Le Conteneur Principal (Ancien Rectangle) */
.rectangle {
  width: 90%;
  max-width: 800px;
  min-height: 250px;
  padding: 40px;
  box-sizing: border-box;
  
  /* Effet Glassmorphism (Verre dépoli) */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  /* Bordures et Ombres élégantes */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  
  /* Structure Flexbox pour tout aligner proprement */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Textes Principaux */
.text-decale {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Taille adaptative selon l'écran */
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 10px 0;
  line-height: 1.2;
}

.text-decale-left-up {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.text-decale-left-down {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8px);
  font-weight: 400;
}

/* Structure des Liens */
.link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* Animation de soulignement au survol */
.link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #5865F2; /* Couleur Discord */
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.link:hover {
  color: #5865F2;
  opacity: 1;
}

/* Bouton Spécifique Discord */
#discord-link {
  align-self: flex-start; /* Aligne le bouton à gauche sans bloquer la ligne */
  background: #5865F2;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

#discord-link:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
  color: white;
}

#discord-link::after {
  display: none; /* Supprime la ligne de soulignement sous le bouton Discord */
}
