* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #111;
}

.contenedor {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vh, 32px);
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  padding-top: 60vh;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("fondo.jpg") center center / cover no-repeat;
}

h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(1.8rem, 6vw + 0.5rem, 4.5rem);
  line-height: 1.15;
  overflow-wrap: break-word;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn-wsp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-wsp:hover {
  background: #1ebe5a;
  transform: scale(1.05);
}

.btn-wsp:active {
  transform: scale(0.97);
}

.mensaje {
  display: none;
  max-width: min(90vw, 500px);
  color: #ffffff;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  overflow-wrap: break-word;
}

.mensaje.visible {
  display: block;
}

@media (max-height: 500px) and (orientation: landscape) {
  .contenedor {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  h1 {
    font-size: clamp(1.4rem, 5vh, 2.2rem);
  }

  .btn-wsp {
    min-height: 40px;
    padding: 10px 22px;
  }
}

@media (min-width: 1600px) {
  h1 {
    font-size: 5rem;
  }
}
.botones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.btn-insta:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.btn-insta:active {
  transform: scale(0.97);
}
.btn-insta {
  text-decoration: none;
}
.mensaje {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.mensaje.visible {
  visibility: visible;
  opacity: 1;
}