:root {
  --header-bg: #a5d1ff;
  --main-bg: #fef7e8;
  --footer-bg: #baecba;
  --primary-color: #f3c651;
  --text-color: #000;
  --button-bg: #ffab3f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

/* 顶部导航栏样式 */
header {
  background-color: var(--header-bg);
  padding: 10px 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  width: 100%;
  max-width: 150px;
}

.logo-text {
  font-size: 10px;
  margin-top: 2px;
}

.title {
  text-align: center;
}

.title h1 {
  font-size: 28px;
  font-weight: bold;
}

.title h2 {
  font-size: 16px;
  color: #ff0000;
}

.customer-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.customer-service img {
  width: 35px;
}
.app-showcase {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.app-showcase .showcase-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* 下载按钮区域 */
.download-area {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.download-button {
  width: 45%;
  text-align: center;
}

.download-button img {
  width: 100%;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}



@media (max-width: 768px) {
  .download-button {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .download-area {
    align-items: center;
  }

  .download-button {
    width: 80%;
  }
}

/* 主要内容区样式 */
main {
  background-color: var(--main-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-title {
  text-align: center;
  margin: 10px 0 20px;
}

.app-title .title-image {
  max-width: 70%;
  height: auto;
}


.app-showcase {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  margin-bottom: 50px;
}

.phone-mockup {
  width: 50%;
  max-width: 320px;
}

.phone-mockup img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.character {
  position: absolute;
  right: 0;
  width: 40%;
  max-width: 280px;
  top: -20px;
}

.character img {
  width: 100%;
}

/* 下载按钮区域 */
.download-area {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.android-download, .ios-download {
  display: flex;
  align-items: center;
  background-color: var(--button-bg);
  padding: 10px 20px;
  border-radius: 25px;
  width: 45%;
}

.android-download img, .ios-download img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.download-text p {
  font-weight: bold;
  font-size: 16px;
}

.download-text span {
  font-size: 12px;
}

.notice {
  text-align: center;
  font-size: 14px;
}


@media (max-width: 768px) {
  .app-title h2, .app-title h1 {
    font-size: 42px;
  }

  .android-download, .ios-download {
    padding: 8px 12px;
  }

  .download-text p {
    font-size: 14px;
  }

  .download-text span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .app-title h2, .app-title h1 {
    font-size: 32px;
  }

  .download-area {
    align-items: center;
  }

  .android-download, .ios-download {
    width: 80%;
    margin-bottom: 15px;
  }
}
/* 下载按钮区域 */
.download-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 10px;
  background-image: url('../images/download_bg.png');
  background-size: cover;
  background-position: top center;
  z-index: 100;
}

.download-button {
  width: 45%;
  text-align: center;
}

.download-button img {
  width: 100%;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

/* 通知文本样式调整 */
.notice {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color:#433448FF;
  text-decoration: underline;
}
.notice a{
  color:#433448FF;
}
.notice a:hover,.notice a:focus,.notice a:active{
    color:#433448FF;
    text-decoration: underline;
}
/* 为主体内容添加底部内边距，防止内容被固定底栏遮挡 */
main {
  background-color: var(--main-bg);
  padding: 20px;
  padding-bottom: 120px; /* 调整此值以适应下载区域的高度 */
}

@media (max-width: 480px) {
  .download-area {
    align-items: center;
  }


  main {
    padding-bottom: 180px; /* 增加底部内边距，适应垂直排列的下载区域 */
  }
}
.download-btn{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
/* 修复右侧白边 */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0; /* 确保body没有外边距 */
  overflow-x: hidden; /* 防止水平滚动 */
  width: 100%; /* 确保body宽度为100% */
}

.container {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0; /* 移除可能的内边距 */
  margin: 0; /* 移除可能的外边距 */
}

/* 确保所有全宽元素不会溢出 */
header, main, .download-area {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
