.fondo-registro{
  background:#fff2cc;
  min-height:100vh;
}

.card-formulario{
  width:100%;
  max-width:380px;
  background:#007566;
  border-radius:20px;
  padding:20px;
}

.input-custom{
  border-radius:30px;
  margin-bottom:10px;
}

.btn-comprobante{
  background:#5b2c83;
  color:#fff;
  font-weight:bold;
  border-radius:30px;
  padding:12px;
}

.card-pago{
  width:100%;
  max-width:380px;
  background:#5b2c83;
  border-radius:20px;
  padding:20px;
}

.card-pago-plin{
  width:100%;
  max-width:380px;
  background:#0096C7;
  border-radius:20px;
  padding:20px;
}

.top-bar{
  background:#4b2e83;
  color:#fff;
  padding:10px;
  font-size:14px;
  font-weight:500;
}

.btn-icon{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#007566;
  font-weight:bold;
  text-decoration:none;
}

.btn-icon i{
  font-size:28px;
  margin-bottom:5px;
}

.btn-icon span{
  font-size:13px;
  text-align:center;
}

.btn-icon:hover{
  color:#007566;
}

.btn-comprobante {
  background: #c51a2d;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 12px;
  border: none;
}

.btn-comprobante:hover {
  background: #c51a2d;
  color: #fff;
}

.custom-file-label {
  border-radius: 25px;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #007566;
}

/* ===============================
   EFECTO MANOS SORTEO
=============================== */

/* CARD */
.card-sorteo{
  position: relative; /* 🔥 MUY IMPORTANTE */
  cursor: pointer;
}

/* OVERLAY */
.overlay-accion{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 1; /* 🔥 SIEMPRE VISIBLE */
  pointer-events: none; /* permite que el link siga funcionando */
}

.card-sorteo:hover .overlay-accion{
  opacity: 1;
}

/* TEXTO CENTRADO */
.mensaje-accion{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: linear-gradient(180deg,#b400ff,#ff3ad7);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 14px 28px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 0 18px rgba(255,0,255,.8);
  animation: pulso 1s infinite;

  z-index: 3; /* 👈 MENOR QUE LAS MANOS */
  pointer-events: none;
}

/* MANOS */
.mano{
  position: absolute;
  width: 70px;
  z-index: 5;          /* 🔥 PONEMOS LAS MANOS ADELANTE */
  pointer-events: none;
}

/* MANO SUPERIOR */
.mano.izquierda{
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  animation: manoArriba 1s infinite;
}

/* MANO INFERIOR */
.mano.derecha{
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  animation: manoAbajo 1s infinite;
}

/* ANIMACIONES */
@keyframes manoArriba{
  0% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
  100% { transform: translate(-50%, 0); }
}

@keyframes manoAbajo{
  0% { transform: translate(-50%, 0) rotate(180deg); }
  50% { transform: translate(-50%, -8px) rotate(180deg); }
  100% { transform: translate(-50%, 0) rotate(180deg); }
}

@keyframes pulso{
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* ===============================
   AJUSTES RESPONSIVE MÓVIL
=============================== */
@media (max-width: 768px){

  .overlay-accion{
    background: rgba(0,0,0,0.20);
  }

  .mensaje-accion{
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 14px;
  }

  .mano{
    width: 45px;
  }

  .mano.izquierda{
    top: 38%;
  }

  .mano.derecha{
    bottom: 38%;
  }
}


.card img{
  height: 220px;
  object-fit: cover;
}

.card{
  border-radius: 18px;
}
