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

html {
  font-size: 16px; /* 固定基础字体大小 */
}

body {
  font-size: 16px;
  line-height: 1.4;
}

.screen {
  background-color: #ffffff;
  background-image: url("background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  min-width: 1200px; /* 设置最小宽度，防止手机端缩小 */
}

/* 背景装饰元素 */
.screen .ellipse {
  position: fixed;
  top: -20vh;
  left: -10vw;
  width: 60vw;
  height: 30vh;
  background-color: #03d39c;
  border-radius: 50%;
  filter: blur(15vw);
  opacity: 0.4;
  z-index: -1;
}

.screen .div {
  position: fixed;
  top: -15vh;
  right: -20vw;
  width: 80vw;
  height: 60vh;
  background-color: #030ad3;
  border-radius: 50%;
  filter: blur(20vw);
  opacity: 0.4;
  z-index: -1;
}

.screen .ellipse-2 {
  position: fixed;
  bottom: 20vh;
  left: -10vw;
  width: 40vw;
  height: 15vh;
  background-color: #030ad3;
  border-radius: 50%;
  transform: rotate(-43.65deg);
  filter: blur(15vw);
  z-index: -1;
}

.screen .ellipse-3 {
  position: fixed;
  bottom: 15vh;
  left: 10vw;
  width: 40vw;
  height: 15vh;
  background-color: #0391d3;
  border-radius: 50%;
  transform: rotate(-43.65deg);
  filter: blur(15vw);
  z-index: -1;
}

.screen .ellipse-4 {
  position: fixed;
  bottom: 30vh;
  right: -15vw;
  width: 40vw;
  height: 40vw;
  background-color: #018e87;
  border-radius: 50%;
  filter: blur(25vw);
  z-index: -1;
}

.screen .rectangle {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px) brightness(100%);
  -webkit-backdrop-filter: blur(20px) brightness(100%);
  opacity: 0.6;
  z-index: 0;
}

/* 顶部区域 */
.header {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  min-width: 1200px; /* 确保最小宽度 */
}

.brand-section {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.platform-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.platform-text {
  font-family: "Satoshi-Regular", Helvetica, sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.2;
}

.platform-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* 顶部导航菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  transition: color .2s ease;
}
.footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
  width: 100%;
}

.beian {
  font-size: 14px;
  color: #666;
  display: inline-block;
}

.beian a {
  color: #666;
  text-decoration: none;
}

.beian a:hover {
  text-decoration: underline;
}


/* 强化状态颜色，避免服务器环境下显示默认蓝色/紫色 */
.nav-link:link,
.nav-link:visited {
  color: #000;
}

.nav-link:hover {
  color: #2b0054;
}

.nav-link:active {
  color: #1e2b7a;
}

.nav-link:hover {
  color: #2b0054;
}

.nav-sep {
  color: #ccc;
}

/* 通用区块样式 */
.section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  z-index: 10;
}

.section-title {
  font-family: "Satoshi-Medium", Helvetica, sans-serif;
  font-size: 26px;
  color: #000;
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: "Satoshi-Regular", Helvetica, sans-serif;
  font-size: 20px;
  color: #000;
  margin: 16px 0 10px;
}

.section-caption {
  font-family: "Satoshi-Regular", Helvetica, sans-serif;
  font-size: 18px;
  color: #333;
  margin: 12px 0 8px;
}

.section-paragraph {
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.75;
}

.section-list {
  padding-left: 20px;
  margin: 8px 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.section-list li {
  list-style: disc;
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.about-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 20px;
}

/* 主标题 */
.main-title {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 48px auto;
  text-align: center;
  background: radial-gradient(50% 50% at 15% 50%, rgba(43, 0, 84, 1) 0%, rgba(4, 77, 223, 1) 100%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-family: "Satoshi-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 44px;
  letter-spacing: 0;
  line-height: 1.3;
  z-index: 10;
  min-width: 1000px; /* 确保最小宽度 */
}

/* 二维码区域 */
.qr-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  z-index: 10;
  min-width: 1000px; /* 确保最小宽度 */
}

.qr-card {
  flex: 1;
  max-width: 400px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.qr-title {
  font-family: "PingFang SC-Medium", Helvetica, sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.qr-code {
  margin: 20px 0;
}

.qr-code img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
}

.qr-validity {
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-weight: 400;
  color: #666666;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.qr-service {
  font-family: "Abel", Helvetica, sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.qr-benefit {
  font-family: "Abel", Helvetica, sans-serif;
  font-weight: 400;
  color: #666666;
  font-size: 16px;
  line-height: 1.4;
}

.divider {
  width: 2px;
  height: 360px;
  background-color: #dedede;
  margin: 0 20px;
}

/* 底部合作区域 */
.cooperation-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  z-index: 10;
  min-width: 1000px; /* 确保最小宽度 */
}

.cooperation-text {
  font-family: "MiSans-Normal", Helvetica, sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 30px;
  margin-bottom: 32px;
  line-height: 1.3;
}

.personal-qr-card {
  display: inline-block;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
}

.personal-info {
  margin-bottom: 20px;
}

.personal-logo {
  font-family: "PingFang SC-Medium", Helvetica, sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 24px;
  margin-bottom: 5px;
}

.personal-name {
  font-family: "PingFang SC-Medium", Helvetica, sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 18px;
  margin-bottom: 5px;
}

.personal-location {
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-weight: 400;
  color: #666666;
  font-size: 14px;
}

.personal-qr {
  margin: 20px 0;
}

.personal-qr img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
}

.personal-tip {
  font-family: "PingFang SC-Regular", Helvetica, sans-serif;
  font-weight: 400;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
}

/* 手机端优化 - 保持桌面布局，但防止缩放 */
@media screen and (max-width: 768px) {
  .screen {
    min-width: 1200px; /* 强制保持最小宽度 */
    overflow-x: auto; /* 允许水平滚动 */
  }
  
  .header,
  .main-title,
  .qr-section,
  .cooperation-section {
    min-width: 1200px; /* 所有主要区域保持最小宽度 */
  }
  
  /* 确保文字不会过小 */
  .platform-text {
    font-size: 20px;
  }
  
  .main-title {
    font-size: 36px;
  }
  
  .cooperation-text {
    font-size: 24px;
  }
  
  .qr-title {
    font-size: 18px;
  }
  
  .qr-service {
    font-size: 16px;
  }
  
  .qr-benefit {
    font-size: 14px;
  }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
  .screen {
    min-width: 1200px;
    overflow-x: auto;
  }
  
  .header {
    padding: 20px 30px;
    min-width: 1200px;
  }
  
  .main-title {
    font-size: 32px;
    min-width: 1000px;
  }
  
  .qr-section {
    gap: 40px;
    min-width: 1000px;
  }
  
  .cooperation-section {
    min-width: 1000px;
  }
}