/* Antbit 网站：和游戏同一套颜色（奶油纸、深棕描边、草绿、蜂蜜黄） */
:root {
  --paper: #fff8e7;
  --paper-2: #fdeecb;
  --ink: #4e342e;
  --ink-soft: #7b5e57;
  --line: #8d6e63;
  --green: #7cb342;
  --green-dark: #4e7a27;
  --gold: #ffca28;
  --sky: #8fd3f4;
  --shadow: 0 6px 0 rgba(78, 52, 46, 0.18), 0 14px 30px rgba(78, 52, 46, 0.18);
  --font-title: "Fredoka", "Huninn", "ZCOOL KuaiLe", "Mochiy Pop One", "Jua", system-ui, sans-serif;
  --font-body: "Nunito", "Huninn", system-ui, -apple-system, "PingFang TC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK", sans-serif;
}
html[lang="zh-Hans"] { --font-title: "ZCOOL KuaiLe", "Fredoka", sans-serif; --font-body: "Nunito", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-Hant-TW"], html[lang="zh-Hant-HK"] { --font-title: "Huninn", "Fredoka", sans-serif; --font-body: "Huninn", "Nunito", system-ui, -apple-system, "PingFang TC", sans-serif; }
html[lang="ja"] { --font-title: "Mochiy Pop One", "Fredoka", sans-serif; --font-body: "Nunito", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ko"] { --font-title: "Jua", "Fredoka", sans-serif; --font-body: "Nunito", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1565c0; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.25; margin: 0 0 0.5em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--paper-2);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-title); font-size: 22px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--line); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.nav a:hover { background: var(--paper-2); }
.lang {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 5px 30px 5px 12px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #9bd6f0 url("img/bg.jpg") center 40% / cover no-repeat;
  padding: 48px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero .logo { width: min(440px, 100%); filter: drop-shadow(0 6px 0 rgba(78, 52, 46, 0.25)); }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); margin: 18px 0 8px; color: var(--ink); text-shadow: 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff; }
.hero p.sub { font-size: 19px; margin: 0 0 22px; background: rgba(255, 248, 231, 0.88); border-radius: 18px; padding: 12px 16px; border: 2px solid rgba(141, 110, 99, 0.35); }
.hero .art { border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #2b2b2b; color: #fff; border-radius: 14px; padding: 9px 18px 9px 14px;
  text-decoration: none; font-weight: 700; line-height: 1.15; opacity: 0.92;
}
.store small { display: block; font-size: 11px; font-weight: 600; opacity: 0.8; }
.store svg { width: 24px; height: 24px; fill: #fff; flex: none; }
.soon { font-weight: 800; color: #fff; font-size: 14px; background: var(--green); border: 2px solid var(--green-dark); border-radius: 999px; padding: 4px 14px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .logo { margin: 0 auto; }
  .hero h1, .hero p.sub { text-align: center; }
  .stores { justify-content: center; }
  .soon { text-align: center; }
}

/* ---------- 区块 ---------- */
section { padding: 72px 0; }
section.alt { background: var(--paper-2); }
.title { text-align: center; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 36px; }
.title::after { content: ""; display: block; width: 70px; height: 6px; border-radius: 6px; background: var(--green); margin: 12px auto 0; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border: 3px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--line); background: var(--paper-2); }
.card .txt { padding: 18px 22px 22px; }
.card h3 { font-size: 23px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.story img { border-radius: 24px; border: 5px solid #fff; box-shadow: var(--shadow); }
.story h2 { font-size: clamp(26px, 3.2vw, 36px); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* 截图：横向滑动 */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; }
.shots img { width: min(640px, 82vw); flex: none; scroll-snap-align: center; border-radius: 18px; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--paper-2); aspect-ratio: 16 / 9; }

.chars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.char { text-align: center; background: #fff; border: 3px solid var(--line); border-radius: 26px; padding: 18px 18px 24px; box-shadow: var(--shadow); }
.char img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 6px; }
.char h3 { font-size: 26px; margin-bottom: 4px; }
.char p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .chars { grid-template-columns: 1fr; } }

.help { text-align: center; }
.help p { max-width: 640px; margin: 0 auto 22px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; color: #fff; background: var(--green);
  border: 3px solid var(--green-dark); border-radius: 999px; padding: 12px 28px; box-shadow: 0 5px 0 var(--green-dark);
}
.btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--green-dark); }

/* ---------- 页脚 ---------- */
footer { background: var(--ink); color: #f6e7cf; padding: 34px 0 40px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer a { color: #ffe082; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- 文章页（客服、隐私政策） ---------- */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(30px, 4vw, 42px); }
.page h2 { font-size: 26px; margin-top: 1.6em; }
.page h3 { font-size: 20px; margin-top: 1.4em; }
.faq details { background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 14px 20px; margin-bottom: 14px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.faq details p { margin: 10px 0 2px; color: var(--ink-soft); }
.mail { display: inline-block; font-weight: 800; font-size: 20px; margin: 4px 0 10px; }
.tabs { display: flex; gap: 8px; margin: 10px 0 18px; }
.tabs button { font: inherit; font-weight: 800; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; border-color: var(--green-dark); }
.legal { background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 10px 28px 26px; }
.legal li { margin-bottom: 6px; }
