/* Fond cosmique animé (optionnel mais immersif) */
body {
  margin: 0;
  padding: 0;
  font-family: 'StardosStencil-Regular';
  background: linear-gradient(135deg, #000010, #00111a);
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

@font-face {
  font-family: 'StardosStencil-Regular';
 font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url("fonts/StardosStencil-Bold.ttf") format("truetype");
}


/* Conteneur centré */
.entry-container {
  text-align: center;
  animation: fadeIn 2s ease;
}

/* Titre du jeu */
.entry-title {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff88;
}

/* Sous-titre */
.entry-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

/* Flottement doux */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation flottante pour les boutons */
.float-button {
  animation: floatY 3s ease-in-out infinite;
  display: inline-block;
  margin-bottom: 20px;
}

/* Bouton Origine & Objectif */
.info-button {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 10px #00f0ff33;
}

.info-button:hover {
  background: #ffffff;
  color: #000;
  box-shadow: 0 0 20px #ffffff, 0 0 30px #ffffff; inset;
}

/* Bouton Start */
.start-button {
  padding: 12px 48px;
  background: transparent;
  border: 2px solid #ffffff;;
  color: #ffffff;;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 10px #00f0ff33, 0 0 20px #00f0ff22 inset;
}

.start-button:hover {
  background: #ffffff;;
  color: #000;
  box-shadow: 0 0 20px #ffffff, 0 0 30px #ffffff inset;
}


#black-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 9999;
}

#black-overlay.active {
  opacity: 1;
  pointer-events: all;
}
