*{
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}


/* Variables de color  para el header */
:root{
  --celeste: rgba(0, 200, 255, 0.90);
  --amarillo: hsla(60, 100%, 50%, 1.00);
  --accent3: hsla(19, 100%, 50%, 1.00);

  --txt:#07131a;
  --muted: rgba(7,19,26,.65);
  --line: rgba(7,19,26,.12);
  --card: rgba(255,255,255,.92);
  --shadow: 0 22px 60px rgba(0,0,0,.12);
  --r: 18px;
}

.cp-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.cp-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.cp-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--txt);
}

.cp-logo{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0 32%, transparent 33%),
    linear-gradient(135deg, var(--celeste), rgba(0,200,255,.35));
  box-shadow:
    0 14px 30px rgba(0,200,255,.18),
    inset 0 0 0 1px rgba(0,200,255,.35);
  position: relative;
}

.cp-logo::after{
  content:"";
  position:absolute;
  inset: 7px 9px 8px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.15));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.cp-name{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 18px;
}

.cp-nav{
  display:flex;
  align-items:center;
  gap: 10px;
}

.cp-link{
  text-decoration:none;
  color: rgba(7,19,26,.82);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.cp-link:hover{
  background: rgba(0,200,255,.10);
  border-color: rgba(0,200,255,.22);
  transform: translateY(-1px);
}

.cp-link.active{
  background: rgba(0,200,255,.14);
  border-color: rgba(0,200,255,.30);
  color: rgba(7,19,26,.92);
}

.cp-cta{
  background: linear-gradient(135deg, var(--accent3), rgba(255,255,255,.12));
  border-color: rgba(255,255,255,.35);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255,79,0,.20);
}

.cp-cta:hover{
  background: linear-gradient(135deg, rgba(255,79,0,.95), rgba(255,255,255,.18));
  border-color: rgba(255,255,255,.45);
}

/* Burger (mobile) */
.cp-burger{
  display:none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,200,255,.24);
  background: rgba(0,200,255,.08);
  cursor:pointer;
  padding: 0 10px;
}

.cp-burger span{
  display:block;
  height: 2px;
  margin: 6px 0;
  background: rgba(7,19,26,.78);
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 860px){
  .cp-burger{ display:block; }

  .cp-nav{
    display:none;
    position:absolute;
    left: 18px;
    right: 18px;
    top: 64px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,200,255,.22);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cp-nav.open{ display:flex; }

  .cp-link{
    border-radius: 14px;
    padding: 12px 12px;
    text-align: left;
  }
}

/* “chip” pequeño opcional en amarillo (si luego lo usas) */
.cp-chip-yellow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,0,.18);
  border: 1px solid rgba(255,255,0,.38);
  color: rgba(7,19,26,.92);
  font-weight: 900;
  font-size: 12px;
}

.logo2{
  width: 42px;
  height: 62px;
  z-index: 20;
  position: relative;
  top: 10px;

}


