:root{--bg:#061326;--panel:#0d1a2d;--panel2:#14233b;--line:#2e4767;--gold:#f59e0b;--orange:#ff7a13;--coffee:#5b371f;--text:#f8fafc;--muted:#a9b4c4;--green:#10b981;--red:#ef4444;--blue:#38bdf8}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#071326;color:var(--text);padding-bottom:95px}.sports-bg{position:fixed;inset:0;background:linear-gradient(rgba(7,19,38,.82),rgba(36,25,17,.9)),url('assets/deportes_fondo.svg');background-size:cover;background-position:center;z-index:-1}.top{position:sticky;top:0;z-index:20;background:rgba(6,19,38,.9);border-bottom:1px solid rgba(245,158,11,.3);backdrop-filter:blur(12px);padding:14px 18px;display:flex;justify-content:center;align-items:center}.logo-center{text-align:center}.logo{margin:auto;width:78px;height:78px;border-radius:24px;background:linear-gradient(145deg,#ffb21a,#5b371f);display:grid;place-items:center;color:#111;font-size:46px;font-weight:900;border:2px solid rgba(255,196,88,.55)}h1,h2,h3,h4,p{margin:0}h1{font-size:27px;color:#ffb21a}h1 span,h3 span{color:white}.logo-center p{color:var(--muted);letter-spacing:3px;text-transform:uppercase;font-size:12px}.menu-btn{position:absolute;right:12px;top:25px;border:1px solid #385478;background:#0d1a2d;color:#fff;border-radius:999px;padding:10px 12px;font-weight:900}main{max-width:980px;margin:auto;padding:20px 16px}.page{display:none}.page.active{display:block}h2{font-size:38px;margin:12px 0 8px}.subtitle{font-size:20px;color:var(--muted);margin-bottom:22px}.hero{text-align:center;padding:32px 8px}.hero h2{font-size:clamp(45px,9vw,80px);line-height:1.08}.hero h2 span{color:var(--orange)}.hero p{max-width:740px;margin:24px auto;color:#d3d9e4;font-size:22px;line-height:1.65}.girl-card{max-width:650px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;gap:14px;background:linear-gradient(135deg,rgba(13,26,45,.95),rgba(91,55,31,.7));border:1px solid rgba(245,158,11,.32);border-radius:26px;padding:18px}.girl{font-size:64px}.girl-card h3{color:#fbbf24}.girl-card p{font-size:16px;margin:4px 0;color:#cbd5e1}.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.primary,.ghost,.danger,.telegram,.vip{border:0;border-radius:16px;padding:16px 20px;font-size:18px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-block}.primary{background:linear-gradient(135deg,#ffb21a,#ff6a00);color:#111}.ghost{background:#0d1a2d;color:#e5e7eb;border:2px solid #385478}.danger{background:#b91c1c;color:white}.full{width:100%;margin-top:18px}.counter{display:flex;justify-content:center;gap:38px;flex-wrap:wrap;margin-top:36px}.counter strong{display:block;color:#ff8a19;font-size:48px}.counter small{color:#a9b4c4;text-transform:uppercase;letter-spacing:2px}.info-card,.modal-card,.table-card,.match,.contact-block,.important,.prize-card,.live-board{background:rgba(13,26,45,.94);border:1px solid rgba(148,163,184,.18);border-radius:26px;padding:24px;margin:18px 0;box-shadow:0 24px 60px rgba(0,0,0,.36)}.live-board h3{color:#fbbf24;margin-bottom:12px}.live-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(148,163,184,.18)}.live-row:last-child{border-bottom:0}.live-row b{color:white}.live-row span{color:#fbbf24;font-weight:900}.points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.points span{text-align:center;background:#14233b;border:1px solid #385478;border-radius:18px;padding:16px;font-weight:900;color:#fbbf24}.points small{color:#cbd5e1}.modal-card{position:relative;max-width:730px;margin:auto}.close{position:absolute;right:14px;top:14px;width:45px;height:45px;border-radius:50%;border:1px solid #385478;background:#071326;color:white;font-size:22px}.tabs{display:grid;grid-template-columns:1fr 1fr;background:#071326;border-radius:18px;padding:6px;margin:18px 0}.tab{border:0;border-radius:14px;padding:15px;background:transparent;color:#a9b4c4;font-weight:900;font-size:17px}.tab.active{background:linear-gradient(135deg,#ffb21a,#ff6a00);color:#111}.tabbox{display:none}.tabbox.active{display:block}label{display:block;color:#fbbf24;font-weight:900;margin:14px 0 7px}input{width:100%;background:#071326;color:#fff;border:2px solid #385478;border-radius:14px;padding:14px;font-size:17px}small{color:#a9b4c4}.pass{display:flex;gap:8px}.pass input{flex:1}.pass button{width:58px;border-radius:14px;background:#14233b;color:#fff;border:1px solid #385478;font-size:19px}.client{padding:17px;border-radius:18px;border:1px solid rgba(245,158,11,.25);background:rgba(245,158,11,.08);margin-top:18px}.client p{color:#cbd5e1;margin-top:8px;line-height:1.5}.choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.choice button{border:2px solid #385478;background:#071326;color:#fff;border-radius:14px;padding:14px;font-weight:900}.choice button.selected{background:#f59e0b;color:#111;border-color:#f59e0b}.terms{display:flex;gap:10px;color:#d1d5db;line-height:1.5}.terms input{width:20px;height:20px}.terms a{color:#fbbf24;font-weight:900}.filterbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.pill{border:2px solid #385478;background:#06101f;color:#cbd5e1;border-radius:999px;padding:13px 18px;font-weight:900;font-size:17px}.pill.active{border-color:#f59e0b;color:#fbbf24}.pill b{background:#14233b;border-radius:999px;padding:4px 9px;margin-left:5px}.teams-strip{display:flex;gap:10px;overflow-x:auto;padding:12px;margin:8px 0 18px;background:rgba(7,19,38,.72);border:1px solid rgba(148,163,184,.18);border-radius:18px}.team-logo{min-width:120px;text-align:center;background:#14233b;border:1px solid #385478;border-radius:16px;padding:10px}.team-logo .f{font-size:32px;display:block}.team-logo small{font-size:12px;color:#cbd5e1}.match-top{display:flex;justify-content:space-between;color:#fbbf24;font-weight:900;letter-spacing:1px;text-transform:uppercase}.teams{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;text-align:center;margin:24px 0}.flag{font-size:56px}.team{font-size:19px;font-weight:900}.vs{font-size:32px;color:#ff8a19;font-weight:900}.meta{text-align:center;color:#a9b4c4;margin-bottom:15px}.pred-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pick{border:2px solid #315f91;background:#0b1a30;color:#74c0fc;border-radius:999px;padding:13px;font-weight:900}.pick.selected{background:#f59e0b;color:#111;border-color:#f59e0b}.score-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.save{width:100%;margin-top:13px;background:#10b981;color:#04130d;border:0;border-radius:15px;padding:14px;font-weight:900;font-size:17px}.podium{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.place{text-align:center;background:#14233b;border:1px solid #385478;border-radius:24px;padding:22px}.place:nth-child(1){border-color:#f59e0b;transform:translateY(-12px)}.medal{font-size:42px}.circle{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;margin:10px auto;background:#f59e0b;color:#111;font-size:32px;font-weight:900}table{width:100%;border-collapse:collapse}th,td{padding:15px;border-bottom:1px solid rgba(148,163,184,.16);text-align:left}th{color:#a9b4c4;text-transform:uppercase;letter-spacing:1px}.contact-block h3,.important h3{color:#fbbf24;margin-bottom:8px}.contact-block p,.important p,.desc{color:#cbd5e1;margin:8px 0;line-height:1.5}.link-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.wa{background:#10b981;color:#05120b;text-decoration:none;border-radius:14px;padding:13px;text-align:center;font-weight:900}.house-logo{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#071326;color:#fbbf24;margin-right:7px;border:1px solid rgba(255,255,255,.35);font-size:13px}.telegram{background:#229ED9;color:white;margin-top:12px}.vip{background:linear-gradient(135deg,#f59e0b,#facc15);color:#111;margin-top:18px}.prizes{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:14px;margin:20px 0}.prizes div,.tiers div{background:rgba(0,0,0,.24);border:1px solid #475569;border-radius:22px;padding:20px;text-align:center}.prizes span{font-size:46px;display:block}.prizes strong{display:block;font-size:42px;color:#ff8a19}.gold{border-color:#f59e0b!important;transform:scale(1.05)}.ok{color:#86efac}.exclusive{border-color:rgba(16,185,129,.35)}.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.tiers b{font-size:44px;color:#fbbf24}.tiers span,.tiers small{display:block;color:#cbd5e1}.tiers strong{display:block;color:#ff8a19;font-size:36px}.lock{color:#5eead4;margin-top:16px}.consumption{font-size:56px;color:#fbbf24;font-weight:900}.consumption span{font-size:20px;color:#cbd5e1}.inner{box-shadow:none;margin-top:14px}.center{text-align:center}.avatar{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:#f59e0b;color:#111;font-size:42px;font-weight:900;margin:0 auto 12px}.bottom{position:fixed;bottom:0;left:0;right:0;z-index:30;background:#071326;border-top:1px solid #385478;display:grid;grid-template-columns:repeat(6,1fr);padding:8px 4px 12px}.bottom button{background:transparent;border:0;color:#8b93a1;font-size:27px;display:flex;flex-direction:column;gap:4px;align-items:center}.bottom button span{font-size:12px}.bottom button.active{color:#f59e0b}@media(max-width:760px){.menu-btn span{display:none}.logo{width:62px;height:62px;font-size:36px}h2{font-size:31px}.subtitle{font-size:17px}.points,.pred-grid,.score-row,.choice,.link-grid,.prizes,.tiers,.podium{grid-template-columns:1fr}.gold,.place:nth-child(1){transform:none}.counter{gap:18px}.counter strong{font-size:36px}th,td{font-size:13px;padding:10px}.table-card{overflow-x:auto}.teams{grid-template-columns:1fr}.vs{font-size:24px}.flag{font-size:46px}.girl-card{flex-direction:column}.team-logo{min-width:105px}}
.top-actions{
  position:absolute;
  right:12px;
  top:25px;
}
.top-actions .menu-btn{
  position:static;
}
.top-dropdown{
  display:none;
  position:absolute;
  right:0;
  top:52px;
  width:255px;
  background:rgba(7,19,38,.98);
  border:1px solid rgba(245,158,11,.35);
  border-radius:18px;
  padding:10px;
  box-shadow:0 22px 55px rgba(0,0,0,.45);
  z-index:50;
}
.top-dropdown.open{
  display:block;
}
.top-dropdown button{
  width:100%;
  text-align:left;
  background:#0d1a2d;
  color:#fff;
  border:1px solid #385478;
  border-radius:14px;
  padding:13px 14px;
  margin:5px 0;
  font-weight:900;
  cursor:pointer;
}
.top-dropdown button:hover{
  background:#14233b;
  color:#fbbf24;
}
@media(max-width:760px){
  .top-actions{
    right:8px;
    top:22px;
  }
  .top-dropdown{
    width:230px;
  }
}

.worldcup-banner{
  max-width:780px;
  margin:0 auto 22px;
  min-height:180px;
  border-radius:30px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:
    linear-gradient(135deg, rgba(7,19,38,.72), rgba(91,55,31,.7)),
    radial-gradient(circle at right, rgba(245,158,11,.35), transparent 45%);
  border:1px solid rgba(245,158,11,.35);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}
.worldcup-banner h3{
  font-size:42px;
  color:#fbbf24;
}
.worldcup-banner p{
  margin:8px 0 0;
  font-size:20px;
  color:#e5e7eb;
}
.worldcup-banner span{
  font-size:70px;
}
.streaming-page{
  position:relative;
}
.streaming-page::before{
  content:"";
  position:fixed;
  inset:0;
  background:linear-gradient(rgba(3,7,18,.84), rgba(3,7,18,.9)), url('assets/streaming_fondo.svg');
  background-size:cover;
  background-position:center;
  z-index:-1;
}
.streaming-hero,.combo-card{
  background:linear-gradient(135deg,rgba(13,26,45,.94),rgba(91,31,31,.82));
  border:1px solid rgba(245,158,11,.35);
  border-radius:28px;
  padding:26px;
  margin:18px 0;
  text-align:center;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}
.streaming-hero h3,.combo-card h3{
  color:#fbbf24;
  font-size:32px;
}
.streaming-hero p,.combo-card p{
  color:#d1d5db;
  margin:10px 0 18px;
}
.stream-wa{
  background:#10b981;
  color:#04130d;
  text-decoration:none;
  font-weight:900;
  border-radius:999px;
  padding:15px 20px;
  display:inline-block;
}
.platform-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.platform-card{
  background:rgba(13,26,45,.94);
  border:1px solid rgba(148,163,184,.2);
  border-radius:22px;
  padding:18px;
  min-height:118px;
  display:flex;
  align-items:center;
  gap:13px;
  box-shadow:0 15px 40px rgba(0,0,0,.25);
}
.platform-logo{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:white;
  background:linear-gradient(135deg,#e50914,#111827);
  border:1px solid rgba(255,255,255,.25);
}
.platform-card h3{
  font-size:18px;
  margin-bottom:5px;
}
.platform-card small{
  color:#fbbf24;
}
.bottom{
  grid-template-columns:repeat(8,1fr);
}
.bottom button{
  font-size:24px;
}
.bottom button span{
  font-size:11px;
}
@media(max-width:760px){
  .worldcup-banner{
    flex-direction:column;
    text-align:center;
  }
  .worldcup-banner h3{
    font-size:34px;
  }
  .platform-grid{
    grid-template-columns:1fr;
  }
  .bottom{
    overflow-x:auto;
    grid-template-columns:repeat(8,70px);
  }
}

.remember{
  display:flex;
  align-items:center;
  gap:10px;
  color:#d1d5db;
  margin-top:14px;
  line-height:1.4;
}
.remember input{
  width:20px;
  height:20px;
}
.session-note{
  color:#cbd5e1;
  margin:14px 0 18px;
  line-height:1.5;
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.28);
  padding:13px;
  border-radius:14px;
}

.match.locked{
  opacity:.82;
  border-color:rgba(239,68,68,.35);
  background:linear-gradient(135deg,rgba(55,65,81,.92),rgba(88,28,28,.72));
}
.closed-banner{
  text-align:center;
  background:rgba(239,68,68,.18);
  border:1px solid rgba(239,68,68,.42);
  color:#fecaca;
  font-weight:900;
  border-radius:16px;
  padding:13px;
  margin:12px 0 16px;
}
.pick:disabled,
.score-row input:disabled,
.save:disabled{
  cursor:not-allowed;
  opacity:.55;
}
.closed-save{
  background:#6b7280!important;
  color:#e5e7eb!important;
}

.top-left-wa{
  position:absolute;
  left:12px;
  top:25px;
  background:#10b981;
  color:#04130d;
  text-decoration:none;
  font-weight:900;
  border-radius:999px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.user-balance-btn{
  display:flex;
  align-items:center;
  gap:8px;
}
.user-balance-btn b{
  background:#f59e0b;
  color:#111;
  border-radius:999px;
  padding:5px 8px;
  font-size:12px;
}
.cloud-note{
  text-align:left;
  margin:18px 0;
  padding:16px;
  background:rgba(56,189,248,.12);
  border:1px solid rgba(56,189,248,.35);
  border-radius:18px;
}
.cloud-note h3{
  color:#7dd3fc;
  margin-bottom:8px;
}
.cloud-note p{
  color:#d1d5db;
  line-height:1.45;
  margin:8px 0;
}
@media(max-width:760px){
  .top-left-wa{
    left:8px;
    top:22px;
    padding:10px 11px;
    font-size:12px;
    max-width:110px;
    text-align:center;
    line-height:1.15;
  }
  .user-balance-btn{
    font-size:12px;
    gap:4px;
  }
  .user-balance-btn b{
    font-size:10px;
    padding:4px 6px;
  }
}

.user-balance-btn .label-user{
  color:#cbd5e1;
  font-weight:700;
}
.rank-gold{
  background:linear-gradient(90deg, rgba(245,158,11,.35), rgba(245,158,11,.08));
  color:#fff7ed;
}
.rank-silver{
  background:linear-gradient(90deg, rgba(203,213,225,.28), rgba(203,213,225,.06));
  color:#f8fafc;
}
.rank-bronze{
  background:linear-gradient(90deg, rgba(180,83,9,.32), rgba(180,83,9,.07));
  color:#fff7ed;
}
.rank-gold td:first-child,
.rank-silver td:first-child,
.rank-bronze td:first-child{
  font-weight:900;
}
@media(max-width:760px){
  .user-balance-btn .label-user{
    display:none;
  }
}

.top-left-box{
  position:absolute;
  left:12px;
  top:20px;
  display:flex;
  flex-direction:column;
  gap:7px;
  align-items:flex-start;
  z-index:40;
}
.top-left-box .top-left-wa{
  position:static;
}
.next-btn{
  background:#f59e0b;
  color:#111;
  font-weight:900;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  padding:11px 14px;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.next-matches-box{
  display:none;
  position:absolute;
  left:0;
  top:88px;
  width:330px;
  max-height:430px;
  overflow:auto;
  background:rgba(7,19,38,.98);
  border:1px solid rgba(245,158,11,.35);
  border-radius:20px;
  padding:14px;
  box-shadow:0 22px 55px rgba(0,0,0,.45);
}
.next-matches-box.open{
  display:block;
}
.next-matches-box h3{
  color:#fbbf24;
  margin-bottom:10px;
}
.next-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid rgba(148,163,184,.18);
}
.next-row:last-child{
  border-bottom:0;
}
.next-row small{
  color:#cbd5e1;
}
.next-row span{
  font-weight:900;
  white-space:nowrap;
  font-size:12px;
}
.next-row.upcoming span{color:#86efac}
.next-row.playing span{color:#fbbf24}
.next-row.finished span{color:#fecaca}
.pred-win{
  background:linear-gradient(90deg, rgba(16,185,129,.22), rgba(16,185,129,.04));
}
.pred-win b{
  color:#86efac;
}
.pred-loss{
  background:linear-gradient(90deg, rgba(239,68,68,.24), rgba(239,68,68,.04));
}
.pred-loss b{
  color:#fecaca;
}
.pred-pending{
  background:linear-gradient(90deg, rgba(245,158,11,.18), rgba(245,158,11,.04));
}
.pred-pending b{
  color:#fbbf24;
}
@media(max-width:760px){
  .top-left-box{
    left:8px;
    top:12px;
  }
  .next-btn{
    font-size:11px;
    padding:9px 10px;
    max-width:112px;
    line-height:1.15;
  }
  .next-matches-box{
    width:292px;
    top:76px;
  }
}

.left-points{
  background:linear-gradient(135deg,#f59e0b,#ff7a13);
  color:#111;
  font-weight:900;
  border-radius:999px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.left-points b{
  color:#111;
}
.next-day{
  color:#fbbf24;
  font-size:15px;
  margin:12px 0 6px;
  padding-top:6px;
  border-top:1px solid rgba(245,158,11,.25);
}
.next-day:first-child{
  border-top:0;
  margin-top:0;
}
.next-row.finished{
  background:rgba(34,197,94,.08);
}
.next-row.playing{
  background:rgba(239,68,68,.1);
}
.next-row.upcoming{
  background:rgba(16,185,129,.08);
}
@media(max-width:760px){
  .left-points{
    font-size:11px;
    padding:8px 9px;
    max-width:112px;
    text-align:center;
  }
}

/* Ajuste V12: botones superiores izquierdos debajo del logo para no tapar AgenciaDuobet */
.top{
  padding-bottom:96px;
}

.top-left-box{
  top:auto !important;
  bottom:12px !important;
  left:50% !important;
  transform:translateX(-50%);
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center;
  gap:8px !important;
  width:auto;
  max-width:96%;
}

.left-points,
.next-btn,
.top-left-box .top-left-wa{
  font-size:12px !important;
  padding:8px 10px !important;
  line-height:1.1 !important;
  white-space:nowrap;
  max-width:none !important;
}

.next-matches-box{
  left:50% !important;
  transform:translateX(-50%);
  top:42px !important;
  width:330px;
}

@media(max-width:760px){
  .top{
    padding-bottom:116px;
  }

  .top-left-box{
    display:grid !important;
    grid-template-columns:repeat(3, 1fr);
    width:96%;
    gap:6px !important;
  }

  .left-points,
  .next-btn,
  .top-left-box .top-left-wa{
    width:100%;
    text-align:center;
    font-size:10px !important;
    padding:8px 6px !important;
    white-space:normal;
  }

  .next-matches-box{
    width:92vw;
    top:48px !important;
  }
}
