/* =========================================================================
   Fish It Scripts — gate.css
   Страницы воронки: /confirm/ (шаг 1) и /download/ (шаг 2).
   Максимально сфокусированный экран, без отвлекающих ссылок.
   ========================================================================= */

.gate-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 32px);
}

.gate-card {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(16, 185, 129, 0.10), transparent 60%),
    var(--bg-card);
  box-shadow: var(--shadow-lift);
  padding: clamp(24px, 4vw, 38px);
  text-align: center;
}

.gate-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  margin: 0 0 16px;
}

.gate-card h1 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 12px; }
.gate-text { color: var(--text-muted); margin: 0 auto 22px; max-width: 44ch; }

/* Прогресс-бар */
.gate-progress {
  height: 10px;
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 0 0 12px;
}
.gate-progress__bar {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 1s linear;
}

.gate-timer {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.gate-timer #gateSeconds { color: var(--accent-sand); font-weight: 500; }

/* Кнопка появляется после отсчёта */
.gate-hidden { display: none; }
.gate-card .btn-primary { width: 100%; font-size: 16px; padding: 15px 22px; }

/* Инфоблок под кнопкой */
.gate-info {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.gate-info h2 { font-size: 16px; margin: 0 0 10px; }
.gate-info p { margin: 0 0 8px; color: var(--text-muted); font-size: 14.5px; }
.gate-info p:last-child { margin-bottom: 0; }
.gate-info .mono { color: var(--accent-sand); }
.gate-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.gate-info ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-primary);
}
.gate-info ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* Рекламный слот (Adsterra / PropellerAds) */
.ad-slot {
  min-height: 90px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ad-slot::before { content: 'реклама'; opacity: 0.5; }
.ad-slot--gate { margin-top: 22px; }
