/* ====== 基础重置 ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ====== 双端背景图配置 ====== */
body.is-pc {
  background-image: url(../imgs/pcbg.jpg); 
}

body.is-mobile {
  background-image: url(../imgs/bg.png);   
}

/* ====== 布局组件 ====== */
.main {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center;
  background: rgba(0, 0, 0, 0.45); 
}

/* PC端顶部Logo */
.logo {
  position: absolute;
  top: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* PC端底部黑色条 */
.corp {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 25px 15px;
}

/* ====== 内容卡片 ====== */
.content {
  width: 400px;
  min-height: auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 10;
}

/* 彻底隐藏小图标规则 */
.corp-h5 {
  display: none !important;
}

.circular-chart { width: 180px; height: 180px; margin-bottom: 15px; }
.circle-bg { fill: none; stroke: #eee; stroke-width: 3.8; }
.circle {
  fill: none;
  stroke: #02B95E;
  stroke-width: 3.8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dasharray 0.6s ease;
}
.percentage { fill: #02B95E; font-size: 0.5em; text-anchor: middle; font-weight: bold; }

.continue_btn { width: 100%; margin-top: 20px; }
.continue_btn a {
  display: block; height: 50px; border-radius: 6px; margin-bottom: 30px;
  background: url(../imgs/continue_btn.png) no-repeat center/cover;
}

.help { color: #FF1919; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.tips { font-size: 16px; color: #909090; margin-bottom: 20px; text-align: center; }

.domains { width: 100%; }
.domains a { display: block; height: 50px; margin-bottom: 12px; background-size: 100% 100%; }
.ios { background-image: url(../imgs/ios_btn.png); }
.android { background-image: url(../imgs/android_btn.png); margin-bottom: 0 !important; }

/* ====== 移动端适配规则 ====== */
body.is-mobile .logo,
body.is-mobile .corp { 
  display: none !important; 
}

body.is-mobile .main { 
  justify-content: center; 
}

body.is-mobile .content {
  width: 88%;
  padding: 35px 25px;
  margin: 0 auto;
}

body.is-mobile .circular-chart { width: 40vw; height: 40vw; }
body.is-mobile .continue_btn a { height: 12.5vw; margin-bottom: 8vw; }
body.is-mobile .domains a { height: 12.5vw; margin-bottom: 4vw; }