body {
  margin: 0;
  padding: 0;
  background: url('fondo2.jpg') no-repeat center center fixed;
  color: #ffffff;
  font-family: 'Dancing Script', cursive;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.container {
  max-width: 600px;
  padding: 20px;
  background-color: rgba(30, 30, 30, 0.9); /* negro con transparencia */
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  position: absolute;
  text-align: center;
  
  
}
.botones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.cat-icon {
  margin-right: 10px;
  color: #ffc0cb;
  animation: swing 2s infinite;
}

.carousel {
  position: relative;
  margin: 20px 0;
}
.corner-logo {
  position: fixed;
  top: 20px;       /* distancia desde arriba */
  left: 20px;      /* puedes cambiar a right si quieres otra esquina */
  width: 60px;     /* tamaño del logo */
  height: auto;
  z-index: 1000;   /* asegúrate que esté encima de otros elementos */
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.corner-logo:hover {
  transform: scale(1.1); /* efecto al pasar el cursor */
}


.carousel img {
  width: 50%;
  height: auto;
  max-height: 80vh; /* ocupa hasta el 80% de la pantalla */
  object-fit: contain; /* evita que se corte */
  border-radius: 15px;
  background-color: #000;
}

a.surprise-btn {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 15px;
  background-color: #5b75e6;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s;
  font-family: 'Dancing Script', cursive;
}

a.surprise-btn:hover {
  background-color: #4e459c;
  
}



.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

.caption {
  margin-top: 10px;
  font-size: 1.2em;
  color: #dbcbce;
}

.paw-icon {
  margin-right: 8px;
  color: #7385cc;
}

.message {
  font-size: 1.3em;
  margin: 20px 0;
  color: #ffffff;
}

.surprise-btn {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 15px;
  background-color: #5b75e6;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s;
  font-family: 'Dancing Script', cursive;
}

.surprise-btn:hover {
  background-color: #5351bf;
  font-family: 'Dancing Script', cursive;
  
}

#surprise {
  margin-top: 15px;
  font-size: 1.2em;
  color: #fff5f5;
  animation: fadeIn 1s ease-in-out forwards;
}

.hidden {
  display: none;
}

.surprise-icon {
  margin-right: 8px;
  color: #fddde6;
  animation: bounce 1.5s infinite;
}

.corner-cat {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 2em;
  color: #ffb6c1;
  animation: wiggle 3s infinite;
}

/* Animations */
@keyframes swing {
  0% { transform: rotate(0); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(3deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }

  .carousel img {
    max-height: 250px;
  }

  .carousel button {
    font-size: 1.5em;
    padding: 8px;
  }

  .message,
  .caption {
    font-size: 1em;
  }

  .surprise-btn {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .corner-cat {
    font-size: 1.5em;
  }
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  background-size: 400% 400%;
  opacity: 0.1;
  z-index: -2;
  animation: fondoGradiente 20s ease infinite;
}

@keyframes fondoGradiente {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
