/* =========================
   Reset / base
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Fondo elegante con animación sutil */
@keyframes gradientBG {
  0% { background: linear-gradient(135deg, #fff7f0, #ffe0c0); }
  50% { background: linear-gradient(135deg, #ffe5c5, #fff9f2); }
  100% { background: linear-gradient(135deg, #fff7f0, #ffe0c0); }
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #333;
  animation: gradientBG 25s ease infinite;

  /* Sticky footer layout */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Contenedor central */
.container {
  max-width: 640px;
  width: 100%;
  padding-inline: 16px;
  margin-inline: auto;
}

/* Medios responsivos */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Header / Footer
   ========================= */
header {
  background-color: #ff8c42;
  color: white;
  padding: calc(env(safe-area-inset-top, 0) + 16px) 0 16px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
header h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1;
}
header p {
  margin: 6px 0 0;
  font-style: italic;
}

main {
  width: 100%;
  flex: 1 0 auto; /* empuja footer abajo */
}

footer {
  background: #ff8c42;
  color: white;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  margin-top: auto; /* pegado al final */
}

/* =========================
   Secciones
   ========================= */
section {
  margin: 12px 0;
  text-align: center;
}

h2 {
  color: #ff8c42;
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1.6rem;
}

/* Bienvenida */
.welcome h2 {
  font-size: 1.6rem;
}
.welcome p {
  margin: 4px 0 0;
  font-size: 1.05rem;
  color: #666;
}

/* =========================
   Botones (más grandes y juntos)
   ========================= */
button,
.kick-button a,
.contacto a,
.social-links a {
  display: inline-block;
  font-size: 1.2rem;
  padding: 16px 35px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease, opacity 0.2s ease;
  margin: 8px 6px;
  line-height: 1;
  will-change: transform;
}

button:hover,
.kick-button a:hover,
.contacto a:hover,
.social-links a:hover {
  transform: scale(1.04);
}

/* Estado de carga en el botón (spinner) */
#playButton.is-loading {
  opacity: 0.85;
  cursor: wait;
}

/* Estilos de cada botón */
.audio-player button { background: linear-gradient(45deg, #ff8c42, #ffa860); }
.kick-button a      { background: linear-gradient(45deg, #ff8c42, #ffa860); }
.contacto a.whatsapp{ background: linear-gradient(45deg, #25D366, #20b858); }
.instagram          { background: linear-gradient(45deg, #C13584, #E1306C); }
.facebook           { background: linear-gradient(45deg, #1877F2, #2D5DD6); }

/* Grupo redes: compacto */
.social-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Audio Player bloque */
.audio-player h2 { margin-bottom: 8px; }

/* =========================
   Responsive
   ========================= */
@media (min-width: 768px) {
  header h1 { font-size: 2.8rem; }
  .welcome h2 { font-size: 1.9rem; }
  h2 { font-size: 1.7rem; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  button,
  .kick-button a,
  .contacto a,
  .social-links a {
    padding: 14px 24px;
    font-size: 1.05rem;
    margin: 6px 4px;
  }
}
