:root {
    color-scheme: dark;
    --ink: #07131d;
    --ink-soft: #0b1d29;
    --panel: rgba(14, 35, 45, 0.82);
    --panel-solid: #102a35;
    --line: rgba(153, 225, 211, 0.16);
    --text: #f4f7f3;
    --muted: #a7bbb9;
    --emerald: #32c7ad;
    --emerald-light: #81ead5;
    --gold: #e6bc68;
    --gold-light: #ffe2a2;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 78% 8%, rgba(28, 143, 126, 0.14), transparent 32rem),
        linear-gradient(180deg, #06111a 0%, #081722 54%, #06111a 100%);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: #fff;
    color: #07131d;
}

.skip-link:focus { transform: translateY(0); }

.content-shell, .nav-shell { width: var(--shell); margin-inline: auto; }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(5, 17, 25, 0.82);
    backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { border-radius: 13px; box-shadow: 0 8px 28px rgba(50, 199, 173, 0.22); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: 0.09em; }
.brand-copy small { margin-top: 5px; color: var(--gold); font-size: 0.7rem; letter-spacing: 0.19em; }

.nav-links { display: flex; align-items: center; gap: 30px; color: #c5d3d1; }
.nav-links a { position: relative; padding-block: 9px; font-size: 0.9rem; }
.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    background: var(--emerald-light);
    transition: transform 180ms ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-action {
    padding: 10px 19px;
    border: 1px solid rgba(129, 234, 213, 0.45);
    border-radius: 999px;
    color: var(--emerald-light);
    font-size: 0.88rem;
    font-weight: 700;
}

.nav-action:hover, .nav-action:focus-visible { background: rgba(50, 199, 173, 0.11); }

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; top: -190px; right: -90px; background: rgba(43, 196, 167, 0.12); }
.hero-glow-two { width: 280px; height: 280px; bottom: 70px; left: -170px; background: rgba(230, 188, 104, 0.1); }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span { width: 30px; height: 1px; background: var(--gold); }

h1, h2, h3, p { margin-top: 0; }

h1 {
    max-width: 690px;
    margin-bottom: 24px;
    font-family: "STSong", "Songti SC", "Noto Serif CJK SC", serif;
    font-size: clamp(3rem, 5.3vw, 5.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h1 em { color: var(--emerald-light); font-style: normal; }

.hero-intro { max-width: 610px; margin-bottom: 34px; color: #b8cac8; font-size: 1.08rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.download-button {
    min-width: 214px;
    min-height: 68px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 15px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.download-button:hover, .download-button:focus-visible { transform: translateY(-2px); }
.download-button-primary { background: linear-gradient(135deg, #53dcc2, #2cad98); color: #052019; box-shadow: 0 16px 42px rgba(39, 189, 161, 0.2); }
.download-button-secondary { border-color: rgba(255, 255, 255, 0.17); background: rgba(255, 255, 255, 0.055); }
.download-button.is-recommended { outline: 2px solid var(--gold); outline-offset: 3px; }
.button-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.download-button small, .download-button strong { display: block; line-height: 1.24; }
.download-button small { opacity: 0.68; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; }
.download-button strong { margin-top: 4px; font-size: 0.95rem; }
.button-arrow { font-size: 1.1rem; }

.platform-note { min-height: 26px; margin: 18px 0 3px; color: var(--muted); font-size: 0.84rem; }
.invite-link { display: inline-flex; gap: 7px; align-items: center; color: var(--gold-light); font-size: 0.87rem; font-weight: 700; }
.invite-link:hover, .invite-link:focus-visible { color: #fff0c9; }

.hero-visual {
    position: relative;
    margin: 0;
    border: 1px solid rgba(230, 188, 104, 0.26);
    border-radius: 26px 26px 88px 26px;
    background: #07131d;
    box-shadow: var(--shadow);
    transform: perspective(1100px) rotateY(-3deg);
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -13px 17px 17px -13px;
    border: 1px solid rgba(50, 199, 173, 0.24);
    border-radius: inherit;
}

.hero-visual img { width: 100%; min-height: 330px; object-fit: cover; border-radius: inherit; }
.hero-visual figcaption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(3, 15, 22, 0.76);
    color: #d9e5e3;
    font-size: 0.78rem;
    backdrop-filter: blur(12px);
}

.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(50, 199, 173, 0.12); }

.quick-facts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 92px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quick-facts div { position: relative; display: grid; padding: 25px 30px 28px; }
.quick-facts div + div { border-left: 1px solid var(--line); }
.quick-facts span { position: absolute; top: 15px; right: 18px; color: rgba(230, 188, 104, 0.36); font: 700 1.8rem/1 Georgia, serif; }
.quick-facts strong { font-size: 1rem; }
.quick-facts small { margin-top: 5px; color: var(--muted); font-size: 0.77rem; }

.section { padding: 112px 0; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: end; gap: 50px; margin-bottom: 54px; }
h2 { margin-bottom: 0; font-family: "STSong", "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(2.3rem, 4vw, 3.9rem); line-height: 1.16; letter-spacing: -0.035em; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); }

.features-section { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.025)); }
.feature-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 48px; align-items: stretch; }
.feature-showcase { position: relative; min-height: 430px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: #07131d; box-shadow: var(--shadow); }
.feature-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 12, 18, .9), transparent 56%); }
.feature-showcase img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.showcase-caption { position: absolute; z-index: 2; right: 32px; bottom: 28px; left: 32px; display: grid; }
.showcase-caption span { margin-bottom: 5px; color: var(--emerald-light); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.showcase-caption strong { font-family: "STSong", "Songti SC", serif; font-size: 1.7rem; }

.feature-list { display: grid; }
.feature-list article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.feature-list article:first-child { border-top: 1px solid var(--line); }
.feature-index { color: var(--gold); font: 700 .85rem/1.7 Georgia, serif; letter-spacing: .08em; }
.feature-list h3 { margin-bottom: 8px; font-size: 1.2rem; }
.feature-list p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.download-section { padding-top: 86px; }
.download-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: .78fr 1.22fr; gap: 62px; align-items: center; padding: 64px; border: 1px solid rgba(230,188,104,.2); border-radius: 30px; background: radial-gradient(circle at 5% 10%, rgba(50,199,173,.12), transparent 36%), rgba(13,32,42,.76); box-shadow: var(--shadow); }
.download-panel::before { content: "♠"; position: absolute; top: -115px; left: 27%; color: rgba(129,234,213,.035); font: 700 370px/1 Georgia, serif; transform: rotate(-13deg); }
.download-copy, .download-cards { position: relative; z-index: 1; }
.download-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); }
.version-note { display: flex; align-items: center; gap: 11px; color: #cfe0dd; font-size: .83rem; }
.download-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.download-card { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(5,17,25,.69); transition: transform 180ms ease, border-color 180ms ease; }
.download-card.is-recommended { transform: translateY(-7px); border-color: rgba(230,188,104,.58); }
.platform-badge { position: absolute; top: 18px; right: 18px; color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.platform-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid rgba(129,234,213,.33); border-radius: 50%; color: var(--emerald-light); font-size: 1.2rem; font-weight: 800; }
.download-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.download-card p { min-height: 74px; margin-bottom: 22px; color: var(--muted); font-size: .88rem; }
.download-card a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: rgba(50,199,173,.12); color: var(--emerald-light); font-size: .86rem; font-weight: 800; }
.download-card a:hover, .download-card a:focus-visible { background: rgba(50,199,173,.2); }
.download-card a + a { margin-top: 10px; }
#ios-download-lines { scroll-margin-top: 100px; }

