/* ===== 站点页脚 + 子页面（关于/加入/联系/协议/隐私）统一样式 ===== */

/* ---------- 站点页脚（首页底部，模仿游戏官网页脚格式） ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.4) 0%, #FFEEF2 100%);
  border-top: 1px solid rgba(255, 122, 155, 0.18);
  padding: 64px 24px 28px;
  margin-top: 0;
}

.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer-brand {
  flex: 1 1 260px;
  min-width: 220px;
}

.site-footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #2b2730;
}

.site-footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.site-footer-brand p {
  margin: 14px 0 20px;
  color: #8a838f;
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.site-footer-brand .footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FF94AD, #FF7A9B);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 122, 155, 0.32);
  transition: transform .25s ease, box-shadow .25s ease;
}

.site-footer-brand .footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 155, 0.42);
}

.site-footer-cols {
  display: flex;
  gap: 56px;
  flex: 2 1 460px;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #2b2730;
  letter-spacing: .5px;
}

.footer-col a {
  display: block;
  margin: 11px 0;
  color: #8a838f;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
  color: #FF7A9B;
  transform: translateX(3px);
}

.site-footer-bottom {
  max-width: 1080px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 122, 155, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #a89fa e;
  color: #a89fae;
  font-size: 13px;
}

.site-footer-bottom .footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-bottom a {
  color: #a89fae;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer-bottom a:hover {
  color: #FF7A9B;
}

/* ---------- 子页面（关于/加入/联系/协议/隐私） ---------- */
body.subpage {
  background: linear-gradient(135deg, #FFFBF7 0%, #FFF4EC 50%, #FFEEF2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  color: #3a3540;
}

.subpage-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255, 251, 247, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 24px rgba(61, 58, 68, 0.06);
}

.subpage-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #2b2730;
  text-decoration: none;
}

.subpage-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.subpage-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.subpage-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: #6b6470;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.subpage-nav a:hover {
  color: #FF7A9B;
  background: rgba(255, 122, 155, 0.08);
}

.subpage-nav a.active {
  color: #FF7A9B;
  background: rgba(255, 122, 155, 0.12);
}

.subpage-nav a.subpage-enter {
  color: #fff;
  background: linear-gradient(135deg, #FF94AD, #FF7A9B);
  box-shadow: 0 6px 16px rgba(255, 122, 155, 0.3);
}

.subpage-nav a.subpage-enter:hover {
  color: #fff;
  transform: translateY(-1px);
}

.subpage-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.subpage-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 122, 155, 0.12);
  border-radius: 28px;
  padding: 48px 52px;
  box-shadow: 0 20px 60px rgba(255, 122, 155, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.subpage-card > h1 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF7A9B 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subpage-updated {
  margin: 0 0 28px;
  color: #b0a7b6;
  font-size: 13px;
}

.subpage-card h2 {
  margin: 34px 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #2b2730;
}

.subpage-card h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 3px;
  background: linear-gradient(135deg, #FF94AD, #FF7A9B);
}

.subpage-card p {
  margin: 12px 0;
  color: #5a5460;
  font-size: 15px;
  line-height: 1.85;
}

.subpage-card ul {
  margin: 12px 0;
  padding-left: 22px;
}

.subpage-card li {
  margin: 9px 0;
  color: #5a5460;
  font-size: 15px;
  line-height: 1.8;
}

.subpage-card a.inline {
  color: #FF7A9B;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 155, 0.4);
}

.subpage-card a.inline:hover {
  border-bottom-color: #FF7A9B;
}

.subpage-card .highlight-box {
  margin: 20px 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 148, 173, 0.1), rgba(255, 179, 71, 0.08));
  border: 1px solid rgba(255, 122, 155, 0.18);
  color: #6b6470;
  font-size: 14px;
  line-height: 1.8;
}

.subpage-card .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.subpage-card .contact-item {
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 238, 242, 0.5));
  border: 1px solid rgba(255, 122, 155, 0.12);
}

.subpage-card .contact-item .ci-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF94AD, #FF7A9B);
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.subpage-card .contact-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #2b2730;
}

.subpage-card .contact-item p {
  margin: 0;
  font-size: 14px;
  color: #8a838f;
}

.subpage-footer {
  text-align: center;
  padding: 28px 24px 40px;
  color: #b0a7b6;
  font-size: 13px;
  line-height: 1.9;
}

.subpage-footer a {
  color: #b0a7b6;
  text-decoration: none;
}

.subpage-footer a:hover {
  color: #FF7A9B;
}

@media (max-width: 640px) {
  .subpage-header { padding: 12px 18px; }
  .subpage-nav a { padding: 7px 10px; font-size: 13px; }
  .subpage-card { padding: 32px 24px; border-radius: 22px; }
  .subpage-card > h1 { font-size: 24px; }
  .site-footer-inner { gap: 32px; }
  .site-footer-cols { gap: 36px; }
}
