/* ============================================
   FIFO · 正在开发中 敬请期待
   占位站点样式（自适应浅色 / 深色主题）
   ============================================ */

:root {
  --bg: #0e1116;
  --bg-soft: #151a22;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #eef2f8;
  --text-dim: #98a3b3;
  --accent: #5b8cff;
  --accent-2: #8b6cff;
  --glow: rgba(91, 140, 255, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fb;
    --bg-soft: #ffffff;
    --card: rgba(255, 255, 255, 0.72);
    --card-border: rgba(16, 24, 40, 0.08);
    --text: #131824;
    --text-dim: #5d6779;
    --accent: #2f6bff;
    --accent-2: #7a4dff;
    --glow: rgba(47, 107, 255, 0.16);
    --shadow: 0 24px 60px rgba(21, 34, 66, 0.12);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 背景光晕 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.b1 {
  width: 46vw; height: 46vw;
  top: -12vw; left: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 68%);
  animation: drift 18s ease-in-out infinite;
}

.b2 {
  width: 40vw; height: 40vw;
  bottom: -14vw; right: -6vw;
  background: radial-gradient(circle at 60% 40%, var(--accent-2), transparent 68%);
  animation: drift 22s ease-in-out infinite reverse;
}

.b3 {
  width: 30vw; height: 30vw;
  top: 45%; left: 52%;
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 70%);
  opacity: 0.28;
  animation: drift 26s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
  66%      { transform: translate3d(-3vw, -2vw, 0) scale(0.94); }
}

/* ---------- 主舞台 ---------- */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 520px;
  padding: 48px 40px 32px;
  text-align: center;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- FIFO 队列图标 ---------- */
.mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px var(--glow);
}

.queue {
  display: flex;
  gap: 5px;
  align-items: flex-end;
}

.queue i {
  display: block;
  width: 9px;
  border-radius: 3px;
  background: #fff;
  opacity: 0.92;
}

.queue i:nth-child(1) { height: 16px; animation: shift 2.2s ease-in-out infinite 0.00s; }
.queue i:nth-child(2) { height: 24px; animation: shift 2.2s ease-in-out infinite 0.18s; }
.queue i:nth-child(3) { height: 32px; animation: shift 2.2s ease-in-out infinite 0.36s; }
.queue i:nth-child(4) { height: 40px; animation: shift 2.2s ease-in-out infinite 0.54s; }

@keyframes shift {
  0%, 100% { transform: translateY(0);    opacity: 0.55; }
  40%      { transform: translateY(-7px); opacity: 1; }
}

/* ---------- 文字 ---------- */
.wordmark {
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.divider {
  width: 46px;
  height: 2px;
  margin: 26px auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.headline {
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sub {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--text-dim);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

/* ---------- 状态条 ---------- */
.pulse {
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(127, 140, 170, 0.10);
  border: 1px solid var(--card-border);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: beat 1.9s ease-out infinite;
}

@keyframes beat {
  0%   { box-shadow: 0 0 0 0 var(--glow); }
  70%  { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}

.host {
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  opacity: 0.75;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ---------- 响应式 ---------- */
@media (max-width: 480px) {
  .card { padding: 38px 24px 26px; border-radius: 20px; }
  .wordmark { font-size: 34px; }
  .headline { font-size: 22px; }
  .sub { font-size: 14px; letter-spacing: 0.26em; text-indent: 0.26em; }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
