* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #dce2cf;
  font-family: 'Dancing Script', cursive;
}

/* ===============================
   Pantalla inicio
================================ */
.start-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  background:
    linear-gradient(
      rgba(220, 226, 207, 0.35),
      rgba(220, 226, 207, 0.35)
    ),
    url("/images/fondo-inicio.jpg") center / cover no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}


.start-title {
  font-size: 2.6rem;
  color: #2f4a32;
  margin-bottom: 28px;
}

.start-btn {
  font-size: 1.2rem;
  padding: 14px 30px;
  border-radius: 30px;
  border: none;
  background: rgba(47, 74, 50, 0.9);
  color: white;
  cursor: pointer;
}

/* ===============================
   Contenedor invitación
================================ */
.invitation {
  display: flex;
  flex-direction: column;
  height: 100vh;
  animation: fadeInSoft 1.6s ease-out;
}

/* ===============================
   Imágenes (CONTROLADAS)
================================ */
.image {
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #dce2cf;
}

/* Imagen superior */
.image.top {
  flex: 0.50;
  background-position: center 50%;
  margin-top: 40px;
}

/* Imagen inferior */
.image.bottom {
  flex: 0.50;
  background-position: center 12%;
}

/* ===============================
   Cuenta regresiva
================================ */
.countdown {
  position: fixed;
  top: 16px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: #2f4a32;
  z-index: 15;
}

/* ===============================
   Botones flotantes
================================ */
.floating-btn {
  position: fixed;
  bottom: 10px;
  padding: 10px 16px;
  border-radius: 26px;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 20;
  color: white;
}

.location {
  right: 14px;
  background: rgba(47, 74, 50, 0.9);
}

.whatsapp {
  left: 14px;
  background: rgba(37, 211, 102, 0.9);
}

/* ===============================
   Animación
================================ */
@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===============================
   Oculto
================================ */
.hidden {
  display: none;
}

/* ===============================
   Ajuste fino SOLO móvil
================================ */
@media (max-width: 480px) {
  .image.top {
    flex: 0.40;
    background-position: center 40%;
  }

  .image.bottom {
    flex: 0.40;
    background-position: center 5%;
  }
}
