:root {
  --ink: #151b2d;
  --muted: #697084;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --navy: #17203a;
  --blue: #3c6ff5;
  --cyan: #61d9d0;
  --gold: #e4ae61;
  --line: rgba(21, 27, 45, .12);
  --shadow: 0 22px 60px rgba(25, 34, 61, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, .86);
  border-bottom: 1px solid rgba(21, 27, 45, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px rgba(60, 111, 245, .25); }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .2em; line-height: 1.1; }
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { padding: 10px 16px; border-radius: 999px; color: #fff !important; background: var(--navy); }
.nav-cta::after { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 24px; cursor: pointer; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 18, 40, .9) 0%, rgba(12, 18, 40, .55) 38%, rgba(12, 18, 40, .12) 76%); z-index: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: 1; background: linear-gradient(transparent, var(--navy)); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
.hero-content { position: relative; z-index: 2; padding: 90px 0 150px; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 560px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1.08; letter-spacing: -.06em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 500px; margin: 26px 0 34px; color: rgba(255,255,255,.72); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.16); }
.button-primary { background: var(--cyan); color: #102337; }
.button-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); }
.button-dark { background: var(--navy); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.hero-meta { position: absolute; z-index: 2; left: 50%; bottom: 40px; width: min(var(--max), calc(100% - 48px)); transform: translateX(-50%); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font-size: 12px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta b { color: var(--gold); font-size: 20px; }

.section { padding: 112px 0; }
.section-muted { background: #ebe9e3; }
.section-dark { background: var(--navy); color: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-heading h2 { max-width: 650px; margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.05em; }
.section-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 15px; }
.section-dark .section-heading p { color: rgba(255,255,255,.62); }
.kicker { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-dark .kicker { color: var(--cyan); }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loading-state { grid-column: 1 / -1; margin: 0; padding: 28px; border-radius: 18px; background: rgba(255,255,255,.6); color: var(--muted); text-align: center; }
.game-card { position: relative; min-height: 340px; overflow: hidden; border-radius: var(--radius); background: #222a42; color: #fff; box-shadow: var(--shadow); }
.game-card img.cover { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .6s ease; }
.game-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7, 12, 29, .94)); }
.game-card:hover img.cover { transform: scale(1.05); }
.game-info { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; }
.game-icon { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 13px; box-shadow: 0 8px 16px rgba(0,0,0,.25); }
.game-info h3 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.game-info p { margin: 4px 0 14px; color: rgba(255,255,255,.72); font-size: 13px; }
.text-link { color: var(--cyan); font-size: 13px; font-weight: 800; }
.text-link::after { content: "  ↗"; }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.feature-image { position: relative; min-height: 480px; overflow: hidden; border-radius: var(--radius); background: #dfe4ec; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.feature-image::before { content: "ONEONE / PLAYFUL STRATEGY"; position: absolute; z-index: 1; top: 22px; left: 24px; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; letter-spacing: .16em; writing-mode: vertical-rl; }
.feature-copy h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -.06em; }
.feature-copy p { color: var(--muted); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0; }
.stat { padding: 18px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 30px; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.quote { padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.quote p { margin: 0 0 14px; font-size: 20px; line-height: 1.45; }
.quote small { color: rgba(255,255,255,.55); }
.contact-strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 44px; border-radius: var(--radius); background: linear-gradient(125deg, #d8f3ef, #d8e1ff); }
.contact-strip h2 { max-width: 600px; margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: -.05em; }
.contact-strip p { margin: 12px 0 0; color: #516176; }

.page-hero { padding: 92px 0 78px; background: var(--navy); color: #fff; }
.page-hero h1 { max-width: 780px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: 1; letter-spacing: -.07em; }
.page-hero p { max-width: 600px; margin: 24px 0 0; color: rgba(255,255,255,.67); font-size: 17px; }
.games-list { display: grid; gap: 24px; }
.game-row { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 34px rgba(25,34,61,.06); }
.game-row:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.game-row:nth-child(even) .game-row-image { order: 2; }
.game-row-image { min-height: 350px; overflow: hidden; }
.game-row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game-row:hover .game-row-image img { transform: scale(1.04); }
.game-row-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.game-row-copy h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.05em; }
.game-row-copy p { margin: 0 0 24px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag { padding: 6px 11px; border-radius: 999px; background: #eef1f7; color: #536078; font-size: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.download-card .number { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .15em; }
.download-card h2 { margin: 42px 0 8px; font-size: 25px; letter-spacing: -.04em; }
.download-card p { min-height: 54px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.download-card small { display: block; margin-top: 12px; color: #9a9eab; font-size: 11px; }
.download-card.is-ready { background: var(--navy); color: #fff; }
.download-card.is-ready p, .download-card.is-ready small { color: rgba(255,255,255,.62); }
.download-card.is-ready .number { color: var(--cyan); }
.channel-list { display: grid; gap: 8px; }
.channel-link { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fafafa; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.channel-link:hover { transform: translateX(3px); border-color: var(--blue); background: #f2f5ff; }
.channel-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: #e9edf6; color: var(--navy); font-size: 14px; font-weight: 900; }
.channel-apple { background: linear-gradient(145deg, #27a7ff, #1769e8); color: #fff; }
.appstore-mark { position: relative; display: inline-block; font-family: Arial, sans-serif; font-size: 18px; font-weight: 900; line-height: 1; letter-spacing: -.12em; transform: scaleX(.92); }
.appstore-mark::before { content: ""; position: absolute; top: -4px; right: -3px; width: 5px; height: 7px; border-radius: 5px 0 5px 0; background: currentColor; transform: rotate(28deg); }
.channel-apk { background: #d9f3ef; color: #17736d; font-size: 9px; }
.channel-link strong, .channel-link small { display: block; margin: 0; }
.channel-link strong { color: var(--ink); font-size: 12px; }
.channel-link small { color: var(--muted); font-size: 10px; }
.channel-link > b { color: var(--blue); font-size: 14px; }
.download-card.is-ready .channel-link { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.08); }
.download-card.is-ready .channel-link:hover { border-color: var(--cyan); background: rgba(255,255,255,.14); }
.download-card.is-ready .channel-link strong { color: #fff; }
.download-card.is-ready .channel-link small { color: rgba(255,255,255,.62); }
.download-card.is-ready .channel-icon { background: rgba(255,255,255,.16); color: #fff; }
.download-note { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(228,174,97,.12); color: #6c5b42; font-size: 13px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-grid h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.07em; }
.about-copy { color: var(--muted); font-size: 16px; }
.about-copy p { margin: 0 0 22px; }
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.contact-item { padding: 20px; border-radius: 18px; background: var(--surface); }
.contact-item span { display: block; margin-bottom: 6px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-item a, .contact-item strong { font-size: 14px; overflow-wrap: anywhere; }
.qr-card { padding: 18px; border-radius: var(--radius); background: #fff; text-align: center; box-shadow: var(--shadow); }
.qr-card img { width: 180px; margin: 0 auto 12px; }
.qr-card strong { display: block; }
.qr-card small { color: var(--muted); }
.site-footer { padding: 34px 0; background: #10162b; color: rgba(255,255,255,.62); font-size: 12px; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-wrap .brand { color: #fff; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: #fff; }
.icp-link { color: rgba(255,255,255,.62); white-space: nowrap; }
.icp-link:hover { color: #fff; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.game-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.game-row-actions .text-link { white-space: nowrap; }

.detail-hero { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.detail-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 17, 38, .96) 0%, rgba(10, 17, 38, .76) 42%, rgba(10, 17, 38, .12) 100%); z-index: 1; }
.detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, var(--navy)); z-index: 1; }
.detail-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.detail-hero-content { position: relative; z-index: 2; max-width: 650px; padding: 96px 0 128px; }
.detail-hero h1 { margin: 0; font-size: clamp(50px, 7vw, 90px); line-height: .98; letter-spacing: -.08em; }
.detail-hero h1 span { display: block; margin-top: 16px; color: var(--gold); font-size: .42em; letter-spacing: -.04em; }
.detail-hero .button-ghost { border-color: rgba(255,255,255,.62); background: rgba(10,17,38,.86); color: #fff; }
.detail-hero .button-ghost:hover { background: var(--blue); border-color: var(--blue); }
.detail-hero-copy { max-width: 530px; margin: 26px 0 32px; color: rgba(255,255,255,.74); font-size: 17px; }
.detail-meta { position: absolute; z-index: 2; left: 50%; bottom: 34px; width: min(var(--max), calc(100% - 48px)); transform: translateX(-50%); display: flex; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.74); font-size: 12px; }
.detail-meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); }
.detail-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.detail-intro > *, .feature-panel > *, .detail-download > * { min-width: 0; }
.detail-intro h2, .feature-panel h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.07em; }
.detail-copy { color: var(--muted); font-size: 16px; }
.detail-copy p { margin: 0 0 20px; }
.detail-copy strong { color: var(--ink); }
.function-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.function-card { min-height: 215px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 14px 34px rgba(25,34,61,.05); }
.function-card b { display: block; margin-bottom: 38px; color: var(--blue); font-size: 13px; letter-spacing: .12em; }
.function-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.04em; }
.function-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-panel { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.feature-panel-image { min-height: 390px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-panel-image img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.feature-panel-copy p { max-width: 490px; margin: 22px 0 28px; color: var(--muted); font-size: 16px; }
.detail-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 14px; }
.detail-list li::before { content: "✦"; color: var(--gold); }
.policy-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 34px 38px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.policy-card h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.04em; }
.policy-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.policy-card .button { flex-shrink: 0; }
.detail-download { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.detail-download h2 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.06em; }
.detail-download p { max-width: 450px; margin: 0; color: var(--muted); }
.detail-download-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.detail-download-link { display: flex; min-height: 112px; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.detail-download-link:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 24px rgba(25,34,61,.09); }
.detail-download-link b { color: var(--blue); font-size: 12px; }
.detail-download-link strong { font-size: 15px; }
.detail-download-link small { color: var(--muted); font-size: 11px; }

@media (max-width: 820px) {
  .detail-hero { min-height: 620px; }
  .detail-hero-art { object-position: 64% center; }
  .detail-hero-content { padding: 86px 0 138px; }
  .detail-intro, .feature-panel, .detail-download { grid-template-columns: 1fr; gap: 34px; }
  .function-grid { grid-template-columns: 1fr 1fr; }
  .policy-card { grid-template-columns: 1fr; padding: 28px; }
  .detail-download-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .detail-hero h1 { font-size: 54px; }
  .detail-hero-copy { font-size: 15px; }
  .detail-meta { width: calc(100% - 32px); bottom: 24px; }
  .function-grid, .detail-download-links { grid-template-columns: 1fr; }
  .function-card { min-height: auto; }
  .feature-panel-image, .feature-panel-image img { min-height: 280px; }
  .policy-card .button { width: 100%; }
}

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-wrap { height: 68px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 16px; right: 16px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: 650px; }
  .hero-art { object-position: 64% center; }
  .hero-content { padding: 78px 0 145px; }
  .hero-copy { font-size: 15px; }
  .hero-meta { bottom: 26px; width: calc(100% - 32px); }
  .section { padding: 76px 0; }
  .section-heading, .feature-grid, .about-grid, .contact-strip { grid-template-columns: 1fr; display: grid; }
  .section-heading { align-items: start; gap: 16px; margin-bottom: 30px; }
  .games-grid, .download-grid { grid-template-columns: 1fr 1fr; }
  .game-card, .game-card img.cover { min-height: 290px; }
  .feature-image, .feature-image img { min-height: 340px; }
  .feature-grid { gap: 32px; }
  .contact-strip { padding: 30px; }
  .game-row, .game-row:nth-child(even) { grid-template-columns: 1fr; }
  .game-row-image, .game-row:nth-child(even) .game-row-image { order: 0; min-height: 240px; }
  .game-row-copy { padding: 28px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 49px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .games-grid, .download-grid, .stats, .contact-list { grid-template-columns: 1fr; }
  .game-card, .game-card img.cover { min-height: 320px; }
  .footer-wrap { align-items: start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
