:root {
  color-scheme: dark;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2?v=20260605-ga4-1") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-latin.woff2?v=20260605-ga4-1") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #040506;
  --panel: rgba(255,255,255,0.055);
  --panel-strong: rgba(255,255,255,0.1);
  --line: rgba(255,255,255,0.14);
  --text: #f7f8fb;
  --muted: rgba(247,248,251,0.72);
  --soft: rgba(247,248,251,0.56);
  --green: #00f5d4;
  --pink: #ff477e;
  --gold: #ffb703;
  --blue: #5fb9ff;
  --radius: 8px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,245,212,0.14), transparent 30%),
    radial-gradient(circle at 76% 12%, rgba(255,71,126,0.14), transparent 28%),
    radial-gradient(circle at 55% 78%, rgba(255,183,3,0.09), transparent 32%),
    linear-gradient(180deg, #050607, #030405 54%, #07090b);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.86), transparent 92%);
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.seo-main,
.seo-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* 站头对齐 mable.gg 本体（mable-platform 渲染的 / 与 /tools）：
   69px sticky 细条、999px 胶囊导航、右侧描边动作。数值取自线上 header 的
   computed style，不是目测。字体跟着 platform 用 body stack，不用 display 字体。*/
.seo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 69px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.seo-brand-icon {
  width: 31px;
  height: 30px;
}

.seo-brand-word {
  width: 65px;
  height: auto;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.seo-nav a,
.seo-footer a {
  text-decoration: none;
}

.seo-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: #8a8a8a;
}

.seo-nav a:hover,
.seo-footer a:hover {
  color: #ededed;
}

.seo-nav a[aria-current="page"] {
  color: #ededed;
  background: rgba(255,255,255,0.1);
}

.seo-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.seo-header-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: #ededed;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.seo-header-action:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

.seo-header-action[aria-current="page"] {
  background: rgba(255,255,255,0.1);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
  min-height: min(720px, calc(100svh - 74px));
  padding: 12px 0 68px;
}

.seo-hero-narrow {
  grid-template-columns: minmax(0, 760px);
  min-height: auto;
  padding: 52px 0 78px;
}

.seo-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

h3 {
  font-size: 23px;
  line-height: 1.08;
}

.seo-lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

.seo-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.seo-copy strong {
  color: #fff;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  background: rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.seo-button-primary {
  border-color: color-mix(in srgb, var(--green) 54%, #fff);
  color: #02100e;
  background: linear-gradient(135deg, var(--green), #82f58a);
}

.seo-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.seo-store-badge img {
  height: 48px;
  width: auto;
}

.seo-phone {
  justify-self: center;
  width: min(100%, 330px);
  border-radius: 34px;
  overflow: hidden;
  background: #080a0e;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22),
    0 0 0 7px rgba(255,255,255,0.05),
    0 30px 90px rgba(0,0,0,0.68),
    0 0 48px rgba(0,245,212,0.22);
}

.seo-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 1647;
  object-fit: cover;
}

.seo-band {
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.seo-band:first-of-type {
  border-top: 0;
}

.seo-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.seo-section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-card,
.game-card,
.press-asset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
    rgba(4, 5, 6, 0.64);
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
}

.seo-card {
  padding: 24px;
}

.seo-card p,
.press-asset p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.seo-faq-list {
  display: grid;
  gap: 12px;
}

.seo-faq-item {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(4, 5, 6, 0.64);
}

.seo-faq-item h3 {
  font-size: 20px;
}

.seo-faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.seo-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.55;
}

.seo-list li {
  padding-left: 22px;
  position: relative;
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(0,245,212,0.55);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  overflow: hidden;
  text-decoration: none;
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 1647;
  object-fit: cover;
}

.game-card-body {
  padding: 16px;
}

.game-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.game-detail {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.prompt-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--green) 42%, rgba(255,255,255,0.16));
  border-radius: var(--radius);
  background: rgba(0,245,212,0.06);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.22;
}

.prompt-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-facts span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--muted);
  background: rgba(255,255,255,0.055);
  font-size: 13px;
  font-weight: 700;
}

.press-asset {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.press-asset img {
  max-height: 86px;
  width: auto;
}

.seo-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
}

