/* ================================================================
   content-lock.css - 深度内容软锁样式
   ================================================================ */

/* 区块锁 - 模糊 + 渐变遮罩 */
.locked-blur {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  filter: blur(4px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}
.locked-fade {
  padding: 12px 16px;
  color: #6b7280;
  font-size: 13px;
}
.locked-blur::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, white 90%);
  pointer-events: none;
}

.locked-overlay {
  margin-top: 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #fbbf24;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

.locked-card {
  max-width: 360px;
  margin: 0 auto;
}
.locked-icon {
  font-size: 48px;
  margin-bottom: 8px;
}
.locked-title {
  font-size: 18px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}
.locked-tip {
  font-size: 13px;
  color: #b45309;
  margin-bottom: 20px;
  line-height: 1.6;
}
.locked-qr {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.locked-qr img {
  width: 140px;
  height: 140px;
  display: block;
}
.locked-qr-tip {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

.locked-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.locked-btn-primary,
.locked-btn-secondary {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.locked-btn-primary {
  background: #3b82f6;
  color: white;
}
.locked-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.locked-btn-secondary {
  background: white;
  color: #3b82f6;
  border: 1px solid #3b82f6;
}
.locked-btn-secondary:hover {
  background: #eff6ff;
}

/* 全页面锁 - 整页覆盖 */
.page-lock-overlay {
  margin-top: 40px;
  padding: 60px 24px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  text-align: center;
  border: 1px solid #fbbf24;
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.2);
  position: relative;
}

.page-lock-indicator {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  font-size: 12px;
  color: #92400e;
  font-weight: 600;
}

.page-lock-card {
  max-width: 400px;
  margin: 0 auto;
}
.page-lock-icon {
  font-size: 64px;
  margin-bottom: 12px;
}
.page-lock-title {
  font-size: 22px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 12px;
}
.page-lock-tip {
  font-size: 14px;
  color: #b45309;
  margin-bottom: 24px;
  line-height: 1.6;
}
.page-lock-qr {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.page-lock-qr img {
  width: 160px;
  height: 160px;
  display: block;
}
.page-lock-qr-tip {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
}
.page-lock-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-lock-btn-primary,
.page-lock-btn-secondary {
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.page-lock-btn-primary {
  background: #3b82f6;
  color: white;
}
.page-lock-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.page-lock-btn-secondary {
  background: white;
  color: #3b82f6;
  border: 1px solid #3b82f6;
}
.page-lock-btn-secondary:hover {
  background: #eff6ff;
}
.page-lock-btn-secondary:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 640px) {
  .locked-overlay,
  .page-lock-overlay {
    padding: 24px 16px;
  }
  .locked-btn-primary,
  .locked-btn-secondary,
  .page-lock-btn-primary,
  .page-lock-btn-secondary {
    padding: 10px 18px;
    font-size: 13px;
  }
}