/* ===== Dropdown "Más" ===== */
.cpdrop{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cpdrop-btn{
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cpdrop-caret{
  margin-left: 6px;
  font-size: 12px;
  opacity: .8;
}

.cpdrop-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;

  display: none;            /* oculto por defecto */
  z-index: 9999;

  /* look */
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  backdrop-filter: blur(8px);
}

.cpdrop.open .cpdrop-menu{
  display: block;
}

.cpdrop-item{
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #0b1220;
  font-weight: 700;
  font-size: 14px;
}

.cpdrop-item:hover{
  background: rgba(0,200,255,.12);
}

/* si tu navbar es oscura, cambia el menú a oscuro */
.cp-nav.is-dark .cpdrop-menu{
  background: rgba(8,10,16,.95);
  border-color: rgba(238,246,255,.12);
}
.cp-nav.is-dark .cpdrop-item{ color: #eef6ff; }
.cp-nav.is-dark .cpdrop-item:hover{ background: rgba(0,200,255,.14); }













/* seccion para el historial de los sorteos  */


  :root{
    --celeste: rgba(0, 200, 255, 0.90);
    --amarillo: hsla(60, 100%, 50%, 1.00);
    --accent3: hsla(19, 100%, 50%, 1.00);
    --bg1: rgba(255,255,255,.75);
    --txt: #0b1220;
    --muted: rgba(11,18,32,.65);
    --line: rgba(11,18,32,.10);
    --shadow: 0 18px 45px rgba(0,0,0,.18);
  }

  .wn-section{
    width: 100%;
    height: 400px;
    display: grid;
    place-items: center;
    padding: 18px;
    box-sizing: border-box;
  }

  .wn-card{
    width: min(980px, 100%);
    height: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(1200px 500px at 20% 15%, rgba(255,255,255,.95), rgba(255,255,255,.55)),
      linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.02));
    border: 1px solid rgba(255,255,255,.35);
  }

  /* Franja superior suave tipo “vidrio” */
  .wn-card::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(650px 260px at 10% 10%, rgba(255,255,255,.35), transparent 60%),
      radial-gradient(650px 260px at 90% 25%, rgba(255,255,255,.28), transparent 60%),
      linear-gradient(135deg, rgba(0, 200, 255, .18), transparent 45%),
      linear-gradient(225deg, rgba(255, 255, 0, .12), transparent 50%);
    pointer-events:none;
  }

  .wn-inner{
    height: 100%;
    position: relative;
    padding: 20px 20px 18px;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 14px;
  }

  .wn-head{
    display:flex;
    justify-content:center;
  }

  .wn-titlePill{
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(11,18,32,.12);
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 28px;
    color: var(--txt);
    letter-spacing: .2px;
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
  }

  .wn-dateRow{
    display:flex;
    justify-content:center;
    gap: 10px;
    align-items:center;
  }

  .wn-dateText{
    font-weight: 900;
    font-size: 30px;
    color: rgba(11,18,32,.90);
    text-align:center;
  }

  /* Bolas */
  .wn-ballsRow{
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 6px 40px;
  }

  .wn-ball{
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display:grid;
    place-items:center;
    font-weight: 900;
    font-size: 22px;
    color: rgba(11,18,32,.92);
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.25) 55%, rgba(0,0,0,.10));
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 18px rgba(0,0,0,.10);
    user-select: none;
  }

  .wn-ball.power{
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,.92), rgba(255,255,255,.15) 50%, rgba(0,0,0,.18)),
      linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.08));
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 14px 24px rgba(0,0,0,.18);
    color: white;
    background-color: var(--celeste);
  }

  /* Botón “Power Play” */
  .wn-pillRow{
    display:flex;
    justify-content:center;
    padding-top: 2px;
  }

  .wn-actionPill{
    border: none;
    cursor: default;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.06)), var(--accent3);
    color: white;
    font-weight: 900;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 18px;
    box-shadow: 0 16px 28px rgba(0,0,0,.18);
    letter-spacing:.2px;
  }

  /* Parte de jackpot */
  .wn-footer{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
  }

  .wn-kpi{
    font-weight: 900;
    letter-spacing: .8px;
    font-size: 22px;
    text-transform: uppercase;
    color: rgba(11,18,32,.90);
    text-align:center;
  }

  .wn-kpi span{
    color: var(--accent3);
  }

  .wn-subkpi{
    font-weight: 900;
    letter-spacing: .6px;
    font-size: 20px;
    text-transform: uppercase;
    color: rgba(11,18,32,.86);
    text-align:center;
  }

  .wn-subkpi span{
    color: var(--accent3);
  }

  /* Flechas */
  .wn-navBtn{
    position:absolute;
    top: 56%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(11,18,32,.12);
    background: rgba(255,255,255,.80);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
    display:grid;
    place-items:center;
    cursor: pointer;
    user-select:none;
  }
  .wn-navBtn:hover{ transform: translateY(-50%) scale(1.03); }
  .wn-navBtn:active{ transform: translateY(-50%) scale(.98); }
  .wn-left{ left: 14px; }
  .wn-right{ right: 14px; }

  .wn-navIcon{
    width: 18px;
    height: 18px;
    border-right: 4px solid rgba(11,18,32,.85);
    border-bottom: 4px solid rgba(11,18,32,.85);
    transform: rotate(135deg);
    margin-left: 6px;
  }
  .wn-right .wn-navIcon{
    transform: rotate(-45deg);
    margin-left: 0;
    margin-right: 6px;
  }

  /* Barra de estado (para UX) */
  .wn-status{
    position:absolute;
    left: 14px;
    bottom: 12px;
    display:flex;
    gap: 10px;
    align-items:center;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(11,18,32,.10);
    box-shadow: 0 10px 18px rgba(0,0,0,.10);
    font-size: 13px;
    color: rgba(11,18,32,.78);
  }
  .wn-dot{
    width: 10px; height: 10px; border-radius: 999px;
    background: var(--celeste);
    box-shadow: 0 0 0 4px rgba(0,200,255,.16);
  }
  .wn-dot.warn{
    background: var(--amarillo);
    box-shadow: 0 0 0 4px rgba(255,255,0,.18);
  }

  /* Responsive */
  @media (max-width: 520px){
    .wn-titlePill{ font-size: 22px; }
    .wn-dateText{ font-size: 22px; }
    .wn-ball{ width: 54px; height: 54px; font-size: 20px; }
    .wn-kpi{ font-size: 18px; }
    .wn-subkpi{ font-size: 16px; }
    .wn-navBtn{ width: 42px; height: 42px; }
  }


  .wn-card { position: relative; }
