/* ============================================================
   Z10游戏 官网 · 共享样式（清爽浅色版）
   风格：浅色、朴实、真诚 —— 一个认真做工具的小团队主页
   排版：标准网页布局（flex/grid），禁止绝对定位
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --web-bg: #f6f5f2;
  --web-surface: #f0ede7;
  --web-card: #ffffff;
  --web-card-hover: #fffaf2;
  --web-border: #e7e3dc;
  --web-text: #211f1b;
  --web-text-80: #4a463f;
  --web-text-60: #6c675e;
  --web-text-40: #9b958b;
  --web-accent: #f08019;
  --web-accent-strong: #d96a06;
  --web-accent-soft: #fff1e3;
  --web-danger: #d6453b;
  --web-success: #5a9216;
  --web-success-soft: #eef6e2;
  --web-radius: 10px;
  --web-radius-sm: 6px;
  --web-max: 1180px;
  --web-shadow: 0 1px 2px rgba(33,31,27,0.05), 0 8px 20px rgba(33,31,27,0.05);
}

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

html, body {
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--web-bg);
  color: var(--web-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 顶部导航 */
.web-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,245,242,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--web-border);
}
.web-header-inner {
  max-width: var(--web-max); margin: 0 auto;
  height: 62px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.web-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; letter-spacing: -0.3px; color: var(--web-text);
}
.web-logo img { width: 30px; height: 30px; border-radius: 8px; }
.web-nav { display: flex; align-items: center; gap: 28px; }
.web-nav a { font-size: 14px; color: var(--web-text-60); transition: color .2s ease; }
.web-nav a:hover, .web-nav a.active { color: var(--web-text); }
.web-nav .nav-cta {
  background: var(--web-accent); color: #fff;
  padding: 7px 17px; border-radius: var(--web-radius-sm); font-weight: 600;
  transition: background .2s ease, transform .1s ease;
}
.web-nav .nav-cta:hover { background: var(--web-accent-strong); color: #fff; transform: translateY(-1px); }

/* 页面容器 */
.web-section { max-width: var(--web-max); margin: 0 auto; padding: 72px 24px; }
.web-section-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.web-section-sub { font-size: 15px; color: var(--web-text-60); margin-bottom: 36px; }

/* 按钮 */
.web-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: var(--web-radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: filter .2s ease, transform .1s ease, background .2s ease;
}
.web-btn:hover { filter: brightness(1.05); }
.web-btn:active { transform: translateY(1px); }
.web-btn-primary { background: var(--web-accent); color: #fff; }
.web-btn-primary:hover { background: var(--web-accent-strong); filter: none; }
.web-btn-secondary { background: #fff; color: var(--web-text); border: 1px solid var(--web-border); }
.web-btn-secondary:hover { background: var(--web-accent-soft); border-color: var(--web-accent); }

/* 卡片 */
.web-card {
  background: var(--web-card); border: 1px solid var(--web-border);
  border-radius: var(--web-radius); overflow: hidden;
  box-shadow: var(--web-shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.web-card:hover { border-color: var(--web-accent); box-shadow: 0 4px 10px rgba(33,31,27,0.08), 0 14px 30px rgba(33,31,27,0.07); }

/* 标签 */
.web-tag {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.web-tag-free { background: var(--web-success-soft); color: var(--web-success); }
.web-tag-hot { background: var(--web-accent-soft); color: var(--web-accent-strong); }

/* 页脚 */
.web-footer {
  border-top: 1px solid var(--web-border);
  padding: 40px 24px; text-align: center;
  color: var(--web-text-40); font-size: 13px;
  background: var(--web-surface);
}
.web-footer-inner {
  max-width: var(--web-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.web-footer-links {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.web-footer-links a { color: var(--web-text-60); transition: color .2s ease; }
.web-footer-links a:hover { color: var(--web-accent-strong); }
.web-footer-beian {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  font-size: 12px; color: var(--web-text-40);
}

/* 响应式 */
@media (max-width: 900px) {
  .web-section { padding: 52px 20px; }
  .web-section-title { font-size: 24px; }
  .web-nav { gap: 16px; }
}
