* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #0b2e0b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 主背景图容器 */
.bg-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.bg-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 底部固定下载栏 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  padding: clamp(0px, 3.8667vw, 29px) clamp(0px, 6.7333vw, 50.5px);
  background-color: rgba(11, 46, 11, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.download-wrapper {
  position: relative;
  width: 100%;
  max-width: 649px;
  aspect-ratio: 649 / 133;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* 下载按钮动画 */
.download-btn {
  position: absolute;
  left: 73.5%;
  top: 50%;
  max-width: 42%;
  max-height: 70%;
  object-fit: contain;
  pointer-events: none;
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* 微信环境遮罩层 */
.wx-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  justify-content: flex-end;
  padding: 20px 24px;
  box-sizing: border-box;
}

.wx-mask-content {
  height: 200px;
  right: 30px;
  top: 20px;
  position: fixed;
  width: 539px;
  max-width: 539px;
  aspect-ratio: 539 / 567;
  background-image: url('../images/wechat.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.wx-arrow {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  animation: bounce 1.5s infinite;
}

.wx-tip-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.wx-tip-sub {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.5;
}

.wx-tip-sub span {
  color: #ffca28;
  font-weight: bold;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}