/* 基础链接样式 */
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none;
}

/* 全局盒模型设置 */
* {
  box-sizing: border-box;
}

/* 页面主体样式 - 深色背景 */
body {
  font-family: Arial, sans-serif;
  background-color: #fff; /* 深色背景 */
  color: #000;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 主容器样式 - 渐变背景 */
.main-wrapper {
  min-height: 100vh;
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
}
/* 应用标志样式 */
.brand-header img {
  width: 120px; /* 较大尺寸的logo */
  display: block;
  margin: 0 auto;
  border-radius: 15px;
}

.brand-header h2,
.brand-header p {
  text-align: center;
  font-size: 1.1rem;
}

/* 下载按钮区域 - 网格布局 */
.button-grid {
  justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

/* 单个下载卡片样式 */
.app-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  color: #000;
}

/* 下载卡片图标 */
.app-card img {
  width: 100%;
  max-width: 60px;
}

/* 下载卡片文字 */
.app-card p {
  font-size: 0.8rem;
  margin: 0;
}

/* 下载卡片悬停效果 */
.app-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 广告区域样式 */
.advertisement {
  width: 100%;
  margin-bottom: 20px;
}

/* 应用描述和信息区域共同样式 */
.desc-section,
.info-section {
  text-align: left;
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* 应用描述文本样式 */
.desc-section span{
  white-space: pre-line;
  word-wrap: break-word;
}
.desc-section img{
	width:100%;
	height:100%;
}
/* 标题样式 */
.desc-section h3,
.info-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* 段落样式 */
.desc-section p,
.info-section p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 遮罩层显示控制 */
.main-wrapper .hide {
  display: none;
}

.main-wrapper .show {
  display: block;
}

/* 遮罩层基础样式 */
.main-wrapper .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

/* 遮罩层关闭按钮 */
.main-wrapper .cover_throw {
  width: calc(76px / 2);
  height: calc(76px / 2);
  position: absolute;
  top: calc(23px / 2);
  right: calc(25px / 2);
}

.main-wrapper .cover_throw img {
  width: 100%;
  height: 100%;
}

/* 遮罩层文本容器 */
.cover .cover_text_wrap {
  position: absolute;
  top: calc(110px / 2);
  right: calc(50px / 2);
}

/* 遮罩层顶部文本 */
.cover .text_top {
  font-size: calc(36px / 2);
  font-weight: bold;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover .text_top img {
  width: calc(42px / 2);
  height: calc(42px / 2);
}

/* 遮罩层底部文本 */
.cover .text_bottom {
  font-size: calc(24px / 2);
  font-weight: 400;
  color: #ffffff;
}

/* 响应式设计 - 小屏幕设备 */
@media (max-width: 600px) {
  .main-wrapper {
    padding: 15px;
  }
  .brand-header img {
    width: 80px;
  }
  .brand-header h2 {
    font-size: 1.3rem;
  }
  .brand-header p,
  .desc-section p,
  .info-section p {
    font-size: 0.85rem;
  }
  .app-card img {
    max-width: 50px;
  }
}

/* 响应式设计 - 中等屏幕设备 */
@media (min-width: 601px) and (max-width: 1024px) {
  .main-wrapper {
    width: 90%;
  }
}

/* 应用信息区域样式 */
.info-section {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.info-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-section p {
  font-size: 0.9rem;
  margin: 5px 0;
}

/* 加载进度条 */
.progress-bar {
  width: 80%; /* 横线总宽度 */
  margin-left: 10%;
  margin-bottom: 30px;
  height: 4px; /* 横线高度 */
  background: #e0e0e0; /* 背景色 */
  overflow: hidden;
  position: relative;
}

/* 加载进度条动画元素 */
.progress-bar::before {
  content: '';
  position: absolute;
  width: 50px; /* 滚动条的宽度 */
  height: 100%;
  background: #3498db; /* 滚动条颜色 */
  animation: slide 1.5s infinite linear; /* 动画效果 */
}

/* 进度条滑动动画 */
@keyframes slide {
  0% {
    transform: translateX(-100%); /* 从左边开始 */
  }
  100% {
    transform: translateX(400%); /* 滚动到右边 */
  }
}

/* 隐藏元素 */
.hidden {
  display: none;
}

/* 弹出层样式 */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  justify-content: center;
}

/* 弹出层内容区 */
#overlayContent {
  width: 80%;
  max-width: 400px;
  background-color: white;
  padding: 80px 0 0 0;
  border-radius: 10px;
  text-align: left;
  color: #fff;
  font-size: 20px;
  background-color: transparent;
}

/* 关闭按钮 */
#closeButton {
  margin-top: 10px;
  margin-left: 30%;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  background-color: transparent;
  color: #fff;
  border: 1px dashed #fff;
}

/* 圆形数字样式 */
.circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: red;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  margin: 5px;
}

/* 弹出层图片 */
.overlayImage {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 100px;
  height: auto;
  cursor: pointer;
  z-index: 1001;
}

/* 版权信息样式 */
.copyright {
  clear: both;
  display: block;
  font-size: 9px;
  color: #ccc;
  width: 100%;
}

/* 广告容器样式 */
.ad-container {
  margin-top: 50px;
  width: 100%;
}