/* ==========================================================================
   Lens Gallery – Pitchside
   ========================================================================== */

/* ---- Tokens (aligned with Pitchside spacing scale) ---- */
:root {
  --lens-gap: 8px;
  --lens-radius: 6px;
  --lens-max-width: 1280px;
}

/* ---- Hub (landing page) ---- */
.lens-hub {
  max-width: var(--lens-max-width);
  margin: 32px auto 0;
  padding: 0 16px 48px;
}

.lens-hub__section {
  margin-bottom: 40px;
}

.lens-hub__section:last-child {
  margin-bottom: 0;
}

.lens-hub__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lens-hub__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.lens-hub__author-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.lens-hub__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .lens-hub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lens-hub__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.lens-hub__card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--lens-radius);
  overflow: hidden;
  background: var(--color-background-secondary, #f3f4f6);
  transition: box-shadow 0.2s ease;
}

.lens-hub__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.lens-hub__card:focus-visible {
  outline: 3px solid var(--ghost-accent-color, #3b82f6);
  outline-offset: 2px;
}

.lens-hub__card-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.lens-hub__card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.lens-hub__card:hover .lens-hub__card-img {
  transform: scale(1.03);
}

.lens-hub__card-body {
  padding: 12px 16px 16px;
}

.lens-hub__card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.lens-hub__card-excerpt {
  font-size: 0.875rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lens-hub__card-date {
  font-size: 0.8125rem;
  color: var(--color-tertiary-text, #9ca3af);
}

/* ==========================================================================
   Landing Page (.lens-lp)
   ========================================================================== */

/* ---- Layout ---- */
.lens-lp {
  --lp-max: 720px;
  --lp-wide: 1280px;
}

.lens-lp__wrap {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 20px;
}

.lens-lp__wrap--wide {
  max-width: var(--lp-wide);
}

.lens-lp__section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .lens-lp__section-title {
    font-size: 2rem;
  }
}

/* ---- Buttons ---- */
.lens-lp__btn--primary {
  background-color: var(--ghost-accent-color, #3b82f6);
  color: #fff;
}

.lens-lp__btn--primary:hover {
  opacity: 0.9;
}

.lens-lp__btn--accent {
  background-color: transparent;
  color: var(--ghost-accent-color, #3b82f6);
  border: 2px solid var(--ghost-accent-color, #3b82f6);
}

.lens-lp__btn--accent:hover {
  background-color: var(--ghost-accent-color, #3b82f6);
  color: #fff;
}

.lens-lp__btn--ghost {
  display: inline-block;
  padding: 14px 24px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  border: 1px solid var(--color-secondary-text, #d1d5db);
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.lens-lp__btn--ghost:hover {
  color: var(--color-text, #111);
  border-color: var(--color-text, #111);
}

/* ---- 1. Hero ---- */
.lens-lp__hero {
  padding: 80px 20px 56px;
  text-align: center;
}

@media (min-width: 768px) {
  .lens-lp__hero {
    padding: 120px 20px 80px;
  }
}

.lens-lp__hero-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .lens-lp__hero-headline {
    font-size: 3.25rem;
  }
}

.lens-lp__hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.lens-lp__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* ---- 2. Social Proof ---- */
.lens-lp__proof {
  padding: 24px 20px;
  border-top: 1px solid var(--color-background-secondary, #e5e7eb);
  border-bottom: 1px solid var(--color-background-secondary, #e5e7eb);
  text-align: center;
}

.lens-lp__proof-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-secondary-text, #6b7280);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---- 3. What is Lens ---- */
.lens-lp__about {
  padding: 64px 20px;
  text-align: center;
}

.lens-lp__about-copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 20px;
}

.lens-lp__about-emphasis {
  font-size: 1.125rem !important;
  font-weight: 600;
  color: inherit !important;
  line-height: 1.5 !important;
  margin-top: 24px !important;
}

/* ---- 4. How It Works ---- */
.lens-lp__steps {
  padding: 64px 20px;
  background: var(--color-background-secondary, #f9fafb);
}

.lens-lp__steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .lens-lp__steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.lens-lp__step {
  text-align: center;
}

.lens-lp__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-background, #fff);
  color: var(--ghost-accent-color, #3b82f6);
}

.lens-lp__step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.lens-lp__step-text {
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0;
  line-height: 1.5;
}

.lens-lp__step-text a {
  color: var(--ghost-accent-color, #3b82f6);
  text-decoration: underline;
}

.lens-lp__step-text a:hover {
  opacity: 0.8;
}

/* ---- 5. Sample Gallery Preview ---- */
.lens-lp__preview {
  padding: 64px 0;
}

.lens-lp__preview .lens-lp__wrap--wide {
  position: relative;
  overflow: hidden;
}

.lens-lp__preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lens-gap);
}

@media (min-width: 640px) {
  .lens-lp__preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lens-lp__preview-card {
  aspect-ratio: 3 / 2;
  border-radius: var(--lens-radius);
  background: var(--color-background-secondary, #e5e7eb);
  overflow: hidden;
}

.lens-lp__preview-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lens-lp__preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-background, #fff) 80%
  );
  pointer-events: none;
}

.lens-lp__preview-lock {
  text-align: center;
  pointer-events: auto;
}

.lens-lp__preview-lock svg {
  opacity: 0.4;
  margin-bottom: 12px;
}

.lens-lp__preview-lock-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.lens-lp__preview-lock-text {
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 20px;
}

/* ---- 6. Pricing ---- */
.lens-lp__pricing {
  padding: 64px 20px 80px;
  background: var(--color-background-secondary, #f9fafb);
}

.lens-lp__pricing .lens-lp__wrap {
  max-width: 1040px;
}

.lens-lp__pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .lens-lp__pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lens-lp__tier {
  position: relative;
  background: var(--color-background, #fff);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--color-background-secondary, #e5e7eb);
  display: flex;
  flex-direction: column;
}

/* Free tier – subdued */
.lens-lp__tier--free {
  opacity: 0.85;
}

/* Member tier – dominant */
.lens-lp__tier--member {
  border-color: var(--ghost-accent-color, #3b82f6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .lens-lp__tier--member {
    transform: scale(1.04);
    z-index: 1;
    margin-top: 0;
  }
}

/* Pro tier – muted */
.lens-lp__tier--pro {
  opacity: 0.7;
}

.lens-lp__tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ghost-accent-color, #3b82f6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.lens-lp__tier-header {
  margin-bottom: 16px;
}

.lens-lp__tier-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--color-text, #111);
}

.lens-lp__tier-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  color: var(--color-text, #111);
}

.lens-lp__tier-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-secondary-text, #6b7280);
}

.lens-lp__tier-desc {
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  line-height: 1.5;
  margin: 0 0 20px;
}

.lens-lp__tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.lens-lp__tier-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--color-secondary-text, #4b5563);
}

.lens-lp__tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ghost-accent-color, #3b82f6);
  font-weight: 700;
}

.lens-lp__tier-cta {
  width: 100%;
  text-align: center;
  display: block;
}

/* ---- 7. Comparison ---- */
.lens-lp__compare {
  padding: 64px 20px;
}

.lens-lp__compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .lens-lp__compare-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.lens-lp__compare-col {
  padding: 32px;
  border-radius: 12px;
  background: var(--color-background-secondary, #f9fafb);
}

.lens-lp__compare-col a {
  color: var(--ghost-accent-color, #3b82f6);
  text-decoration: underline;
}

.lens-lp__compare-col a:hover {
  opacity: 0.8;
}

.lens-lp__compare-col--lens {
  background: var(--ghost-accent-color, #3b82f6);
  color: #fff;
}

.lens-lp__compare-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.lens-lp__compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lens-lp__compare-list li {
  font-size: 1rem;
  line-height: 1.6;
  padding: 6px 0;
}

.lens-lp__compare-col--lens .lens-lp__compare-list li {
  color: rgba(255, 255, 255, 0.9);
}

.lens-lp__compare-closing {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 40px 0 0;
  line-height: 1.6;
}

/* ---- 8. Photographers ---- */
.lens-lp__photographers {
  padding: 64px 20px;
  background: var(--color-background-secondary, #f9fafb);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lens-lp__photographers .lens-lp__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lens-lp__photographers-copy {
  font-size: 1.0625rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 24px;
  line-height: 1.6;
}

.lens-lp__photographers-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: inline-block;
  text-align: left;
}

.lens-lp__photographers-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-secondary-text, #4b5563);
}

.lens-lp__photographers-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ghost-accent-color, #3b82f6);
}

.lens-lp__photographers-cta {
  margin-top: 8px;
}

/* ---- 9. Final CTA ---- */
.lens-lp__final {
  padding: 80px 20px;
  text-align: center;
}

.lens-lp__final-headline {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .lens-lp__final-headline {
    font-size: 2.5rem;
  }
}

.lens-lp__final-sub {
  font-size: 1.125rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 32px;
}

/* ---- Featured Image ---- */
.lens-gallery__featured-image-wrap {
  padding: 32px 16px;
  margin-bottom: 16px;
}

.lens-gallery__featured-image-wrap .c-feature-image-figure {
  max-width: var(--lens-max-width);
  margin: 0 auto;
}

.lens-gallery__featured-image-wrap .c-feature-image {
  border-radius: 8px;
}

/* ---- Gallery header ---- */
.lens-gallery {
  max-width: var(--lens-max-width);
  margin: 0 auto;
  padding: 0 16px 32px;
}

.lens-gallery__header {
  margin-bottom: 32px;
}

.lens-gallery__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

.lens-gallery__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 12px;
}

.lens-gallery__subhead {
  font-size: 0.9375rem;
  color: var(--color-tertiary-text, #9ca3af);
  margin: 0 0 16px;
}

.lens-gallery__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-secondary-text, #6b7280);
}

.lens-gallery__meta-sep {
  user-select: none;
}

/* ---- Responsive grid ---- */
.lens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lens-gap);
}

@media (min-width: 640px) {
  .lens-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lens-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1440px) {
  .lens-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1800px) {
  .lens-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---- Card ---- */
.lens-card {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--lens-radius);
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--color-background-secondary, #f3f4f6);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.lens-card:focus-visible {
  outline: 3px solid var(--ghost-accent-color, #3b82f6);
  outline-offset: 2px;
}

.lens-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.lens-card:hover .lens-card__img,
.lens-card:focus-visible .lens-card__img {
  transform: scale(1.03);
}

/* ---- Loading skeleton ---- */
.lens-loading__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lens-gap);
}

@media (min-width: 640px) {
  .lens-loading__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lens-loading__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.lens-loading__card {
  aspect-ratio: 3 / 2;
  border-radius: var(--lens-radius);
}

.lens-skeleton {
  background: linear-gradient(
    90deg,
    var(--color-background-secondary, #e5e7eb) 25%,
    var(--color-background, #f9fafb) 50%,
    var(--color-background-secondary, #e5e7eb) 75%
  );
  background-size: 200% 100%;
  animation: lens-shimmer 1.5s ease-in-out infinite;
}

@keyframes lens-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Empty / Error states ---- */
.lens-empty,
.lens-error {
  text-align: center;
  padding: 48px 16px;
}

.lens-empty__icon,
.lens-error__icon {
  margin: 0 auto 16px;
  opacity: 0.4;
}

.lens-empty__title,
.lens-error__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.lens-empty__text,
.lens-error__text {
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0;
}

/* ---- Access Denied ---- */
.lens-access-denied {
  text-align: center;
  padding: 48px 16px;
}

.lens-access-denied__icon {
  display: block;
  margin: 0 auto 16px;
  opacity: 0.5;
}

.lens-access-denied__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.lens-access-denied__text {
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 16px;
}

/* ---- Lightbox ---- */
.lens-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.lens-lightbox[hidden] {
  display: none;
}

.lens-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lens-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lens-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.875rem;
}

.lens-lightbox__counter {
  margin-right: auto;
  font-variant-numeric: tabular-nums;
}

.lens-lightbox__hires {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  font-size: 0.8125rem;
}

.lens-lightbox__hires:hover {
  color: #fff;
}

.lens-lightbox__hires[hidden] {
  display: none;
}

.lens-lightbox__close {
  background: none;
  border: 0;
  padding: 4px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.lens-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lens-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lens-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 16px;
  gap: 8px;
}

.lens-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lens-lightbox__arrow {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.lens-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lens-lightbox__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lens-lightbox__caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  padding: 8px 16px 16px;
  min-height: 40px;
}

/* ==========================================================================
   Paywall – 3-tier gallery gate (visitor → free → paid)
   ========================================================================== */

.lens-paywall {
  position: relative;
  margin-top: var(--lens-gap);
  overflow: hidden;
  border-radius: var(--lens-radius);
}

/* Blurred preview thumbnails (locked content tease) */
.lens-paywall__preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lens-gap);
  filter: blur(12px);
  transform: scale(1.04);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .lens-paywall__preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lens-paywall__preview {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lens-paywall__thumb {
  aspect-ratio: 3 / 2;
  border-radius: var(--lens-radius);
  overflow: hidden;
  background: var(--color-background-secondary, #f3f4f6);
}

.lens-paywall__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay with gradient fade */
.lens-paywall__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1;
}

.lens-paywall__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-background, #fff);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
  z-index: -1;
}

/* Free-member paywall: stronger visual lock */
.lens-paywall--free .lens-paywall__preview {
  filter: blur(16px);
  opacity: 0.5;
}

.lens-paywall--free .lens-paywall__overlay::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
}

/* Card content */
.lens-paywall__card {
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.lens-paywall__progress {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lens-paywall__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
  color: var(--color-text, #111);
}

@media (min-width: 768px) {
  .lens-paywall__title {
    font-size: 1.75rem;
  }
}

.lens-paywall__text {
  font-size: 1rem;
  color: var(--color-secondary-text, #6b7280);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Primary CTA – large, thumb-friendly */
.lens-paywall__cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ghost-accent-color, #3b82f6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s;
  min-height: 48px;
  line-height: 1.3;
}

.lens-paywall__cta:hover {
  opacity: 0.9;
}

/* Mobile: full-width CTA for thumb-friendly tapping (70% mobile traffic) */
@media (max-width: 639px) {
  .lens-paywall__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 1.0625rem;
  }
}

/* Secondary link / button */
.lens-paywall__secondary {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--color-secondary-text, #6b7280);
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.3;
  font-family: inherit;
}

.lens-paywall__secondary:hover {
  color: var(--color-text, #111);
}

/* Microcopy */
.lens-paywall__note {
  font-size: 0.75rem;
  color: var(--color-tertiary-text, #9ca3af);
  margin: 16px 0 0;
}

/* Reinforcement bullets (free → paid state) */
.lens-paywall__perks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.lens-paywall__perks li {
  font-size: 0.875rem;
  color: var(--color-secondary-text, #4b5563);
  position: relative;
  padding-left: 18px;
}

.lens-paywall__perks li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--ghost-accent-color, #3b82f6);
  font-weight: 700;
}

/* Dismiss animation */
.lens-paywall--dismissed {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  margin: 0;
  transition: opacity 0.3s ease, max-height 0.4s ease 0.1s, margin 0.4s ease 0.1s;
}

/* Paid member subtle reinforcement */
.lens-access-badge {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-tertiary-text, #9ca3af);
  padding: 20px 0 0;
  letter-spacing: 0.01em;
}
