/* =====================
   ESTILOS GENERALES
===================== */
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fbfe;
  color: #222;
  text-align: center;
}

/* =====================
   HEADER
===================== */
.site-header {
  background: #ffffff;
  color: #0b2c59;
  border-bottom: 1px solid #e6e9ef;
  padding: 24px 16px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.brand-logo {
  height: 480px;
  width: auto;
  display: block;
}
.brand-text { display: none !important; }
.main-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  background: #0b2c59; /* azul institucional */
  width: 100%;
  padding: 12px 0;
}
.main-nav a {
  color: #fff; /* texto blanco */
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover {
  background: #154d8c;
  color: #fff;
}

/* =====================
   HERO
===================== */
.hero { padding: 16px 12px 0; }
.rifa-img {
  width: 100%;
  max-width: 1080px;
  margin: 10px auto 8px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  animation: zoomIn .8s ease;
}

/* =====================
   BENEFICIOS
===================== */
.beneficios-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  margin: 22px auto;
  max-width: 920px;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 24px rgba(3,40,73,0.06);
  border: 1px solid #e8eef8;
}
.beneficios-card h2 {
  font-size: 1.8em;
  font-weight: 800;
  color: #0b2c59;
  margin-bottom: 8px;
}
.beneficios-card .premios {
  font-size: 1.3rem;
  color: #153554;
  margin: 8px 0 0;
}
.beneficios-card strong.gran-premio {
  font-size: 3rem;
  font-weight: 900;
  color: #007bff;
  display: block;
  margin: 12px 0;
  animation: parpadeo 1.5s infinite alternate;
}
@keyframes parpadeo {
  from { text-shadow: 0 0 8px #007bff, 0 0 16px #154d8c; transform: scale(1); }
  to { text-shadow: 0 0 16px #3399ff, 0 0 28px #154d8c; transform: scale(1.08); }
}

/* =====================
   FECHA DE SORTEO
===================== */
.fecha-sorteo {
  font-size: 1.1em;
  margin-top: 8px;
}
.fecha-sorteo.destacada {
  font-size: 1.2em;
  background: #fff3cd;
  display: inline-block;
  padding: 10px 20px;
  margin: 18px auto 10px;
  border-radius: 10px;
  font-weight: 700;
  color: #5a4b00;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

/* =====================
   NÚMEROS DESTACADOS
===================== */
.numeros-premiados {
  margin: 28px auto;
  max-width: 700px;
}
.titulo-numeros {
  font-size: 1.5em;
  font-weight: 800;
  color: #154d8c;
  margin-bottom: 14px;
}
.cajitas-numeros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cajitas-numeros span {
  background: #154d8c;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 6px 14px rgba(21,77,140,.25);
  transition: transform .15s ease;
}
.cajitas-numeros span:hover { transform: translateY(-2px); }

/* ==== MEJORA: números extra un poco más pequeños ==== */
.extra-number-box {
  display: inline-block;
  margin: 4px;
  padding: 8px 16px;
  border-radius: 10px;
  background-color: #0b2c59;
  color: #fff;
  font-weight: bold;
  font-size: 16px; /* reducido */
  border: 3px dotted #fff;
  box-shadow: 0 6px 14px rgba(11,44,89,0.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.extra-number-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11,44,89,0.45);
}

/* =====================
   BARRA DE AVANCE
===================== */
.barra-container { margin: 20px auto; max-width: 720px; }
.barra-externa {
  background: #e9eef6;
  border-radius: 999px;
  overflow: hidden;
  height: 40px;
  border: 1px solid #d7e1f0;
}
.barra-interna {
  background: linear-gradient(90deg, #2fbf71, #41d983);
  height: 100%;
  width: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}

/* =====================
   OPCIONES DE COMPRA
===================== */
.botones-compra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.btn-card {
  position: relative;
  background: #fff;
  padding: 50px 32px; /* un poco más grande */
  border-radius: 24px;
  text-align: center;
  border: 3px solid #154d8c;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 400px; /* más ancho */
  margin: 0 auto;
}
.btn-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}
.btn-card h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: #0b2c59;
  font-weight: bold;
}
.btn-card .valor {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #007bff;
}

/* =====================
   TÍTULO OPCIONES DE COMPRA
===================== */
#comprar-title {
  font-size: 2.6rem;      /* tamaño general */
  font-weight: 900;
  color: #0b2c59;         /* azul institucional */
  margin-bottom: 20px;
}

#comprar-title .sticker-note {
  font-size: 2.4rem;      /* mucho más grande */
  font-weight: 900;
  color: #007bff;         /* azul brillante */
  text-shadow: 0 0 6px #ff66b2, 0 0 12px #ff0080;
  margin-left: 8px;
}


