/* ==========================================================================
   Steal a Brainrot Scripts — gate.css
   Двухэтапная воронка скачивания: /confirm/ и /download/ (.checkpoint).
   Задача — удержать пользователя на странице и показать рекламу.
   ========================================================================== */

.checkpoint {
  min-height: calc(100vh - var(--header-h) - 1px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px) 20px 64px;
}

.checkpoint__card {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px);
  text-align: center;
}

.checkpoint__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.checkpoint__card h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 14px;
}

.checkpoint__text {
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto 26px;
}

/* --- Progress meter ------------------------------------------------------ */
.meter {
  height: 10px;
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 8px 0 12px;
}
.meter__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--lime));
  border-radius: var(--radius-pill);
  transition: width 0.9s linear;
}

.ticker {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.ticker #gateSeconds { color: var(--accent); font-weight: 500; }

/* --- Action button ------------------------------------------------------- */
.checkpoint__card .btn { min-width: 260px; }
.is-hidden { display: none !important; }

.btn.is-done {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.waiting {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 24px;
}

/* --- Info block ---------------------------------------------------------- */
.checkpoint__info {
  text-align: left;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.checkpoint__info h2 { font-size: 1.1rem; margin: 0 0 12px; }
.checkpoint__info p { margin: 6px 0; color: var(--text-muted); font-size: 0.92rem; }
.checkpoint__info .tt { color: var(--text-primary); }
.checkpoint__info ul { list-style: none; margin: 0; padding: 0; }
.checkpoint__info ul li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: var(--text-primary);
  font-size: 0.92rem;
}
.checkpoint__info ul li::before { content: "💰"; position: absolute; left: 0; font-size: 0.8rem; }

/* --- Step pips ----------------------------------------------------------- */
.pips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pips .pip {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.pips .pip.is-active { background: var(--accent); }

/* --- Ad slots on gate pages (агрессивнее прочих) ------------------------- */
.adbox--gate {
  min-height: 100px;
  margin: 24px 0 0;
}
.adbox--gate:empty::before { height: 100px; }

/* --- Security note ------------------------------------------------------- */
.safe {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
  margin-top: 18px;
  letter-spacing: 0.3px;
}
