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;
  position: relative;
  background-color: #000;
  overflow-x: hidden;
}

.center-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;     /* 占满屏幕宽度以便左右居中 */
  margin-bottom: 48px;
}

#typewriter-text {
  font-size: 3.5em;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  min-height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  max-width: 90%;
  box-sizing: border-box;
  padding-right: 0em;
  color: #fff;
}

.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: column;
  align-items: center;
  margin-bottom: 24px;
}
.qrcode {
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  background: #fff;
  padding: 10px; 
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.download-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.appstore-btn, .android-btn {
  display: flex;
  align-items: center;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 14px;
}

/* 顶部导航 */
.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 {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
  color: #444;
  font-size: 14px;
}
footer a {
  color: #a259ff;
  margin: 0 8px;
  text-decoration: none;
}

/* 装饰图标 */
.icon {
  position: absolute;
  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;
}

/* 响应式适配 */
@media (max-width: 900px) {
  #typewriter-text {
      font-size: 2.5em;
  }
  .navbar { padding: 24px 16px 0 16px; }
  .center-content { width: 100%; }
  .icon { width: 56px; height: 56px; }
  .heart, .podcast, .mic, .music, .headphone {
    top: auto; left: auto; right: auto; bottom: auto;
  }
}
