/* 🎨 Declaration d'une police personnalisee utilisee pour titres ou textes */@font-face {
  font-family: 'LazyDog';
  src: url('/assets/fonts/lazy_dog.ttf') format('truetype');
}

/* 🎨 Declaration d'une police personnalisee utilisee pour titres ou textes */@font-face {
  font-family: 'OctoberCrow';
  src: url('/assets/fonts/October_Crow.ttf') format('truetype');

}


/* 🧩 Conteneur principal de la liste des equipements en mode cercle */.equipement-liste {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
  color: #dbdbdb;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🧩 Conteneur principal de la liste des equipements en mode cercle */.equipement-liste h1 {
  font-family: 'OctoberCrow', cursive;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #1cce5b;
  padding: 1rem;
  font-weight: lighter;
  padding-top: 60px;
  text-shadow: 0 0 10px #1cce5b;
}

/* ⭕ Conteneur du cercle principal (desktop), avec animation de fond */.equipement-cercle-container {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 0 auto;
}

/* ⭕ Conteneur du cercle principal (desktop), avec animation de fond */.equipement-cercle-container::before {
  content: "";
  position: absolute;
    top: 40px;
    left: 20px;
    width: 95%;
    height: 90%;
  background: url("/assets/images/EquipementsPG-TIER/grandcercle.png") center center no-repeat;
  background-size: contain;
  animation: spin2 60s linear infinite;
  z-index: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 🔁 Animation lente de rotation inverse */@keyframes spin2 {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(00deg);
  }
}

.circle {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#equipement-center-display {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2rem;
  z-index: 10;
}

#equipement-name-center {
  position: absolute;
  top: calc(50% - 130px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #1cce5b;
  font-family: 'lazydog', cursive;
  text-align: center;
  z-index: 11;
}

/* 📦 Bloc individuel d’un equipement avec icone et nom */.equipement-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 165px;
  position: relative;
}

.equipement-background {
  width: 100px;
  height: 100px;
  animation: spin 6s linear infinite;
  position: absolute;
  top: 20%;
  left: 11%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  background-color: #1d0039;

}

.equipement-icon {
  width: 90px;
  height: 90px;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  cursor: pointer;
}

.equipement-icon:hover {
  background-color: #1cce5b;
}

.equipement-icon.active-hover {
  background-color: #1cce5b;
}




/* 📦 Bloc individuel d’un equipement avec icone et nom */.equipement-wrapper .equipement-label {
  position: relative;
  z-index: 3;
  margin-top: 10px;
  font-size: 1rem;
  color: #1cce5b;
  font-family: "LazyDog", cursive;
  text-align: center;
  width: 100%;
  line-height: 1.1;
}

#equipement-center-tiers {
  position: absolute;
  top: calc(50% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.center-tier-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.center-tier-circle {
  width: 100%;
  height: 100%;
  animation: spin 6s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #1d0039;
  border-radius: 50%;
}

.center-tier-img {
  width: 80%;
  height: 80%;
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 2;
  cursor: pointer;
}

.center-tier-img:hover {
  transform: scale(1.8);
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* 🔼 Bouton de retour en haut de la page */#back-to-top {
  position: fixed;
      bottom: 40px;
      right: 60px;
  background: #1cce5b;
  color: #090013;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  transition: opacity 0.3s ease;
}

/* 🔼 Bouton de retour en haut de la page */#back-to-top:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}


.equipements-bg {
  position: fixed;
  inset: 0;
background: url('/assets/images/FONDECRAN7.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: fantomeFloat 10s ease-in-out infinite;
  will-change: transform, background-position;
  pointer-events: none;
}

.equipements-21-bg {
  position: fixed;
  inset: 0;
background: url('/assets/images/FONDECRAN12.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: fantomeFloat 10s ease-in-out infinite;
  will-change: transform, background-position;
  pointer-events: none;
}

@keyframes fantomeFloat {
  0%   { transform: scale(1); background-position: 50% 50%; }
  50%  { transform: scale(1.05); background-position: 48% 52%; }
  100% { transform: scale(1); background-position: 50% 50%; }
}




/* 📄 Bloc d’information textuelle en dessous du cercle principal */.section-texte.infos-equipements {
  background: #110024d9;
  backdrop-filter: blur(4px);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  margin-top: 2rem;
  line-height: 1.5;
  text-align: center;
}

/* 📄 Bloc d’information textuelle en dessous du cercle principal */.section-texte.infos-equipements h2 {
  font-family: 'OctoberCrow', cursive;
  font-weight: lighter;
  font-size: 3rem;
  color: #1cce5b;
  margin-bottom: 0.5rem;
}

/* 📄 Bloc d’information textuelle en dessous du cercle principal */.section-texte.infos-equipements h3 {
  font-size: 1.3rem;
  font-weight: lighter;
  color: #1cce5b;
  margin-bottom: 1rem;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

/* 📄 Bloc d’information textuelle en dessous du cercle principal */.section-texte.infos-equipements p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #dbdbdb;
}

/* 📄 Bloc d’information textuelle en dessous du cercle principal */.section-texte.infos-equipements strong {
  color: #1cce5b;
  font-weight: lighter;
  font-size: 1.1rem;
}

.equipement-description-container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}






.particles-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0.5; /* Entre le fond et les elements */
}




/* Masquer la liste mobile par defaut (desktop) */
/* 📱 Liste verticale d’equipements pour mode mobile */#equipement-mobile-list {
  display: none;
}

.mobile-equipement-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: auto;
}

.mobile-equipement-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  animation: spin 6s linear infinite;
  z-index: 1;
}

