.crowdfunding-filters {
  margin: 20px 0;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: bold;
  color: #333;
}

.filter-group select {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
}

.crowdfunding-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.crowdfunding-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.crowdfunding-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.crowdfunding-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.crowdfunding-item-content {
  padding: 15px;
}

.crowdfunding-item-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.crowdfunding-item-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.progress-container {
  margin-bottom: 15px;
}

.progress-bar {
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #ff6b6b;
  border-radius: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.crowdfunding-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}

.crowdfunding-detail {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.detail-left {
  flex: 2;
}

.detail-right {
  flex: 1;
}

.project-title {
  margin-bottom: 20px;
}

.project-title h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background-color: #f0f0f0;
  border-radius: 12px;
  font-size: 12px;
  color: #666;
}

.project-media {
  margin-bottom: 20px;
}

.project-media img {
  width: 100%;
  border-radius: 8px;
}

.project-description,
.project-updates,
.project-comments {
  margin-bottom: 30px;
}

.project-description h3,
.project-updates h3,
.project-comments h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

#project-desc {
  color: #666;
  line-height: 1.6;
}

.updates-list {
  margin-top: 15px;
}

.update-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.update-date {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.update-content {
  color: #666;
}

.comment-form {
  margin-bottom: 20px;
}

.comment-form textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 10px;
}

.comments-list {
  margin-top: 15px;
}

.comment-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.comment-user {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.comment-content {
  color: #666;
}

.project-info-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.project-meta {
  margin: 20px 0;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.meta-label {
  color: #999;
}

.meta-value {
  font-weight: bold;
  color: #333;
}

.support-amount {
  margin: 20px 0;
}

.support-amount input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 16px;
}

.project-rewards {
  margin-top: 20px;
}

.project-rewards h4 {
  margin-bottom: 15px;
  color: #333;
}

.reward-item {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reward-item.active {
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.05);
}

.reward-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.reward-description {
  color: #666;
  margin-bottom: 5px;
  font-size: 14px;
}

.reward-delivery {
  color: #999;
  font-size: 12px;
}

@media (max-width: 768px) {
  .crowdfunding-detail {
    flex-direction: column;
  }

  .detail-right {
    order: -1;
  }

  .project-info-card {
    position: relative;
    top: 0;
  }
}

.loading {
  text-align: center;
  padding: 30px 0;
  color: #666;
  font-size: 16px;
}