/* ============================================================
   Spirit Pantheon: Idle Odyssey — dark mythic glass theme
   ============================================================ */
:root {
  --bg: #07080d;
  --bg-soft: #0c0e16;
  --surface-card: rgba(22, 24, 33, 0.72);
  --surface-glass: rgba(15, 17, 26, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --text-2: #c9ccd5;
  --text-3: #8a8f9d;
  --accent: #2dd4a7;
  --accent-2: #a06bff;
  --accent-warm: #ffb648;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --font-serif: "Noto Serif TC", "Cinzel", "Songti TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(160, 107, 255, 0.16), transparent 60%),
    radial-gradient(820px 560px at 92% 12%, rgba(45, 212, 167, 0.12), transparent 62%),
    radial-gradient(1000px 700px at 50% 112%, rgba(255, 182, 72, 0.08), transparent 60%),
    var(--bg);
}
/* faint starfield */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 22% 18%, rgba(255,255,255,.35), transparent 100%),
    radial-gradient(1px 1px at 68% 8%, rgba(255,255,255,.25), transparent 100%),
    radial-gradient(1.5px 1.5px at 84% 32%, rgba(255,255,255,.2), transparent 100%),
    radial-gradient(1px 1px at 40% 42%, rgba(255,255,255,.18), transparent 100%),
    radial-gradient(1px 1px at 8% 60%, rgba(255,255,255,.15), transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0.02) 78%, transparent); }

/* ---------- section heads ---------- */
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section-head.in { opacity: 1; transform: none; }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(45, 212, 167, 0.35);
  border-radius: 999px;
  background: rgba(45, 212, 167, 0.08);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  background: linear-gradient(100deg, #fff 30%, #cfeee2 70%, #d9c9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head .sub { color: var(--text-2); font-size: 16px; }

/* ---------- header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(9, 10, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { width: min(1240px, 94%); margin: 0 auto; display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 800; font-size: 19px; letter-spacing: 0.04em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(160, 107, 255, 0.35); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; padding: 3px; gap: 2px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 999px; }
.lang-btn {
  border: 0; background: transparent; color: var(--text-3);
  font-size: 12.5px; padding: 5px 11px; border-radius: 999px; transition: all 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { background: rgba(45, 212, 167, 0.18); color: var(--accent); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn-primary {
  color: #06231b;
  background: linear-gradient(120deg, var(--accent), #6fe6c4);
  box-shadow: 0 8px 24px rgba(45, 212, 167, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 30px rgba(45, 212, 167, 0.45); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 4%;
  background: rgba(9, 10, 16, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 6px; color: var(--text-2); border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 15px; }
.mobile-menu a:last-child { border-bottom: 0; color: var(--accent); font-weight: 700; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(640px 640px at 78% 46%, rgba(160, 107, 255, 0.12), transparent 65%);
  pointer-events: none;
}
.hero-inner { width: min(1240px, 92%); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(45, 212, 167, 0.4);
  background: linear-gradient(120deg, rgba(45, 212, 167, 0.12), rgba(160, 107, 255, 0.12));
  margin-bottom: 22px;
}
.hero-title { font-family: var(--font-serif); line-height: 1.12; margin-bottom: 18px; }
.hero-title-top {
  display: block;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(105deg, #ffffff 25%, #b8f2de 55%, #c9b2ff 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(45, 212, 167, 0.25));
}
.hero-title-sub {
  display: block;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--text-2);
  margin-top: 6px;
}
.hero-en { font-family: "Cinzel", var(--font-serif); font-size: 13.5px; letter-spacing: 0.34em; color: var(--text-3); margin-bottom: 22px; }
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 19px);
  color: #ffe9c9;
  opacity: 0.92;
  border-left: 3px solid var(--accent-warm);
  padding-left: 14px;
  margin-bottom: 14px;
}
.hero-desc { color: var(--text-2); font-size: 15.5px; max-width: 560px; margin-bottom: 28px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #101218;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 9px 18px 9px 14px;
  min-width: 172px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(45, 212, 167, 0.5); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); }
.badge-ico { width: 26px; height: 26px; }
.badge-ico-apple { width: 23px; height: 26px; color: #fff; }
.badge-txt { display: flex; flex-direction: column; line-height: 1.25; }
.badge-top { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.badge-main { font-size: 16.5px; font-weight: 700; color: #fff; }
.free-note { font-size: 12.5px; color: var(--text-3); margin-bottom: 34px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; }
.stat {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  backdrop-filter: blur(8px);
  animation: cardFadeIn 0.7s ease both;
}
.stat-n { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 800; color: var(--accent); }
.stat-t { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* floating hero cards */
.hero-collage { position: relative; height: 560px; }
.float-card {
  position: absolute;
  width: clamp(180px, 16vw, 230px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 40px color-mix(in srgb, var(--fc) 26%, transparent);
  transform: rotate(var(--tilt)) translateY(var(--lift));
  animation: floaty 6s ease-in-out infinite, cardFadeIn 0.8s ease both;
  backdrop-filter: blur(8px);
}
.float-card:nth-child(1) { left: 4%; top: 6%; }
.float-card:nth-child(2) { left: 40%; top: 0; animation-delay: 0.4s; }
.float-card:nth-child(3) { left: 12%; top: 50%; animation-delay: 0.8s; }
.float-card:nth-child(4) { left: 48%; top: 44%; animation-delay: 1.2s; }
.float-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.float-card figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 10px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.float-card figcaption b { font-size: 14.5px; }
.float-card figcaption i { font-style: normal; font-size: 11px; color: var(--fc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- generic card ---------- */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cardFadeIn 0.7s ease both;
}
.card:hover { transform: translateY(-4px); border-color: rgba(45, 212, 167, 0.35); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 212, 167, 0.08); }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card .icon-chip {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(45, 212, 167, 0.16), rgba(160, 107, 255, 0.16));
  border: 1px solid rgba(45, 212, 167, 0.3);
  margin-bottom: 18px;
}
.feature-card .ico { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-2); }

