/* 基础与性能：系统字体栈，减少请求 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  background: linear-gradient(
    160deg,
    #8bc34a 0%,
    #cddc39 18%,
    #ffc107 35%,
    #ff7043 55%,
    #ec407a 75%,
    #ab47bc 100%
  );
  background-attachment: fixed;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 12px 28px;
}

/* 页头 */
.site-header {
  text-align: center;
  padding: 8px 0 14px;
}

.site-title {
  margin: 0 0 10px;
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

.bookmark-tip {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  font-size: 13px;
  color: #e53935;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 卡片 */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.card-warning {
  border: 2px solid #e53935;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #c62828;
}

.card-title--center {
  text-align: center;
}

.warn-line {
  margin: 0 0 8px;
  font-size: 14px;
  color: #424242;
  text-align: center;
}

.warn-line:last-child {
  margin-bottom: 0;
}

.status-notice {
  margin: 0 0 14px;
  padding: 0 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #d32f2f;
}

.section-heading {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #212121;
}

.section-heading--center {
  text-align: center;
}

.update-date {
  margin: 0 0 12px;
  font-size: 14px;
  text-align: center;
}

.highlight-red {
  margin: 8px 0;
  color: #d32f2f;
  font-weight: 600;
  font-size: 14px;
}

.sub-block-title {
  margin-top: 16px;
}

.text-center {
  text-align: center;
}

/* 账号列表 */
.account-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-item {
  margin-bottom: 10px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px dashed #e0e0e0;
  word-break: break-all;
}

.account-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.account-list--muted .account-item {
  color: #616161;
}

.account-label {
  color: #757575;
}

.account-item code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #424242;
  background: transparent;
}

/* 购买按钮 */
.btn-buy {
  display: inline-block;
  min-width: 200px;
  padding: 12px 32px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ff4081 0%, #f50057 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(245, 0, 87, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 0, 87, 0.4);
}

.btn-buy:active {
  transform: translateY(0);
}

.purchase-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #757575;
}

/* 教程 */
.icon-pencil {
  margin-right: 4px;
  color: #ff9800;
}

.tutorial-steps {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  font-size: 14px;
  color: #616161;
}

.tutorial-steps li {
  margin-bottom: 8px;
}

.tutorial-figure {
  margin: 0;
}

.tutorial-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
}

.rules-list,
.body-text {
  margin: 0;
  font-size: 14px;
  color: #616161;
}

.rules-list {
  padding-left: 1.25rem;
}

.rules-list li {
  margin-bottom: 8px;
}

.body-text {
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  text-align: center;
  padding: 16px 8px 8px;
  color: #fff;
  font-size: 12px;
}

.copyright {
  margin: 0 0 10px;
  opacity: 0.95;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 481px) {
  .page {
    max-width: 680px;
    padding: 20px 20px 32px;
  }

  .site-title {
    font-size: 1.85rem;
  }

  .card {
    padding: 20px 22px;
  }
}
