/* ===== 和平精英辅助网 · 独立样式 ===== */
:root {
  --bg: #0b1016;
  --bg-alt: #101820;
  --panel: #141d28;
  --panel-2: #1a2532;
  --line: #243242;
  --accent: #ff9f0a;
  --accent-2: #ffb648;
  --accent-dark: #d98200;
  --text: #e9eef4;
  --muted: #9aa7b5;
  --radius: 10px;
  --clip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255, 159, 10, 0.035) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 159, 10, 0.02) 0 1px, transparent 1px 30px);
  pointer-events: none;
  z-index: 0;
}

.hl { color: var(--accent); }

a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 2px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.logo-mark {
  background: var(--accent);
  color: #0b1016;
  padding: 2px 8px;
  clip-path: var(--clip);
  font-size: 18px;
}
.logo-text { color: var(--text); }
.logo-text .hl { margin-left: 2px; }

.nav-toggle {
  display: none;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.main-nav a { color: var(--muted); transition: color 0.2s; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-refund {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  clip-path: var(--clip);
}
.main-nav .nav-refund:hover { background: var(--accent); color: #0b1016; }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -160px;
  width: 520px;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 159, 10, 0.14), transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 1140px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.badge {
  display: inline-block;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.4);
  color: var(--accent-2);
  padding: 6px 16px;
  font-size: 14px;
  clip-path: var(--clip);
  margin-bottom: 22px;
}
.hero h1 { font-size: 60px; line-height: 1.1; font-weight: 900; letter-spacing: 2px; margin-bottom: 18px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.hero-trust li::before { content: ""; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 6px;
  clip-path: var(--clip);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #0b1016; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-refund { background: #e5484d; color: #fff; }
.btn-refund:hover { background: #f05a5f; }

/* ===== 区块 ===== */
.section { padding: 76px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  margin: 14px auto 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
}
.section-desc { text-align: center; color: var(--muted); max-width: 720px; margin: 18px auto 44px; font-size: 16px; }

/* ===== 功能卡片 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 28px 22px;
  clip-path: var(--clip);
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  background: rgba(255, 159, 10, 0.1);
  border: 1px solid rgba(255, 159, 10, 0.35);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.feature-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags li {
  font-size: 12.5px;
  color: var(--accent-2);
  border: 1px solid rgba(255, 159, 10, 0.3);
  padding: 2px 10px;
  clip-path: var(--clip);
}

/* ===== 图片展示 ===== */
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--clip);
  overflow: hidden;
}
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ===== 核心优势 ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: var(--panel); border: 1px solid var(--line); padding: 26px 22px; clip-path: var(--clip); }
.why-num {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: var(--accent);
  color: #0b1016;
  font-weight: 800;
  clip-path: var(--clip);
  margin-bottom: 14px;
}
.why-item h3 { font-size: 17px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ===== 使用步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--panel); border: 1px solid var(--line); padding: 24px 20px; clip-path: var(--clip); position: relative; }
.step-num { font-size: 34px; font-weight: 900; color: rgba(255, 159, 10, 0.28); display: block; margin-bottom: 10px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== 文章 ===== */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { background: var(--panel); border: 1px solid var(--line); padding: 26px 24px; clip-path: var(--clip); }
.article-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.article-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.article-link { color: var(--accent); font-size: 14.5px; font-weight: 600; }
.article-link:hover { text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); clip-path: var(--clip); }
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ===== 退款横幅 ===== */
.refund-banner { background: linear-gradient(120deg, #1a0f12, #2a1517); border-top: 1px solid rgba(229, 72, 77, 0.4); border-bottom: 1px solid rgba(229, 72, 77, 0.4); padding: 46px 0; position: relative; z-index: 1; }
.refund-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.refund-text h2 { font-size: 24px; margin-bottom: 8px; }
.refund-text p { color: var(--muted); }

/* ===== 页脚 ===== */
.site-footer { background: #070b10; border-top: 1px solid var(--line); padding: 46px 0 30px; position: relative; z-index: 1; }
.footer-inner { text-align: center; }
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 14.5px; max-width: 560px; margin: 0 auto 22px; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 20px; font-size: 14.5px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-keywords { color: #5b6a79; font-size: 13px; max-width: 720px; margin: 0 auto 20px; line-height: 2; }
.footer-copy { color: #5b6a79; font-size: 13px; }

/* ===== 移动端悬浮下载栏 ===== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(11, 16, 22, 0.96);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.mobile-cta .btn { display: block; width: 100%; }
body:has(.mobile-cta) { padding-bottom: 0; }

/* ===== 下载页设备卡片 ===== */
.download-hero { padding: 72px 0 72px; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.device-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 30px 22px;
  clip-path: var(--clip);
  text-align: center;
}
.device-icon { font-size: 44px; margin-bottom: 14px; }
.device-card h3 { font-size: 22px; margin-bottom: 10px; }
.device-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.device-card .btn { display: block; width: 100%; padding: 16px 20px; font-size: 17px; }

/* ===== 退款页表单 ===== */
.refund-page { padding: 64px 0; }
.refund-page-inner { max-width: 640px; }
.refund-note { text-align: center; margin-bottom: 34px; }
.refund-title { font-size: 34px; font-weight: 800; margin: 16px 0 10px; }
.refund-tip { color: var(--accent-2); font-size: 16px; }
.refund-form { background: var(--panel); border: 1px solid var(--line); padding: 32px 28px; clip-path: var(--clip); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.form-tip { color: var(--accent-2); font-size: 14.5px; margin-bottom: 16px; min-height: 22px; }
.form-submit { width: 100%; padding: 16px; font-size: 17px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .feature-grid, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .image-gallery, .device-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 16, 22, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-refund { margin: 10px 16px; text-align: center; clip-path: none; border-radius: 6px; }
  .hero { padding: 60px 0 52px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .feature-grid, .why-grid, .steps, .article-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-title { font-size: 26px; }
  .refund-inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: block; }
  .site-footer { padding-bottom: 90px; }
}
html:not(.buqt) body {
            filter: blur(10px);
            -webkit-filter: blur(10px);
        }
        body {
            transition: filter 0.5s ease, opacity 0.5s ease;
        }
