:root{
  --bg1:#120026;
  --bg2:#21003f;
  --stroke:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --primary:#7c3aed;
  --accent:#ff4fd8;
  --ok:#30e3a6;
  --shadow: 0 25px 80px rgba(0,0,0,.55);

  /* Espaço real do HUD (evita sobreposição do conteúdo) */
  --hudSpace: 110px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1100px 700px at 20% 15%, rgba(124,58,237,.30), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(255,79,216,.18), transparent 55%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;

  /* ajuda a reduzir “puxões” em mobile */
  overscroll-behavior-y: none;
}

#bgGlow{
  position:fixed; inset:-40px;
  background: radial-gradient(800px 400px at 50% 110%, rgba(124,58,237,.22), transparent 65%);
  filter: blur(18px);
  pointer-events:none;
  opacity:.9;
}

.stage{
  min-height:100%;
  display:flex;
  align-items:flex-start;
  justify-content:center;

  /* conteúdo começa abaixo do HUD fixo */
  padding: calc(var(--hudSpace) + 16px) 16px 28px;
}

.hud{
  width:min(980px, 94vw);
  position:fixed;
  top:14px; left:50%;
  transform:translateX(-50%);
  display:grid;
  gap:10px;
  z-index:50;
}

.hud__left{ display:flex; align-items:baseline; gap:12px; }
.brand{ font-weight:700; letter-spacing:.08em; font-size:12px; opacity:.95; }
.status{ font-size:12px; color:var(--muted); }
.hud__right{ display:flex; justify-content:flex-end; }

.points{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border:1px solid var(--stroke);
  border-radius:14px;
  background: rgba(0,0,0,.20);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.points__icon{ filter: drop-shadow(0 0 10px rgba(255,79,216,.35)); }

.progress{
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid var(--stroke);
  overflow:hidden;
}
.progress__bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 22px rgba(124,58,237,.45);
  transition: width .55s cubic-bezier(.2,.8,.2,1);
}

@media (max-width: 420px){
  :root{ --hudSpace: 124px; }
}

.modal{ width:min(980px, 94vw); display:flex; justify-content:center; }

.modal__box{
  width:min(560px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--stroke);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:22px;
  position:relative;
  backdrop-filter: blur(10px);
}

.h1{ font-size:24px; line-height:1.15; margin:0 0 8px; }
.p{ color:var(--muted); margin:0 0 16px; }
.row{ display:flex; gap:10px; flex-wrap:wrap; }

.input{
  width:100%;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}

.btn{
  width:100%;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(255,79,216,.90));
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition: transform .12s ease, filter .2s ease;
  box-shadow: 0 16px 40px rgba(124,58,237,.22);
}
.btn:active{ transform: scale(.99); filter:brightness(1.05); }

.opt{
  width:100%;
  text-align:left;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  cursor:pointer;
  transition: transform .12s ease, border-color .2s ease, box-shadow .2s ease;
}
.opt:hover{
  border-color: rgba(255,79,216,.35);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.opt:active{ transform: scale(.995); }

.divider{ height:1px; background: rgba(255,255,255,.08); margin:14px 0; }
.tag{ font-size:12px; color:var(--muted); margin-top:10px; }

.cards4{ display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; }
.card3d{
  height:140px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  cursor:pointer;
  position:relative;
  overflow:hidden;
}
.card3d .shine{
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 45%);
  transform: rotate(15deg);
  opacity:.65;
}

/* VIDEO (encaixado) */
.videoShell{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  overflow:hidden;
  background: rgba(0,0,0,.18);
  aspect-ratio: 9 / 16;
  transform: translateZ(0);
}
.videoEl{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}

/* RASPADINHA: não mexer a página no celular
   touch-action: none desliga pan/zoom no elemento. [web:237] */
#scratchCanvas{ touch-action: none; }

/* “ANÁLISE COMPLETA” com sensação de progresso */
.resultHeader{
  position: relative;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  overflow: hidden;
}
.resultHeader::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 220px at 20% 30%, rgba(255,79,216,.20), transparent 60%),
              radial-gradient(600px 220px at 80% 70%, rgba(124,58,237,.26), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.resultHeader > *{ position: relative; }

.miniProg{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
.miniProg__bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(255,79,216,.90));
  transition: width .75s cubic-bezier(.2,.9,.2,1);
  position: relative;
}
.miniProg__bar::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.2s ease-in-out infinite;
}
@keyframes shimmer{
  0%{ transform: translateX(-100%); opacity:.0; }
  30%{ opacity:.5; }
  100%{ transform: translateX(100%); opacity:0; }
}

.resultList{ display:grid; gap:10px; margin-top:12px; }
.resultItem{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
}

/* PLANOS: Premium como recomendado */
.planGrid{ display:grid; gap:12px; }

.planCard{
  position: relative;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.planTitle{ font-weight: 800; letter-spacing: .02em; }
.planPrice{ margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13px; }
.planBullets{ margin-top: 10px; display:grid; gap:6px; color: rgba(255,255,255,.78); font-size: 13px; }

.planCard--premium{
  border-color: rgba(255,79,216,.40);
  box-shadow: 0 0 0 4px rgba(255,79,216,.10), 0 30px 90px rgba(124,58,237,.22);
}

.planBadge{
  position:absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(90deg, rgba(255,79,216,.95), rgba(124,58,237,.95));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  animation: badgePulse 1.25s ease-in-out infinite;
}
@keyframes badgePulse{
  0%,100%{ transform: translateX(-50%) scale(1); filter: brightness(1); }
  50%{ transform: translateX(-50%) scale(1.03); filter: brightness(1.06); }
}

/* MODAL upsell */
.modalOverlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center;
  z-index:70;
  padding:18px;
}
.modalMini{
  width:min(520px, 94vw);
  border-radius:20px;
  border:1px solid var(--stroke);
  background: rgba(20,10,40,.92);
  box-shadow: var(--shadow);
  padding:18px;
}
.linkLike{
  color: rgba(255,255,255,.78);
  text-decoration: underline;
  cursor:pointer;
  display:inline-block;
  margin-top:10px;
}

.upsellBenefits{ margin-top: 10px; display: grid; gap: 8px; }
.upsellBenefit{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