.mobile-equipement-icon {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 80px;
  height: 80px;
  z-index: 2;
}


@media screen and (max-width: 768px) {
.equipement-cercle-container {
    display: none;
  }

#equipement-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
  }

  .mobile-equipement-card {
    display: flex;
    align-items: center;
    background: #110024d9;
    border: 1px solid #1cce5b;
    border-radius: 10px;
    padding: 1rem;
    gap: 1rem;
  }

  .mobile-equipement-card img {
    width: 64px;
    height: 64px;
  }

  .mobile-equipement-card-name {
    color: #1cce5b;
    font-family: "LazyDog", cursive;
    font-size: 1.1rem;
  }

  .section-texte.infos-equipements h2 {
    font-size: 2rem;
  }
}






/* === STYLES POUR ILLUSTRATION CAMERA VIDEO ET TIERS V2 === */

/* 🌌 Image de fond specifique a la page equipements */body.bg-equipements {
  background: url(../images/FONDECRAN7.webp) center/cover no-repeat fixed;
  z-index: -1;
  font-family: 'lazydog', sans-serif;
  line-height: 1.6;
  color: #dbdbdb;
}

/* 📘 Contenu de la page individuelle d’un equipement */.equipement-detail {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
    padding-top: 60px;
}

.equipement-titre {
  font-size: 3.5rem;
  color: #1cce5b;
  font-family: 'OctoberCrow', cursive;
    font-weight: lighter;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px #1cce5b80;
}

/* 🧪 Bloc de presentation d’un tier (tier 1, 2, 3) */.tier-section {
  width: 100%;
  max-width: 1000px;
  background: #0a0014dd;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 12px rgba(28, 206, 91, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 🧪 Bloc de presentation d’un tier (tier 1, 2, 3) */.tier-section h2 {
  font-family: 'OctoberCrow', cursive;
  font-size: 2rem;
  font-weight: lighter;
  color: #1cce5b;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(28, 206, 91, 0.3);
  padding-bottom: 0.5rem;
  width: 100%;
}

.description-tier.full-width {
  font-size: 1rem;
  color: #dbdbdb;
  text-align: center;
  margin-top: -1rem;
  background: #140024cc;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}



.tier-bottom-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.preuves-table {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: 'LazyDog', cursive;
}

.preuves-table h4 {
  color: #1cce5b;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: lighter;
}

.preuve-ligne {
  display: flex;
  justify-content: space-between;
  background: #140024;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  color: #1cce5b;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.preuve-ligne span:nth-child(2) {
  color: #dbdbdb;
}


.tier-side-info {
  flex: 1;
  min-width: 280px;
}

.illustration-images {
  display: flex;
  gap: 1rem;
  margin: 0 0 1rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.illustration-images img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.illustration-images img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #1cce5b88;
}

.liste-proprietes {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tier-side-info h4 {
  color: #1cce5b;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: lighter;
}

.liste-proprietes li {
  background: #140024;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.liste-proprietes li strong {
  color: #1cce5b;
  font-weight: lighter;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier canvas,
/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier .equipement-texte {
  z-index: 2;
  animation: runeAwakening 4s ease-in-out infinite alternate;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier .equipement-image {
  z-index: 3;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier .equipement-cercle {
  z-index: 1;
  animation: rotateInfini 12s linear infinite;
  transition: opacity 0.3s ease;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier .equipement-cercle-hover {
  z-index: 2;
  opacity: 0;
  animation: rotateInfini 12s linear infinite;
  transition: opacity 0.3s ease;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier:hover .equipement-cercle {
  opacity: 0;
}

/* 🌟 Animation d’illustration dynamique d’un equipement */.illustration-tier:hover .equipement-cercle-hover {
  opacity: 1;
}

@keyframes rotateInfini {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes runeAwakening {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* 🧪 Bloc de presentation d’un tier (tier 1, 2, 3) */.tier-section {
  position: relative;
  overflow: hidden; /* pour ne pas faire depasser le canvas */
}


/* 📏 Responsive pour petits ecrans */@media screen and (max-width: 768px) {
  .equipement-titre {
    font-size: 2.2rem;
  }
/* 📘 Contenu de la page individuelle d’un equipement */  .equipement-detail {
    padding: 0 1rem;
  }
  .tier-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .illustration-images {
    justify-content: center;
  }
  .description-tier.full-width {
    font-size: 0.95rem;
  }
}



/* 👻 Section listant les fantomes associes a cet equipement */.fantomes-associes {
  margin-top: 1.5rem;

}

/* 👻 Section listant les fantomes associes a cet equipement */.fantomes-associes h3 {
  font-size: 1.3rem;
  color: #1cce5b;
  margin-bottom: 0.5rem;
  font-weight: lighter;
}

.liste-fantomes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;  
}


.liste-fantomes li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1cce5b25;
  border-left: 3px solid #1cce5b;
  padding: 0.4rem 0.8rem;
  border-radius: 11px;
  text-decoration: none;
  color: #dbdbdb;
  transition: background 0.3s ease;
}

.liste-fantomes li a:hover {
  background: #1cce5b;
  color: #dbdbdb;
}

.liste-fantomes li img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 3px;
}




.modal-equipement {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 0, 19, 0.9);
  align-items: center;
  justify-content: center;
}


.modal-equipement-content {
  max-width: 600px;
  height: auto;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  border-radius: 10px;
  object-fit: cover;
  background-color: transparent;
}


.modal-equipement-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #1cce5b;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-equipement-content {
  animation: zoomIn 0.3s ease;
}
