

/* ===== Dropdown (Resultados) ===== */
.nav-dropdown{position:relative;display:inline-flex;align-items:center}
.nav-dropdown .nav-link--dropdown{display:inline-flex;align-items:center;gap:6px}
.nav-dropdown-menu{position:absolute;top:100%;left:0;min-width:220px;padding:10px;background:rgba(255,255,255,.96);border:1px solid rgba(15,23,42,.10);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.14);display:none;z-index:50}
.nav-dropdown-menu a{display:block;padding:10px 12px;border-radius:10px;color:#0f172a;text-decoration:none;font-weight:700;font-size:14px}
.nav-dropdown-menu a:hover{background:rgba(15,23,42,.06)}
.nav-dropdown:hover .nav-dropdown-menu{display:block}

@media(max-width:920px){
  .nav-dropdown{display:block}
  .nav-dropdown-menu{position:static;display:block;box-shadow:none;background:transparent;border:0;padding:6px 0;min-width:auto}
  .nav-dropdown-menu a{padding:8px 0;color:rgba(255,255,255,.92)}
  .nav-dropdown-menu a:hover{background:transparent;opacity:.9}
}
/* LottoAgente v1.8 UI (inspirado en la claridad/jerarquía de sitios oficiales, sin copiar) */
:root{
  --bg: #f5f7fb;
  --text: #0b1220;
  --muted: #5b667a;
  --card: #ffffff;
  --stroke: rgba(12,18,32,.10);

  --power-red: #e11d2e;
  --power-red2:#ff4d4d;

  --mega-blue: #1b5fd6;
  --mega-blue2:#39a0ff;
  --mega-gold:#f6c340;

  --radius: 16px;
  --shadow: 0 12px 28px rgba(12,18,32,.10);
  --shadow2: 0 8px 18px rgba(12,18,32,.08);
}

*{box-sizing:border-box;margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif}
body{
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
}

/* ---------- SITE HEADER ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 12px 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 10px 24px rgba(12,18,32,.08);
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo{ width: 180px; max-width: 42vw; height:auto; display:block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.site-nav{ display:flex; flex-wrap:wrap; gap:10px; }
.site-nav a{
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  font-size:.95rem;
  padding:10px 12px;
  border-radius: 12px;
  transition: .15s ease;
}
.site-nav a:hover{ background: rgba(12,18,32,.06); }

/* Botón menú móvil (tipo Powerball) */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  box-shadow: var(--shadow2);
  cursor: pointer;
}
.nav-toggle-bars{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  margin: 0 auto;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
}
.nav-toggle-bars::before{ top:-6px; }
.nav-toggle-bars::after{ top:6px; }

/* ---------- PAGE WRAP ---------- */
.page-wrap{
  width: min(1120px, 100%);
  margin: 18px auto 40px;
  padding: 0 14px;
}


/* ---------- TYPOGRAPHY (PAGES) ---------- */
.page-wrap h1{
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 1000;
  margin: 12px 0 10px;
}
.page-wrap p{
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
  margin-top: 8px;
}
.page-card{
  background: rgba(255,255,255,.94);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
  margin-top: 14px;
}

/* ---------- HERO / JACKPOT ---------- */
.header{
  margin: 12px 0 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  text-align: center;
}
.pozo{
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .6px;
  padding: 10px 12px;
  border-radius: 14px;
  display:inline-block;
}
.pozo.power{
  color: var(--power-red);
  text-shadow: 0 10px 26px rgba(225,29,46,.25);
}
.pozo.mega{
  color: var(--mega-blue);
  text-shadow: 0 10px 26px rgba(27,95,214,.22);
}

#proximoSorteo{ text-align:center; 
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
  white-space: pre-line;
}

/* ---------- TOPBAR / CUENTA ---------- */
.topbar{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  margin: 10px 0 12px;
}
.btn-cuenta{
  padding:10px 14px;
  border:none;
  border-radius: 14px;
  cursor:pointer;
  background: rgba(12,18,32,.08);
  color: var(--text);
  font-weight: 800;
}
.btn-cuenta:hover{ background: rgba(12,18,32,.12); }
.cuenta-estado{ color: var(--muted); font-weight:700; }

/* ---------- TABS ---------- */
.tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin: 10px 0 16px;
}
.tab-btn{
  padding: 12px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-weight: 900;
  cursor:pointer;
  background: #fff;
  box-shadow: 0 8px 18px rgba(12,18,32,.06);
}
.tab-btn.power{ border-color: rgba(225,29,46,.25); }
.tab-btn.mega{ border-color: rgba(27,95,214,.25); }

.tab-btn.active{
  color:#fff;
  border-color: transparent;
}
.tab-btn.power.active{ background: linear-gradient(135deg, var(--power-red), var(--power-red2)); }
.tab-btn.mega.active{ background: linear-gradient(135deg, var(--mega-blue), var(--mega-blue2)); }

