* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: PingFangSC-Regular,'Microsoft Yahei',arial,sans-serif;
  background-image: url(../img/pic_bg_left@2x.png), url(../img/pic_bg_right@2x.png);
  background-position: left bottom, right top;
  background-repeat: no-repeat, no-repeat;
  background-size: 260px 218px, 200px 240px;
  background-color: #f5f7f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.top-banner {
  margin: 10px 0 40px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 10;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px 0 rgba(33, 39, 47, 0.1);
}

.top-banner-text {
  flex: 1;
  min-width: 0;
  padding-right: 26px;
}

.top-banner-title {
  font-size: 15px;
  font-weight: 600;
  color: #282930;
  margin-bottom: 8px;
}

.top-banner-tips {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.top-banner-tips li {
  font-size: 14px;
  color: #666b75;
  line-height: 1.5;
  margin-bottom: 4px;
}

.top-banner-tips li:last-child {
  margin-bottom: 0;
}

.top-banner-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: #e8eaee;
  border-radius: 8px;
}

.notice-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url(../img/icon_basic@2x.png) center / contain no-repeat;
}

.notice-text {
  font-size: 13px;
  color: #666b75;
}

.top-banner-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  right: 20px;
  background: url(../img/back@2x.png) center / contain no-repeat;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-wrap {
  width:72px;
  height: 72px;
  margin-bottom: 20px;
  position: relative;
  background: url(../img/pic_logo@2x.png) center / contain no-repeat;
}

.app-name {
  font-size: 20px;
  font-weight: 600;
  color: #282930;
  margin-bottom: 6px;
  text-align: center;
}

.app-desc {
  font-size: 14px;
  color: #666b75;
  text-align: center;
  margin-bottom: 40px;
}

.btn-open {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 50px;
  background: #446efc;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-open:active {
  opacity: 0.85;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border: solid 1px #ececee;
  background-color: #fff;
  border-radius: 50px;
  background: #fff;
  color: #666b75;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}

.btn-download:active {
  opacity: 0.85;
}

.btn-download::after {
  margin-left: 4px;
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url(../img/icon_arrow@2x.png) center / contain no-repeat;
}

/* ========== Overlay ========== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
}

.overlay .logo-wrap {
  margin-bottom: 20px;
}

.overlay .app-name {
  color: #fff;
  margin-bottom: 20px;
}

.guide-card {
  background: #282930;
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  color: #fff;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.overlay.visible .guide-card {
  transform: translateY(0);
}

.guide-header {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.guide-info-icon {
  width: 20px;
  height: 20px;
  background: url(../img/ic-tips@2x.png) center / contain no-repeat;
  margin: 0 auto 10px;
}

.guide-title {
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
}

.guide-step {
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 20px;
  height: 20px;
  background: #3b6cf0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  color: #fff;
}

.step-text {
  font-size: 14px;
}
