@font-face {
  font-family: "minecraft";
  src: url(/src/minecrafter.ttf);
}
@font-face {
  font-family: "minecraftmin";
  src: url(/src/Minecraftia-Regular.ttf);
}
html {
  height: 100%;
  scroll-behavior: smooth; 
}
* {
  margin: 0;
  padding: 0;
  font-family: "minecraft", serif;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
body {
  background-image: url(/src/bgmap.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html {
  height: 100%;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  color: #fff;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
header .logo {
  height: 70px;
}
header nav ul {
  display: flex;
  align-items: center;
}
header nav ul li a {
  display: inline-block;
  justify-content: center;
  color: #fff;
  padding: 5px 0;
  margin: 0 10px;
  border: 3px solid transparent;
  text-transform: uppercase;
  transition: 0.2s;
}
header nav ul li a img {
  height: 35px;
  display: inline-block;
  margin: 0 10px;
  border: 3px solid transparent;
  transition: 0.2s;
}
header nav ul li a:hover,
header nav ul li a.active {
  border-bottom-color: green;
}

@media only screen and (max-width: 950px) {
  header {
    padding: 0 30px;
  }
  .list {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }
}
@media only screen and (max-width: 700px) {
  .hamburger {
      display: block;
  }
  header nav {
      position: absolute;
      width: 100%;
      left: -100%;
      top: 70px;
      width: 100%;
      background: #000;
      padding: 30px;
      transition: 0.3s;
  }
  header #nav_check:checked ~ nav {
    left: 0;
  }
  header:has(#nav_check:checked)  {
    transform: 1s;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  header nav ul {
      display: block;
  }
  header nav ul li a {
      margin: 5px 0;
  }
  .corp {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
}

main {
  flex: 1; 
  display: flex;
  flex-direction: column;
}
.entete {
  min-height: 100vh; 
  padding-top: 70px; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0; 
  text-align: center;
  flex-direction: column;
}

.entete a {
  background: rgba(0, 0, 0, 0.75); 
  color: #fff;  
  text-decoration: none;
  border: 4px solid #373737;      
  border-right-color: #1e1e1e;    
  border-bottom-color: #1e1e1e;
  border-radius: 20px;
  padding: 10px;
  transition: all 0.3s ease;      
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.entete a:hover {
  transform: scale(1.02);        
  border-color: green;         
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.titre1 {
  font-size: 60px;
  text-shadow: 3px 3px 0px #000; 
}

.notfound {
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.corp {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  padding: 50px 20px; 
  background: rgba(0, 0, 0, 0.6); 
}

.list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 25px; 
  padding: 50px 5%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.card {
  background: rgba(0, 0, 0, 0.75); 
  border: 4px solid #373737;      
  border-right-color: #1e1e1e;    
  border-bottom-color: #1e1e1e;
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 800px;
  transition: all 0.3s ease;      
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}


.card:hover {
  transform: scale(1.02);        
  border-color: green;         
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card h1 {
  color: #fff;                
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p {
  color: #bfbfbf;
  font-family: minecraftmin;                 
  line-height: 1.6;
  font-size: 1.1rem;
  flex-grow: 1;
}

.play {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.6); /* Un fond léger pour séparer du reste */
    gap: 40px;
    overflow: hidden;
}

.rejoindre-content {
    text-align: center;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.titre-rejoindre {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 3px 3px 0px #000;
}

.skin-promo {
    height: 350px;
    width: auto;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center; 
}

.btn-final {
  background: rgba(0, 0, 0, 0.75); 
  color: #fff;  
  text-decoration: none;
  border: 4px solid #373737;      
  border-right-color: #1e1e1e;    
  border-bottom-color: #1e1e1e;
  border-radius: 20px;
  padding: 10px;
  transition: all 0.3s ease;      
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-final:hover {
  transform: scale(1.02);        
  border-color: green;         
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.popup-ip {
    position: absolute;
    background: rgba(0, 0, 0, 0.75); 
    color: #fff;
    padding: 10px 20px;
    border: 4px solid green;
  border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    bottom: -50%; /* Positionné juste au-dessus du bouton */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-ip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
@media only screen and (max-width: 850px) {
    .skin-promo {
        display: none;
    }
}

footer {
  padding: 50px;
}

footer p {
  color: #fff;
  text-align: center;
}

/* Style de base du Hotspot */
.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* L'effet de pulsation (pulse) */
.hotspot-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Le label texte (caché par défaut) */
.hotspot-label {
    position: absolute;
    bottom: -35px; /* Placement sous le point */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Effet au survol (Hover) */
.hotspot:hover .hotspot-label {
    opacity: 1;
    transform: translateY(0);
}

/* --- Placement des Points spécifiques --- */

.hotspot-shop {
    top: 60%;
    left: 35%;
}

.hotspot-mine {
    top: 40%;
    left: 42%;
}

.hotspot-crates {
    top: 40%;
    left: 53%;
}

.hotspot-hubtele {
    top: 50%;
    left: 62%;
}