:root{
  --bg1:#0b1020;
  --bg2:#1b0b2a;
  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);
  --text:#f3f6ff;
  --muted: rgba(243,246,255,.7);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --free:#2de37f;
  --reserved:#ffb020;
  --paid:#5aa0ff;
  --danger:#ff4d6d;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(90,160,255,.25), transparent 60%),
    radial-gradient(900px 500px at 75% 30%, rgba(255,176,32,.20), transparent 60%),
    radial-gradient(900px 700px at 40% 90%, rgba(45,227,127,.18), transparent 60%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:18px 16px 40px}

.topbar{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(8,10,18,.55);
  border-bottom: 1px solid var(--stroke);
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 16px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.logo{
  width:92px;height:92px;
  object-fit:contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.5));
}
.brandText{min-width:0}
.title{font-weight:900;letter-spacing:.4px;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.subtitle{font-weight:600;font-size:12px;color:var(--muted)}

.pill{
  padding:10px 12px;border:1px solid var(--stroke);
  border-radius:999px;background:rgba(255,255,255,.05);
  font-weight:700;font-size:12px;
}
.card{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius:20px;
  box-shadow: var(--shadow);
  padding:16px;
}
.hero{display:flex;gap:16px;align-items:stretch;margin-top:16px}
.prize{display:flex;gap:14px;align-items:center;flex:1;min-width:0}
.tv{
  width:180px;height:140px;border-radius:14px;
  object-fit:cover;border:1px solid var(--stroke);
}
.prizeInfo h1{margin:0;font-size:26px;letter-spacing:.2px}
.muted{color:var(--muted)}
.small{font-size:12px}
.concept{font-size:14px;margin-top:8px;}
.badges{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.badge{
  padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px;
  border:1px solid var(--stroke);
}
.b1{background: rgba(45,227,127,.12)}
.b2{background: rgba(255,176,32,.12)}
.b3{background: rgba(90,160,255,.12)}

.payBox{width:320px;max-width:100%}
.payBox h2{margin:0 0 8px;font-size:16px}
.clabe{
  font-weight:900;
  font-size:16px;
  padding:10px 12px;border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px dashed rgba(255,255,255,.22);
}

.grid2{display:grid;grid-template-columns: 1fr 1fr; gap:16px; margin-top:16px}
.sectionTitle{display:flex;align-items:center;gap:10px}
.sectionTitle h2{margin:0;font-size:16px}
.selectorRow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.chip{
  padding:10px 12px;border-radius:999px;border:1px solid var(--stroke);
  background: rgba(255,255,255,.05); font-weight:700; font-size:12px;
}
.chipBtnGroup{display:flex;gap:8px;flex-wrap:wrap}
.chipBtn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-radius:999px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:900;font-size:12px;
}
.chipBtn.active{outline:2px solid rgba(90,160,255,.65)}

.slots{display:flex;gap:10px;margin-top:14px}
.slot{
  flex:1;
  height:76px;
  display:flex;align-items:center;justify-content:center;
  border-radius:18px;
  font-weight:900;font-size:28px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid var(--stroke);
  position:relative;
  overflow:hidden;
}
.slot::after{
  content:"";
  position:absolute;inset:0;
  background: radial-gradient(200px 80px at 50% 20%, rgba(255,255,255,.18), transparent 60%);
  pointer-events:none;
}

.btnRow{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.btn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-radius:14px;
  padding:12px 14px;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(90,160,255,.95), rgba(45,227,127,.65));
  border: none;
}
.btn.secondary{
  background: linear-gradient(135deg, rgba(255,176,32,.85), rgba(255,77,109,.55));
  border:none;
}
.btn.ghost{background: rgba(255,255,255,.03)}

.proposal{margin-top:14px}
.proposalHead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.proposalList{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tag{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  font-weight:900;font-size:12px;
}

.transferMini{
  margin-top:14px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
}
.transferTitle{font-weight:900;margin-bottom:6px}
.transferClabe{font-weight:800}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px}
.miniBtn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color:var(--text);
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;font-size:12px;
}

.ticketsGrid{
  display:grid;
  grid-template-columns: repeat(10, minmax(0,1fr));
  gap:8px;
}
.ticket{
  user-select:none;
  display:flex;align-items:center;justify-content:center;
  height:44px;border-radius:14px;
  border:1px solid var(--stroke);
  font-weight:900;
  cursor:pointer;
  background: rgba(255,255,255,.06);
  transition: transform .06s ease;
}
.ticket:active{transform: scale(.98)}
.ticket.free{background: rgba(45,227,127,.14)}
.ticket.reserved{background: rgba(255,176,32,.16)}
.ticket.paid{background: rgba(90,160,255,.18)}
.ticket.disabled{opacity:.6;cursor:not-allowed}

.legend{display:flex;gap:12px;align-items:center;margin-top:10px;color:var(--muted);font-weight:700;font-size:12px}
.dot{width:10px;height:10px;border-radius:999px;display:inline-block;margin:0 6px 0 0}
.dot.free{background:var(--free)}
.dot.reserved{background:var(--reserved)}
.dot.paid{background:var(--paid)}

.rules ul{margin:10px 0 0 18px;color:var(--muted);font-weight:600}
.follow{margin-top:14px;display:flex;flex-direction:column;gap:10px}

.footer{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:18px}

@media (max-width: 980px){
  .grid2{grid-template-columns:1fr}
  .hero{flex-direction:column}
  .payBox{width:100%}
  .ticketsGrid{grid-template-columns: repeat(8, minmax(0,1fr));}
}
@media (max-width: 520px){
  .logo{width:84px;height:84px}
  .tv{width:140px;height:110px}
  .ticketsGrid{grid-template-columns: repeat(5, minmax(0,1fr));}
}
