/* 冬令营游戏专供 · 大厅样式 */
:root {
  --ink: #1e293b;
  --ink-soft: #64748b;
  --blue: #2563eb;
  --sky: #0ea5e9;
  --card-border: #e2e8f0;
  --bg-top: #eef6ff;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, #f8fafc 45%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── 飘雪（少量、缓慢、低透明度，仅装饰） ── */
.snow-field { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.snow {
  position: absolute; top: -5%;
  color: #93c5fd; opacity: .35;
  animation: fall linear infinite;
  user-select: none;
}
.snow.s1 { left: 6%;  font-size: 16px; animation-duration: 19s; }
.snow.s2 { left: 22%; font-size: 11px; animation-duration: 26s; animation-delay: -8s; }
.snow.s3 { left: 41%; font-size: 20px; animation-duration: 23s; animation-delay: -14s; }
.snow.s4 { left: 58%; font-size: 12px; animation-duration: 28s; animation-delay: -5s; }
.snow.s5 { left: 76%; font-size: 17px; animation-duration: 21s; animation-delay: -11s; }
.snow.s6 { left: 91%; font-size: 13px; animation-duration: 25s; animation-delay: -18s; }
@keyframes fall {
  0%   { transform: translateY(-8vh) rotate(0deg); }
  100% { transform: translateY(108vh) rotate(300deg); }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* ── 头部 ── */
.hero { position: relative; z-index: 1; text-align: center; padding: 52px 20px 34px; }
.hero-badge {
  display: inline-block;
  font-size: 13px; letter-spacing: 2px;
  color: var(--blue);
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #1d4ed8, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* ── 卡片网格 ── */
main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 8px 24px 56px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(30, 41, 59, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .14);
  outline: none;
}

.card-art {
  display: flex; align-items: center; justify-content: center;
  height: 118px;
  font-size: 52px;
}
.card-art svg { width: 74px; height: 74px; filter: drop-shadow(0 3px 8px rgba(30, 41, 59, .10)); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; }
.card-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; flex: 1; }

.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px; color: #475569;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 3px 9px;
}

.card-cta {
  margin-top: 4px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  display: flex; align-items: center; gap: 4px;
}
.card-cta .arr { transition: transform .18s ease; }
.card:hover .card-cta .arr { transform: translateX(4px); }

/* 占位卡（方案接入位） */
.card.ghost {
  border-style: dashed;
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
  align-items: center; justify-content: center;
  min-height: 260px;
  text-align: center;
  gap: 8px;
  padding: 24px;
}
.card.ghost:hover { transform: none; border-color: #bfdbfe; box-shadow: none; }
.ghost-icon { font-size: 40px; }
.ghost-title { font-size: 15px; font-weight: 600; color: #475569; }
.ghost-sub { font-size: 13px; color: #94a3b8; line-height: 1.6; }

/* ── 页脚 ── */
.footer { position: relative; z-index: 1; text-align: center; padding: 22px 16px 30px; color: #94a3b8; font-size: 12.5px; }

@media (max-width: 560px) {
  .hero { padding-top: 38px; }
  main { padding: 4px 16px 44px; }
  .grid { gap: 16px; }
}