/* ---------- LAYOUT ---------- */
.contenedor{ display:flex; gap:16px; flex-wrap:wrap; align-items:stretch; }
.panel-izq,.panel-der{
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-izq{ flex: 1 1 520px; }
.panel-der{ flex: 1 1 320px; }
.panel-izq h2{ font-size: 1.4rem; margin-bottom: 10px; }
.panel-izq h3{ font-size: 1.05rem; margin-top: 8px; opacity:.9; }

/* ---------- BOLILLAS ---------- */
#bolillas,#mega-ball{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(38px,1fr));
  gap:8px;
  margin:12px 0;
}
.bolilla{
  width:38px;height:38px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;cursor:pointer;
  background: radial-gradient(circle at 30% 30%, #ffffff, #eef2f8);
  color: var(--text);
  border: 1px solid rgba(12,18,32,.12);
  box-shadow: 0 10px 18px rgba(12,18,32,.06);
  user-select:none;
  transition: transform .08s ease, box-shadow .15s ease;
}
.bolilla:hover{ transform: translateY(-1px); box-shadow: 0 14px 26px rgba(12,18,32,.10); }

.bolilla.activa.power{
  background: radial-gradient(circle at 30% 30%, #ffd5d5, var(--power-red));
  color:#fff;
  border-color: rgba(225,29,46,.25);
}
.bolilla.activa.mega{
  background: radial-gradient(circle at 30% 30%, #d8efff, var(--mega-blue));
  color:#fff;
  border-color: rgba(27,95,214,.25);
}

/* Bolilla especial: estilo dorado cuando es MEGA (sin copiar, solo idea) */
#mega-ball .bolilla.activa.mega{
  background: radial-gradient(circle at 30% 30%, #fff4c6, var(--mega-gold));
  color:#111;
  border-color: rgba(246,195,64,.35);
}
#mega-ball .bolilla.activa.power{
  background: radial-gradient(circle at 30% 30%, #ffd5d5, var(--power-red));
  color:#fff;
}

/* ---------- BOTONES ---------- */
.botones{ display:flex; gap:10px; margin-top: 10px; }
.botones button{
  flex:1;
  padding: 12px 14px;
  border:none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor:pointer;
  color:#fff;
  box-shadow: 0 14px 26px rgba(12,18,32,.10);
}
#quickPick{ background: linear-gradient(135deg, var(--mega-blue), var(--mega-blue2)); }
#agregarLinea{ background: linear-gradient(135deg, #1f2a44, #0b1220); }
.botones button:hover{ filter: brightness(1.03); }

/* ---------- LINEAS ---------- */
#panel-lineas{ margin-top: 12px; }
.linea{
  padding: 10px 10px;
  margin-bottom: 8px;
  border-radius: 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  animation:fadeIn .25s ease;
  color:#fff;
}
.linea.power{ background: linear-gradient(135deg, var(--power-red), var(--power-red2)); }
.linea.mega{ background: linear-gradient(135deg, var(--mega-blue), var(--mega-blue2)); }
@keyframes fadeIn{ from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

.badge{
  background: rgba(0,0,0,.28);
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  margin-left: 6px;
}
.btn-del{
  background: rgba(255,255,255,.18);
  border:none;color:#fff;border-radius:10px;
  padding:6px 10px;cursor:pointer;
  font-weight:900;
}
.btn-del:hover{ background: rgba(255,255,255,.26); }

#pp-container{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 8px 0 10px;
  color: var(--muted);
  font-weight: 800;
}
#pp-container input{ transform: scale(1.1); }

/* ---------- COMPRAR ---------- */
#btnComprar{
  width:100%;
  margin: 18px 0 0;
  padding: 18px;
  font-size: 20px;
  font-weight: 1000;
  background: linear-gradient(135deg, #1bb55c, #35d07a);
  border:none;
  border-radius: 18px;
  color:#fff;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(27,181,92,.20);
}
#btnComprar:hover{ filter: brightness(1.03); }

/* ---------- AUTH / OVERLAY ---------- */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(3,7,18,.55);
  backdrop-filter: blur(10px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:18px;
  z-index:9999;
}
.hidden{ display:none !important; }

.modal{
  width:min(560px, 100%);
  background:#fff;
  border-radius: 18px;
  padding:18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  position:relative;
  border: 1px solid rgba(12,18,32,.10);
}

/* ---------- AGE GATE (más claro y premium) ---------- */
.age-modal{ padding:18px; }
.age-head{ display:flex; gap:14px; align-items:flex-start; margin-bottom:12px; }
.age-badge{
  width:46px; height:46px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:#0f172a;
  background: linear-gradient(135deg, rgba(245,158,11,.25), rgba(239,68,68,.22));
  border: 1px solid rgba(12,18,32,.10);
}
.age-title{ margin:0; }
.age-sub{ margin:6px 0 0; color:var(--muted); }
.age-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:12px 0 14px;
  line-height:1.35;
  color: var(--text);
}
.age-check input{ margin-top:4px; transform: scale(1.1); }
.age-link{
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
  color:#1d4ed8;
  font-weight:800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.age-actions{ display:flex; gap:10px; align-items:center; }
.age-actions .btn-primary{ flex:1; }
.age-actions .btn-secondary{ background:rgba(12,18,32,.08); color:var(--text); border:1px solid rgba(12,18,32,.14); }
.age-actions .btn-secondary:hover{ background:rgba(12,18,32,.10); opacity:1; }
.age-foot{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.pill{
  font-size:.82rem;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(12,18,32,.06);
  border:1px solid rgba(12,18,32,.10);
  color:var(--text);
}

.terms-modal{ width:min(860px, 100%); }
.terms-frame-wrap{ border:1px solid rgba(12,18,32,.10); border-radius:14px; overflow:hidden; }
.terms-frame-wrap iframe{ width:100%; height:70vh; border:0; background:#fff; }

@media (max-width: 520px){
  .age-actions{ flex-direction:column; }
  .age-actions .btn-primary{ width:100%; }
  .age-actions .btn-secondary{ width:100%; }
  .terms-frame-wrap iframe{ height:72vh; }
}
.modal h2{ color: var(--text); }
.modal p, .modal label{ color: var(--muted); }

.modal-close{
  position:absolute;
  top:10px;
  right:10px;
  background:rgba(12,18,32,.06);
  border:none;
  color:var(--text);
  width:38px;
  height:38px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
}
.modal-close:hover{ background:rgba(12,18,32,.10); }

.tabs-auth{ display:flex; gap:8px; margin:12px 0 14px; }
.tab-auth{
  flex:1;
  padding:10px;
  border:1px solid rgba(12,18,32,.10);
  border-radius:999px;
  cursor:pointer;
  background:#fff;
  color:var(--text);
  font-weight:900;
  opacity:.9;
}
.tab-auth.active{
  background: linear-gradient(135deg, rgba(27,95,214,.10), rgba(225,29,46,.10));
  border-color: rgba(12,18,32,.12);
}

.auth-form{ display:flex; flex-direction:column; gap:8px; }
.auth-form label{ font-size:.9rem; }
.label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.age-pill{font-size:.75rem;font-weight:900;padding:4px 10px;border-radius:999px;background:rgba(12,18,32,.06);}
.req{color:#c11c2a;font-weight:900;}

.auth-form input{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(12,18,32,.14);
  background:#fff;
  color:var(--text);
  outline:none;
}
.auth-form select{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(12,18,32,.14);
  background:#fff;
  color:var(--text);
  outline:none;
}
.auth-form .grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.auth-form .dni-row{ display:flex; gap:10px; align-items:center; }
.auth-form .dni-row input{ flex:1; }
.auth-form .small{ font-size:.78rem; opacity:.75; margin-top:4px; }
@media (max-width:560px){
  .auth-form .grid2{ grid-template-columns: 1fr; }
  .auth-form .dni-row{ flex-direction:column; align-items:stretch; }
}
.btn-primary{
  margin-top:6px;
  padding:12px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  background: linear-gradient(135deg, #1bb55c, #35d07a);
  color:#fff;
  font-weight:1000;
  font-size:16px;
}
#ageAccept:disabled{ opacity:.55; cursor:not-allowed; }

.auth-msg{ min-height:18px; font-size:.9rem; }
.auth-msg.ok{ color:#0f7d3a; font-weight:800; }
.auth-msg.err{ color:#c11c2a; font-weight:800; }

/* ---------- FOOTER ---------- */
.site-footer{
  width: min(1120px, 100%);
  margin: 26px auto 40px;
  padding: 18px 14px;
}
.footer-menu{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-bottom: 14px;
}
.footer-menu a{
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--stroke);
}
.footer-menu a:hover{ background:#fff; }

.footer-trust{
  background: rgba(255,255,255,.94);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.footer-trust h4{ margin-bottom: 8px; }
.footer-trust p{ color: var(--muted); margin-top: 8px; line-height: 1.35; font-weight: 650; }

.footer-copy{
  text-align:center;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 840px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .site-header{ position: sticky; }
  .site-nav{ 
    display:none;
    position:absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open{ display:flex; }
  .site-nav a{ width:100%; }
  .logo{ width: 160px; }
  .topbar{ justify-content:center; }
}


.steps-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.step-card{
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.step-card .step-num{
  font-weight: 1000;
  color: var(--muted);
  margin-bottom: 6px;
}
.step-card .step-title{
  font-weight: 1000;
  margin-bottom: 6px;
}
.step-card .step-emoji{
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.notice{
  background: rgba(27,95,214,.08);
  border: 1px solid rgba(27,95,214,.20);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 14px;
}
.notice strong{ font-weight: 1000; }

/* ===== v1.9 Mobile UX ===== */
@media (max-width: 768px){
  /* Layout en una sola columna */
  .contenedor{ flex-direction: column; }
  .panel-izq,.panel-der{ width:100%; }

  /* Bolillas más grandes (mejor toque) */
  #bolillas, #mega-ball{
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 10px;
  }
  .bolilla{
    width:44px;
    height:44px;
    font-size:14px;
  }

  /* Botones grandes */
  .botones button{
    padding:14px;
    font-size:16px;
  }

  /* Botón COMPRAR tipo app (siempre visible) */
  #btnComprar{
    position: sticky;
    bottom: 10px;
    width: calc(100% - 20px);
    margin: 14px auto 16px;
    display: block;
    z-index: 50;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
  }

  /* Para que el contenido no quede tapado por el botón */
  body{ padding-bottom: 90px; }

  /* Resumen flotante arriba del botón */
  .resumen-mobile{
    position: sticky;
    bottom: 78px;
    z-index: 49;
    background: rgb(249 246 82);
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 10px 12px;
    margin-top: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
  }
  .resumen-mobile h3{
    font-size: 15px;
    margin:0;
    text-align:center; 
  }

  /* Evitar zoom raro en iPhone */
  .auth-form input{ font-size:16px; }
}


.badge{display:inline-block;padding:4px 10px;border-radius:999px;font-weight:800;font-size:12px;background:rgba(12,15,26,.08);}
.badge.warn{background:rgba(255,193,7,.18);}

/* ---------- PAGO MODAL ---------- */
.modal-pay{ width:min(860px, 100%);  max-height: calc(100vh - 64px); overflow:auto;}
.pay-summary{
  background: rgba(12,18,32,.035);
  border: 1px solid rgba(12,18,32,.10);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.pay-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:12px;
}
.pay-card{
  border: 1px solid rgba(12,18,32,.10);
  border-radius: 14px;
  padding: 12px 14px;
  background:#fff;
}
.pay-title{ font-weight: 1000; margin-bottom: 10px; }
.pay-method,.pay-bank{
  padding:10px 0;
  border-top: 1px dashed rgba(12,18,32,.18);
}
.pay-method{ border-top:none; }
.pay-qr{
  width:100%;
  height:auto;
  border-radius: 14px;
  border: 1px solid rgba(12,18,32,.10);
  margin: 10px 0;
}
@media (max-width: 820px){
  .pay-grid{ grid-template-columns: 1fr; }
}


/* Pago modal QR grid */
.qr-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.qr-item{background:#fff;border:1px solid rgba(12,15,26,.12);border-radius:12px;padding:10px;display:flex;flex-direction:column;align-items:center}
@media(max-width:680px){.qr-grid{grid-template-columns:1fr}}

.pay-breakdown{margin-top:12px;background:rgba(12,15,26,.03);border:1px solid rgba(12,15,26,.08);border-radius:12px;padding:10px}
.pay-break-title{font-weight:900;margin-bottom:8px}
.pay-row{display:flex;justify-content:space-between;gap:10px;padding:6px 8px;border-radius:10px}
.pay-row:nth-child(even){background:rgba(255,255,255,.7)}


/* ===== Pago modal upload ===== */
.upload-box{
  border: 1px solid rgba(12,18,32,.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.65);
}
.upload-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 12px;
  background: #0c0f1a;
  color: #fff;
  cursor:pointer;
  font-weight:900;
  width: 100%;
  text-align:center;
}
.upload-btn:hover{ filter: brightness(.95); }

.pay-bank-end{
  border-top: 1px dashed rgba(12,18,32,.18);
  margin-top: 2px;
}

@media(max-width:520px){
  .pay-row{flex-direction:column;align-items:flex-start}
  .pay-grid{gap:10px}
  .modal-pay{width:92vw}
}


/* ===== v1.11 UI: Resumen ordenado + QR 150x150 ===== */
.pago-line{
  display:grid;
  grid-template-columns: 36px 1fr auto;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px dashed rgba(12,15,26,.12);
}
.pago-line:last-child{border-bottom:none}
.pago-col.letra{font-weight:800;opacity:.9}
.pago-col.nums{font-weight:700}
.pago-col.right{font-weight:900;letter-spacing:.01em;opacity:.92;white-space:nowrap;text-align:right}

@media(max-width:720px){
  .pago-line{
    grid-template-columns: 36px 1fr;
    grid-auto-rows:auto;
  }
  .pago-col.right{
    grid-column: 2 / -1;
  }
}

.pago-qr img, .qr-box img{
  width:150px !important;
  height:150px !important;
  object-fit:contain;
}


/* ===== Pago modal tweaks v1.11.3 ===== */
.pay-qrs img{ width:150px; height:150px; object-fit:contain; }
.upload-input{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.btn-upload{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:12px; border:1px solid rgba(12,15,26,.18); background:#0c0f1a; color:#fff; font-weight:700; cursor:pointer; }
.btn-upload:hover{ filter:brightness(1.05); }
.pago-total{ background:rgba(12,15,26,.04); }


/* ===== Tickets digitales (Mis pedidos) ===== */
.ticket-meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin:8px 0 14px;
  font-size:14px;
  color:#334155;
}
.ticket-wrap{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:14px;
}
.ticket-card{
  background:#fff;
  border:1px solid rgba(12,15,26,.12);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.ticket-head{
  padding:14px 16px 10px;
  background:linear-gradient(90deg, rgba(229,57,53,.08), rgba(30,136,229,.08));
  border-bottom:1px dashed rgba(12,15,26,.18);
}
.ticket-title{
  font-size:18px;
  font-weight:800;
  letter-spacing:.2px;
}
.ticket-sub{
  font-size:12px;
  opacity:.75;
  margin-top:2px;
}
.ticket-body{
  padding:10px 12px 4px;
}
.ticket-line{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:8px 6px;
  border-bottom:1px dashed rgba(12,15,26,.12);
}
.ticket-line:last-child{ border-bottom:none; }
.tl-left{ display:flex; gap:10px; align-items:flex-start; }
.tl-label{ width:18px; font-weight:800; }
.tl-nums{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing:.4px;
  font-size:13px;
  line-height:1.2;
}
.tl-extra{ opacity:.7; }
.tl-right{ text-align:right; min-width:92px; }
.tl-flags{
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  color:#0f172a;
  opacity:.85;
}
.tl-price{ font-size:13px; font-weight:800; margin-top:2px; }
.ticket-foot{
  padding:10px 14px;
  border-top:1px dashed rgba(12,15,26,.12);
  font-size:12px;
  opacity:.8;
}
.btn-secondary{
  background:#0f172a;
  color:#fff;
  border:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}
.btn-secondary:hover{ opacity:.92; }

@media (max-width: 640px){
  .ticket-wrap{ grid-template-columns: 1fr; }
}


/* ===== Header/Nav (v1.11.33) ===== */
.site-header--sticky{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  gap:14px;
}
.brand{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  line-height:1;
}
.brand-logo{
  display:block;
  max-height:80px;
  width:auto;
  object-fit:contain;
}
@media(max-width:640px){
  .brand-logo{max-height:60px;}
}
.brand-mark{
  font-weight:900;
  letter-spacing:.6px;
  color:#0f172a;
  font-size:18px;
}
.brand-sub{
  font-size:12px;
  opacity:.7;
  color:#0f172a;
  margin-top:3px;
}
.site-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
}
.site-nav a, .nav-dd__btn{
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.site-nav a:hover, .nav-dd__btn:hover{
  background:rgba(15,23,42,.06);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding:10px 14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}
.btn--solid{
  background:#0f172a;
  color:#fff !important;
  box-shadow:0 10px 22px rgba(15,23,42,.14);
}
.btn--solid:hover{ transform: translateY(-1px); }
.btn--login{ margin-left:4px; }

.nav-dd{ position:relative; }
.nav-dd__btn{
  background:transparent;
  border:0;
  cursor:pointer;
  font-family: inherit;
}
.nav-dd__menu{
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  min-width: 260px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  padding:8px;
  display:none;
}
.nav-dd__menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}
.nav-dd__menu a:hover{ background:rgba(15,23,42,.06); }

/* Logout destacado (alerta suave) */
.nav-dd__menu a.logout-link{
  color:#b00020;
  box-shadow:0 0 0 1px rgba(176,0,32,.18) inset;
}
.nav-dd__menu a.logout-link:hover{
  background:rgba(176,0,32,.10);
}
.nav-dd__menu--right{ left:auto; right:0; }
.nav-dd.open .nav-dd__menu{ display:block; }

/* Only show extra "Mis pedidos" link inside mobile menu */
.nav-link--mobile{ display:none; }

/* Mobile nav */
@media (max-width: 880px){
  .nav-toggle{ display:inline-flex; }
  .site-nav{
    position:fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    padding:10px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    display:none;
  }
  .site-nav.open{ display:flex; }
  .site-nav a, .nav-dd__btn{ width:100%; text-align:left; }
  .nav-dd__menu{ position:static; box-shadow:none; border:0; padding:0; margin-top:6px; display:none; }
  .nav-dd.open .nav-dd__menu{ display:block; }
  .nav-link--mobile{ display:block; }
}

/* ===== Footer (v1.11.33) ===== */
.site-footer{
  margin-top: 48px;
  background: #0b1220;
  color: rgba(255,255,255,.9);
}
.site-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 16px 18px;
  display:grid;
  /* más aire entre columnas (evita que Enlaces quede pegado a Marca) */
  gap:18px;
  /* 5 columnas en desktop: Marca / Enlaces / Legal / Confianza / Pagos */
  grid-template-columns: 1.55fr .85fr 1.05fr .95fr .95fr;
}
@media (max-width: 900px){
  .site-footer__inner{ grid-template-columns: 1fr 1fr; gap:18px; }
}
@media (max-width: 520px){
  .site-footer__inner{ grid-template-columns: 1fr; gap:16px; }
  .footer-badges{ flex-direction:column; align-items:center; }
  .badge--icon{ width:100%; max-width: 200px; height:56px; }
  .badge--icon img{ max-width:96px; max-height:32px; }
  .badge--lock img{ max-width:112px; max-height:36px; }
}
.footer-title{
  font-weight:900;
  margin-bottom:10px;
  color:#fff;
}
.site-footer a{
  color: rgba(255,255,255,.85);
  text-decoration:none;
  display:block;
  padding:8px 0;
}
.site-footer a:hover{ color:#fff; text-decoration:underline; }
.footer-brand__name{
  font-weight:1000;
  letter-spacing:.5px;
  color:#fff;
  font-size:18px;
}
.footer-brand__desc{
  margin:10px 0 14px;
  opacity:.85;
  line-height:1.5;
}
.footer-brand{ text-align:center; }
.footer-brand__desc{ text-align:center; }
.footer-social{ display:flex; gap:10px; justify-content:center; width:100%; }
.soc{
  width:52px; height:41px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background: rgba(255,255,255,.10);
  color:#fff !important;
  font-weight:900;
}
.soc img{ width:36px; height:27px; display:block; object-fit:contain; margin:auto; }
.footer-badges{
  /* En columna (como medios de pago) */
  display:flex;
  flex-direction:column;
  gap:8px;
  margin: 8px 0 6px;
  align-items:center;
}
.badge{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.badge img{ width:22px; height:22px; display:block; }

/* Badges de confianza: mismo “card” que medios de pago (3 y 3) */
.badge--icon{
  padding:7px 10px;
  border-radius:14px;
  width:84px;
  height:38px;
  justify-content:center;
  align-items:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.075);
}
.badge--icon img{
  object-fit:contain;
  max-width:72px;
  max-height:22px;
  width:auto;
  height:auto;
}
/* La de candado (cifrada) un poco más grande para que se lea */
.badge--lock img{ max-width:84px; max-height:26px; }

/* Medios de pago un poco más abajo para balance visual */
.footer-payments{ margin-top: 12px; }
.footer-payments{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:10px; }
.pay--logo{ min-width:84px; width:84px; height:38px; justify-content:center; border-radius:12px; }
.pay--logo img{ height:20px; width:auto; object-fit:contain; }
.pay{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  padding:7px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.3px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.pay img{ height:22px; width:auto; display:block; }
.site-footer__bottom{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.footer-trust{
  opacity:1;
  font-size:12px;
  line-height:1.5;
  text-align:center;
  max-width: 980px;
}
.footer-trust .sep{ margin:0 8px; opacity:.7; }
  .site-footer__bottom .footer-trust{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 14px;
}
.footer-copy{ opacity:.95; font-size:20px; font-weight:1000; letter-spacing:.3px; text-align:center; width:100%; }


/* Footer icon images (solo badges/pay con texto) */
.badge:not(.badge--icon) img, .pay:not(.pay--logo) img{
  width:16px; height:16px;
  vertical-align:-3px;
  margin-right:6px;
}
.pay:not(.pay--logo) img{ width:18px; height:18px; }

/* ===== Footer compact (v1.94.0) - reducir iconos ~40% ===== */
.soc{ width:54px; height:42px; border-radius:14px; }
.soc img{ width:36px; height:28px; }
.footer-social{ gap:10px; }

.badge--icon{ width:84px; height:38px; border-radius:12px; }
.badge--icon img{ max-width:78px; max-height:24px; }
.badge--lock img{ max-width:86px; max-height:26px; }
.footer-badges{ gap:10px; }

.pay--logo{ min-width:84px; width:84px; height:38px; border-radius:12px; }
.pay--logo img{ height:20px; }
.footer-payments{ gap:10px; margin-top:10px; }


/* (v1.11.51) Invitado: selector país + prefijo */
.phone-row{display:flex; gap:10px; align-items:center;}
.phone-row select{flex:0 0 160px; padding:10px; border-radius:12px; border:1px solid #d7dde8; background:#fff;}
.phone-input{flex:1; display:flex; align-items:center; border:1px solid #d7dde8; border-radius:12px; padding:0 10px; background:#fff;}
.phone-input span{font-weight:700; margin-right:8px; color:#0d1b2a;}
.phone-input input{flex:1; border:0; outline:none; padding:10px 0;}
.locked{background:#f6f7fb !important;}


/* ===== LottoAgente v1.11.52 - Mi Cuenta (Panel) ===== */
.account-wrap{max-width:1100px;margin:0 auto;padding:26px 16px;}
.account-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-bottom:14px;}
.account-title{margin:0 0 6px;font-size:34px;letter-spacing:-.02em;}
.account-sub{margin:0;opacity:.75;}
.account-actions{display:flex;gap:10px;flex-wrap:wrap;}
.account-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:16px;margin-top:14px;}
@media(max-width:900px){.account-grid{grid-template-columns:1fr;}}

.card--profile,.card--form{padding:18px;border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 10px 24px rgba(10,20,40,.08);border:1px solid rgba(0,0,0,.06);}
.profile-top{display:flex;gap:12px;align-items:center;margin-bottom:14px;}
.avatar{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(15,23,42,.08);font-weight:800;}
.profile-name{font-weight:800;font-size:18px;line-height:1.1}
.profile-tag{opacity:.7;font-size:13px;margin-top:3px}
.profile-list{display:grid;gap:10px;margin-top:10px;}
.kv{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(15,23,42,.04);border:1px solid rgba(0,0,0,.04);}
.kv .k{opacity:.7}
.kv .v{font-weight:700;text-align:right}
.profile-note{margin-top:12px;font-size:13px;opacity:.78;background:rgba(255,200,0,.08);border:1px solid rgba(255,200,0,.18);padding:10px 12px;border-radius:14px;}

.card-title{margin:0 0 6px;font-size:18px}
.card-sub{margin:0 0 14px;opacity:.75}
.account-form{display:grid;gap:12px}
.form-row .lbl{display:block;font-weight:700;margin:0 0 6px}
.form-row .inp{width:100%;padding:12px 12px;border-radius:14px;border:1px solid rgba(0,0,0,.12);background:#fff;outline:none}
.form-row .inp:focus{border-color:rgba(17,24,39,.45);box-shadow:0 0 0 3px rgba(17,24,39,.08)}
.hint{font-size:12px;opacity:.7;margin-top:6px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.divider{height:1px;background:rgba(0,0,0,.08);margin:16px 0}
.quick-links{display:grid;gap:10px}
.quick-links .q{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:rgba(255,255,255,.7)}
.quick-links .q:hover{background:#fff}

.toast{padding:12px 14px;border-radius:14px;margin-top:10px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.8)}
.toast--ok{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.08)}
.toast--bad{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08)}

/* ===== Invitado: banderitas consistentes (SVG) ===== */
.flag-select{display:flex;align-items:center;gap:10px}
.flag-ico{width:24px;height:16px;border-radius:4px;border:1px solid rgba(0,0,0,.12);background:#fff;flex:0 0 auto}
.phone-row select{min-width:190px}

/* Botón terciario (pequeño) */
.btn-tertiary{background:rgba(15,23,42,.06);border:1px solid rgba(0,0,0,.08);color:#0f172a;border-radius:999px;padding:10px 12px;font-weight:700}
.btn-tertiary:hover{background:rgba(15,23,42,.1)}


/* ===== Footer tweaks v1.11.55 ===== */
.footer-brand{ text-align:center; display:flex; flex-direction:column; align-items:center; }
.footer-social--center{
  width:100%;
  justify-content:center;
  margin-left:auto;
  margin-right:auto;
}
.footer-social--center .soc{
  width:88px;
  height:68px;
  border-radius:16px;
}
.footer-social--center .soc img{
  width:60px;
  height:45px;
}

.footer-payments--center{
  width:100%;
  justify-content:center;
}
.pay.pay--logo{
  padding:10px 16px;
  border-radius:14px;
  font-size:0; /* ocultar texto si hubiera */
  gap:0;
}
.pay.pay--logo img{
  height:44px;
}

/* ===== Resultados: bolillas y badges ===== */
.la-ball{
  width:38px;
  height:38px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  margin-right:6px;
  background:#fff;
  color:#0b1220;
  border:1px solid rgba(15,23,42,.14);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.12);
}
.la-ball--special{
  background:#ef4444;
  color:#fff;
  border-color: rgba(239,68,68,.35);
}   
/* Mega special opcional (azul) si lo quieres en el futuro: agrega clase la-ball--mega */
.la-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  background: rgba(15,23,42,.08);
  border:1px solid rgba(15,23,42,.12);
}

/* =====================
   Resultados (Front) premium (Opción B)
   - Cards con bordes redondeados modernos (16px–20px)
   ===================== */
.la-results-wrap{max-width:1100px;margin:0 auto;padding:22px 16px 34px}
.la-results-hero{padding:18px 18px 12px;border-radius:20px;background:var(--card,#fff);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 26px rgba(2,6,23,.06)}
.la-results-hero h1{margin:0 0 6px;font-size:28px;letter-spacing:-.02em}
.la-results-hero p{margin:0;opacity:.85}

.la-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
@media (max-width: 860px){.la-results-grid{grid-template-columns:1fr}}

.la-game-card{position:relative;padding:16px;border-radius:20px;background:var(--card,#fff);border:1px solid rgba(15,23,42,.10);box-shadow:0 12px 30px rgba(2,6,23,.06);overflow:hidden}
.la-game-card::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:rgba(15,23,42,.12)}
.la-game-card.power{border-color:rgba(239,68,68,.18)}
.la-game-card.power::before{background:linear-gradient(90deg, rgba(239,68,68,.95), rgba(239,68,68,.35))}
.la-game-card.mega{border-color:rgba(37,99,235,.18)}
.la-game-card.mega::before{background:linear-gradient(90deg, rgba(37,99,235,.95), rgba(37,99,235,.35))}

.la-game-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.la-game-title{font-weight:900;font-size:18px;letter-spacing:-.01em}
.la-game-sub{opacity:.8;font-size:13px;margin-top:2px}
.la-game-meta{margin-top:8px;opacity:.8;font-size:13px}

.la-balls-row{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.la-balls-row .la-ball{width:44px;height:44px;font-size:14px;margin-right:0}
.la-balls-row .la-ball--special{width:44px;height:44px}
.la-game-card.mega .la-ball--special{background:#2563eb;border-color:rgba(37,99,235,.35)}

.la-next-box{margin-top:14px;padding:12px;border-radius:18px;background:rgba(15,23,42,.04);border:1px solid rgba(15,23,42,.08)}
.la-next-box .ttl{font-weight:900}
.la-next-box .ln{opacity:.9;font-size:14px;margin-top:2px}
.la-next-box .sm{opacity:.85;font-size:13px;margin-top:2px}

.la-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.la-results-tip{margin-top:18px;padding:16px;border-radius:20px;background:var(--card,#fff);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 26px rgba(2,6,23,.05)}
.la-results-tip h2{margin:0 0 6px;font-size:18px}
.la-results-tip .txt{opacity:.85}


/* Botones tipo "ghost" (Resultados) */
.btn.ghost, .btn.ghost:visited, .btn.ghost:active{
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.14);
  color: var(--text,#0f172a);
}
.btn.ghost:hover{
  background: rgba(15,23,42,.10);
  border-color: rgba(15,23,42,.22);
  transform: translateY(-1px);
}



/* === Cookies banner (LottoAgente) === */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;padding:12px 12px 16px;background:rgba(7,10,18,.92);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.14)}
.cookie-banner[hidden]{display:none}
.cookie-banner__inner{max-width:1100px;margin:0 auto;display:flex;gap:14px;align-items:center;justify-content:space-between}
.cookie-banner__title{font-weight:900;color:#fff;margin-bottom:4px}
.cookie-banner__msg{color:rgba(255,255,255,.85);font-size:14px;line-height:1.35}
.cookie-banner__link{color:#fff;text-decoration:none;border-bottom:1px dotted rgba(255,255,255,.55);margin-left:6px}
.cookie-banner__link:hover{border-bottom-color:rgba(245,158,11,.9)}
.cookie-banner__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cb-btn{border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;padding:10px 12px;font-weight:900;cursor:pointer}
.cb-btn:hover{background:rgba(255,255,255,.12)}
.cb-btn--primary{border-color:rgba(245,158,11,.7);background:rgba(245,158,11,.18)}
.cb-btn--primary:hover{background:rgba(245,158,11,.26)}
.cb-btn--ghost{background:transparent}
@media (max-width:840px){
  .cookie-banner__inner{flex-direction:column;align-items:stretch}
  .cookie-banner__actions{justify-content:stretch}
  .cb-btn{width:100%}
}

.cookie-modal[hidden]{display:none}
.cookie-modal{position:fixed;inset:0;z-index:10000}
.cookie-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65)}
.cookie-modal__card{position:relative;max-width:680px;margin:8vh auto 0;background:#0b1220;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.55)}
.cookie-modal__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.cookie-modal__h{font-weight:950}
.cookie-modal__x{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:6px 10px;cursor:pointer}
.cookie-modal__x:hover{background:rgba(255,255,255,.1)}
.cookie-modal__body{padding:14px 16px}
.cb-row{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.04);margin-bottom:10px}
.cb-name{font-weight:950;margin-bottom:4px}
.cb-desc{color:rgba(255,255,255,.76);font-size:13px;line-height:1.35}
.cb-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;border:1px solid rgba(34,197,94,.5);background:rgba(34,197,94,.12);font-weight:950}
.cb-switch{position:relative;display:inline-flex;align-items:center}
.cb-switch input{position:absolute;opacity:0;pointer-events:none}
.cb-switch span{width:50px;height:28px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);display:inline-block;position:relative;cursor:pointer}
.cb-switch span:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .18s ease}
.cb-switch input:checked + span{border-color:rgba(245,158,11,.75);background:rgba(245,158,11,.18)}
.cb-switch input:checked + span:after{transform:translateX(22px)}
.cookie-modal__foot{display:flex;gap:10px;justify-content:flex-end;margin-top:10px}
.cookie-modal__note{margin-top:10px;color:rgba(255,255,255,.7);font-size:12px;line-height:1.35}
@media (max-width:740px){
  .cookie-modal__card{margin:4vh 10px 0}
  .cb-row{flex-direction:column}
  .cookie-modal__foot{flex-direction:column}
  .cookie-modal__foot .cb-btn{width:100%}
}


/* === Legal pages === */
.legal-page{padding:18px 0 30px}
.legal-head h1{margin:0 0 6px;font-size:28px}
.legal-head .muted{color:rgba(255,255,255,.7);margin:0 0 12px}
.legal-content h2{margin:18px 0 8px;font-size:20px}
.legal-content h3{margin:14px 0 6px;font-size:16px}
.legal-content p, .legal-content li{color:rgba(255,255,255,.88);line-height:1.6}
.legal-content ul{padding-left:18px}
.legal-content a{color:#fff;border-bottom:1px dotted rgba(255,255,255,.55);text-decoration:none}
.legal-content a:hover{border-bottom-color:rgba(245,158,11,.9)}
   
/* =========================
   DOCUMENTOS LEGALES
========================= */

.legal-content{
  font-size:15px;
  line-height:1.8;
  color:#1e293b;
}

/* títulos principales */
.legal-content h2{
  font-size:22px;
  font-weight:800;
  color:#0f172a;
  margin-top:26px;
  margin-bottom:12px;
}

/* subtítulos */
.legal-content h3{
  font-size:18px;
  font-weight:700;
  color:#1d4ed8;
  margin-top:20px;
  margin-bottom:10px;
}

/* párrafos */
.legal-content p{
  margin-bottom:14px;
  color:#334155;
}

/* listas */
.legal-content ul,
.legal-content ol{
  margin-left:20px;
  margin-bottom:16px;
}

.legal-content li{
  margin-bottom:6px;
  color:#334155;
}

/* cajas informativas */
.legal-note{
  background:#fff7ed;
  border-left:4px solid #f59e0b;
  padding:12px 16px;
  border-radius:10px;
  margin:14px 0;
  color:#7c2d12;
  font-size:14px;
}

.legal-highlight{
  background:#eff6ff;
  border-left:4px solid #2563eb;
  padding:12px 16px;
  border-radius:10px;
  margin:14px 0;
  color:#1e3a8a;
  font-size:14px;
}   
 
 /* ===== LEGAL CONTENT FIX ===== */
.page-card .legal-content,
.page-card .legal-content * {
  color: #1f2937 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.page-card .legal-content h2 {
  color: #0f172a !important;
  font-size: 24px;
  font-weight: 800;
  margin: 24px 0 12px;
}

.page-card .legal-content h3 {
  color: #1d4ed8 !important;
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.page-card .legal-content p {
  color: #334155 !important;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.page-card .legal-content ul,
.page-card .legal-content ol {
  margin: 0 0 16px 22px;
  padding: 0;
}

.page-card .legal-content li {
  color: #334155 !important;
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-card .legal-content strong {
  color: #0f172a !important;
  font-weight: 700;
}

.page-card .legal-content hr {
  border: 0;
  border-top: 1px solid #d1d5db;
  margin: 24px 0;
}

.page-card .legal-content .legal-note {
  background: #fff7ed;
  border-left: 4px solid #f59e0b;
  color: #7c2d12 !important;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 14px 0;
}

.page-card .legal-content .legal-highlight {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  color: #1e3a8a !important;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 14px 0;
}


/* ===== LIBRO DE RECLAMACIONES ===== */

.claims-hero{
  max-width: 980px;
  margin: 0 auto 18px;
}

.claims-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  margin-bottom:12px;
}

.claims-subtitle{
  color:#475569;
  max-width:760px;
  line-height:1.7;
  margin-top:8px;
}

.claims-card{
  max-width:980px;
  margin:0 auto;
  padding:28px;
}

.claims-form{
  display:flex;
  flex-direction:column;
  gap:26px;
}

.claims-section{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.claims-section h2{
  margin:0 0 16px;
  font-size:24px;
  color:#0f172a;
  font-weight:800;
}

.claims-grid{
  display:grid;
  gap:16px;
}

.claims-grid-3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.claims-grid-2{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field label{
  font-size:14px;
  font-weight:800;
  color:#334155;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid #cbd5e1;
  background:#fff;
  color:#0f172a;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  line-height:1.4;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
  box-sizing:border-box;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

.field textarea{
  resize:vertical;
  min-height:140px;
}

.claims-note{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-left:5px solid #f59e0b;
  border-radius:14px;
  padding:14px 16px;
  color:#7c2d12;
  line-height:1.7;
  font-size:14px;
}

.claims-actions{
  display:flex;
  justify-content:flex-start;
}

.claims-submit{
  min-width:220px;
  font-size:15px;
  font-weight:800;
  border-radius:14px;
  padding:14px 20px;
}

@media (max-width: 900px){
  .claims-grid-3,
  .claims-grid-2{
    grid-template-columns:1fr;
  }

  .claims-card{
    padding:18px;
  }

  .claims-section{
    padding:18px;
  }
}


.admin-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
}


.btn--primary{
  background:#2563eb;
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 14px;
  text-decoration:none;
  display:inline-block;
}

.btn--danger{
  background:#dc2626;
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 14px;
  text-decoration:none;
  display:inline-block;
}

.btn--ghost{
  background:#f8fafc;
  color:#0f172a;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:10px 14px;
  text-decoration:none;
  display:inline-block;
}

.btn--sm{
  padding:8px 12px;
  font-size:13px;
}


.claim-meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}


.claim-meta-item--full{
  grid-column:1 / -1;
}

.claim-meta-label{
  display:block;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#64748b;
  margin-bottom:6px;
}

.claim-box-text{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px 14px;
  color:#0f172a;
  line-height:1.7;
}

.field--full{
  grid-column:1 / -1;
}

.claim-response-actions{
  display:flex;
  gap:12px;
  align-items:center;
}

@media (max-width: 900px){
  .claim-meta-grid{
    grid-template-columns:1fr;
  }


  .field--full{
    grid-column:auto;
  }
}

.admin-page-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.badge-ok{
  background:#22c55e;
  color:#fff;
  padding:4px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:12px;
}

.badge-warning{
  background:#f59e0b;
  color:#111;
  padding:4px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:12px;
}

.badge-danger{
  background:#ef4444;
  color:#fff;
  padding:4px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:12px;
}

.badge-muted{
  background:#64748b;
  color:#fff;
  padding:4px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:12px;
}

/* ===== CONTACTO ===== */

.contact-hero{
  max-width: 1100px;
  margin: 0 auto 18px;
}

.contact-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  margin-bottom:12px;
}

.contact-subtitle{
  color:#475569;
  max-width:760px;
  line-height:1.7;
  margin-top:8px;
}

.contact-card{
  max-width:1100px;
  margin:0 auto;
  padding:28px;
}

.contact-layout{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap:24px;
  align-items:start;
}

.contact-info{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.contact-info-box{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:20px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.contact-info-box h2{
  margin:0 0 14px;
  font-size:22px;
  color:#0f172a;
  font-weight:800;
}

.contact-info-list{
  margin:0;
  padding-left:18px;
}

.contact-info-list li{
  margin-bottom:10px;
  color:#334155;
  line-height:1.7;
}

.contact-note{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-left:5px solid #f59e0b;
  border-radius:14px;
  padding:14px 16px;
  color:#7c2d12;
  line-height:1.7;
  font-size:14px;
}

.contact-form{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field--full{
  grid-column:1 / -1;
}

.field label{
  font-size:14px;
  font-weight:700;
  color:#334155;
}

.field input,
.field textarea,
.field select{
  width:100%;
  border:1px solid #cbd5e1;
  background:#fff;
  color:#0f172a;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  line-height:1.4;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
  box-sizing:border-box;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

.field textarea{
  resize:vertical;
  min-height:150px;
}

.contact-mini-note{
  margin:16px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.6;
}

.contact-actions{
  margin-top:18px;
  display:flex;
  justify-content:flex-start;
}

.contact-submit{
  min-width:180px;
  font-size:15px;
  font-weight:800;
  border-radius:14px;
  padding:14px 20px;
}

@media (max-width: 900px){
  .contact-layout{
    grid-template-columns:1fr;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  .field--full{
    grid-column:auto;
  }

  .contact-card,
  .contact-form{
    padding:18px;
  }
}

.admin-shell{
  max-width: 1120px;
  margin: 28px auto 60px;
  padding: 0 16px;
}

.admin-page-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.admin-page-header h1{
  margin:0;
  font-size:24px;
  font-weight:900;
  color:#0f172a;
}

.admin-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px;
  margin-bottom:16px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.admin-card h2{
  margin:0 0 14px;
  font-size:24px;
  font-weight:900;
  color:#0f172a;
}

.admin-filters{
  display:grid;
  grid-template-columns: 1fr 280px auto;
  gap:12px;
  align-items:center;
}

.admin-filters input,
.admin-filters select{
  width:100%;
  height:46px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  padding:0 14px;
  font-size:14px;
  box-sizing:border-box;
  background:#fff;
  color:#0f172a;    
}

.admin-table{
  width:100%;
  border-collapse:collapse;
}

.admin-table th,
.admin-table td{
  padding:14px 10px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  vertical-align:top;
}

.admin-table th{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
}

.admin-table td{
  font-size:14px;
  color:#0f172a;
}

.admin-table td small{
  color:#64748b;
  font-size:12px;
}

.claim-meta-item{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 16px;
}

.claim-meta-label{
  display:block;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#64748b;
  margin-bottom:6px;
}

.claim-box-text{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px 14px;
  color:#0f172a;
  line-height:1.7;
}

.claim-response-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.claim-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  box-sizing:border-box;
}

.claim-response-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  border:none;
  cursor:pointer;
}

.btn--primary{
  background:#2563eb;
  color:#fff;
}

.btn--ghost{
  background:#fff;
  border:1px solid #cbd5e1;
  color:#0f172a;
}

.btn--sm{
  padding:8px 12px;
  border-radius:10px;
  font-size:13px;
}

.badge-ok,
.badge-warning,
.badge-muted{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.badge-ok{
  background:#22c55e;
  color:#fff;
}

.badge-warning{
  background:#f59e0b;
  color:#111827;
}

.badge-muted{
  background:#64748b;
  color:#fff;
}

@media (max-width: 900px){
  .admin-filters{
    grid-template-columns:1fr;
  }
}
 
 /* ===== Ajustes finos Resultados ===== */
.la-game-meta--big{
  margin-top:14px;
  font-size:15px;
  line-height:1.6;
  color:#334155;
}

.la-draw-label{
  font-weight:900;
  color:#0f172a;
  margin-right:6px;
}

.la-draw-date{
  display:inline-block;
  font-size:24px;
  font-weight:1000;
  color:#0f172a;
  letter-spacing:-.02em;
  line-height:1.2;
}

.la-video-preview{
  margin-top:14px;
  text-align:center;
}

.la-video-thumb-wrap{
  position:relative;
  display:inline-block;
  border-radius:18px;
  overflow:hidden;
  padding:6px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 28px rgba(15,23,42,.12);
  text-decoration:none;
}

.la-video-thumb{
  width:400px;
  max-width:200%;
  display:block;
  border-radius:14px;
}

.la-video-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:46px;
  color:#fff;
  text-shadow:0 8px 18px rgba(0,0,0,.35);
  pointer-events:none;
}

.la-video-inline-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(15,23,42,.06);
  border:1px solid rgba(15,23,42,.10);
  color:#0f172a;
  font-weight:900;
  text-decoration:none;
}

.la-video-inline-link:hover{
  background:rgba(15,23,42,.10);
}

.la-video-note{
  margin-top:8px;
  font-size:14px;
  color:#475569;
  line-height:1.6;
  max-width:320px;
  margin-left:auto;
  margin-right:auto;
}

.la-next-actions{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  margin-top:14px;
  align-items:stretch;
}

.la-side-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:center;
}

.la-side-actions--cta{
  justify-content:stretch;
}

.la-prize-big{
  font-size:34px;
  line-height:1;
  font-weight:1000;
  color:#0f172a;
  margin:8px 0 6px;
  letter-spacing:-.03em;
}

.la-play-cta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:80%;
  border-radius:24px;
  padding:15px 12px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,#F00907,#C70100,#FF2828);
  box-shadow:0 14px 34px rgba(15,23,42,.20);
  border:1px solid rgba(255,255,255,.08);
  transition:.18s ease;
}

.la-play-cta:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 20px 44px rgba(15,23,42,.28);
}

.la-play-cta__top{
  font-size:16px;
  font-weight:900;
  opacity:.96;
  margin-bottom:8px;
}

.la-play-cta__amount{
  font-size:30px;
  font-weight:1000;
  letter-spacing:-.04em;
  line-height:1;
}

.la-play-cta__bottom{
  margin-top:8px;
  font-size:15px;
  font-weight:500;
  opacity:.92;
}

.la-quick-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

@media (max-width:980px){
  .la-next-actions{
    grid-template-columns:1fr;
  }

  .la-play-cta{
    min-height:140px;
  }

  .la-draw-date{
    font-size:20px;
  }
}
 
  /* ===== Resultados anteriores ===== */
.la-history-wrap{
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 16px 34px;
}

.la-history-hero{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
}

.la-history-hero h1{
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 1000;
  color: #0f172a;
}

.la-history-hero p{
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.la-history-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
  overflow: hidden;
}

.la-history-table{
  width: 100%;
}

.la-history-head,
.la-history-row{
  display: grid;
  grid-template-columns: 140px 1.7fr 130px 140px;
  gap: 14px;
  align-items: center;
}

.la-history-head{
  padding: 12px 8px 14px;
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  border-bottom: 1px solid #e5e7eb;
}

.la-history-row{
  padding: 14px 8px;
  border-bottom: 1px solid #eef2f7;
}

.la-history-row:last-child{
  border-bottom: 0;
}

.la-history-col{
  color: #0f172a;
  font-size: 14px;
}

.la-history-date{
  font-weight: 800;
}

.la-history-balls{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.la-history-muted{
  color: #94a3b8;
  font-weight: 700;
}

.la-history-empty{
  padding: 18px 8px;
  color: #64748b;
  font-size: 15px;
}

.la-history-actions{
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 900px){
  .la-history-head{
    display: none;
  }

  .la-history-row{
    grid-template-columns: 1fr;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 14px;
  }

  .la-history-card{
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .la-history-table{
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .la-history-row:last-child{
    border-bottom: 1px solid #e5e7eb;
  }

  .la-history-col::before{
    display: block;
    font-size: 12px;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: .04em;
  }

  .la-history-row .la-history-col:nth-child(1)::before{ content: "Fecha"; }
  .la-history-row .la-history-col:nth-child(2)::before{ content: "Números"; }
  .la-history-row .la-history-col:nth-child(3)::before{ content: "Especial"; }
  .la-history-row .la-history-col:nth-child(4)::before{ content: "Multiplicador"; }
}


/* ===== Acordeón resultados anteriores ===== */
.la-history-accordion{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.la-acc-item{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:20px;
  box-shadow:0 10px 26px rgba(2,6,23,.05);
  overflow:hidden;
}

.la-acc-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 20px;
  border:0;
  background:#fff;
  color:#0f172a;
  font-size:22px;
  font-weight:1000;
  cursor:pointer;
  text-align:left;
}

.la-acc-head:hover{
  background:rgba(15,23,42,.03);
}

.la-acc-icon{
  font-size:18px;
  transition:transform .18s ease;
}

.la-acc-item.is-open .la-acc-icon{
  transform:rotate(180deg);
}

.la-acc-body{
  display:none;
  padding:0 16px 16px;
}

.la-acc-item.is-open .la-acc-body{
  display:block;
}

.la-ball--mega-main{
background:#AFC8D6;
color:#fff;
border-color:rgba(37,99,235,.35);
box-shadow:0 6px 14px rgba(37,99,235,.18);
}

.la-history-head--three,
.la-history-row--three{
grid-template-columns:140px 1.7fr 130px;
}

.la-history-cta{
margin-top:16px;
display:flex;
justify-content:flex-end;
}


.la-acc-head--mega{
  color:#2563eb;
}

/* ===== FIX DEFINITIVO MEGA ===== */
.la-ball--mega-main{
  background:#8EB3C8 !important;
  color:#fff !important;
  border:1px solid rgba(37,99,235,.35) !important;
  box-shadow:0 6px 14px rgba(37,99,235,.20) !important;
}

.la-ball--special.mega{
  background:#2563eb !important;
  color:#fff !important;
  border:1px solid rgba(37,99,235,.35) !important;
  box-shadow:0 6px 14px rgba(37,99,235,.25) !important;
}

.la-history-cta .la-play-cta.la-play-cta--mega{
  background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;
  color:#fff !important;
  border:1px solid rgba(37,99,235,.35) !important;
  box-shadow:0 10px 24px rgba(37,99,235,.25) !important;
}

.la-history-cta .la-play-cta.la-play-cta--mega:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.la-history-cta .la-play-cta.la-play-cta--mega .la-play-cta__amount,
.la-history-cta .la-play-cta.la-play-cta--mega .la-play-cta__bottom{
  color:#fff !important;
}

.la-history-cta .la-play-cta.la-play-cta--mega *{
  color:#fff !important;
}

   /* ===== DP/PP FIX FINAL ===== */
#power-options{display:grid;gap:14px}
#power-options .option-card{
  display:flex !important;
  align-items:center !important;
  gap:14px;
  width:100%;
  min-height:72px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid #cfe2d4;
  box-sizing:border-box;
}
#power-options .option-card input[type="checkbox"]{
  width:20px;height:20px;margin:0;flex:0 0 auto;accent-color:#0f172a;
}
#power-options .option-card__text{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center;
  gap:3px;
  flex:1 1 auto;
  min-width:0;
}
#power-options .option-card__text strong{font-size:17px;font-weight:800;line-height:1.1;color:#0f172a}
#power-options .option-card__text small{font-size:13px;font-weight:700;line-height:1.2;color:#5f6b85;margin-top:0}
#power-options .option-card__state{
  margin-left:auto !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:78px;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  background:#22c55e !important;
  color:#fff !important;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  flex:0 0 auto;
}
#power-options .option-card--dp{background:#eefaf1 !important;border-color:#9fdbaf !important}
#power-options .option-card--pp{background:#f7f9fc !important;border-color:#cfd8e6 !important}
#power-options .option-card--pp.active{background:#eefaf1 !important;border-color:#9fdbaf !important}
#power-options .hidden{display:none !important}
#mega-ball .bolilla.activa.power{background:radial-gradient(circle at 30% 30%, #ffd5d5, var(--power-red)) !important;color:#fff !important;border-color:rgba(225,29,46,.25)!important}

/* ===== HERO LOTTOAGENTE FINAL (PISAR TODO) ===== */

#jackpotHero.hero-jackpot{
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 430px 1fr !important;
  align-items: end !important;
  gap: 24px !important;
  min-height: 430px !important;
  padding: 26px 28px 18px !important;
  border-radius: 28px !important;
  isolation: isolate !important;
  border: 1px solid rgba(225,29,46,.16) !important;
}

#jackpotHero.hero-jackpot::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,.78) 30%,
    rgba(255,255,255,.92) 60%,
    rgba(255,255,255,.34) 100%
  ) !important;
  z-index:0 !important;
}

#jackpotHero.hero-jackpot::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    radial-gradient(circle at 16% 24%, rgba(255,255,255,.50), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(255,255,255,.22), transparent 24%) !important;
  z-index:0 !important;
}

#jackpotHero.hero-jackpot > *{
  position: relative !important;
  z-index: 1 !important;
}

#jackpotHero.hero-power{
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    url('../img/home-power-bg.png') center/cover no-repeat !important;
  box-shadow: 0 22px 42px rgba(225,29,46,.10) !important;
}

#jackpotHero.hero-mega{
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    url('../img/home-mega-bg.png') center/cover no-repeat !important;
  box-shadow: 0 22px 42px rgba(37,99,235,.10) !important;
  border-color: rgba(37,99,235,.16) !important;
}

#jackpotHero .hero-jackpot__media{
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  height: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

#jackpotHero .hero-jackpot__media img{
  display: block !important;
  width: 470px !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
  transform: translateY(20px) !important;
  transform-origin: bottom left !important;
  margin: 0 !important;
}

#jackpotHero .hero-jackpot__content{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-width: 0 !important;
  padding: 0 !important;
}

#jackpotHero .hero-jackpot__eyebrow{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 18px !important;
  margin-bottom:14px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.88) !important;
  color:#111827 !important;
  font-size:16px !important;
  font-weight:800 !important;
  box-shadow:0 12px 24px rgba(12,18,32,.08) !important;
}

#jackpotHero .pozo{
  display:block !important;
  padding:0 !important;
  background:transparent !important;
}

#jackpotHero .pozo-main{
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
  gap:10px !important;
  line-height:.92 !important;
}

#jackpotHero .pozo-currency{
  font-size:64px !important;
  font-weight:1000 !important;
}

#jackpotHero .pozo-amount{
  font-size:120px !important;
  font-weight:1000 !important;
  letter-spacing:-4px !important;
}

#jackpotHero .pozo-label{
  font-size:58px !important;
  font-weight:1000 !important;
  letter-spacing:1px !important;
  margin-top:2px !important;
}

#jackpotHero .pozo.power .pozo-currency,
#jackpotHero .pozo.power .pozo-amount,
#jackpotHero .pozo.power .pozo-label{
  color:#ea2333 !important;
  text-shadow:0 12px 34px rgba(225,29,46,.18) !important;
}

#jackpotHero .pozo.mega .pozo-currency,
#jackpotHero .pozo.mega .pozo-amount,
#jackpotHero .pozo.mega .pozo-label{
  color:#1358d6 !important;
  text-shadow:0 12px 34px rgba(37,99,235,.20) !important;
}

#jackpotHero .hero-jackpot__timer{
  margin-top:16px !important;
  display:inline-block !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.45 !important;
  padding:12px 16px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.84) !important;
  border:1px solid rgba(12,18,32,.08) !important;
  box-shadow:0 14px 28px rgba(12,18,32,.10) !important;
  color:#59657c !important;
  white-space:pre-line !important;
}

