/* ============================================================================
   Arceus Neo — gate.css   (funnel: /poluchit/, /checkup/, /getlua/)
   A single centred dark card on the base surface, with a crimson top rule and a
   crimson progress bar. Loaded only on the noindex gate pages. The sticky-CTA is
   hidden on these pages (body.is-portal) so nothing competes with the ad slot.
   ========================================================================== */

.portal { max-width: 640px; margin: 0 auto; }
.portal__card {
  background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--neon);
  border-radius: var(--r-card); box-shadow: var(--shadow); padding: 32px; text-align: center;
}
.portal__eyebrow {
  display: inline-block; font-family: var(--ff-code); font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--neon); background: var(--neon-dim);
  padding: 5px 12px; border-radius: var(--r-chip); margin: 0 0 16px;
}
.portal__title { font-size: clamp(22px, 4vw, 30px); margin: 0 0 10px; text-transform: none; }
.portal__text { color: var(--text-muted); margin: 0 auto 22px; max-width: 48ch; }
.portal__text .portal__mono { color: var(--text-primary); font-family: var(--ff-code); }

.portal__progress { height: 8px; background: var(--bg-code); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin: 0 0 10px; }
.portal__bar { display: block; height: 100%; width: 0; background: var(--neon); transition: width 1s linear; }
.portal__timer { font-family: var(--ff-code); font-size: 14px; color: var(--text-muted); margin: 0 0 20px; }
.portal__timer span { color: var(--neon); font-weight: 700; }

.portal__go { min-width: 240px; }
/* Locked until the 15s timer completes; JS removes .sealed to reveal the link. */
.sealed { opacity: .4; pointer-events: none; filter: grayscale(.5); }

/* Empty state when downloadUrl is null (the required "link is updating" scenario). */
.portal__hold { color: var(--text-muted); margin: 0 auto; max-width: 48ch; }
.portal__hold a { color: var(--neon); text-decoration: underline; }

.portal__info {
  margin: 24px 0 0; text-align: left; border-top: 1px solid var(--border); padding-top: 16px;
  display: grid; gap: 10px;
}
.portal__row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.portal__row dt { color: var(--text-muted); font-size: 14px; margin: 0; }
.portal__row dd { margin: 0; font-weight: 600; font-size: 14px; }
.portal__mono { font-family: var(--ff-code); }

.portal__subhead { font-size: 17px; margin: 28px 0 12px; text-align: left; text-transform: none; }
.portal__perks { list-style: none; padding: 0; margin: 0; text-align: left; display: grid; gap: 6px; }
.portal__perks li { position: relative; padding-left: 24px; color: var(--text-muted); }
.portal__perks li::before { content: '✦'; position: absolute; left: 0; color: var(--neon); font-size: 12px; top: 4px; }
.portal__faq { margin-top: 24px; text-align: left; }

/* Ad slots — reserve height to avoid layout shift when the ad script fills them. */
.promo-slot--gate { margin: 24px auto 0; min-height: 90px; max-width: 640px; }
.promo-slot--gate:empty { min-height: 90px; }