/* ---------- factions ---------- */
.factions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faction-card { position: relative; overflow: hidden; --fc: var(--accent); }
.faction-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--fc), transparent 70%);
}
.faction-card::after {
  content: "";
  position: absolute; top: -70px; right: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--fc) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.faction-bar { display: none; }
.faction-card header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.faction-card h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--fc); }
.faction-sub { font-size: 13px; color: var(--text-3); letter-spacing: 0.06em; }
.faction-card > p { font-size: 14.5px; color: var(--text-2); margin-bottom: 16px; }
.creed {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--fc);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.creed span { flex-shrink: 0; font-size: 11.5px; letter-spacing: 0.12em; color: var(--fc); font-weight: 700; }
.creed q { font-size: 14px; color: var(--text); }
.faction-heroes { display: flex; flex-direction: column; gap: 4px; }
.faction-heroes span { font-size: 11.5px; letter-spacing: 0.12em; color: var(--text-3); font-weight: 700; }
.faction-heroes em { font-style: normal; font-size: 14px; color: var(--text-2); }

/* ---------- heroes ---------- */
.hero-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s;
}
.chip:hover { color: #fff; border-color: var(--fc, var(--accent)); }
.chip.is-active { background: color-mix(in srgb, var(--fc, var(--accent)) 20%, transparent); border-color: var(--fc, var(--accent)); color: #fff; font-weight: 600; }

.heroes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px; }
.hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #12141d, #0b0d13);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cardFadeIn 0.6s ease both;
}
.hero-card:hover { transform: translateY(-5px); border-color: var(--fc); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 22px color-mix(in srgb, var(--fc) 30%, transparent); }
.hero-card.is-hidden { display: none; }
.hero-img { aspect-ratio: 1 / 1; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.hero-card:hover .hero-img img { transform: scale(1.06); }
.hero-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.92) 55%);
  display: flex; flex-direction: column; gap: 1px;
}
.hero-card figcaption b { font-size: 15px; }
.hero-card figcaption i { font-style: normal; font-size: 11.5px; color: var(--fc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dot { position: absolute; top: 10px; left: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 10px var(--fc); }

/* ---------- world ---------- */
.world-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.world-card { --fc: var(--accent); }
.world-card header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.world-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 800; color: var(--fc); }
.world-card > p { font-size: 14.5px; color: var(--text-2); margin-bottom: 16px; }
.loc-title { font-size: 11.5px; letter-spacing: 0.16em; font-weight: 700; color: var(--text-3); text-transform: uppercase; margin-bottom: 10px; }
.loc-list { display: flex; flex-direction: column; gap: 10px; }
.loc-list li { display: flex; flex-direction: column; gap: 1px; padding-left: 18px; position: relative; }
.loc-list li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--fc);
  opacity: 0.85;
}
.loc-list b { font-size: 14.5px; }
.loc-list span { font-size: 13.5px; color: var(--text-3); }

/* ---------- download ---------- */
.download-panel {
  position: relative;
  text-align: center;
  background:
    radial-gradient(560px 300px at 50% 0%, rgba(160, 107, 255, 0.16), transparent 70%),
    radial-gradient(560px 300px at 50% 110%, rgba(45, 212, 167, 0.14), transparent 70%),
    var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 64px 24px 56px;
  overflow: hidden;
}
.download-panel h2 { font-family: var(--font-serif); font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; margin-bottom: 14px; }
.download-panel .dl-sub { color: var(--text-2); max-width: 560px; margin: 0 auto 34px; font-size: 15.5px; }
.download-panel .badge-row { justify-content: center; margin-bottom: 16px; }
.download-panel .store-badge { min-width: 196px; padding: 12px 20px 12px 16px; }
.download-panel .badge-main { font-size: 18px; }
.dl-note { font-size: 12.5px; color: var(--text-3); }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  backdrop-filter: blur(8px);
  animation: cardFadeIn 0.6s ease both;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(45, 212, 167, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0;
  font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s;
}
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item > p { padding: 0 0 18px; color: var(--text-2); font-size: 14.5px; }

/* ---------- footer ---------- */
#site-footer { border-top: 1px solid var(--border); background: rgba(8, 9, 14, 0.8); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-about { color: var(--text-3); font-size: 13.5px; max-width: 320px; margin-bottom: 18px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.2s;
}
.social-row a:hover { color: var(--accent); border-color: rgba(45, 212, 167, 0.4); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-2); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  text-align: center;
}
.footer-bottom .rights { font-size: 13px; color: var(--text-3); }
.footer-bottom .disclaimer { font-size: 12px; color: #5d6270; }

/* ---------- animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:not(.in) { animation-delay: 0ms; }
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: rotate(var(--tilt)) translateY(var(--lift)); }
  50% { transform: rotate(var(--tilt)) translateY(calc(var(--lift) - 14px)); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .hero { min-height: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .factions-grid, .world-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 4px 8px; font-size: 11.5px; }
  .badge-row { gap: 10px; }
  .store-badge { min-width: 150px; padding: 8px 14px 8px 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .download-panel { padding: 44px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .section-head { opacity: 1; transform: none; }
}