#jackpotHero .hero-jackpot__badges{
  display:flex !important;
  gap:10px !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  margin-top:16px !important;
}

#jackpotHero .hero-badge-mini{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:9px 14px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#1d4ed8,#1e40af) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:900 !important;
  box-shadow:0 10px 22px rgba(29,78,216,.24) !important;
}

#jackpotHero .hero-badge-mini--green{
  background:linear-gradient(135deg,#22c55e,#16a34a) !important;
  box-shadow:0 10px 22px rgba(34,197,94,.22) !important;
}

/* TABLET */
@media (max-width: 980px){
  #jackpotHero.hero-jackpot{
    grid-template-columns: 320px 1fr !important;
    min-height: 360px !important;
    padding: 20px 18px 14px !important;
    gap: 16px !important;
  }

  #jackpotHero .hero-jackpot__media img{
    width: 350px !important;
    transform: translateY(16px) !important;
  }

  #jackpotHero .pozo-currency{ font-size: 46px !important; }
  #jackpotHero .pozo-amount{ font-size: 90px !important; }
  #jackpotHero .pozo-label{ font-size: 42px !important; }

  #jackpotHero .hero-jackpot__eyebrow{
    font-size:14px !important;
    padding:10px 16px !important;
  }

  #jackpotHero .hero-jackpot__timer{
    font-size:13px !important;
    padding:10px 12px !important;
  }
}

