/* 兼容版：避免某些编辑器对 CSS 变量误报 */
* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: rgba(255,255,255,0.90);
  overflow: hidden;
  background: #000;
}

.bg{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: background-image 0.35s ease, opacity 0.35s ease;
}

.overlay{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(60% 50% at 60% 40%, rgba(0,0,0,0.05), rgba(0,0,0,0.55)),
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.62));
  pointer-events: none;
}

.wrap{
  position: relative;
  height: 100%;
  padding: env(safe-area-inset-top) 18px env(safe-area-inset-bottom) 18px;
  display: flex;
  flex-direction: column;
}

.topbar{
  height: 74px;
  margin-top: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
}

.hero{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.hero-text{
  text-align: center;
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

.hero-sub{
  font-size: 22px;
  letter-spacing: 1px;
  color: rgba(208,178,120,0.60);
  margin-bottom: 10px;
}

.hero-title{
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.88);
}

.hero-title2{
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 8px;
  color: rgba(255,255,255,0.55);
}

.actions{ padding-bottom: 10px; }

.btn-row{
  display: flex;
  gap: 14px;
}

.btn{
  flex: 1;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 16px 10px 14px;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: transform 0.08s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active{ transform: scale(0.98); }

.btn-cn{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(208,178,120,0.95);
  line-height: 1.1;
}

.btn-en{
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 1px;
  margin-top: 6px;
}

.btn-fast{ background: rgba(255,255,255,0.12); }
.btn-backup{ background: rgba(255,255,255,0.08); opacity: 0.92; }

.tip{
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(140,110,55,0.25);
  border: 1px solid rgba(208,178,120,0.22);
  color: rgba(208,178,120,0.95);
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.tip2{
  margin-top: 12px;
  text-align: center;
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

@media (max-width: 380px){
  .hero-title, .hero-title2{ font-size: 38px; }
  .btn-cn{ font-size: 24px; }
}

@media (min-width: 520px){
  .wrap{ max-width: 520px; margin: 0 auto; }
}