:root{
  --text:#eaf4ff;
  --muted:#8ba6c0;
  --line:rgba(255,255,255,.1);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  min-height:100%;
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  background:
    radial-gradient(900px 500px at 15% -5%, #17304d 0%, rgba(23,48,77,0) 60%),
    radial-gradient(700px 420px at 90% 8%, #2a1a4a 0%, rgba(42,26,74,0) 55%),
    #05070f;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:18px;
  overscroll-behavior:none;
  -webkit-tap-highlight-color:transparent;
}
.hero{padding:6px 2px 0}
.hero h1{
  margin:0;font-size:26px;letter-spacing:.12em;
  background:linear-gradient(90deg,#8fe8ff,#c9a0ff 70%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  font-weight:800;
}
.hero p{margin:6px 0 0;color:var(--muted);font-size:13px;letter-spacing:.04em}

.grid{display:grid;grid-template-columns:1fr;gap:12px;flex:1;align-content:start}
.card{
  position:relative;display:flex;align-items:center;gap:14px;
  padding:16px;border-radius:18px;text-decoration:none;color:inherit;
  background:linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  overflow:hidden;
  transition:transform .12s, border-color .15s;
  min-height:92px;
}
.card::after{
  content:"";position:absolute;inset:-40% auto auto -20%;
  width:120px;height:120px;border-radius:50%;
  filter:blur(30px);opacity:.35;pointer-events:none;
}
.card:active{transform:scale(.985)}
.icon{
  flex:0 0 auto;width:56px;height:56px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.12);
}
.meta{flex:1;min-width:0}
.meta h2{margin:0 0 4px;font-size:18px;letter-spacing:.06em}
.meta p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.go{
  flex:0 0 auto;font-size:13px;color:#fff;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);
  padding:7px 11px;border-radius:999px;white-space:nowrap;
}

.c-tank{border-color:rgba(126,217,87,.35)}
.c-tank::after{background:#4f9f2e}
.c-plane{border-color:rgba(111,227,255,.35)}
.c-plane::after{background:#2f8fd0}
.c-3d{border-color:rgba(201,160,255,.35)}
.c-3d::after{background:#7a4fd0}
.c-idiom{border-color:rgba(255,205,120,.35)}
.c-idiom::after{background:#b23a2e}
.c-idiom .meta h2{font-family:"Kaiti SC","STKaiti",KaiTi,serif}

footer{text-align:center;padding-bottom:4px}
footer a{color:#6f8aa6;font-size:12px;text-decoration:none;border-bottom:1px dashed rgba(111,138,166,.5);padding-bottom:2px}

@media (min-width:520px){
  .grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:30px}
}
@media (max-height:520px){
  .hero h1{font-size:20px}
  .hero p{display:none}
  .card{min-height:74px;padding:12px}
  .icon{width:46px;height:46px;font-size:22px}
}