.seo-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--soft);
  font-size: 13px;
}

.seo-footer-inner.seo-footer-directory {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1.64fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
  padding: 46px 0 54px;
}

.seo-footer-intro {
  display: grid;
  justify-items: start;
  gap: 13px;
  color: var(--soft);
  font-size: 12px;
}

.seo-footer-brand img {
  width: 108px;
  height: auto;
}

.seo-footer-tagline {
  margin: 0;
  max-width: 30ch;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.5;
}

.seo-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
}

.seo-footer-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.seo-footer-group {
  display: grid;
  align-content: start;
  gap: 11px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
}

.seo-footer-group strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.seo-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.seo-social-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  color: rgba(247,248,251,0.76);
  background: rgba(255,255,255,0.045);
  font-family: var(--font-display);
  font-weight: 800;
}

@media (max-width: 920px) {
  .seo-hero,
  .game-detail {
    grid-template-columns: 1fr;
  }

  .seo-hero {
    min-height: auto;
    padding-top: 24px;
  }

  .seo-phone {
    width: min(64vw, 300px);
  }

  .seo-grid,
  .seo-grid-two {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* mable.gg 本体在手机上只留品牌 + 一个动作。这里同样收到一个动作，
     Creator Studio 入口在正文和页脚都还有，不靠站头承担。*/
  .seo-header-action-studio {
    display: none;
  }
}

@media (max-width: 640px) {
  .seo-main,
  .seo-footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .seo-header {
    min-height: 58px;
    gap: 8px;
    padding: 10px 14px;
  }

  .seo-brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .seo-brand-icon {
    width: 28px;
    height: 27px;
  }

  .seo-brand-word {
    width: 58px;
  }

  .seo-nav {
    min-width: 0;
    gap: 2px;
    font-size: 13px;
  }

  .seo-nav a {
    flex: 0 0 auto;
    padding: 5px 9px;
  }

  .seo-header-action {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(26px, 8.2vw, 38px);
    line-height: 1.04;
  }

  h3 {
    font-size: 20px;
  }

  .seo-main {
    padding-top: 14px;
    padding-bottom: 56px;
  }

  .seo-hero {
    gap: 22px;
    padding: 18px 0 42px;
  }

  .seo-hero-narrow {
    padding: 24px 0 42px;
  }

  .seo-kicker {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .seo-lede {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.48;
  }

  .seo-store-row {
    gap: 8px;
    margin-top: 18px;
  }

  .seo-store-badge img {
    height: 42px;
  }

  .seo-phone {
    width: min(58vw, 240px);
    border-radius: 26px;
  }

  .seo-band {
    padding: 38px 0;
  }

  .seo-section-head {
    margin-bottom: 20px;
  }

  .seo-section-head p,
  .seo-copy,
  .seo-faq-item p,
  .seo-card p,
  .press-asset p {
    font-size: 15px;
    line-height: 1.56;
  }

  .seo-card,
  .seo-faq-item,
  .press-asset {
    padding: 18px;
  }

  /* 单列会让 5 张竖屏截图在手机上堆成一面墙，保持两列。*/
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-detail {
    gap: 22px;
  }

  .game-detail .seo-phone {
    order: 2;
    width: min(58vw, 230px);
  }

  .game-detail > div:not(.seo-phone) {
    order: 1;
  }

  .prompt-box {
    margin-top: 18px;
    padding: 16px;
    font-size: 16px;
    line-height: 1.28;
  }

  .seo-facts {
    gap: 8px;
    margin-top: 18px;
  }

  .seo-facts span {
    padding: 7px 9px;
    font-size: 12px;
  }

  .seo-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .seo-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .seo-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 22px 0;
  }

  .seo-footer-inner.seo-footer-directory {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 0 40px;
  }

  .seo-footer-groups {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .seo-footer-links {
    justify-content: flex-start;
  }

  .seo-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .seo-brand-word {
    display: none;
  }
}

/* 官方Google PNG包含完整透明留白，按内容高度与Apple徽章对齐，不裁切或改图。 */
.seo-store-badge img[data-official-google] { height: 64px; }
@media (max-width: 600px) {
  .seo-store-badge img[data-official-google] { height: 56px; }
}
