/* Fondo de partículas del perro */
#particulasDoge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Contenedor de la ventana del perro */
#ventanaDogImg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.52);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* para que el botón quede arriba/abajo */
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

/* Imagen circular */
.dog-img-wrapper {
  background-color: white;
  border-radius: 50%;
  padding: 40px;
  display: inline-block;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 1;
  animation: fadeInScale 0.6s ease;
}

/* Imagen del perro */
.dog-img-wrapper img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

/* Hover suave */
.dog-img-wrapper:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Animación */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes happyBounce {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(1.1) rotate(-2deg); }
  40%  { transform: scale(1.05) rotate(2deg); }
  60%  { transform: scale(1.1) rotate(-2deg); }
  80%  { transform: scale(1.05) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.dog-img-wrapper.happy-animation {
  animation: happyBounce 1.5s ease;
}

/* 🎯 Responsive para móviles */
@media (max-width: 768px) {
  .dog-img-wrapper {
    padding: 20px;
  }

  .dog-img-wrapper img {
    width: 220px;
    height: 220px;
  }

  .btn_omitir {
    font-size: 14px;
    padding: 8px 14px;
    margin-bottom: 12px;
    z-index: 2;
  }

  #ventanaDogImg {
    padding: 10px;
  }
}
