/* ============================================================
   ByRightHQ · Paywall Styles
   Google-approved metered paywall via Schema.org
   The blur/lock is CSS — Googlebot still reads full HTML
============================================================ */

/* WRAPPER: no special positioning needed — gate is fixed */
.paywall-wrapper {
  position: relative;
}

/* THE SKELETON CONTENT — pointer events off, no scroll */
.paywall-content {
  position: relative;
  pointer-events: none;
  user-select: none;
}

/* Block page scroll when paywall is active */
body.paywall-active {
  overflow: hidden;
}

/* THE PAYWALL GATE — fixed, covers entire viewport */
.paywall-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
}

/* GRADIENT FADE — not needed in fixed layout, hidden */
.paywall-fade {
  display: none;
}

/* PAYWALL CARD */
.paywall-card {
  background: linear-gradient(145deg, #1a2440 0%, #131c30 100%);
  border: 1px solid var(--gold-b);
  border-radius: 16px;
  padding: 32px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-gold), 0 24px 64px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
}
.paywall-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200,145,42,.15) 0%, transparent 65%);
  pointer-events: none;
}

/* LOCK ICON */
.paywall-lock {
  width: 56px; height: 56px;
  background: var(--gold-d);
  border: 1px solid var(--gold-b);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
}

.paywall-title {
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: -.03em;
  margin-bottom: 8px;
}
.paywall-sub {
  font-size: 13px; color: var(--gold-l);
  margin-bottom: 8px; font-family: 'DM Mono', monospace;
  font-size: 11px;
}
.paywall-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.65; margin-bottom: 20px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}

/* FEATURES LIST */
.paywall-features {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 24px; text-align: left;
  background: var(--ink3); border: 1px solid var(--rule);
  border-radius: 10px; padding: 14px 18px;
}
.paywall-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--body);
}
.pf-check { color: var(--green); font-size: 14px; flex-shrink: 0; }

/* ACTIONS */
.paywall-actions {
  display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 16px;
}
.paywall-cta {
  display: block; text-align: center;
  padding: 14px 24px; font-size: 15px;
  font-weight: 700; border-radius: 9px;
  background: var(--gold); color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: all .2s;
}
.paywall-cta:hover {
  background: var(--gold-l);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--gold-glow);
}
.paywall-free-link {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.paywall-free-link:hover { color: var(--gold-l); }

.paywall-signin {
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
}
.paywall-signin a { color: var(--gold); text-decoration: none; }
.paywall-signin a:hover { text-decoration: underline; }

.paywall-trust {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center;
  justify-content: center; gap: 5px;
}
.paywall-trust svg { color: var(--green); }

/* ── INLINE FREE BADGE (top of page for free users) ────────── */
.free-view-banner {
  background: var(--ink3);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.free-view-banner strong { color: var(--gold-l); }
.free-view-banner a {
  color: var(--gold); text-decoration: none; font-weight: 600; font-size: 12px;
}
.free-view-banner a:hover { text-decoration: underline; }
