.principal-card {
    position: relative; /* 🔥 NECESARIO */
    max-width: 600px;
    background-color: #ffffff;
    border-radius: 1rem;
    margin: auto;
    overflow: hidden; /* 🔥 recorta corazones */

}


/* Card datos personales */
.card-degradado .card-body {
    background-color: #7a0000;     /* rojo oscuro sólido */
    color: #fff;
    border-radius: 1rem;
}


.card-degradado .invalid-feedback {
    color: #ffb3b3; /* rojo claro */
    font-weight: 500;
}

/* Imagen flyer completa */
.flyer-img {
    width: 100%;
    height: auto;
    max-height: none;
}

/* Textos blancos dentro del card datos personales */
.card-degradado .form-label,
.card-degradado h4,
.card-degradado .form-check-label {
    color: #fff;
}



/* Card tickets y pago */
.card-simple .card-body {
    background-color: #F5692F;     /* naranja sólido */
    color: #fff;                   /* texto blanco */
    border-radius: 1rem;
}

/* Labels y textos claros en card tickets */
.card-simple .form-label,
.card-simple h4,
.card-simple .form-check-label {
    color: #fff;
}

/* Inputs dentro del card tickets */
.card-simple .form-control,
.card-simple .form-select {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    color: #212529;
}

@media (max-width: 576px) {

    .contenido-form {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

}

@media (max-width: 576px) {

    .card-degradado .card-body,
    .card-simple .card-body {
        padding: 1.25rem !important;
    }
}

@media (max-width: 576px) {

    .principal-card {
        width: 100%;
        border-radius: 0.75rem;
    }

}







.qr-container {
  width: 100%;
  padding: 0 10px; /* evita que toque los bordes en móvil */
}

.qr-img {
  width: 100%;
  max-width: 280px;   /* límite visual en desktop */
  height: auto;
}





 /* Fondo suave */
body {
  background-image: url('../img/assets/fondo.png'); /* reemplaza con la ruta de tu imagen */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

    button img {
      transition: transform 0.2s ease;
    }

    button:hover img {
      transform: scale(1.05);
    }






/* ====== PRECIO DESTACADO ====== */
#precio-box {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;

    background: linear-gradient(135deg, #1cc88a, #17a673);
    color: #fff;

    padding: 18px 28px;
    border-radius: 1.2rem;

    font-size: 2rem;
    font-weight: 800;

    width: fit-content;
    min-width: 240px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* S/ más pequeño */
#precio-box .moneda {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Monto principal */
#precio-box .monto {
    font-size: 2rem;
    letter-spacing: 1px;
}

/* Efecto vivo */
#precio-box:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}




/* ==== SWEET ALERT === */
.tickets-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ticket-num {
  background: #198754;
  color: white;
  font-size: 28px;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 10px;
  letter-spacing: 1px;
}


.btn-confirm-grande {
  font-size: 18px !important;
  padding: 12px 40px !important;
  border-radius: 10px !important;
  font-weight: bold;
}




/* ==== titulo boton REGISTRAR  ==== */

.titulo-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #c1121f);
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 15px rgba(0,0,0,.2);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.6);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 12px rgba(193, 18, 31, 0);
  }
  100% {
    transform: scale(1);
  }
}



/* ======= FOOTER PIE DE PAGINA ===== */

.footer-rifa {
  background: #7a0000;
  color: #fff;
  padding: 30px 15px;

}

/* filas */
.footer-row {
  margin-bottom: 20px;
}

/* WhatsApp */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-link i {
  font-size: 1.4rem;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0; }
}

/* Contador */
.contador-titulo {
  font-weight: 600;
  margin-bottom: 10px;
}

.contador {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contador div {
  background: #fff;
  color: #7a0000;
  padding: 10px 14px;
  border-radius: 10px;
  min-width: 70px;
}

.contador span {
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
}

.contador small {
  font-size: 0.75rem;
}

/* Redes sociales */
.redes a {
  color: #fff;
  font-size: 1.8rem;
  margin: 0 10px;
  transition: transform 0.2s, color 0.2s;
}

.redes a:hover {
  transform: scale(1.2);
  color: #ffb3b3;
}
