/* name.fanda.cn —— 临时占位页样式 */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:        #060810;
  --text:      #EEF2F8;
  --muted:     #8B95A7;
  --accent:    #FFC94A;
  --panel:     rgba(255, 255, 255, .045);
  --line:      rgba(255, 255, 255, .10);
  --radius:    18px;
}

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 背景光晕 ---------- */
.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 50% 4%, rgba(255, 201, 74, .13), transparent 72%),
    radial-gradient(620px 420px at 84% 98%, rgba(94, 138, 255, .10), transparent 70%),
    radial-gradient(520px 360px at 10% 92%, rgba(255, 176, 32, .07), transparent 72%);
}

.cs-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 74%);
}

/* ---------- 内容 ---------- */
.cs-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
}

.cs-badge {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 16px 7px 20px;
  border: 1px solid rgba(255, 201, 74, .30);
  border-radius: 999px;
  background: rgba(255, 201, 74, .07);
  margin-bottom: 30px;
}

.cs-title {
  margin: 0;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9D2E2 62%, #8C99AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.cs-dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-left: 10px;
  transform: translateY(-5px);
}
.cs-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .22;
  animation: cs-blink 1.5s ease-in-out infinite;
}
.cs-dots i:nth-child(2) { animation-delay: .28s; }
.cs-dots i:nth-child(3) { animation-delay: .56s; }

@keyframes cs-blink {
  0%, 100% { opacity: .18; transform: translateY(0); }
  40%      { opacity: 1;   transform: translateY(-3px); }
}

.cs-sub {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: #A8B3C4;
  letter-spacing: .03em;
}

/* ---------- 联系卡片 ---------- */
.contact-card {
  margin: 38px auto 0;
  width: 100%;
  max-width: 560px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
}
.contact-card.has-qr { max-width: 600px; }

.contact-main { flex: 1 1 auto; min-width: 0; max-width: 100%; }

.contact-label {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

/* 三列共享列宽：标签 / 值 / 复制按钮，两行按钮自动左对齐 */
.contact-rows {
  display: grid;
  grid-template-columns: max-content minmax(0, max-content) max-content;
  justify-content: start;
  align-items: center;
  gap: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
  min-width: 0;
  max-width: 100%;
}

.ck {
  min-width: 32px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

.cv {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.cv a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .2);
  padding-bottom: 1px;
  transition: .2s ease;
}
.cv a:hover { color: var(--accent); border-bottom-color: rgba(255, 201, 74, .55); }

.copy-btn {
  flex: 0 0 auto;
  font: inherit;
  font-size: 12px;
  color: var(--accent);
  background: rgba(255, 201, 74, .08);
  border: 1px solid rgba(255, 201, 74, .28);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: .2s ease;
}
.copy-btn:hover { background: rgba(255, 201, 74, .16); }
.copy-btn.done {
  color: #7BE0A6;
  border-color: rgba(123, 224, 166, .4);
  background: rgba(123, 224, 166, .1);
}

/* 微信二维码 */
.qr-box {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-box img {
  width: 108px;
  height: 108px;
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}
.qr-tip {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ---------- 手机端 ---------- */
@media (max-width: 620px) {
  .cs-main { padding: 40px 20px; }
  .cs-badge { margin-bottom: 24px; font-size: 10px; letter-spacing: .28em; }
  .cs-dots { margin-left: 6px; gap: 6px; }
  .cs-dots i { width: 7px; height: 7px; }
  .cs-sub { margin-top: 20px; font-size: 14px; }

  .contact-card {
    margin-top: 30px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .qr-box { align-self: flex-start; }
  .ck { min-width: 30px; }
  .copy-btn { padding: 5px 10px; font-size: 11.5px; }
}

/* ---------- 页脚（备案号 / 站点声明） ----------
   主区是 100vh 居中布局，页脚固定在最底部才看得到；
   渐变背景保证文字压在任何内容上都可读，pointer-events:none 不挡点击 */
.cs-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  background: linear-gradient(to top, rgba(6, 8, 16, .94) 30%, rgba(6, 8, 16, 0));
  pointer-events: none;
}
@media (max-width: 560px) {
  .cs-foot { font-size: 13px; padding: 12px 20px calc(10px + env(safe-area-inset-bottom, 0px)); }
}
