:root {
  --fundo: #070707;
  --vermelho: #e50914;
  --vermelho-escuro: #c00812;
  --texto: #f5f5f5;
  --texto-suave: #9a9a9a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(620px 420px at 50% -8%, rgba(229, 9, 20, 0.16), transparent 70%),
    var(--fundo);
  min-height: 100vh;
  min-height: 100dvh;
}

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid var(--vermelho);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--vermelho);
  box-shadow:
    0 0 44px rgba(229, 9, 20, 0.32),
    inset 0 0 22px rgba(229, 9, 20, 0.10);
  margin-bottom: 30px;
  animation: pulso 3.2s ease-in-out infinite;
}

@keyframes pulso {
  0%, 100% { box-shadow: 0 0 34px rgba(229, 9, 20, 0.26), inset 0 0 22px rgba(229, 9, 20, 0.10); }
  50%      { box-shadow: 0 0 58px rgba(229, 9, 20, 0.45), inset 0 0 22px rgba(229, 9, 20, 0.14); }
}

h1 {
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

h1 .red {
  color: var(--vermelho);
}

.subtitle {
  color: var(--texto-suave);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 38px;
}

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-yes {
  background: linear-gradient(180deg, #f6111f 0%, var(--vermelho-escuro) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.32);
}

.btn-yes:hover { filter: brightness(1.08); }
.btn-yes:active { transform: translateY(1px) scale(0.99); }

.btn-no {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #262626;
  color: #b0b0b0;
}

.btn-no:hover { border-color: #444; color: #d5d5d5; }
.btn-no:active { transform: translateY(1px) scale(0.99); }

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.legal {
  margin-top: 30px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #616161;
  max-width: 46ch;
}

.gate > * {
  animation: subir 0.55s ease both;
}

.gate > *:nth-child(1) { animation-delay: 0.05s; }
.gate > *:nth-child(2) { animation-delay: 0.12s; }
.gate > *:nth-child(3) { animation-delay: 0.19s; }
.gate > *:nth-child(4) { animation-delay: 0.26s; }
.gate > *:nth-child(5) { animation-delay: 0.33s; }

@keyframes subir {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
