:root {
  --red: #e2203b;
  --red-soft: #ff4d64;
  --ink: #e8eaed;
  --muted: #9aa0a8;
  --card: rgba(16, 18, 24, 0.78);
  --line: rgba(226, 32, 59, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(226, 32, 59, 0.18), transparent 60%),
    radial-gradient(900px 500px at 80% 120%, rgba(226, 32, 59, 0.12), transparent 60%),
    linear-gradient(180deg, #05060a 0%, #0a0c10 40%, #0c0609 100%);
  background-attachment: fixed;
}

/* Fundo opcional: se você tiver a imagem original (só o cenário, sem o painel),
   salve em /assets/bg.jpg e descomente o bloco abaixo.
body {
  background:
    linear-gradient(rgba(5,6,10,.72), rgba(10,4,8,.85)),
    url('/assets/bg.jpg') center/cover fixed no-repeat;
}
*/

.scene { position: relative; }
.scene::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(226, 32, 59, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 32, 59, 0.06) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}

.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: overlay; opacity: 0.25;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px);
}

.stage {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; padding: 40px 24px;
}

.card {
  width: min(560px, 92vw);
  margin: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(226, 32, 59, 0.15);
}

.hidden { display: none !important; }

.brandmark { display: flex; justify-content: center; margin-bottom: 10px; }
.glyph { color: var(--red); font-size: 34px; filter: drop-shadow(0 0 12px rgba(226, 32, 59, 0.8)); }

.title { font-size: 30px; letter-spacing: 0.14em; margin: 0.2em 0 0; text-align: center; }
.title.danger { color: var(--red-soft); text-shadow: 0 0 24px rgba(226, 32, 59, 0.6); }
.subtitle {
  text-align: center; color: var(--muted); letter-spacing: 0.42em;
  margin: 0.3em 0 1.4em; font-size: 13px;
}

.terminal {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px; padding: 12px 14px; min-height: 96px;
  font-size: 13px; line-height: 1.7;
}
.tline { opacity: 0; animation: fade 0.25s forwards; }
.tline:last-child { color: var(--red-soft); }
@keyframes fade { to { opacity: 1; } }

.bar {
  height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 999px;
  margin: 16px 0 8px; overflow: hidden;
}
.bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transition: width 0.5s ease;
}
.hint { color: var(--muted); font-size: 12px; text-align: center; margin: 0.4em 0 0; }

/* Banner "chamariz" (red flags de phishing, de propósito) */
.promo {
  margin: 0 0 22px; padding: 16px 18px; border-radius: 12px; text-align: center;
  background: linear-gradient(135deg, rgba(226, 32, 59, 0.28), rgba(120, 8, 20, 0.45));
  border: 1px solid rgba(255, 77, 100, 0.5);
  box-shadow: 0 0 28px rgba(226, 32, 59, 0.25);
  animation: promoBlink 1.2s ease-in-out infinite;
}
@keyframes promoBlink {
  0%, 100% { border-color: rgba(255, 77, 100, 0.45); box-shadow: 0 0 20px rgba(226, 32, 59, 0.2); }
  50% { border-color: rgba(255, 210, 63, 0.95); box-shadow: 0 0 46px rgba(226, 32, 59, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .promo { animation: none; } }
.promo-badge {
  display: inline-block; background: #ffd23f; color: #2a1400;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.promo-headline { margin: 2px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.25; color: #fff; }
.promo-headline strong { color: #ffd23f; }
.promo-deadline { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: #ffd23f; }
.promo-deadline #today { color: #fff; text-decoration: underline; }
.promo-sub { margin: 0; font-size: 12.5px; line-height: 1.55; color: #f3dde0; }
.promo-sub strong { color: #ffd23f; }
.promo-urgency { margin: 9px 0 0; font-size: 12.5px; color: #f3dde0; }
.promo-urgency strong { color: #fff; }
#countdown {
  display: inline-block; background: #ff2740; color: #fff;
  padding: 1px 8px; border-radius: 6px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 0 12px rgba(255, 39, 64, 0.6);
}
.seal {
  text-align: center; margin: 14px 0 0; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; color: #37d07a;
}

/* Formulário de "validação" (encenação) */
.form-intro { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 18px; line-height: 1.6; }
#accessForm { display: flex; flex-direction: column; gap: 12px; }
#accessForm label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
}
#accessForm input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px; padding: 10px 12px;
  color: var(--ink); font-family: inherit; font-size: 14px;
}
#accessForm input:focus { outline: none; border-color: var(--red); }
#accessForm button {
  margin-top: 8px; padding: 12px; border: none; border-radius: 8px; cursor: pointer;
  color: #fff; font-family: inherit; font-size: 14px; font-weight: 600;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
}
#accessForm button:hover { filter: brightness(1.05); }

/* Revelação */
.reveal .warn {
  font-size: 46px; text-align: center;
  filter: drop-shadow(0 0 16px rgba(226, 32, 59, 0.7));
}
.lead { font-size: 17px; text-align: center; margin: 0.2em 0 1em; }
.body { color: #d2d6dc; font-size: 14px; line-height: 1.75; }
.callout {
  border-left: 3px solid var(--red);
  background: rgba(226, 32, 59, 0.08);
  padding: 12px 16px; border-radius: 8px; margin: 18px 0;
}
.callout p { margin: 0.3em 0; }
.muted { color: var(--muted); font-size: 13px; }
.flags { margin: 18px 0 4px; }
.flags-title { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.flags ul { margin: 0; padding-left: 18px; }
.flags li { font-size: 13px; line-height: 1.7; color: #d2d6dc; }
.moral { font-size: 14px; line-height: 1.7; margin-top: 14px; }
.disclaimer {
  margin: 18px 0 0; padding: 12px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px; line-height: 1.6; color: var(--muted); text-align: center;
}
.disclaimer a { color: var(--red-soft); text-decoration: none; }
.disclaimer a:hover { text-decoration: underline; }
.foot {
  margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px; color: var(--muted); font-size: 12px; text-align: center;
}
.foot a { color: var(--red-soft); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
strong { color: #fff; }
