/* Block 3.3 — Unlock the Rest (creators grid: subscribe to reveal more) */

.pcs-unlock-wrap {
  margin: 2rem 0;
}

.pcs-unlock-panel {
  background: #0d0d0d;
  border: 1px solid rgba(254, 191, 0, 0.35);
  border-top: 3px solid #febf00;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pcs-unlock-text {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 1.2rem;
  line-height: 1.3;
}

/* ── Creator grid ─────────────────────────────────────────────────────────── */
.pcs-unlock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pcs-unlock-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.pcs-unlock-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #febf00;
  background: #1a1a1a;
}
.pcs-unlock-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.pcs-unlock-card-name {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pcs-unlock-sub {
  width: 100%;
  background: #febf00;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, background 0.15s, color 0.15s;
}
.pcs-unlock-sub:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.pcs-unlock-sub.is-done {
  background: #1f7a3d;
  color: #fff;
  cursor: default;
}
.pcs-unlock-sub.is-done:hover { filter: none; transform: none; }

/* ── Locked section ───────────────────────────────────────────────────────── */
.pcs-unlock-locked-wrap {
  position: relative;
  margin-top: 0.85rem;
}

.pcs-unlock-grid--locked {
  filter: blur(var(--pcs-unlock-blur, 8px));
  pointer-events: none;
  user-select: none;
  transition: filter 0.45s ease;
}

.pcs-unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background: rgba(13, 13, 13, 0.55);
  border-radius: 10px;
  transition: opacity 0.4s ease;
}

.pcs-unlock-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(254, 191, 0, 0.6));
}

.pcs-unlock-overlay-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  max-width: 320px;
  line-height: 1.35;
}
.pcs-unlock-overlay-text strong { color: #febf00; }

.pcs-unlock-progress {
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
}
.pcs-unlock-done { color: #febf00; font-weight: 900; }

/* ── Unlocked state ───────────────────────────────────────────────────────── */
.pcs-unlock-wrap.is-unlocked .pcs-unlock-grid--locked {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}
.pcs-unlock-wrap.is-unlocked .pcs-unlock-overlay {
  opacity: 0;
  pointer-events: none;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .pcs-unlock-panel { padding: 1.2rem 0.8rem; }
  .pcs-unlock-text { font-size: 1rem; }
  .pcs-unlock-grid { gap: 0.55rem; }
  .pcs-unlock-card-name { font-size: 0.7rem; }
  .pcs-unlock-sub { font-size: 0.6rem; padding: 0.4rem 0.15rem; }
  .pcs-unlock-overlay-text { font-size: 0.85rem; }
}
