* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f9f9f9;
  color: #222;
  font-family: "Segoe UI", "Comic Sans MS", cursive, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.meme {
  margin-bottom: 50px;
  font-size: clamp(1.2rem, 5vw, 2rem);
  color: #555;
  animation: spinScale 4s infinite alternate;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: bold;
  color: #6b4c9a;
  margin-bottom: 40px;
  animation: wobble 3s infinite alternate, scaleRotate 5s infinite alternate;
}

@keyframes wobble {
  0% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}

@keyframes scaleRotate {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(10deg); }
  50% { transform: scale(0.8) rotate(-10deg); }
  75% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes spinScale {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.3) rotate(15deg); }
  40% { transform: scale(0.8) rotate(-20deg); }
  60% { transform: scale(1.2) rotate(10deg); }
  80% { transform: scale(0.9) rotate(-5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

#comprar-dlc {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 50px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #5b3c91, #7e5fc1);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-bottom: 50px;
}

#comprar-dlc span {
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
}

#comprar-dlc:hover {
  background: linear-gradient(145deg, #7e5fc1, #5b3c91);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

#datos {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
  padding: 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#datos h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #6b4c9a;
  font-weight: bold;
}

#datos input[readonly] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

#confirmar-compra {
  margin-top: 20px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #ff6b6b, #ff8787);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#confirmar-compra:hover {
  background: linear-gradient(145deg, #ff8787, #ff6b6b);
  transform: translateY(-2px);
}

@media (max-width: 500px) {
  #comprar-dlc {
    width: 80%;
    padding: 16px;
    font-size: 18px;
  }

  #datos {
    width: 90%;
    padding: 20px;
  }
}
