/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  /* background: linear-gradient(135deg, #1a7a7a 0%, #0d5c5c 100%); */
  min-height: 100vh;
}

/* 主内容区域 */
.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 20px; */
  position: relative;
  min-width: 1200px
}

/* Logo */
.logo {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 90px;
  height: auto;
}

/* 主图 */
.main-image {
  /* max-width: 500px; */
  width: 100%;
  margin: 0px;
}

/* 平台按钮区域 */
.platform-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
      top: 14%;
    position: absolute;
}

.platform-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 二维码弹窗 */
.qr-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.platform-item:hover .qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.qr-code {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 二维码下方小三角 */
.qr-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

/* 下载弹窗 */
.download-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 180px;
}

.platform-item:hover .download-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.download-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.popup-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  background: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: all 0.2s ease;
}

.download-link:hover {
  background: #e8f4f8;
  transform: translateX(3px);
}

.chip-icon {
  font-size: 18px;
}

/* 圆形按钮 */
.platform-btn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.15); */
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.platform-btn:hover {
  /* background: rgba(255, 255, 255, 0.25); */
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-btn img {
  width: 100%;
  height: 100%;
  margin-bottom: 5px;
}

.platform-btn span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 底部样式 */
.footer {
  background: rgba(0, 0, 0, 0.2);
  background-image: url(./state/foot.png);
  background-size: 100% 100%;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  width: 100%;
}

.footer-links {
  /* margin-bottom: 15px; */
  font-size: 18px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-links .divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-info {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.footer-info p {
  margin: 5px 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .logo {
    width: 70px;
    top: 20px;
    left: 20px;
  }
  
  .main-image {
    margin-top: 60px;
    margin-bottom: 30px;
  }
  
  .platform-buttons {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .platform-btn {
    width: 80px;
    height: 80px;
  }
  
  .platform-btn img {
    width: 100%;
    height: 100%;
  }
  
  .platform-btn span {
    font-size: 12px;
  }
  
  .qr-code {
    width: 100px;
    height: 100px;
  }
  
  .footer {
    padding: 25px 15px;
  }
  
  .footer-links {
    font-size: 16px;
  }
  
  .footer-info {
    font-size: 12px;
    
  }
  #footer-infopa{
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }
}
