/* =========================
   1. VARIABLES
========================= */
:root{
  --gold:#D4AF37;
  --gold-light:#F5D77A;
  --bg:#000;
  --card:#0b0b0b;
}

/* =========================
   2. RESET + BASE
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:var(--bg);
  color:#fff;
  font-family:'Poppins', sans-serif;
}

/* =========================
   3. LAYOUT
========================= */
main{
  padding:10px 16px 90px;
}

/* =========================
   4. HEADER
========================= */
header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 12px;
  background:rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
}

header .logo img{
  height:55px;
}

#menuUsuario{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
}

#menuUsuario a{
  color:#fff;
  text-decoration:none;
}

#menuUsuario a:hover{
  color:var(--gold-light);
}

#menuUsuario button{
  margin-left:auto;
  border:1px solid var(--gold);
  background:transparent;
  color:var(--gold-light);
  padding:6px 10px;
  border-radius:8px;
  cursor:pointer;
}

/* =========================
   5. HERO
========================= */
.hero{
  text-align:center;
}

.hero h1{
  font-size:22px;
}

.subtexto-hero{
  font-size:14px;
  opacity:0.8;
}

.hero img{
  max-width:200px;
  margin:12px auto;
  border-radius:10px;
}

#ultimoGanadorBanner{
  color:var(--gold-light);
  margin-top:6px;
}

.porcentaje{
  font-size:13px;
  margin-top:4px;
}

/* 🔥 BARRA PRO */
.barra-progreso-container{
  height:6px;
  border-radius:10px;
}

.barra-progreso{
  height:6px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
}
/* =========================
   6. CARD
========================= */
.card-participacion{
  margin-top:18px;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(212,175,55,0.3);
  background:linear-gradient(180deg,#0a0a0a,#000);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 10px rgba(212,175,55,0.08);
}

.card-participacion h2{
  text-align:center;
  font-size:16px;
  margin-bottom:10px;
}

/* =========================
   7. GRID
========================= */
.paquetes-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  max-width:360px;
  margin:auto;
}

/* =========================
   8. PAQUETES PRO
========================= */
.paquete-btn{
  padding:16px 12px;
  border-radius:14px;

  background:#0a0a0a;
  border:1px solid rgba(212,175,55,0.3);

  display:flex;
  flex-direction:column;
  align-items:center;

  position:relative;

  transition:all 0.2s ease;
}

.paquete-btn:hover{
  transform:translateY(-2px);
  border-color:var(--gold-light);
}

.paquete-btn.activo{
  background:linear-gradient(145deg,rgba(212,175,55,0.25),#000);
  border:1px solid var(--gold-light);

  box-shadow:
    0 0 12px rgba(245,215,122,0.5),
    inset 0 0 6px rgba(245,215,122,0.2);
}

.paquete-destacado{
  border:1px solid var(--gold-light);

  box-shadow:
    0 0 10px rgba(245,215,122,0.2);
}

/* TEXTO */
.paquete-cantidad{
  font-size:12px;
  color:var(--gold-light); 
  font-weight:500;
}

.paquete-precio{
  font-size:18px;
  font-weight:700;
  color:var(--gold-light);
}

/* BADGES */
.paquete-badge{
  position:absolute;
  top:-8px;
  right:-8px;
  background:var(--gold);
  color:#000;
  font-size:10px;
  padding:3px 6px;
  border-radius:6px;
}

/* =========================
   9. INPUT
========================= */
.paquete-personalizado{
  max-width:360px;
  margin:18px auto 0;

  display:flex;              
  flex-direction:column;     
  align-items:center;        
}


.texto-secundario{
  text-align:center;
  font-size:13px;
  opacity:0.7;
  margin-bottom:6px;

  width:100%;               
}

#inputPersonalizado{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.1);
  background:#111;
  color:#fff;
  text-align:center;
}

#inputPersonalizado.activo-input{
  border:1px solid var(--gold-light);
}
/* =========================
   10. INFO
========================= */
.info-compra{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  text-align:center;
  background:rgba(255,255,255,0.03);
}

.info-compra strong{
  font-size:20px;
  color:var(--gold-light);
}

/* =========================
   11. CTA PRO
========================= */
#comprarBtn{
  position:fixed;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);

  width:calc(100% - 30px);
  max-width:420px;

  padding:14px;

  border:none;
  border-radius:14px;

  background:linear-gradient(145deg,var(--gold),var(--gold-light));
  color:#000;

  font-size:16px;
  font-weight:600;

  box-shadow:0 12px 30px rgba(212,175,55,0.5);

  cursor:pointer;

  transition:opacity 0.2s ease; /* 🔥 cambio aquí */
}

/* 🔥 feedback más elegante */
#comprarBtn:active{
  opacity:0.85;
}

/* =========================
   12. SEGURIDAD
========================= */
.mensaje-seguridad{
  margin:10px auto 0;        
  
  max-width:420px;           
  width:calc(100% - 30px);  

  text-align:center;

  font-size:12px;
  color:rgba(255,255,255,0.85);

  padding:8px 12px;
  border-radius:10px;

  border:1px solid rgba(212,175,55,0.25);
  background:rgba(212,175,55,0.05);
}

/* =========================
   12.5 PAYMENT STATUS 🔥
========================= */
.payment-status{
  display:none;
  margin-top:20px;
}

.payment-status--visible{
  display:block;
}


/* =========================
   13. FOOTER
========================= */
.site-footer{
  margin-top:30px;
  padding:25px 16px;
  border-top:1px solid rgba(212,175,55,0.3);
}

.site-footer-content{
  display:grid;
  gap:20px;
  text-align:center;
}

.site-footer h3{
  color:var(--gold);
  font-size:13px;
  margin-bottom:6px;
}

.site-footer p,
.site-footer a{
  font-size:12px;
  opacity:0.8;
}

.site-footer a{
  color:#fff;
}

.site-footer a:hover{
  color:var(--gold-light);
}

.whatsapp-float{
  position:fixed;
  bottom:16px;
  right:16px;

  width:55px;
  height:55px;

  z-index:9999;

  transition:transform 0.2s ease; /* 🔥 AQUÍ */
}

.whatsapp-float img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* 🔥 HOVER */
.whatsapp-float:hover{
  transform:scale(1.1);
}

/* =========================
   14. DESKTOP
========================= */
@media (min-width:769px){

  main{
    max-width:1000px;
    margin:auto;
  }

  /* HERO más grande */
  .hero h1{
    font-size:30px;
  }

  .hero img{
    max-width:260px;
  }

  /* GRID más limpio */
  .paquetes-grid{
    grid-template-columns:repeat(3,1fr);
    max-width:650px;
    gap:14px;
  }

  /* CARD más espaciosa */
  .card-participacion{
    padding:24px;
  }

  /* BOTÓN normal (no fijo) */
  #comprarBtn{
    position:static;
    transform:none;
    margin:25px auto;
    display:block;
    max-width:380px;
  
  }

  /* FOOTER*/
  .site-footer{
    margin-top:80px;
    padding-top:40px;
    padding-bottom:40px;
  }

  .site-footer-content{
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    max-width:1000px;
    margin:auto;
    text-align:left;
  }

  .site-footer h3{
    font-size:16px;
    margin-bottom:10px;
  }

  .site-footer p,
  .site-footer a{
    font-size:14px;
    line-height:1.6;
  }

}