/* 重置与基础 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #fff;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景图 */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("./imgs/background.png") no-repeat center/cover;
}

/* 主内容区 */
.main {
  position: relative;
  z-index: 1;
  /* display: flex;
  align-items: center;
  justify-content: space-between; */
  /* min-height: 100vh; */
  padding: 0 60px 80px;
  gap: 40px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ========== 左侧内容区 ========== */
.left {
  flex: 0 1 50%;
  max-width: 610px;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
  padding: 10px 250px;
  margin-bottom: 8px;
}

.logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.title-wrap {
  margin: 16px 0 8px;
}

.title-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.desc {
  margin: 0;
  max-width: 580px;
  font-size: 24px;
  color: rgba(255,255,255,0.8);
  line-height: 43px;
  text-align: left;
  margin-top: 30px;
}

/* 用户档案按钮 */
.btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 153px;
  height: 48px;
  margin-top: 62px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  overflow: hidden;
}

.btn-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-tip {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin-top: 24px;
}

.btn-tip-2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #FEE3C4;
  max-width: 480px;
  margin-top: 12px;
}

/* 左下角两张卡片 */
.cards {
  display: flex;
  gap: 34px;
  margin-top: 18px;
  align-items: flex-end;
}

.card {
  flex: 0 1 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.card img {
  display: block;
  width: 233px;
  height: auto;
  vertical-align: middle;
}

/* ========== 右侧手机 + 头像 ========== */
.right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
}

.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.phone {
  display: block;
  max-height: 75vh;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.avatars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-left: 16px;
}

.avatar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-item:nth-child(1) {
  margin-left: -100px;
  margin-top: 72px;
}

.avatar-item:nth-child(2) {
  margin-left: -340px;
}

.avatar-item:nth-child(3) {
  margin-left: -24px;
  margin-top: -36px;
}

.avatar-item:nth-child(4) {
  margin-left: -400px;
  margin-top: -36px;
}

.avatar-item:nth-child(1) img {
  width: 185px;
  height: 185px;
}

.avatar-item:nth-child(2) img {
  width: 98px;
  height: 99px;
}

.avatar-item:nth-child(3) img {
  width: 131px;
  height: 131px;
}

.avatar-item:nth-child(4) img {
  width: 139px;
  height: 141px;
}

.avatar-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* 底部备案 */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  padding: 12px 60px 20px;
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 29px;
}

/* 小屏适配 */
@media (max-width: 1024px) {
  .main {
    flex-direction: column;
    padding: 24px 24px 100px;
    align-items: stretch;
  }

  .left {
    max-width: 100%;
  }

  .right {
    justify-content: center;
    padding: 20px 0;
  }

  .phone-wrap {
    justify-content: center;
  }

  .phone {
    max-height: 55vh;
  }

  .footer {
    text-align: center;
    padding: 12px 24px 20px;
  }
}

@media (max-width: 640px) {
  .main {
    padding: 20px 16px 90px;
  }

  .cards {
    flex-direction: column;
    align-items: stretch;
  }

  .avatar-label {
    font-size: 12px;
  }

  .avatar-item img {
    width: 48px;
    height: 48px;
  }
}
