/* Glowglade 官方站点 · App Store 支持页样式
   设计基线：浅色、Apple 风格、双语可读、无占位符 */

:root {
  --accent: #4f6ef7;
  --accent-dark: #3a55d9;
  --text: #1d2333;
  --text-light: #5b6478;
  --bg: #f7f8fc;
  --card: #ffffff;
  --border: #e5e8f0;
  --radius: 14px;
}

/* 每款游戏的主题色，由 body 上的 class 覆盖 */
.theme-ruins   { --accent: #2fa88f; --accent-dark: #22806e; }
.theme-lighthouse { --accent: #e07b39; --accent-dark: #c2642b; }
.theme-marmot  { --accent: #c9803f; --accent-dark: #a96632; }
.theme-star    { --accent: #8b5cf6; --accent-dark: #7443d6; }

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ---- 导航 ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo img {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: block;
}
.logo .dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: inline-block;
}
.nav-links { display: flex; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.nav-links a { color: var(--text-light); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ---- 容器 ---- */
.container { max-width: 960px; margin: 0 auto; padding: 48px 24px 80px; }
.container.narrow { max-width: 800px; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 56px 0 40px; }
.hero .app-icon {
  width: 116px; height: 116px;
  border-radius: 26px;
  box-shadow: 0 10px 28px rgba(29, 35, 51, .18);
  display: block;
  margin: 0 auto 24px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .en {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 10px;
}
.hero .subtitle {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-light);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero .subtitle .en-line {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #8a93a6;
}
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.badge.soon {
  background: #fdf2e3;
  color: #b4761f;
}
.cta-row { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn.disabled {
  background: #eceef4;
  color: #9aa2b4;
  cursor: default;
  box-shadow: none;
}

/* ---- 特性卡片 ---- */
.features {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .icon { font-size: 28px; margin-bottom: 12px; }
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-light); }

/* ---- 政策/长文页 ---- */
.page-header { padding: 44px 0 8px; }
.page-header h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.page-header h1 .en {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}
.page-header .meta { margin-top: 12px; font-size: 14px; color: var(--text-light); }

.lang-nav {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
.lang-nav a {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-light);
}
.lang-nav a:hover { border-color: var(--accent); color: var(--accent); }

.doc {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.doc h2 {
  font-size: 19px;
  margin: 34px 0 12px;
  padding-top: 10px;
}
.doc h2:first-child { margin-top: 0; padding-top: 0; }
.doc h3 { font-size: 15.5px; margin: 18px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--text-light); }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc .lang-divider {
  margin: 44px 0 8px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .2em;
  color: #a4acbd;
  text-transform: uppercase;
}
.doc .highlight {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 16px 0;
}
.doc .highlight p { margin-bottom: 0; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 15.5px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-light); }
.faq-item p:last-child { margin-bottom: 0; }

/* ---- 联系卡片 ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.contact-card .icon { font-size: 26px; margin-bottom: 10px; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-light); }

/* ---- 工作室首页：游戏卡片 ---- */
.games-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.game-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: inherit;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29, 35, 51, 0.10);
  border-color: var(--accent);
  color: inherit;
}
.game-card .thumb {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card .thumb img {
  width: 96px; height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(29, 35, 51, .16);
}
.game-card .thumb.t1 { background: linear-gradient(160deg, #10263f, #1d4d43); }
.game-card .thumb.t2 { background: linear-gradient(160deg, #3a2115, #6b3a1c); }
.game-card .thumb.t3 { background: linear-gradient(160deg, #2c2418, #4d3a22); }
.game-card .thumb.t4 { background: linear-gradient(160deg, #1e1436, #3b2260); }
.game-card .card-body { padding: 20px 22px 24px; }
.game-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.game-card .tag.soon {
  color: #b4761f;
  background: #fdf2e3;
}
.game-card h3 { font-size: 17.5px; margin-bottom: 6px; color: var(--text); }
.game-card h3 .en {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9aa2b4;
  margin-top: 3px;
}
.game-card p { font-size: 13.5px; color: var(--text-light); }
.game-card .more { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }

.studio-about {
  margin-top: 60px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.studio-about h2 { font-size: 21px; margin-bottom: 12px; }
.studio-about p { font-size: 14.5px; color: var(--text-light); }

/* ---- 页脚 ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
footer .links { margin-top: 6px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---- 响应式 ---- */
@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .hero .app-icon { width: 96px; height: 96px; }
  .doc { padding: 26px 20px; }
}