.wn-navBtn{
  z-index: 9999;
  pointer-events: auto;
}
.wn-inner{
  position: relative;
  z-index: 2;
}
.wn-card::before{
  pointer-events: none;
}














/* seccion para el historial de los sorteos osea para las imagenes */

:root{
  --celeste: rgba(0, 200, 255, 0.90);
  --amarillo: hsla(60, 100%, 50%, 1.00);
  --accent3: hsla(19, 100%, 50%, 1.00);

  /* Look claro */
  --gx-bg1: #f7fbff;
  --gx-bg2: #eef7ffbe;

  --gx-card: rgba(255,255,255,.78);
  --gx-stroke: rgba(0, 200, 255, .22);

  --gx-text: #0b1220;
  --gx-muted: rgba(11,18,32,.65);

  --gx-shadow: 0 14px 36px rgba(2, 8, 23, .12);
  --gx-shadow2: 0 18px 44px rgba(2, 8, 23, .18);
}

.gx-juegosHero{
  width: 100%;
  height: 500px;
  margin: 60px 0;
  display: flex;
  align-items: center;

  background:
    radial-gradient(900px 520px at 12% 18%, rgba(0, 200, 255, 0.115), transparent 60%),
    radial-gradient(700px 480px at 86% 72%, rgba(255, 90, 0, .10), transparent 60%),
    linear-gradient(180deg, var(--gx-bg1), var(--gx-bg2));

  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.05);
  overflow: hidden;
}

.gx-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.gx-head{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gx-title{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  color: var(--gx-text);
  letter-spacing: .2px;
}

.gx-sub{
  margin: 0;
  color: var(--gx-muted);
  font-size: 14px;
}

.gx-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: 360px;
}

.gx-card{
  position: relative;
  display: block;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;

  background: var(--gx-card);
  border: 1px solid var(--gx-stroke);
  box-shadow: var(--gx-shadow);

  text-decoration: none;
  transform: translateZ(0);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.gx-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0, 200, 255, .45);
  box-shadow: var(--gx-shadow2);
}

.gx-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02);
}

/* Overlay más suave (no oscurece tanto la foto) */
.gx-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(11,18,32,.42) 78%),
    radial-gradient(620px 260px at 30% 12%, rgba(0, 200, 255, .14), transparent 60%);
  pointer-events: none;
}

