body {
  margin: 0;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: url('assets/bg.png') center center/cover no-repeat;
  background-color: #fff;
  background-attachment: fixed;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 600px;
}

.overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.description-text {
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 64px;
}

#typewriter-text {
  font-family: "SF Pro Display";
  min-height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  box-sizing: border-box;
  padding-right: 0em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.16);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px; /* 116.667% */
}

.dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  margin-left: 12px;
  vertical-align: middle;
  animation: breathing-dot 1.2s ease-in-out infinite;
  visibility: hidden;
}
@keyframes breathing-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.qrcode-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin-bottom: 32px;
}

.qrcode-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode-label {
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.qrcode {
  width: 120px;
  height: 120px;
  margin-bottom: 0; /* Removed bottom margin as it's handled by label margin-top now, or we keep it cleanly */
  background: #fff;
  padding: 10px; 
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Deleted download-btns styles */

/* 顶部导航 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px 0 48px;
  font-size: 16px;
  background: transparent;
}
.navbar-left {
  display: flex;
  align-items: center;
}
.logo {
  height: 30px;
  vertical-align: middle;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.join {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  margin-right: 8px;
}

/* 底部信息 */
footer {
  width: 100%;
  text-align: center;
  color: #444;
  font-size: 14px;
  padding: 24px 0;
  flex-shrink: 0;  /* 防止 footer 被压缩 */
}
footer a {
  color: #a259ff;
  margin: 0 8px;
  text-decoration: none;
}

/* 装饰图标 */
.icon {
  position: absolute;  /* 改为 fixed 定位，相对于视窗而非 body */
  width: 120px;
  height: 120px;
  border-radius: 0;
  box-shadow: 0 0px 0px rgba(0,0,0,0.08);
}
.heart { top: 120px; left: 320px; }
.podcast { top: 120px; right: 320px; }
.mic { left: 180px; bottom: 220px; }
.music { right: 220px; bottom: 180px; }
.headphone { right: 120px; bottom: 320px; }

/* 右侧浮层和遮罩 */
.panel-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 100;
  display: none;
}
.panel-overlay.visible {
  display: block;
}
.side-panel {
  position: fixed;
  top: 0; right: 0;
  width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,0.12);
  z-index: 101;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 36px 28px 24px 28px;
}
.side-panel.open {
  transform: translateX(0);
}
.close-panel-btn {
  border: none;
  background: transparent;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
}
.panel-content {
  flex: 1;
  color: #222;
  font-size: 1.1rem;
  white-space: pre-wrap;
}

.wangan {
  vertical-align: middle;
}

/* 响应式适配 */
@media (max-width: 900px) {
  /* 防止横向滚动 */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  #typewriter-text {
      font-size: 2.5em;
      max-width: 100%;
      word-wrap: break-word;
  }
  .description-text {
      font-size: 16px;
      padding: 0 20px;
      max-width: 100%;
      box-sizing: border-box;
  }
  .navbar { 
      padding: 24px 16px 0 16px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }
  .center-content { 
      width: 100%;
      max-width: 100%;
      padding: 40px 20px 60px;
      min-height: 500px;
      box-sizing: border-box;
  }
  .icon { display: none; }  /* 移动端隐藏装饰图标 */
  
  .qrcode-section {
      flex-direction: column;
      gap: 32px;
  }

  /* 移动端底部信息样式优化 */
  footer {
      flex-direction: column !important;
      gap: 8px !important;
      padding: 20px 16px !important;
      font-size: 12px !important;
      line-height: 1.4;
      text-align: center;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
  }
  
  footer img {
      height: 16px;
      width: auto;
  }
  
  /* 确保页面底部没有额外空白 */
  body {
      min-height: 100vh;
      margin: 0;
      padding: 0;
      width: 100%;
      max-width: 100vw;
  }
}