.account-section { padding-top: 20px; }
.account-grid { display: grid; grid-template-columns: .72fr 1fr .66fr; gap: 48px; align-items: start; }
.account-intro { margin: 24px 0 0; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 17px; padding: 0 0 27px; }
.steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(230,188,104,.34); border-radius: 50%; color: var(--gold-light); font: 700 .88rem/1 Georgia, serif; }
.steps strong { display: block; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.invite-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.invite-card-label { color: var(--emerald-light); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.invite-card h3 { margin: 13px 0 10px; font-size: 1.13rem; line-height: 1.45; }
.invite-card p { color: var(--muted); font-size: .86rem; }
.invite-card a { color: var(--gold-light); font-size: .87rem; font-weight: 800; }

footer { border-top: 1px solid var(--line); background: #051019; }
.footer-inner { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 10px; }
.footer-brand span { display: grid; line-height: 1.15; }
.footer-brand strong { font-size: .87rem; }
.footer-brand small { margin-top: 3px; color: var(--gold); font-size: .58rem; letter-spacing: .14em; }
footer p { margin: 0; color: #819592; font-size: .76rem; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 54px; }
    .hero-copy { max-width: 720px; }
    .hero-visual { transform: none; }
    .hero-visual img { min-height: 0; }
    .feature-layout, .download-panel, .account-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .feature-list article { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
    .download-panel { padding: 50px; }
    .account-grid { gap: 34px; }
    .invite-card { max-width: 560px; }
}

@media (max-width: 760px) {
    :root { --shell: min(100% - 32px, 620px); }
    .nav-shell { min-height: 68px; gap: 14px; }
    .nav-links { display: none; }
    .nav-action { padding: 8px 14px; }
    .brand img { width: 38px; height: 38px; }
    .brand-copy strong { font-size: .92rem; }
    .brand-copy small { font-size: .57rem; }
    .hero { padding-top: 72px; }
    h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
    .hero-intro { font-size: 1rem; }
    .download-button { width: 100%; }
    .hero-visual { border-radius: 20px 20px 54px 20px; }
    .hero-visual figcaption { right: 12px; bottom: 12px; }
    .quick-facts { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
    .quick-facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .quick-facts div:nth-child(4) { border-top: 1px solid var(--line); }
    .quick-facts div { padding: 22px 18px; }
    .section { padding: 82px 0; }
    .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
    .feature-layout { gap: 24px; }
    .feature-showcase { min-height: 290px; }
    .feature-list { grid-template-columns: 1fr; gap: 0; }
    .feature-list article + article { border-top: 0; }
    .download-section { padding-inline: 0; }
    .download-panel { width: calc(100% - 20px); padding: 40px 22px; border-radius: 24px; }
    .download-cards { grid-template-columns: 1fr; }
    .download-card p { min-height: auto; }
    .account-section { padding-top: 6px; }
    .footer-inner { padding: 24px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
