/* ============ 放学后的独立游戏站 · 导航页样式 ============ */
* { margin:0; padding:0; box-sizing:border-box; }
html,body { min-height:100%; font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; }
body {
  background:linear-gradient(180deg,#ffe3f0 0%,#ffe9d9 45%,#ffd9c4 100%);
  color:#5b4468; overflow-x:hidden;
}

/* ---------- 云朵装饰 ---------- */
.cloud { position:fixed; background:#fff; border-radius:50%; opacity:.75; pointer-events:none; z-index:0; }
.c1 { width:120px; height:44px; top:8%; left:6%; box-shadow:28px 12px 0 6px #fff, -22px 10px 0 4px #fff; animation:drift 40s linear infinite; }
.c2 { width:90px; height:34px; top:18%; right:10%; box-shadow:22px 10px 0 5px #fff, -16px 8px 0 3px #fff; animation:drift 55s linear infinite reverse; }
.c3 { width:70px; height:26px; top:40%; left:16%; box-shadow:18px 8px 0 4px #fff; animation:drift 65s linear infinite; }
@keyframes drift { from { transform:translateX(-10vw);} to { transform:translateX(110vw);} }

/* ---------- 顶部导航 ---------- */
.site-header {
  position:sticky; top:0; z-index:10;
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 24px; background:rgba(255,252,246,.88); backdrop-filter:blur(6px);
  border-bottom:3px solid #ffd3e6;
}
.brand { font-weight:800; color:#ff6fa8; font-size:17px; letter-spacing:1px; text-decoration:none; }
.brand:hover { color:#f05d9a; }
.site-nav { display:flex; gap:18px; }
.site-nav a { color:#8a719c; text-decoration:none; font-size:14px; font-weight:600; padding:4px 10px; border-radius:999px; transition:.15s; }
.site-nav a:hover { background:#ffe3f0; color:#ff6fa8; }

/* ---------- 主区域 ---------- */
.wrap { max-width:860px; margin:0 auto; padding:40px 20px 40px; position:relative; z-index:1; }
.hero { text-align:center; margin-bottom:26px; }
.hero h1 {
  font-size:clamp(28px,5vw,42px); color:#ff6fa8; letter-spacing:4px;
  text-shadow:0 0 18px rgba(255,170,220,.9), 0 3px 0 #fff;
}
.hero .sub { color:#a78bb5; font-size:14px; margin-top:8px; }

/* ---------- 游戏卡片 ---------- */
.game-card {
  background:rgba(255,252,246,.95); border:3px solid #ffb7d5; border-radius:26px;
  padding:26px 28px 22px; box-shadow:0 12px 40px rgba(200,80,140,.3), inset 0 0 0 3px #fff;
  position:relative; overflow:hidden;
}
.game-card::before {
  content:""; position:absolute; top:-60px; right:-60px; width:180px; height:180px;
  background:radial-gradient(circle, rgba(255,190,230,.5), transparent 70%);
}
.gc-head { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.gc-icon {
  width:92px; height:92px; border-radius:22px; font-size:48px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg,#ffe08a,#ffb84d);
  box-shadow:0 5px 0 #e08f2a, 0 8px 18px rgba(224,143,42,.4);
  border:3px solid #fff;
}
.gc-title h2 { font-size:24px; color:#ff6fa8; letter-spacing:2px; }
.gc-title .tag { font-size:13px; color:#a56bf0; font-weight:700; margin-top:4px; }
.gc-desc { font-size:14px; line-height:1.9; color:#6a5480; margin:16px 0 6px; }

/* ---------- 特色标签 ---------- */
.chips { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
.chip {
  font-size:12px; font-weight:700; padding:4px 12px; border-radius:999px;
  background:#fff0f8; border:2px solid #ffd3e6; color:#e060a0;
}
.chip.p { background:#f3e8ff; border-color:#cd9cff; color:#8a4bd0; }
.chip.g { background:#fff7e6; border-color:#ffe08a; color:#c07a10; }
.chip.b { background:#e8f6ff; border-color:#9fe8ff; color:#1f8fc4; }

/* ---------- 按钮 ---------- */
.btns { margin-top:20px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.btn-go {
  display:inline-block; padding:15px 42px; border-radius:999px; cursor:pointer;
  font-size:20px; font-weight:800; letter-spacing:3px; text-decoration:none;
  color:#fff; background:linear-gradient(180deg,#ff9ecb,#ff7ab5);
  box-shadow:0 5px 0 #d85f97, 0 10px 22px rgba(216,95,151,.45);
  transition:transform .1s; border:3px solid #fff;
}
.btn-go:hover { transform:translateY(-3px); }
.btn-go:active { transform:translateY(2px); box-shadow:0 1px 0 #d85f97; }
.btn-cheat {
  display:inline-block; padding:10px 20px; border-radius:999px; cursor:pointer;
  font-size:13px; font-weight:700; text-decoration:none;
  color:#fff; background:linear-gradient(180deg,#ff9d9d,#f05d5d);
  box-shadow:0 4px 0 #c83f3f; border:2px solid #fff;
}
.btn-cheat:hover { transform:translateY(-2px); }

/* ---------- 信息区块 ---------- */
.info-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-top:22px; }
.info-box {
  background:rgba(255,252,246,.92); border:3px solid #ffd3e6; border-radius:18px;
  padding:16px 18px; font-size:13px; line-height:1.9;
}
.info-box h3 { font-size:14px; color:#ff6fa8; letter-spacing:1px; margin-bottom:6px; }
.info-box code {
  background:#fff0f8; border:1.5px solid #ffd3e6; border-radius:6px; padding:1px 7px;
  font-size:12px; color:#c05090;
}

/* ---------- 页脚 ---------- */
.site-footer { text-align:center; padding:18px; font-size:11px; color:#c9b7d4; }

/* ---------- 404 页面 ---------- */
.notfound { text-align:center; padding:80px 20px; }
.notfound h1 { font-size:80px; color:#ffb7d5; text-shadow:0 0 24px rgba(255,170,220,.8); }
.notfound p { color:#8a719c; margin:10px 0 24px; font-size:15px; }

/* ---------- 响应式 ---------- */
@media (max-width:600px) {
  .site-header { padding:10px 14px; }
  .brand { font-size:15px; }
  .game-card { padding:20px 18px; }
  .gc-icon { width:72px; height:72px; font-size:38px; }
  .btn-go { padding:13px 30px; font-size:17px; }
}
