* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


#stage {
  position: relative;
  width: 100vw;
  height: 100vh;
}


#cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #e0c08a, #a67c52);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
}

body {
  overflow: hidden;
  background: #0b0b0b;
  font-family: Arial, sans-serif;
}

#sand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; 
}

.main-title {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, sans-serif;
  font-size: 5rem; 
  font-weight: bold;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 2px;
  pointer-events: none;
  user-select: none;
  z-index: 1; 
}

/* 🔥 El contenedor se posiciona de forma absoluta abajo del título */
.container-titulitos {
  position: absolute; 
  top: 58%; /* Ajustá este porcentaje (ej: 58%, 62%) para acercarlo o alejarlo del título principal */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column; /* Hace que se pongan uno abajo del otro */
  align-items: center;    /* Los centra horizontalmente entre sí */
  gap: 8px;               /* El espacio de separación entre las dos oraciones */
  width: 100%;            /* Evita que los textos largos se corten */
  pointer-events: none;
  user-select: none;
  z-index: 1; 
}

/* Las etiquetas individuales solo manejan el estilo del texto */
.titulito {
  font-family: Arial, sans-serif;
  color: #ffffff;

  letter-spacing: 2px;
  text-align: center;
}

/* Si querés que el tip se vea un poco más chico que la instrucción principal */
h6.titulito {
  font-size: 0.85rem;
  opacity: 0.6; /* Le da un tono grisáceo sutil */
}

#cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.card {
  position: absolute;
  width: 280px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-left: 5px solid #b1b1b1;
  transform: translate(-50%, -30%) scale(0.95); 
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: all;
}

.card.revealed {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


img.card {
  width: 280px;
  height: auto; 
  max-height: 180px; 
  object-fit: cover; 
  background: white; 
  padding: 6px; 
  border: 1px solid #000;
}

@media (max-width: 768px) {
  /* Título principal adaptado para celulares */
  .main-title {
    font-size: 2.2rem;
    width: 90%;
    text-align: center;
    top: 45%;
  }

  /* Textos informativos de guía */
  .container-titulitos {
    top: 54%;
    padding: 0 15px;
  }
  
  .titulito {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  
  h6.titulito {
    font-size: 0.7rem;
  }

  /* Ocultamos el cursor estético en pantallas táctiles */
  #cursor {
    display: none;
  }

  /* Redimensionamos las tarjetas en móviles para que no se corten */
  .card {
    width: 320px !important;
    font-size: 0.48rem;
    padding: 3px;
    transform: translate(-50%, -50%) scale(0.9);
  }

  .card.revealed {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Ajuste de imágenes tipo tarjeta */
  img.card {
    width: 300px !important;
    max-height: 120px;
    padding: 3px;
  }
}