* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* 背景图 */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./playergp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* 导航 */
.nav {
  position: absolute;
  top: 4%;
  right: 5%;
  display: flex;
  gap: clamp(20px, 4vw, 65px);
  z-index: 999;
  flex-wrap: wrap;
}

.nav a {
  color: #000000;
  text-decoration: none;
  font-size: clamp(12px, 2vw, 24px);
  font-weight: 500;
  white-space: nowrap;
}

/* 账号注销链接样式（与导航其他链接统一） */
.account-delete-link {
  color: #000000;
  text-decoration: none;
  font-size: clamp(12px, 2vw, 24px);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}

/* 鼠标悬浮提示（可选，增强引导） */
.account-delete-link:hover {
  color: #3b82f6; /* 与下载按钮主色一致，强化品牌视觉 */
}

/* 悬浮时显示轻微下划线（可选） */
.account-delete-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.account-delete-link:hover::after {
  width: 100%;
}

/* 左侧总容器 */
.content {
  position: absolute;
  left: 11%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

/* ==================================
   模块1：Logo + 应用名
================================== */
.module1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1vw, 15px); /* logo 和 应用名 之间的间距 */
  margin-bottom: 10px; 
}

.logo {
  width: clamp(70px, 8vw, 200px);
  height: clamp(70px, 8vw, 200px);
  object-fit: contain;
  border-radius: clamp(16px, 4vw, 30px);
}

.app-name {
  font-size: clamp(22px, 5vw, 36px);
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ==================================
   模块2：推广语 + 下载按钮
================================== */
.module2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(15px, 2vw, 20px); /* 推广语 和 按钮 之间的间距 */
  margin-bottom: 40px;
}

.slogan {
  font-size: clamp(14px, 3vw, 20px);
  color: rgb(148, 148, 148);
  line-height: 1.4;
  margin: 0;

  /* 核心：只允许 <br/> 换行，不自动换行 + 全屏自适应 */
  white-space: pre-line;
  word-break: keep-all;
  width: 90vw;
  max-width: 530px;
  min-width: 280px;
}

.download-btn {
  padding: clamp(8px, 2vw, 12px) clamp(30px, 6vw, 50px);
  background: #3b82f6;
  color: white;
  border-radius: 10px;
  font-size: clamp(14px, 3.5vw, 24px);
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  animation: breathe 1.8s infinite ease-in-out;
  white-space: nowrap;
}

.download-btn:hover {
  background: #2563eb;
}

/* ==================================
   模块3：二维码 + 文案
================================== */
.module3 {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: clamp(4px, 1.5vw, 8px); /* 二维码和文字间距 */
}

.qrcode {
  width: clamp(70px, 15vw, 130px);
  height: clamp(70px, 15vw, 130px);
  object-fit: contain;
  border-radius: 8px;
}

.qrcode-text {
  font-size: clamp(12px, 2.5vw, 22px);
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* 呼吸动画 */
@keyframes breathe {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
