/* ===== Reset básico ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Estilo general ===== */
html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== Secciones generales ===== */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

/* ===== HERO (con imagen de fondo) ===== */
#hero {
  background-image: url("1.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Texto principal */
#hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 28px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* ===== Botones ===== */
.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

button {
  padding: 14px 34px;
  font-size: 1.15rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease;
  user-select: none;
}

#yes {
  background: #000;
  color: #fff;
}

#no {
  background: #e6e6e6;
  color: #111;
}

/* ===== Siguiente sección ===== */
#next {
  background: #ffffff;
}

#next h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

#next p {
  max-width: 850px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}
/* ===== Mejoras visuales: overlay + animación + ajuste sección siguiente ===== */

/* Overlay para mejorar legibilidad del texto sobre el fondo */
#hero {
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Asegura que el contenido quede arriba del overlay */
#hero > * {
  position: relative;
  z-index: 1;
}

/* Animación suave de entrada */
#hero h1,
#hero .buttons {
  animation: fadeUp 0.9s ease forwards;
}

#hero .buttons {
  animation-delay: 0.15s;
}

/* Keyframes de la animación */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Un poco más de aire visual al llegar a la siguiente sección */
#next {
  padding-top: 80px;
}

