/* 解放双手快乐游戏 - portal (static). Dark by default, light when the system asks for it. */
:root {
  --bg: #0c0e19;
  --bg-alt: #11142a;
  --card: #171a31;
  --line: #272b48;
  --text: #ecedf7;
  --muted: #a4a8c3;
  --accent: #7c5cff;
  --accent2: #ff5c9a;
  --glow1: rgba(124, 92, 255, .32);
  --glow2: rgba(255, 92, 154, .22);
  --shadow: 0 22px 50px -24px rgba(0, 0, 0, .75);
  --radius: 16px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fc;
    --bg-alt: #eef0f9;
    --card: #ffffff;
    --line: #e0e2ef;
    --text: #161a2e;
    --muted: #5a5f78;
    --glow1: rgba(124, 92, 255, .18);
    --glow2: rgba(255, 92, 154, .14);
    --shadow: 0 22px 50px -28px rgba(30, 30, 80, .45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 6px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--card); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 28px -12px var(--accent);
}
.btn-enter { padding: 8px 18px; font-size: 15px; }
@media (max-width: 820px) {
  .nav { display: none; }
  .btn-enter { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand span { font-size: 15px; }
  .btn-enter { padding: 7px 14px; }
}

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 96px 0 56px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 360px at 30% 10%, var(--glow1), transparent 70%),
    radial-gradient(520px 320px at 75% 30%, var(--glow2), transparent 70%);
}
.hero-in { position: relative; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 14px; letter-spacing: .12em; }
h1 { margin: 0 0 22px; font-size: clamp(32px, 8.6vw, 76px); line-height: 1.15; letter-spacing: .02em; }
.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.lead { max-width: 660px; margin: 0 auto 30px; color: var(--muted); font-size: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.facts {
  list-style: none; padding: 0; margin: 56px auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.facts li { padding: 18px 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.facts b {
  display: block; font-size: 30px; line-height: 1.3;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts span { color: var(--muted); font-size: 14px; }
.domain-note { margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.domain-note b { color: var(--accent2); }
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .lead { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}

/* ---- sections ---- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
h2 { margin: 0 0 12px; font-size: clamp(26px, 4.2vw, 38px); line-height: 1.3; }
.sub { max-width: 740px; margin: 0 0 34px; color: var(--muted); }
.note { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

.cards { display: grid; gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }
.card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card p b { color: var(--text); }
.card-hot {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
  box-shadow: 0 16px 40px -26px var(--accent);
}
.card .tag {
  display: inline-block; margin: 0 0 12px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(124, 92, 255, .14);
}
.card .tag-hot { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }

.games { margin-top: 30px; }
.games-title { margin: 0; font-weight: 600; }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.chips .more { color: var(--muted); }

.feat ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.feat li { margin: 5px 0; }
.feat li::marker { color: var(--accent); }

/* ---- 云控 ---- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 36px; align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li:last-child { border-bottom: none; }
.checks li b { color: var(--text); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 15px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.shots { display: grid; gap: 22px; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---- steps ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
  border-radius: 50%; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.steps b { display: block; margin-bottom: 4px; font-size: 18px; }
.steps span { color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---- contact ---- */
.contact .id { margin: 2px 0 8px; font-size: 21px; font-weight: 700; color: var(--text); -webkit-user-select: all; user-select: all; }

/* ---- faq ---- */
details { margin: 0 0 12px; padding: 0 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 22px; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* ---- footer ---- */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.foot p { margin: 6px 0; }
.foot-brand { color: var(--text); font-weight: 700; }
.foot a { color: var(--accent); text-decoration: none; }