/* Textos sobre imagen: blanco para que siempre se lea */
.gx-content{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gx-badge{
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #062c34;
  background: rgba(0, 200, 255, .95);
  border: 1px solid rgba(0, 200, 255, .55);
}

.gx-badge.alt{
  color: #2a2a00;
  background: rgba(255, 255, 0, .95);
  border-color: rgba(255, 255, 0, .55);
}

.gx-badge.hot{
  color: #2b0a00;
  background: rgba(255, 90, 0, .95);
  border-color: rgba(255, 90, 0, .55);
}

.gx-name{
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
  letter-spacing: .2px;
}

.gx-desc{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.25;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 980px){
  .gx-juegosHero{
    height: auto;
    padding: 18px 0;
  }
  .gx-grid{
    grid-template-columns: 1fr;
    height: auto;
  }
  .gx-card{
    height: 240px;
  }
}







/* ===== Footer dark (bg #000 + letras blancas) ===== */

:root{
  --celeste: rgba(0, 200, 255, 0.90);
  --amarillo: hsla(60, 100%, 50%, 1.00);
  --accent3: hsla(19, 100%, 50%, 1.00);

  /* Dark theme */
  --ftText: rgba(255,255,255,.92);
  --ftMuted: rgba(255,255,255,.68);
  --ftLine: rgba(255,255,255,.12);
  --ftBg: #000000;
  --ftCard: rgba(255,255,255,.06);
  --ftShadow: 0 22px 60px rgba(0,0,0,.55);
}

.ft-footer{
  background: var(--ftBg);
  color: var(--ftText);
  padding: 22px 16px 28px;
  border-top: 1px solid var(--ftLine);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ft-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.ft-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}

.ft-logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 1000;
  letter-spacing: .4px;
  color: #062a33;

  /* logo celeste */
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.90), rgba(255,255,255,.10)),
              linear-gradient(135deg, var(--celeste), rgba(255,255,255,.06));
  border: 1px solid rgba(0,200,255,.45);
  box-shadow: 0 14px 28px rgba(0,200,255,.22);
}

.ft-name{
  font-weight: 1000;
  font-size: 18px;
  line-height: 1.1;
  color: var(--ftText);
}

.ft-tag{
  margin-top: 2px;
  font-weight: 800;
  color: var(--ftMuted);
  font-size: 13px;
}

/* social */
.ft-social{
  display:flex;
  align-items:center;
  gap: 10px;
}

.ft-ico{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: var(--ftCard);
  box-shadow: 0 14px 22px rgba(0,0,0,.35);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
  text-decoration:none;
}

#fb{
  border: 1px solid rgb(0, 98, 255);
}
#ins{
  border: 1px solid rgb(255, 0, 187);
}
#you{
  border: 1px solid rgb(255, 0, 0);
}
.ft-ico svg{
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,.86);
}

.ft-ico:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: rgba(0,200,255,.55);
}

.ft-ico:hover svg{
  fill: rgba(0,200,255,.95);
}

/* links */
.ft-links{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ft-link{
  color: rgba(255,255,255,.86);
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .2px;
}

.ft-link:hover{
  color: rgba(0,200,255,.95);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* divider + text */
.ft-divider{
  height: 1px;
  background: var(--ftLine);
  margin: 18px 0 14px;
}

.ft-text{
  margin: 0 0 10px;
  color: rgba(255,255,255,.70);
  font-weight: 700;
  line-height: 1.55;
  max-width: 980px;
}

/* bottom */
.ft-bottom{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ft-copy{
  font-weight: 900;
  color: rgba(255,255,255,.78);
}

.ft-mini{
  font-weight: 900;
  color: rgba(255,255,255,.62);
}

.ft-dot{
  margin: 0 10px;
  color: rgba(255,255,255,.30);
}

/* Responsive */
@media (max-width: 860px){
  .ft-top{
    flex-direction: column;
    align-items: flex-start;
  }
  .ft-links{
    justify-content: flex-start;
    gap: 14px;
  }
  .ft-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .ft-dot{
    margin: 0 8px;
  }
}
