:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow: 0 8px 24px rgba(2,6,23,.08);
  --card-bg:#f8fafc;

  /* 🔴 PALETA SUPERBET */
  --primary:#E11D2E;
  --primary-hover:#C81E2E;
  --blue:#2563eb;

  --green:#22c55e;
  --yellow-bg:#fff3cd;
  --yellow-border:#ffe69c;

  --card-radius:18px;
}


*{ box-sizing:border-box; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial; }
body{ margin:0; background:var(--bg); color:var(--text); }

.page{
  max-width:460px;
  margin:0 auto;
  padding:26px 18px 44px;
}

.brand{
  display:flex;
  justify-content:center;
  margin:6px 0 14px;
}
.brand--text{
  margin:4px 0 12px;
}

.brand .logo{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{
  width:180px;
  max-width:70%;
  height:auto;
  display:block;
}
.brand .name{
  font-weight:900;
  letter-spacing:1px;
  font-size:22px;
  color:var(--primary);
}
.brand--text .name--big{
  font-size:30px;
  letter-spacing:0.5px;
}
.card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
  padding:20px;
}
.card--clean{
  box-shadow:none;
}

.h1{
  text-align:center;
  margin:0;
  font-size:18px;
  font-weight:600;
  color:#111827;
}

.h2{
  text-align:center;
  margin:2px 0 0;
  font-size:30px;
  font-weight:900;
  color:var(--primary);
}

