@property --color1 {
  syntax: '<color>';
  initial-value: #4facfe;
  inherits: false;
}

@property --color2 {
  syntax: '<color>';
  initial-value: #00f2fe;
  inherits: false;
}

/* Estilo adaptado para dispositivos móviles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  background: linear-gradient(150deg, var(--color1), var(--color2));
  transition: --color1 1.5s ease, --color2 1.5s ease;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  padding: 30px 20px;
  border-radius: 15px;
  width: 85%;
  max-width: 400px;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

#frase {
  height: 80px;
}

footer {
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 100px;
  background-color: rgba(0,0,0,0.7);
}

button:active {
  transform: scale(0.96);
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.share-btn.twitter:hover { background: #000000; border-color: #000000; }
.share-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }

/* Animación de entrada para el texto */
.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}