/* MOVIL */
@media (max-width: 768px){
  #jackpotHero.hero-jackpot{
    grid-template-columns: 42% 58% !important;
    min-height: 300px !important;
    padding: 14px 10px 12px !important;
    gap: 8px !important;
  }

  #jackpotHero .hero-jackpot__media{
    align-items: flex-end !important;
    justify-content: flex-start !important;
  }

  #jackpotHero .hero-jackpot__media img{
    width: 300px !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-30px, 16px) !important;
    }

  #jackpotHero .pozo-currency{ font-size: 34px !important; }
  #jackpotHero .pozo-amount{ font-size: 72px !important; letter-spacing:-2px !important; }
  #jackpotHero .pozo-label{ font-size: 34px !important; }

  #jackpotHero .hero-jackpot__timer{
    font-size:12px !important;
    line-height:1.35 !important;
    padding:10px 12px !important;
    white-space:normal !important;
  }

  #jackpotHero .hero-badge-mini{
    font-size:11px !important;
    padding:8px 10px !important;
  }
}

@media (max-width: 768px){
  #jackpotHero .hero-jackpot__badges{
    display: none !important;
  }
}

/* ===== FOOTER REAL FIX ===== */

.site-footer{
  background: linear-gradient(180deg, #061224 0%, #020b18 100%);
  color: #dbe6f2;
}

/* contenedor */
.site-footer__inner{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* columnas */
.footer-col{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* títulos */
.footer-title{
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

/* links */
.footer-col a{
  color: #c9d6e5;
  font-size: 14px;
  transition: .2s;
}

.footer-col a:hover{
  color: #fff;
}

/* redes */
.footer-social{
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social .soc{
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* badges confianza */
.footer-badges{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-badges img{
  width: 80px;
}

/* pagos */
.footer-payments{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-payments img{
  width: 90px;
}

/* bottom */
.site-footer__bottom{
  text-align: center;
  padding: 20px;
}

.footer-trust{
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-copy{
  opacity: .7;
}

@media (max-width: 768px){

  .site-footer__inner{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  .footer-social{
    justify-content: center;
  }

  .footer-badges{
    align-items: center;
  }

  .footer-payments{
    align-items: center;
  }

  .footer-payments img{
    width: 110px;
  }

  .footer-badges img{
    width: 90px;
  }

  .footer-trust{
    font-size: 12px;
  }
}

.footer-link-highlight{
  display: inline-block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-link-highlight:hover{
  background: rgba(255,255,255,0.15);
}