.p{
  margin:10px 0 0;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.p--strong{
  font-size:16px;
  color:#111827;
  font-weight:700;
}
.text-success{
  color:var(--green);
}

.field{ margin-top:14px; }
label{ display:block; font-size:14px; color:#111827; font-weight:700; margin-bottom:6px; }
input{
  width:100%;
  padding:13px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
  font-size:15px;
  background:var(--card-bg);
}
input:focus{ border-color:#93c5fd; box-shadow:0 0 0 3px rgba(36,107,255,.12); }

.help{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

.btn{
  width:100%;
  margin-top:18px;
  padding:16px 16px;
  border:0;
  border-radius:14px;
  background:linear-gradient(90deg, #e11d2e 0%, #ff4d7e 100%);
  color:#fff;
  font-weight:900;
  letter-spacing:.6px;
  cursor:pointer;
  font-size:15px;
  text-transform:uppercase;
  box-shadow:0 10px 20px rgba(225,29,46,.22);
}

.btn:hover{
  background:linear-gradient(90deg, #c81e2e 0%, #ff5f8c 100%);
}

.btn:disabled{ opacity:.55; cursor:not-allowed; }
.btn--jump{
  animation: jump 1.6s ease-in-out infinite;
  box-shadow:0 10px 24px rgba(225,29,46,.25);
}
.btn--jump:hover{ animation-play-state: paused; }
@keyframes jump{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce){
  .btn--jump{ animation:none; }
}

.center{ display:flex; justify-content:center; align-items:center; text-align:center; }

.check{
  width:64px; height:64px;
  border-radius:999px;
  background:rgba(34,197,94,.12);
  display:flex; align-items:center; justify-content:center;
  margin:6px auto 10px;
}
.check svg{ width:34px; height:34px; color:var(--green); }
.check--success{
  width:72px;
  height:72px;
  background:rgba(34,197,94,.15);
}
.check--success svg{
  width:38px;
  height:38px;
}

.timerBox{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--card-bg);
}
.timerBox .lbl{
  font-size:13px;
  color:#111827;
  font-weight:800;
}
.timerBox .t{
  font-weight:900;
  font-size:18px;
}
.timerBox--alert{
  background:#ffecec;
  border-color:#ffb3b3;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  text-align:center;
}
.timerBox--alert .lbl{
  color:#ef4444;
}
.timerBox--alert .t{
  color:#111827;
  font-size:22px;
  letter-spacing:1px;
}

.footerMini{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:18px;
  color:var(--muted);
  font-size:12px;
}
.footerCopy{
  margin-top:10px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}

.stepTop{
  text-align:center;
  color:var(--muted);
  font-size:12px;
  margin-top:4px;
  font-weight:700;
}
.progressWrap{
  margin-top:8px;
  background:#eef2ff;
  border-radius:999px;
  height:10px;
  overflow:hidden;
}
.progressBar{
  height:100%;
  width:80%;
  background:var(--primary);
}
.progressTxt{
  margin-top:6px;
  text-align:center;
  font-weight:900;
  color:var(--primary);
  font-size:14px;
}
.progressRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.cardMini{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  margin-top:12px;
  background:var(--card-bg);
}
.cardMini--step{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.stepBadge{
  width:28px;
  height:28px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  flex:0 0 28px;
  margin-top:2px;
}
.cardMini .title{
  font-weight:900;
  margin:0 0 6px;
  font-size:14px;
}
.cardMini .desc{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.warn{
  margin-top:14px;
  border:1px solid var(--yellow-border);
  background:var(--card-bg);
  border-radius:14px;
  padding:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.warn--compact{
  align-items:center;
  gap:10px;
}
.page--bonus .warn{
  align-items:center;
}
.warnIcon{
  width:20px;
  height:20px;
  border-radius:999px;
  background:#f59e0b;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:12px;
  flex:0 0 20px;
}
.warn .txt{
  font-size:13px;
  color:#7a5b00;
  font-weight:800;
}
.warn .t{
  font-weight:900;
  color:#7a5b00;
  font-size:13px;
  letter-spacing:0.5px;
  white-space:nowrap;
}

.commentsHeader{
  margin-top:16px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
}
.commentsHeader .h{
  font-weight:900;
}
.commentsHeader .count{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.comment{
  display:flex;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid var(--border);
}
.avatar{
  width:36px; height:36px;
  border-radius:999px;
  object-fit:cover;
  background:#f1f5f9;
}
.bubble{
  background:var(--card-bg);
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:10px 10px;
  flex:1;
}
.bubble .n{
  font-weight:900;
  font-size:13px;
  margin:0 0 4px;
}
.bubble .tx{
  margin:0;
  color:#111827;
  font-size:13px;
  line-height:1.35;
}
.meta{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:14px;
  font-weight:700;
}
.more{
  margin-top:10px;
  text-align:center;
  color:var(--blue);
  font-weight:900;
  font-size:13px;
}
.more--btn{
  width:100%;
  border:0;
  background:transparent;
  cursor:pointer;
  padding:6px 0;
}
.more--btn:disabled{
  color:var(--muted);
  cursor:default;
}

.trustRow{
  margin-top:14px;
  display:flex;
  justify-content:center;
  overflow:visible;
}
.trustRow img{
  width:140%;
  max-width:600px;
  height:auto;
  display:block;
}

.stickyCta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:var(--card-bg);
  padding:10px 14px 14px;
  box-shadow:0 -8px 20px rgba(2,6,23,.08);
  z-index:1000;
  display:flex;
  justify-content:center;
}
.btn--wide{
  width:clamp(280px, 86vw, 520px);
  border-radius:16px;
  font-size:15px;
  padding:16px 22px;
}

.stickyCta .btn--wide{
  background:linear-gradient(90deg, #e11d2e 0%, #ff4d7e 100%);
}
.stickyCta .btn--wide:hover{
  background:linear-gradient(90deg, #c81e2e 0%, #ff5f8c 100%);
}

@media (min-width: 768px){
  .btn--wide{
    width:clamp(360px, 70vw, 600px);
    font-size:16px;
    padding:18px 28px;
  }
}

.page--bonus{
  padding-bottom:96px;
}

.page--bonus .progressWrap{
  background:#e5e7eb;
}
.page--bonus .progressBar{
  background:var(--primary);
}
.page--bonus .progressTxt{
  color:var(--primary);
  margin-top:0;
}
.page--bonus .warn{
  background:#fff7e6;
  border-color:#ffe0b3;
}
.page--bonus .warn .t{
  color:var(--primary);
  font-size:13px;
}

@media (min-width: 768px){
  .page--bonus .warn .t{ font-size:14px; }
}

.loadingOverlay{
  position:fixed; inset:0;
  background:rgba(255,255,255,.96);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}
.spinner{
  width:54px; height:54px;
  border-radius:999px;
  border:6px solid #e5e7eb;
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}
@keyframes spin{ to { transform: rotate(360deg); } }

.loadingCard{
  width:min(420px, 92vw);
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px 18px;
  text-align:center;
}
.spinner--ring{
  width:56px;
  height:56px;
  border-width:6px;
  border-top-color: var(--primary);
  margin:2px auto 12px;
}
.loadingText{
  font-size:16px;
  font-weight:700;
  color:#111827;
}
.loadingBar{
  margin:14px auto 8px;
  width:100%;
  height:10px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}
.loadingBarFill{
  height:100%;
  width:0%;
  background:var(--primary);
  border-radius:999px;
  transition:width .12s ease;
}
.loadingPct{
  font-weight:800;
  color:#6b7280;
  font-size:14px;
}

.page--index .brand img{
  width:260px;
  max-width:92%;
}
.page--index .h1{
  font-size:clamp(15px, 2.1vw, 18px);
}
.page--index .h2{
  font-size:clamp(26px, 3.8vw, 32px);
}
.page--index .p{
  font-size:clamp(13px, 2.1vw, 16px);
}
.page--index label{
  font-size:clamp(13px, 2.1vw, 16px);
}
.page--index input{
  font-size:clamp(13px, 2.2vw, 16px);
  padding:clamp(11px, 2.6vw, 16px) 12px;
}
.page--index .btn{
  font-size:clamp(14px, 2.2vw, 17px);
  padding:clamp(14px, 2.8vw, 18px) 16px;
}
.page--index .card{
  padding:clamp(24px, 5vw, 56px);
}
.step{
  display:none;
}
.step--active{
  display:block;
}
.footerImage{
  margin-top:16px;
  display:flex;
  justify-content:center;
}
.footerImage img{
  width:180%;
  max-width:none;
  height:auto;
  display:block;
}

@media (max-width: 360px){
  .page{ padding:18px 12px 32px; }
  .h2{ font-size:24px; }
  .btn{ font-size:13px; }
}

@media (min-width: 768px){
  .page{ max-width:520px; padding:28px 20px 48px; }
  .card{ padding:22px; }
  .h2{ font-size:32px; }
}
.step[data-step="approved"] .card{
  padding:32px;
}
