/* 下载区域专用样式 - 2025-03-03 18:54 */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.platform-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.platform-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-item h3 {
  color: #333;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.platform-icon i {
  font-size: 2.2rem;
}

.platform-desc {
  color: #666;
  margin-bottom: 20px;
  height: 55px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  padding: 0 10px;
}

.qr-code {
  width: 150px;
  height: 150px;
  margin: 5px auto 20px;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-btn {
  padding: 10px 0;
  width: 120px;
  font-size: 1rem;
  margin-top: 5px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-clicked {
  transform: scale(0.95);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.platform-item.android .platform-icon {
  background-color: rgba(142, 195, 31, 0.1);
}

.platform-item.android .platform-icon i {
  color: #8ec31f;
}

.platform-item.ios .platform-icon {
  background-color: rgba(0, 122, 255, 0.1);
}

.platform-item.ios .platform-icon i {
  color: #007aff;
}

.platform-item.pc .platform-icon {
  background-color: rgba(0, 153, 204, 0.1);
}

.platform-item.pc .platform-icon i {
  color: #0099cc;
}

.platform-item.web .platform-icon {
  background-color: rgba(66, 133, 244, 0.1);
}

.platform-item.web .platform-icon i {
  color: #4285f4;
}

/* 移动端样式 */
@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .platform-item {
    min-height: 380px;
  }
  
  .platform-desc {
    height: auto;
    min-height: 50px;
  }
}