/* ======= CINTAS DESTACADAS ======= */
.etiqueta {
  position: absolute;
  top: 20px;
  right: -30px;
  transform: rotate(45deg);
  width: 160px;
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  padding: 8px 0;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
}
.destacado-popular .etiqueta {
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.destacado-vendido .etiqueta {
  background: linear-gradient(90deg, #fff200, #ffd700);
  color: #111;
  text-shadow: 0 1px 2px rgba(255,255,255,.6);
}

/* ======= BOTONES ======= */
/* Botón brillante base */
.btn-brillante {
  display: inline-block;
  padding: 14px 28px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  color: #fff;
}

/* Azul institucional para normales */
.btn-card .btn-brillante {
  background: #007bff;
  border: 2px solid #0056b3;
  box-shadow: 0 0 12px #007bff, 0 0 20px #0056b3 inset;
}
.btn-card .btn-brillante:hover {
  background: #0056b3;
  box-shadow: 0 0 16px #007bff, 0 0 24px #0056b3 inset;
}

/* Popular - naranja brillante */
.destacado-popular .btn-brillante {
  background: #ff8800;
  border: 2px solid #ffcc00;
  box-shadow: 0 0 12px #ff8800, 0 0 20px #ffcc00 inset;
}
.destacado-popular .btn-brillante:hover {
  background: #e66a00;
  box-shadow: 0 0 16px #ff8800, 0 0 24px #ffcc00 inset;
}

/* Más vendido - amarillo brillante */
.destacado-vendido .btn-brillante {
  background: #ffd700;
  border: 2px solid #fff200;
  color: #222;
  box-shadow: 0 0 12px #ffd700, 0 0 20px #fff200 inset;
}
.destacado-vendido .btn-brillante:hover {
  background: #e6c200;
  box-shadow: 0 0 16px #ffd700, 0 0 24px #fff200 inset;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #f1f4f9;
  padding: 18px 10px 28px;
  font-size: 0.95em;
  margin-top: 30px;
  border-top: 1px solid #e0e6f0;
}
.social-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.social-footer a,
.social-float a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 14px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .2s ease;
}
.social-footer a:hover,
.social-float a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(0,0,0,.22);
}
.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #4f5bd5); }

/* =====================
   BOTONERA FLOTANTE
===================== */
.social-float {
  position: fixed;
  top: 40%;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

/* =====================
   RESPONSIVO
===================== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: center; gap: 8px; }
  .main-nav { width: 100%; display: flex; gap: 8px; justify-content: center; padding-bottom: 8px; }
  .brand-logo { height: 180px; }
  .social-float {
    flex-direction: row;
    bottom: 16px;
    right: 16px;
    left: auto;
    top: auto;
  }
}

/* =====================
   LLUVIA DE STICKERS
===================== */
.sticker-lluvia {
  position: fixed;
  top: -50px;
  font-size: 2rem;
  animation-name: caerSticker;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  pointer-events: none;
  z-index: 9999;
}

@keyframes caerSticker {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.7;
  }
}

/* =====================
   ANIMACIONES
===================== */
@keyframes zoomIn { from {transform: scale(0.985);} to {transform: scale(1);} }


/* =====================
   ESTILO PARA NÚMEROS TACHADOS
===================== */
.cajitas-numeros span.tachado {
  position: relative;
  background: #555;       /* oscurece el fondo */
  color: #aaa;            /* texto gris apagado */
  pointer-events: none;   /* ya no clickea */
}
.cajitas-numeros span.tachado::after {
  content: "✖";           /* X encima */
  position: absolute;
  font-size: 2.8rem;      /* bien grande */
  font-weight: 900;
  color: red;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
}

.sticker-note {
  font-size: 1.8rem !important;   /* tamaño grande */
  font-weight: 900 !important;    /* bien grueso */
  color: #0b2c59 !important;      /* azul institucional */
  text-shadow: 0 0 6px rgba(11,44,89,0.4), 0 0 12px rgba(21,77,140,0.6);
  display: inline-block;
  margin-left: 10px;
}

