:root {
  --bg: #ffffff;
  --text: #141718;
  --text-2: rgba(20, 23, 24, 0.65);
  /* 卡片底：品牌青 → 品牌紫的浅色版 */
  --card: linear-gradient(120deg, #e6f9ff 0%, #ece6ff 55%, #dccaff 100%);
  /* 浅底上品牌原色太淡，标题渐变用加深版 */
  --title-1: #0fa3cc;
  --title-2: #8a3dff;
  --brand-1: #67e8ff;
  --brand-2: #a66fff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  -webkit-tap-highlight-color: transparent;
}
body {
  cursor: pointer;
  padding: 16px;
}
/* 手机：logo → 文案 → 主视觉，自上而下流式排列，可滚动 */
.page {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: max(24px, env(safe-area-inset-top)) 16px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
}
/* 主视觉：两张照片卡片斜向叠放（对应设计给的两张竖版照片） */
.hero {
  width: 100%;
  max-width: 480px;
  margin-top: 24px;
}
.cards {
  position: relative;
  width: 100%;
  aspect-ratio: 1.03 / 1;
}
.card {
  position: absolute;
  width: 47%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(76, 40, 150, 0.28);
  background: #fff;
}
/* 后面那张：偏右上、顺时针 */
.card-back {
  right: 3%;
  top: 0;
  transform: rotate(8deg);
}
/* 前面那张：偏左下、逆时针，压住后面那张 */
.card-front {
  left: 3%;
  top: 9%;
  transform: rotate(-12deg);
  z-index: 1;
}
.logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin-top: 32px;
}
.title {
  margin: 0 0 12px;
  font-size: clamp(28px, 8.4vw, 36px);
  overflow-wrap: break-word;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.title span {
  background: linear-gradient(90deg, var(--title-1), var(--title-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title .plain {
  background: none;
  -webkit-text-fill-color: currentColor;
}
.subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-2);
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  height: 54px;
  margin-top: 28px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #141718;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(166, 111, 255, 0.4);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    transform: scale(1.03);
  }
}
/* 桌面：文案在左，主视觉贴右下角，一屏不滚动 */
@media (min-width: 1200px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
  /* logo 贴顶、文案贴底，左侧竖向撑满（对标 Glam） */
  .page {
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    padding: 56px 72px 72px;
  }
  .logo {
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
  }
  .logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  body {
    padding: 40px;
  }
  .copy {
    align-items: flex-start;
    max-width: 600px;
    margin: auto 0 0;
  }
  .title {
    margin-bottom: 28px;
    font-size: clamp(52px, 4.6vw, 72px);
    line-height: 1.22;
  }
  .subtitle {
    font-size: 20px;
    color: rgba(20, 23, 24, 0.8);
  }
  .btn {
    width: auto;
    padding: 0 64px;
  }
  .hero {
    position: absolute;
    right: 3%;
    bottom: -8%;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 0;
  }
  .cards {
    width: auto;
    height: calc(100vh - 120px);
    max-width: 44vw;
  }
  .card {
    border-width: 6px;
    border-radius: 32px;
  }
}
