/* Imagen expandible central */
  .expand-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
    width: 50%;
    height: 50%;
    object-fit: contain;
    pointer-events: none;
  }

  @keyframes spin {
    from { transform: translate(-50%, -50%) scale(0.1) rotate(0deg); }
    to { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
  }

  .expand-img.visible {
    animation: spin 3s ease forwards;
    opacity: 1;
  }

  /* Imágenes aleatorias */
  .random-img {
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
  }

  .random-img.visible {
    opacity: 1;
  }