/* 共享样式：全局、欢迎语、社交图标等 */
html, body {
  height: 100%;
  margin: 0;
}

/* 确保在所有设备上都能正确显示 */
* {
  box-sizing: border-box;
}

body {
  background: url('/backgroud.png') lightgray center / cover no-repeat;
  /* 防止Android设备上的滚动问题 */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
}

.welcome-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.welcome-container {
  width: 844px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  display: flex;
}

.welcome-text-group {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.welcome-name {
  align-self: stretch;
  text-align: center;
  color: white;
  font-size: 64px;
  font-weight: 700;
  line-height: 89.6px;
  word-wrap: break-word;
}

.welcome-subtitle {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 24px;
  font-weight: 500;
  line-height: 33.6px;
  word-wrap: break-word;
}

/* --- 响应式设计 --- */

/* 移动端布局 (屏幕宽度 <= 720px) */
@media (max-width: 720px) {
  .sign {
    display: none !important;
  }

  /* 针对不同尺寸移动设备的微调 */
  @media (max-width: 575px) {
    .welcome-name {
      font-size: 2rem;
    }
    .welcome-subtitle {
      font-size: 1.2rem;
    }
  }
}

@media (max-width: 300px) {
  .welcome-name {
    font-size: 1.8rem; /* 在超小屏幕上进一步缩小字体 */
  }
  .welcome-subtitle {
    font-size: 1.1rem; /* 在超小屏幕上进一步缩小字体 */
  }
}

.contact-button {
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.contact-button-text {
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  word-wrap: break-word;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  padding: 4px;
}

.social-container {
  padding: 10px;
  position: absolute;
  left: 15px;
  bottom: 15px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  border-radius: 1000px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: inline-flex;
  z-index: 2;
}

.social-row {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}