/* 91免费版九幺 - 软件下载站 风格：清爽可信、下载中心 */
:root {
  --bg: #f0fdfa;
  --card: #fff;
  --text: #134e4a;
  --text-muted: #0f766e;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --border: #99f6e4;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }

header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.logo { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 1.1rem; }
.logo:hover { color: var(--accent-hover); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--accent); }

main { max-width: var(--max-w); margin: 0 auto; padding: 1rem; }

.hero {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.hero h1 { font-size: clamp(1.1rem, 4vw, 1.4rem); color: var(--text); margin-bottom: 0.5rem; font-weight: 600; }
.hero .tagline { color: var(--text-muted); font-size: 0.95rem; }

.intro { margin-bottom: 2rem; }
.intro h2 { font-size: 1.15rem; color: var(--text); margin-bottom: 0.75rem; border-left: 4px solid var(--accent); padding-left: 0.75rem; }
.intro p { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-muted); }

.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.section-head h2 { font-size: 1.1rem; color: var(--text); }
.section-head .more { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.section-head .more:hover { text-decoration: underline; }

/* 软件卡片网格 */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.app-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.app-card:hover { box-shadow: 0 6px 20px rgba(13, 148, 136, 0.15); transform: translateY(-2px); }
.app-card a { text-decoration: none; color: inherit; display: block; }
.app-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.app-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.app-card .thumb .platform { position: absolute; top: 0.5rem; right: 0.5rem; font-size: 0.7rem; background: var(--accent); color: #fff; padding: 0.2rem 0.5rem; border-radius: 6px; }
.app-card .body { padding: 1rem; }
.app-card .t { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--text); }
.app-card .m { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.app-card .btn { display: inline-block; background: var(--accent); color: #fff; padding: 0.4rem 0.9rem; border-radius: 8px; font-size: 0.85rem; margin-top: 0.25rem; }
.app-card .btn:hover { background: var(--accent-hover); }
.app-card .badge { font-size: 0.7rem; color: var(--accent); margin-left: 0.35rem; }

/* 列表页标题区 */
.page-title { margin-bottom: 1.25rem; }
.page-title h1 { font-size: 1.25rem; color: var(--text); margin-bottom: 0.25rem; }
.page-title p { font-size: 0.9rem; color: var(--text-muted); }

/* 内容页 */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--text); }
.article .meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.article .content p { margin-bottom: 0.85rem; font-size: 0.95rem; color: var(--text-muted); }
.article .content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; border: 1px solid var(--border); }
.article .back { display: inline-block; margin-top: 1.5rem; color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.article .back:hover { text-decoration: underline; }

footer { max-width: var(--max-w); margin: 2rem auto 0; padding: 1rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .hero { padding: 1.5rem 1rem; }
  .app-grid { grid-template-columns: 1fr; }
}
