/* Pantalla de revelación: cuántas personas se registraron antes que tú */

.reveal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 15, 0.94);
  padding: 2rem;
}

.reveal.show {
  display: flex;
  animation: reveal-fade 0.5s ease;
}

.reveal-content {
  text-align: center;
  max-width: 80%;
  animation: reveal-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.reveal-number {
  font-family: 'Apfel Grotezk', sans-serif;
  font-weight: 600;
  font-size: clamp(64px, 16vw, 128px);
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.reveal-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 1rem 0 2rem;
  line-height: 1.5;
}

.reveal-continue {
  font-family: 'Apfel Grotezk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  background: #FFFFFF;
  color: #14140F;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.reveal-continue:hover { opacity: 0.85; }
.reveal-continue:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reveal-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.show, .reveal-content { animation: none; }
}
