*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.5rem;
  color: #333;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eef8 40%, #f5f7fb 100%);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

header {
  width: 100%;
  padding: 5rem 2rem 2rem;
}

.header {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 1.2rem 1rem 0;
}

.app-logo {
  width: 12rem;
  height: 12rem;
  border-radius: 30%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border: 2px solid #edf4ff;
  box-shadow: 0 10px 28px rgba(60, 106, 220, .18);
}

.header h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 0;
}

.site-desc {
  font-size: 1.3rem;
  color: #5870b8;
  margin-bottom: .6rem;
  line-height: 1.5;
}

.header-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  max-width: 52rem;
  margin: .6rem auto 1.2rem;
  padding: .8rem 1.2rem;
  border: 1px solid rgba(82, 168, 255, .35);
  background: linear-gradient(180deg, #f6fbff, #eef6ff);
  border-radius: 999px;
  color: #2a5ea8;
  box-shadow: 0 10px 24px rgba(63, 126, 247, .12);
  overflow: hidden;
}

.notice-icon { font-size: 1.4rem; flex-shrink: 0; }

.notice-text {
  font-size: 1.3rem;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.invite-line {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 1rem;
}

.invite-code { color: #fd5a2c; }

#copyBtn {
  display: inline-block;
  padding: .1rem .7rem;
  margin-left: .4rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 156, 255, .45);
  background: linear-gradient(135deg, #eef5ff, #e9f4ff);
  color: #2f63be;
  cursor: pointer;
  transition: all .2s ease;
}

#copyBtn:active {
  background: linear-gradient(135deg, #3b82f6, #6758ff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(59, 130, 246, .32);
}

.header-btn ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 0;
}

.header-btn li {
  width: 50%;
  padding: 0 .3rem;
  margin-bottom: 1rem;
}

.header-btn li a {
  display: block;
  width: calc(100% - 1rem);
  max-width: 25rem;
  margin: 0 auto;
  border: 1px solid #dfeaff;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 44, 120, .12);
}

.btn-top {
  display: flex;
  height: 5.2rem;
  padding: 0 1.2rem;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.btn-top svg { width: 2.2rem; height: 2.2rem; fill: #fff; flex-shrink: 0; }

.btn-bottom {
  display: block;
  height: 3.2rem;
  line-height: 3.2rem;
  font-size: 1.3rem;
  text-align: center;
  color: #5870b8;
  background: linear-gradient(180deg, #f7faff, #edf3ff);
  border-top: 1px solid #dbe7ff;
  font-weight: 600;
}

.header-btn li:nth-child(1) .btn-top { background: linear-gradient(135deg, #2bb7ff, #4d6dff); }
.header-btn li:nth-child(2) .btn-top { background: linear-gradient(135deg, #3b82f6, #6758ff); }
.header-btn li:nth-child(3) .btn-top { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.header-btn li:nth-child(4) .btn-top { background: linear-gradient(135deg, #4facfe, #5f72ff); }

main {
  max-width: 750px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}

.content-tips {
  display: grid;
  gap: 1rem;
}

.tip-card {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(35, 56, 160, .12);
  background: #fff;
}

.tip-card img {
  width: 100%;
  height: auto;
  display: block;
}

.drop { width: 100%; }

footer {
  margin-top: 2px;
  color: #9d9292;
  text-align: center;
  padding-top: 10px;
  font-size: 12px;
}

#msgdiv {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#msgdiv img { width: 100%; }

.toast {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .75);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 1rem;
  font-size: 1.4rem;
  z-index: 20000;
}

.toast.show { display: block; }

.seo-content {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
}

.seo-content section {
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e3ebff;
  border-radius: 1.2rem;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 8px 20px rgba(35, 56, 160, .06);
}

.seo-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #2a5ea8;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.seo-content p {
  font-size: 1.35rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: .8rem;
}

.seo-content p:last-child { margin-bottom: 0; }

.seo-content ul {
  list-style: disc;
  padding-left: 1.8rem;
  margin-top: .6rem;
}

.seo-content li {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: .4rem;
}

.seo-content strong { color: #ea580c; font-weight: 700; }
