/* Game11 — 原创深色科技风游戏辅助类站点样式 */
:root {
  --bg: #0a0e17;
  --bg-2: #111726;
  --panel: #161d2e;
  --panel-2: #1c2436;
  --line: #252f45;
  --text: #e8ecf5;
  --muted: #8a93a8;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --danger: #f43f5e;
  --ok: #34d399;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #16203a 0%, var(--bg) 55%) var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,23,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { font-size: 20px; font-weight: 800; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; flex-wrap: wrap; }
.nav-links a { padding: 8px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: 7px 12px;
  font-size: 13px; cursor: pointer; font-weight: 700;
}
.lang-switch button.active { color: var(--text); background: var(--panel-2); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; cursor:pointer;
  font-weight:700; border-radius:10px; padding:11px 20px; font-size:14px; transition:.15s; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:#081018; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: var(--panel-2); color: var(--text); border:1px solid var(--line); }
.btn-danger { background: var(--danger); color:#fff; }
.btn-lg { padding:14px 26px; font-size:15px; }

.menu-btn { display:none; background:var(--panel-2); color:var(--text); border:1px solid var(--line);
  border-radius:9px; padding:8px 12px; cursor:pointer; font-size:16px; }

/* ---------- Hero ---------- */
.hero { padding: 100px 0 80px; text-align:center; }
.hero .tag { display:inline-block; color:var(--accent); font-weight:700; letter-spacing:1px;
  font-size:13px; background:rgba(34,211,238,.1); padding:7px 16px; border-radius:999px; margin-bottom:22px;
  border:1px solid rgba(34,211,238,.3); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height:1.15; font-weight:900; max-width: 800px; margin: 0 auto 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg,var(--accent),var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p { color:var(--muted); font-size:18px; max-width:600px; margin:0 auto 34px; }
.hero .cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero .stats { display:flex; gap:40px; justify-content:center; margin-top:64px; flex-wrap:wrap; }
.stat b { display:block; font-size:30px; font-weight:800; }
.stat span { color:var(--muted); font-size:13px; }

/* ---------- 区块 ---------- */
.section { padding: 72px 0; }
.section-title { text-align:center; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(26px, 4vw, 38px); font-weight:900; margin-bottom:10px; }
.section-title p { color:var(--muted); max-width:560px; margin:0 auto; }

.grid { display:grid; gap:22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  transition:.18s; position:relative; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.card .ic { font-size:26px; margin-bottom:14px; }
.card h3 { font-size:18px; font-weight:800; margin-bottom:10px; }
.card p { color:var(--muted); font-size:14px; }

/* ---------- 定价 ---------- */
.plans { display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.plan { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; display:flex; flex-direction:column; }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .p-name { font-weight:800; font-size:16px; }
.plan .p-price { margin:16px 0; }
.plan .p-price b { font-size:38px; font-weight:900; }
.plan .p-price small { color:var(--muted); }
.plan ul { list-style:none; margin-bottom:24px; flex:1; }
.plan li { padding:7px 0; font-size:14px; color:var(--muted); display:flex; gap:9px; }
.plan li::before { content:"✓"; color:var(--ok); font-weight:900; }
.plan .btn { width:100%; }

/* ---------- FAQ ---------- */
.faq-item { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin-bottom:12px; }
.faq-item summary { cursor:pointer; font-weight:700; font-size:15px; list-style:none; }
.faq-item summary::after { content:"＋"; float:right; color:var(--accent); }
.faq-item[open] summary::after { content:"－"; }
.faq-item p { color:var(--muted); margin-top:12px; font-size:14px; }

/* ---------- 页脚 ---------- */
footer { border-top:1px solid var(--line); padding:46px 0 30px; margin-top:40px; color:var(--muted); font-size:14px; }
.foot { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.foot .brand { font-size:17px; }
.foot-links a { margin-right:20px; color:var(--muted); }
.foot-links a:hover { color:var(--accent); }
.copyright { margin-top:26px; font-size:12.5px; color:#5b6478; }

/* ---------- 通用页面 ---------- */
.page-head { padding:70px 0 30px; text-align:center; }
.page-head h1 { font-size: clamp(28px,4vw,42px); font-weight:900; }
.page-head p { color:var(--muted); max-width:600px; margin:8px auto 0; }
.breadcrumb { color:var(--muted); font-size:13px; margin-bottom: 30px; }
.breadcrumb a:hover { color:var(--accent); }

/* ---------- Checkout ---------- */
.checkout-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap:26px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--muted); }
.field input, .field select, .field textarea {
  width:100%; background:var(--panel-2); border:1px solid var(--line); color:var(--text);
  border-radius:10px; padding:12px 14px; font-size:14px; outline:none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field .hint { font-size:12px; color:#5b6478; margin-top:5px; }
.order-summary { position:sticky; top:86px; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:24px; height:fit-content; }
.sum-row { display:flex; justify-content:space-between; padding:9px 0; font-size:14px; }
.sum-row.muted { color:var(--muted); }
.sum-row.total { border-top:1px solid var(--line); margin-top:10px; padding-top:14px; font-weight:800; font-size:16px; }
.status-badge { display:inline-block; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:800; }
.status-badge.pending { background:rgba(250,204,21,.15); color:#facc15; }
.status-badge.succ { background:rgba(52,211,153,.15); color:var(--ok); }
.notice { background:rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.3); border-radius:10px;
  padding:14px 16px; font-size:13.5px; color:var(--text); margin-bottom:20px; }

.toast {
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--panel-2); border:1px solid var(--line); color:var(--text);
  padding:14px 22px; border-radius:10px; box-shadow:var(--shadow); opacity:0; pointer-events:none;
  transition:.25s; z-index:100; font-size:14px; font-weight:600; }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .nav-links { display:none; position:absolute; top:66px; left:0; right:0; background:var(--bg);
    border-bottom:1px solid var(--line); flex-direction:column; padding:10px 22px 18px; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px; font-size:15px; }
  .menu-btn { display:inline-flex; }
}