/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 页面主容器 */
.page-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 顶部背景 - 底部横幅 */
.top-background {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

/* 底部背景 - 主背景图 */
.bottom-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.top-background img,
.bottom-background img {
  width: 100%;
  height: auto;
  display: block;
}

.bottom-background img {
  height: 100%;
  object-fit: cover;
}

/* 主要内容区域 */
.main-content-area {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.7rem 2rem 1rem;
  min-height: calc(100vh - 3rem);
  height: 100%;
}

.content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
}

/* 主要内容区域布局 */
.main-content-layout {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 3rem);
  height: 100%;
}

/* 左侧内容区域 - Logo区域 */
.left-content-area {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.brand-display-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-display-area.logo-area {
  margin-bottom: 0.6rem;
}

.brand-display-area.text-area {
  margin-bottom: 0.8rem;
}

.brand-logo {
  width: 1.5rem;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

.brand-logo.text {
  width: 8rem;
  transform: translateY(0.6rem);
}

.brand-display-area.text-area img {
  width: 7rem;
  height: auto;
  display: block;
}

/* 右侧内容区域 */
.right-content-area {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-left: 0.5rem;
  max-width: 50%;
}

/* 下载链接区域 */
.download-links-area {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
}

.download-link {
  display: inline-block;
}

.download-link img {
  width: auto;
  height: 0.7rem;
  max-width: 3.5rem;
  display: block;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.download-link:hover img,
.download-link:active img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.app-preview-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0.3rem rgba(255, 255, 255, 0.1));
  transition: transform 0.3s ease;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .main-content-area {
    padding: 0.5rem 1rem;
    min-height: calc(100vh - 2rem);
  }

  .main-content-layout {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .left-content-area {
    width: 100%;
    align-items: center;
  }

  .right-content-area {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .brand-display-area.text-area img {
    max-width: 100%;
  }

  .download-links-area {
    justify-content: center;
    flex-wrap: wrap;
  }

  .download-link img {
    height: 0.7rem;
    max-width: 3.5rem;
  }

  .brand-logo.text {
    width: 6rem;
  }
}
