/* ========== 原有基础样式保留（略作优化） ========== */
/* 针对section的css样式 */
section,
.right,
.left,
.social,
.social i {
  display: flex;
  justify-content: center;
  align-items: center;
}

section {
  height: 100vh;
  /* 新增：确保小屏幕也能完整显示内容，避免溢出 */
  min-height: 600px;
  padding: 20px 0;
  box-sizing: border-box;
}

.section-wrap {
  background-color: rgba(255, 255, 255, 0.2);
  height: 80vh;
  min-height: 500px; /* 新增：最小高度，避免小屏幕塌陷 */
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  padding: 50px 100px;
  overflow: hidden;
  box-sizing: border-box; /* 新增：内边距计入宽度 */
}

@media (max-width: 992px) {
  .section-wrap {
    padding: 30px 50px; /* 减小内边距 */
    height: 85vh; /* 增加高度占比，容纳内容 */
  }
}

@media (max-width: 768px) {
  section {
    height: auto; /* 取消固定高度，自适应内容 */
    min-height: 100vh; /* 确保至少占满视窗 */
    padding: 40px 0;
  }

  .section-wrap {
    height: auto; /* 取消固定高度 */
    /* min-height: auto; */
    padding: 20px 30px;
    width: 95%; /* 增加宽度占比 */
    border-radius: 20px; /* 减小圆角，适配小屏 */
  }
}

@media (max-width: 576px) {
  .section-wrap {
    padding: 15px 20px;
    width: 98%;
  }
}
