/* moxsh 官网·粉丝专区 —— 液态玻璃（liquid glass）主题 */
:root {
  --bg0: #0a0f1c;
  --bg1: #0f1a33;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #eaf0ff;
  --muted: #9fb0d0;
  --accent: #5b8cff;
  --accent2: #8f6bff;
  --ok: #35d07f;
  --warn: #ffcc66;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 15% -10%, #1a2b52 0%, transparent 60%),
              radial-gradient(1000px 700px at 110% 10%, #2a1c52 0%, transparent 55%),
              linear-gradient(160deg, var(--bg0), var(--bg1));
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 漂浮光斑（液态质感） */
.blob { position: fixed; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 0; pointer-events: none; }
.blob.b1 { width: 420px; height: 420px; background: #3a6bff; top: -80px; left: -60px; animation: drift 18s ease-in-out infinite; }
.blob.b2 { width: 380px; height: 380px; background: #8f6bff; bottom: -100px; right: -40px; animation: drift 22s ease-in-out infinite reverse; }
.blob.b3 { width: 300px; height: 300px; background: #16c3b0; top: 40%; left: 60%; opacity: 0.28; animation: drift 26s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.08); }
}

.wrap { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 28px 18px 80px; }

header.hero { text-align: center; padding: 36px 0 8px; }
.logo { font-size: 40px; font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(90deg, #fff, #b9ccff 60%, #8f6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { color: var(--muted); margin-top: 6px; }

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: var(--shadow);
}
.card { padding: 22px; margin: 16px 0; }
.card h2, .card h3 { margin: 0 0 8px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 14px; border: 1px solid var(--stroke);
  background: var(--glass-strong); color: var(--text); font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s;
  backdrop-filter: blur(8px);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(91, 140, 255, 0.25); }
.btn:active { transform: translateY(0); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
input[type="text"] {
  flex: 1 1 240px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.25); color: var(--text); font-size: 15px; outline: none;
}
input[type="text"]:focus { border-color: var(--accent); }

.me { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--stroke); }
.me-name { font-weight: 700; font-size: 18px; }
.badge { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge-fan { background: rgba(53, 208, 127, 0.16); color: var(--ok); border: 1px solid rgba(53, 208, 127, 0.4); }
.badge-free { background: rgba(255, 204, 102, 0.14); color: var(--warn); border: 1px solid rgba(255, 204, 102, 0.35); }

.msg { margin-top: 10px; font-size: 14px; min-height: 18px; color: var(--ok); }
.msg:empty { min-height: 0; }

.code-out { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.code-out code {
  word-break: break-all; padding: 12px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); border: 1px dashed var(--stroke); font-size: 13px; color: #cfe0ff;
}

.section-title { margin: 26px 4px 4px; font-size: 15px; color: var(--muted); font-weight: 700; letter-spacing: 0.4px; }
.notice { padding: 10px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--stroke); margin: 8px 0; font-size: 14px; }
.notice.warn { border-color: rgba(255, 204, 102, 0.4); }

#sponsor-total { font-size: 22px; font-weight: 800; margin: 4px 0 10px; }
#sponsor-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor-chip { padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--stroke); font-size: 13px; }

#tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tier { padding: 14px; font-size: 14px; }

footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; }

@media (max-width: 520px) {
  .logo { font-size: 32px; }
  .card { padding: 18px; }
}
