/* gethicn.com - performance-first, zero-JS stylesheet */

:root {
    --bg: #070712;
    --bg-soft: #111126;
    --bg-card: rgba(22, 18, 45, 0.72);
    --border: rgba(168, 85, 247, 0.2);
    --text: #f8f7ff;
    --text-dim: #b9b5d6;
    --accent: #9b5cff;
    --accent-hover: #c084fc;
    --accent-2: #6d5dfc;
    --accent-pink: #e879f9;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(109, 93, 252, 0.26), transparent 34%),
        radial-gradient(circle at 82% 0%, rgba(232, 121, 249, 0.2), transparent 32%),
        linear-gradient(180deg, #090914 0%, #070712 48%, #0b0714 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -2;
    opacity: 0.58;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.72) 0.7px, transparent 0.7px),
        radial-gradient(rgba(196, 181, 253, 0.7) 1px, transparent 1px),
        radial-gradient(rgba(232, 121, 249, 0.42) 1.1px, transparent 1.1px);
    background-position: 0 0, 48px 68px, 120px 30px;
    background-size: 120px 120px, 180px 180px, 260px 260px;
    animation: starDrift 34s linear infinite;
}

body::after {
    z-index: -1;
    background:
        radial-gradient(circle at 50% 8%, rgba(168, 85, 247, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(7, 7, 18, 0.1), rgba(7, 7, 18, 0.9));
}

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

img { max-width: 100%; height: auto; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.site-main { position: relative; z-index: 1; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(16, 13, 35, 0.82), rgba(7, 7, 18, 0.68));
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(22px) saturate(1.15);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
}
.header-inner {
    display: flex; align-items: center; gap: 28px;
    min-height: 68px; flex-wrap: wrap;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.brand img {
    display: block;
    width: 48px;
    max-width: 48px;
    margin-top: 5px;
    margin-right: 40px;
    height: auto;
    object-fit: contain;
}
.brand-mark {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #e879f9);
    border-radius: 12px;
    padding: 2px 7px;
    box-shadow: 0 10px 24px rgba(168, 85, 247, 0.28);
}
.brand-text {
    margin-left: -42px;
    margin-top: -3px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 6px;
}
.main-nav a {
    position: relative;
    overflow: hidden;
    color: rgba(239, 235, 255, 0.72);
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.22s ease, transform 0.22s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-pink));
    opacity: 0;
    transform: translateY(4px) scaleX(0.55);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.main-nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
    opacity: 1;
    transform: translateY(0) scaleX(1);
}
.main-nav a.is-active {
    color: #fff;
}

.lang-switcher { display: flex; gap: 2px; font-size: 13px; }
.lang-switcher a {
    color: var(--text-dim); padding: 5px 10px; border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher a.is-active {
    color: var(--text); border-color: rgba(196, 181, 253, 0.26); background: rgba(255, 255, 255, 0.05);
}

/* ---------- hero / page head ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 20px max(20px, calc((100vw - 1160px) / 2)) 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 18%, rgba(124, 58, 237, 0.34), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(232, 121, 249, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero--home::before {
    border: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(124, 58, 237, 0.3), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(232, 121, 249, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    box-shadow: none;
}
.hero--platform {
    padding-top: 76px;
}
.hero--platform::before {
    display: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: clamp(34px, 5vw, 70px);
}
.hero--home .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}
.hero-copy { min-width: 0; }
.eyebrow {
    margin: 0 0 14px;
    color: #d8b4fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}
.hero-title {
    max-width: 860px;
    font-size: clamp(36px, 5.4vw, 68px);
    margin: 0 0 18px;
    line-height: 1.06;
    letter-spacing: -0.06em;
    text-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}
.hero--home .hero-title,
.hero--home .hero-sub,
.hero--home .hero-trial {
    white-space: normal;
}
/* 简体中文文案较短，桌面宽屏下保持单行更美观；其余语言文案较长，始终正常换行避免溢出屏幕 */
@media (min-width: 1081px) {
    html:lang(zh-CN) .hero--home .hero-title,
    html:lang(zh-CN) .hero--home .hero-sub,
    html:lang(zh-CN) .hero--home .hero-trial {
        white-space: nowrap;
    }
}
.hero-sub {
    max-width: 760px;
    color: rgba(239, 235, 255, 0.78);
    font-size: clamp(16px, 1.65vw, 20px);
    margin: 0 0 16px;
}
.hero-trial {
    margin: 0 0 34px;
    color: #fef3c7;
    font-size: 17px;
    font-weight: 800;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-device {
    position: relative;
    min-height: 430px;
}
.hero-device::before {
    content: "";
    position: absolute;
    inset: 8% 3% 6%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.24), transparent 62%);
    filter: blur(18px);
    animation: glowPulse 8s ease-in-out infinite alternate;
}
.hero-device img {
    position: absolute;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 30px 52px rgba(0, 0, 0, 0.5));
}
.hero-device__desktop {
    top: 2%;
    right: -8%;
    width: min(118%, 640px);
    animation: deviceFloat 7.8s ease-in-out infinite;
}
.hero-device__mobile {
    right: 2%;
    bottom: 0;
    width: min(98%, 300px);
    animation: deviceFloat 7.8s ease-in-out infinite reverse;
}
.scene-meteor {
    position: absolute;
    z-index: 0;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff, rgba(168, 85, 247, 0.2));
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(196, 181, 253, 0.9);
    opacity: 0;
    transform: rotate(-35deg);
    animation: meteor 7s linear infinite;
}
.scene-meteor--1 { top: 16%; left: 78%; }
.scene-meteor--2 { top: 30%; left: 90%; width: 112px; animation-delay: 2.3s; animation-duration: 8.4s; }
.scene-meteor--3 { top: 56%; left: 74%; width: 132px; animation-delay: 4.7s; animation-duration: 9.2s; }

.page-head {
    position: relative;
    padding: 60px 0 18px;
    isolation: isolate;
}
.page-head::before {
    content: none;
}
.page-head .container {
    position: relative;
    overflow: visible;
    padding-top: 26px;
    padding-bottom: 28px;
}
.page-head .container::after {
    content: none;
}
.page-head h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    font-size: clamp(30px, 4.5vw, 48px);
    margin: 14px 0 8px;
    line-height: 1.12;
    letter-spacing: -0.045em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}
.page-sub { color: var(--text-dim); max-width: 760px; }

.breadcrumb {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 13px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
    display: inline-block; padding: 12px 26px; border-radius: 10px;
    font-size: 15px; font-weight: 600; transition: background 0.15s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-pink));
    color: #fff;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.28);
}
.btn-primary:hover { background: linear-gradient(135deg, #8b5cf6, #f0abfc); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-title { font-size: clamp(20px, 3vw, 28px); margin: 0 0 24px; }
.section-more { font-size: 14px; white-space: nowrap; }

.feature-grid, .card-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feature-card, .article-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius); padding: 24px;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.feature-card::before, .article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.3), rgba(232, 121, 249, 0.16), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}
.feature-card:hover, .article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 181, 253, 0.24);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 14px; }

.article-card h2, .article-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.article-card h2 a, .article-card h3 a { color: var(--text); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--accent); }
.article-card p { margin: 0 0 12px; color: var(--text-dim); font-size: 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card time { color: var(--text-dim); font-size: 12px; }
.article-card__thumb {
    display: block;
    margin: -24px -24px 16px;
    aspect-ratio: 4 / 3;
    min-height: 180px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}
.article-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
}
.article-card:hover .article-card__thumb img {
    transform: scale(1.04);
}
.article-card__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
}
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- tags ---------- */
.tag-cloud, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tag {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    border: 1px solid rgba(196, 181, 253, 0.2); color: var(--text-dim); font-size: 13px;
    background: rgba(255, 255, 255, 0.03);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag.is-active { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; color: #fff; }
.tag-sm { padding: 2px 10px; font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-list { margin: 0; display: grid; gap: 14px; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 22px;
}
.faq-item dt { font-weight: 600; margin-bottom: 6px; }
.faq-item dt a { color: var(--text); }
.faq-item dt a:hover { color: var(--accent); }
.faq-item dd { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- article detail ---------- */
.article-detail { padding-top: 20px; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(190px, 1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 34px);
}
.article-main {
    min-width: 0;
}
.article-header h1 { font-size: clamp(24px, 3.5vw, 34px); line-height: 1.4; margin: 0 0 14px; }
.article-meta {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    color: var(--text-dim); font-size: 13px; margin-bottom: 10px;
}
.article-hierarchy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -4px 0 16px;
    color: rgba(226, 232, 240, 0.64);
    font-size: 13px;
}
.article-hierarchy a {
    color: #c4b5fd;
}
.article-hierarchy a:hover {
    color: #fff;
}
.article-translations { font-size: 13px; color: var(--text-dim); }
.article-translations a { margin-left: 8px; }
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.article-summary {
    background: var(--bg-soft); border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px; margin: 22px 0;
}
.article-summary p { margin: 0; color: var(--text); }

.article-toc {
    margin: 24px 0 30px;
    padding: 20px 22px;
    border: 1px solid rgba(196, 181, 253, 0.18);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(232, 121, 249, 0.055)),
        rgba(255, 255, 255, 0.025);
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.22);
}
.article-toc__title {
    margin: 0 0 12px;
    color: #f8f7ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.article-toc ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 7px;
}
.article-toc li {
    color: rgba(196, 181, 253, 0.72);
}
.article-toc li.is-sub {
    margin-left: 16px;
    font-size: 14px;
}
.article-toc a {
    color: rgba(226, 232, 240, 0.82);
}
.article-toc a:hover {
    color: #fff;
}

.article-body { font-size: 16px; }
.article-body h2,
.article-body h3 {
    scroll-margin-top: 86px;
}
.article-body h2 { font-size: 22px; margin: 36px 0 14px; }
.article-body h3 { font-size: 18px; margin: 28px 0 12px; }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: 8px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body code {
    background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 14px;
}
.article-body pre {
    background: var(--bg-soft); padding: 16px; border-radius: 8px; overflow-x: auto;
}
.article-body table { border-collapse: collapse; width: 100%; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 8px 12px; }

.article-footer {
    margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 13px;
}

.article-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    min-width: 0;
}
.article-sidebar__panel {
    position: relative;
    overflow: visible;
    padding: 16px;
    border: 1px solid rgba(196, 181, 253, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
        rgba(18, 14, 38, 0.74);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
}
.article-sidebar__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.28), rgba(232, 121, 249, 0.12), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.article-sidebar__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.article-sidebar .download-panel--sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: none;
}
.article-sidebar .download-panel--sidebar .download-card {
    min-height: 58px;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 14px;
    text-align: left;
}
.article-sidebar .download-panel--sidebar .download-card--featured {
    grid-column: auto;
    min-height: 64px;
}
.article-sidebar .download-panel--sidebar .download-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}
.article-sidebar .download-panel--sidebar .download-card--featured .download-card__icon {
    width: 36px;
    height: 36px;
}
.article-sidebar .download-panel--sidebar .download-card__label,
.article-sidebar .download-panel--sidebar .download-card__note {
    white-space: normal;
}
.article-sidebar .download-panel--sidebar .download-card__label {
    font-size: 12px;
    line-height: 1.25;
}
.article-sidebar .download-panel--sidebar .download-card__note {
    font-size: 10.5px;
}
.article-sidebar .download-panel--sidebar .download-card__qr {
    display: none;
}
.article-recommend-list {
    display: grid;
    gap: 8px;
}
.article-recommend-link {
    position: relative;
    display: block;
    padding: 10px 10px 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.028);
    color: rgba(239, 235, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
.article-recommend-link::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent-pink));
    opacity: 0.55;
}
.article-recommend-link:hover {
    color: #fff;
    border-color: rgba(196, 181, 253, 0.25);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

/* ---------- pager ---------- */
.pager { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 36px 0 0; }
.pager-link {
    display: inline-block; min-width: 38px; text-align: center; padding: 7px 10px;
    border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); font-size: 14px;
}
.pager-link:hover { border-color: var(--accent); color: var(--accent); }
.pager .active .pager-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager-link.is-disabled { opacity: 0.4; pointer-events: none; }

.empty-tip { color: var(--text-dim); text-align: center; padding: 48px 0; }

.fallback-notice {
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: 14px;
}

/* ---------- downloads ---------- */
.download-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
}
.download-card {
    position: relative;
    min-height: 72px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(44, 26, 74, 0.62), rgba(27, 24, 72, 0.54)),
        rgba(255, 255, 255, 0.035);
    color: #fff;
    box-shadow:
        0 18px 36px -16px rgba(0, 0, 0, 0.52),
        0 0 52px rgba(124, 58, 237, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.download-card--featured {
    grid-column: 1 / -1;
    min-height: 84px;
    border-color: rgba(168, 85, 247, 0.28);
    background:
        linear-gradient(135deg, rgba(109, 93, 252, 0.34), rgba(168, 85, 247, 0.24)),
        rgba(255, 255, 255, 0.045);
}
.download-card::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent-pink));
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.58);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}
.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 181, 253, 0.42);
    color: #fff;
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.34),
        0 8px 28px rgba(124, 58, 237, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.download-card:hover::after { transform: scaleY(1); }
.download-card__icon,
.download-card__text {
    position: relative;
    z-index: 1;
}
.download-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c084fc;
}
.download-card--featured .download-card__icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-pink));
    color: #fff;
    box-shadow: 0 10px 28px rgba(168, 85, 247, 0.34);
}
.download-card__icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}
.download-card__icon--windows {
    background: rgba(0, 164, 239, 0.15);
    border-color: rgba(0, 164, 239, 0.45);
}
.download-card__icon--appstore {
    background: #f8fafc;
    border-color: rgba(255, 255, 255, 0.62);
    color: #0f172a;
}
.download-card__icon--android {
    background: rgba(61, 220, 132, 0.16);
    border-color: rgba(61, 220, 132, 0.5);
    color: #3ddc84;
}
.download-card__icon--googleplay { color: transparent; }
.download-card__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}
.download-card__label {
    color: #fff;
    font-size: 12.5px;
    font-weight: 850;
    white-space: nowrap;
}
.download-card__note {
    margin-top: 3px;
    color: rgba(226, 232, 240, 0.62);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.download-card--featured .download-card__label { font-size: clamp(16px, 1.6vw, 19px); }
.download-card__qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    z-index: 10;
    width: 156px;
    padding: 10px;
    border: 1px solid rgba(168, 85, 247, 0.42);
    border-radius: 18px;
    background: rgba(14, 12, 30, 0.97);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 26px rgba(168, 85, 247, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.download-card__qr::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: rgba(14, 12, 30, 0.97);
    border-right: 1px solid rgba(168, 85, 247, 0.42);
    border-bottom: 1px solid rgba(168, 85, 247, 0.42);
    transform: translateX(-50%) rotate(45deg);
}
.download-card__qr img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #fff;
}
.download-card__qr span {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
}
.download-card:hover .download-card__qr {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

/* ---------- footer ---------- */
.site-footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 90px;
    padding: 42px 0 28px;
    background:
        radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.18), transparent 36%),
        rgba(4, 4, 12, 0.38);
}
.footer-download {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 28px;
    transform: translateY(-48px);
    padding-top: 46px;
    padding-bottom: 46px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(16, 12, 34, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.footer-download__copy h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}
.footer-download__copy p:last-child {
    margin: 0;
    color: rgba(226, 232, 240, 0.7);
}
.footer-download .download-panel { max-width: none; }
.footer-inner {
    display: grid; gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-top: 6px;
    padding-bottom: 52px;
}
.footer-brand { font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.footer-desc { color: var(--text-dim); font-size: 13px; margin: 0; }
.footer-title { font-weight: 600; font-size: 14px; margin: 0 0 10px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: 13px; padding: 3px 0; }
.footer-col a:hover { color: var(--text); }
.footer-copy {
    border-top: 1px solid var(--border); padding: 26px 20px 6px;
    color: var(--text-dim); font-size: 12px; text-align: center;
}
.footer-copy p {
    margin: 0;
}
.footer-licenses {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 8px;
}
.footer-licenses a {
    color: inherit;
}
.footer-licenses a:hover {
    color: var(--text);
}

@keyframes starDrift {
    from {
        background-position: 0 0, 48px 68px, 120px 30px;
    }
    to {
        background-position: 240px 180px, 308px 248px, 380px 210px;
    }
}

@keyframes meteor {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(-35deg);
    }
    8% {
        opacity: 1;
    }
    18% {
        opacity: 0;
        transform: translate3d(-360px, 250px, 0) rotate(-35deg);
    }
    100% {
        opacity: 0;
        transform: translate3d(-360px, 250px, 0) rotate(-35deg);
    }
}

@keyframes deviceFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes glowPulse {
    from {
        transform: scale(0.9);
        opacity: 0.68;
    }
    to {
        transform: scale(1.12);
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .site-header { position: sticky; }
    .header-inner {
        gap: 10px 12px;
        min-height: 0;
        padding: 10px 0 12px;
    }
    .brand { flex: 1 1 auto; min-width: 128px; }
    .brand img {
        width: 104px;
        max-width: 104px;
        margin-right: 34px;
    }
    .brand-text { margin-left: -36px; font-size: 15px; }
    .lang-switcher {
        flex: 0 0 auto;
        margin-left: auto;
        padding: 3px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.035);
    }
    .lang-switcher a { padding: 4px 8px; font-size: 12px; }
    .main-nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        padding: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 1 0 auto;
        min-width: max-content;
        padding: 8px 13px;
        font-size: 14px;
        text-align: center;
    }
    .hero { padding: 48px 0 42px; }
    .hero--platform { padding-top: 42px; }
    .hero::before { inset: 10px 12px 0; border-radius: 24px; }
    .hero--home::before { border: 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero--home .hero-grid { grid-template-columns: 1fr; }
    .hero--home .hero-title,
    .hero--home .hero-sub,
    .hero--home .hero-trial {
        white-space: normal;
    }
    .hero-title {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(30px, 10vw, 46px);
        letter-spacing: -0.045em;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
        font-size: 15.5px;
    }
    .hero-trial { margin-bottom: 22px; font-size: 15px; }
    .hero-actions { justify-content: stretch; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .download-panel {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .download-card {
        justify-content: flex-start;
        min-height: 66px;
        padding: 10px 14px 10px 16px;
        text-align: left;
    }
    .download-card--featured { min-height: 76px; }
    .download-card__label,
    .download-card__note {
        white-space: normal;
    }
    .download-card__qr { display: none; }
    .hero-device { min-height: 240px; }
    .hero--platform .hero-device { display: none; }
    .hero-device__desktop {
        top: 0;
        right: 50%;
        width: min(92vw, 460px);
        transform: translateX(50%);
        animation: none;
    }
    .hero-device__mobile {
        right: 5%;
        bottom: 2%;
        width: min(28vw, 128px);
        animation: none;
    }
    .page-head { padding: 34px 0 8px; }
    .page-head::before { height: 130px; top: 6px; }
    .page-head .container {
        padding-top: 20px;
        padding-bottom: 22px;
    }
    .page-head .container::after {
        right: -70px;
        top: -70px;
        width: 150px;
        height: 150px;
        opacity: 0.52;
    }
    .page-head h1 {
        font-size: clamp(27px, 9vw, 36px);
        letter-spacing: -0.035em;
    }
    .breadcrumb {
        max-width: 100%;
        padding: 5px 9px;
        font-size: 12px;
    }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar {
        position: static;
        grid-template-columns: 1fr;
    }
    .section { padding: 38px 0; }
    .section-head { align-items: flex-start; }
    .feature-grid, .card-grid { grid-template-columns: 1fr; }
    .feature-card, .article-card { padding: 20px; }
    .footer-download {
        grid-template-columns: 1fr;
        transform: translateY(-24px);
        border-radius: 22px;
        text-align: center;
    }
    .footer-download .download-card { text-align: left; }
    .footer-licenses { display: grid; gap: 6px; }
}

@media (max-width: 520px) {
    body::before { opacity: 0.38; }
    .hero { padding-top: 38px; }
    .hero-device { display: none; }
    .hero::before { inset: 6px 10px 0; }
    .download-card__icon {
        width: 34px;
        height: 34px;
    }
    .download-card--featured .download-card__icon {
        width: 40px;
        height: 40px;
    }
    .footer-download {
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 920px) and (min-width: 721px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero--home .hero-grid { grid-template-columns: 1fr; }
    .hero--home .hero-title,
    .hero--home .hero-sub,
    .hero--home .hero-trial {
        white-space: normal;
    }
    .hero-title, .hero-sub { margin-left: auto; margin-right: auto; }
    .download-panel { margin-left: auto; margin-right: auto; }
    .hero-device { min-height: 380px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar {
        position: static;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .footer-download { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) and (min-width: 921px) {
    .hero--home .hero-title,
    .hero--home .hero-sub,
    .hero--home .hero-trial {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    .scene-meteor,
    .hero-device::before,
    .hero-device img {
        animation: none;
    }
}

/* ---------- Supported Games & Apps ---------- */
.page-head__desc {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--text-dim);
    font-size: 15px;
}

.support-page {
    position: relative;
    overflow: hidden;
}

.support-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 560px;
}

.support-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(17, 17, 38, 0.85);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.support-search input[type="search"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(155, 92, 255, 0.18);
}

.support-search button {
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}

.support-search button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.support-search button:disabled { opacity: .65; cursor: wait; transform: none; }

.support-search__hint,
.support-search__status {
    margin: 0 0 18px;
    color: var(--text-dim);
    font-size: 13px;
}

.support-search__status {
    color: var(--accent-hover);
}

.support-section { margin-top: 40px; }

.support-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(155, 92, 255, 0.16);
    border: 1px solid var(--border);
    color: var(--accent-hover);
    font-size: 13px;
    font-weight: 600;
}

/* Infinite marquee carousel — only limited showcase items */
.support-carousel {
    position: relative;
    margin: 0 -8px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.support-carousel__track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 18px 8px 10px;
    animation: supportMarquee var(--support-duration, 48s) linear infinite;
    will-change: transform;
}

.support-carousel--apps .support-carousel__track {
    --support-duration: 42s;
    animation-direction: reverse;
}

.support-carousel.is-paused .support-carousel__track {
    animation-play-state: paused;
}

@keyframes supportMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.support-carousel .support-card {
    flex: 0 0 auto;
    width: 128px;
}

.support-carousel--apps .support-card {
    width: 112px;
}

.support-grid {
    display: grid;
    gap: 14px;
}

.support-grid--windows {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.support-grid--apps {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
}

.support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(36, 28, 72, 0.78), rgba(18, 14, 40, 0.72));
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    animation: supportCardIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: var(--card-delay, 0s);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.support-card.is-enter {
    animation-name: supportCardPop;
}

@keyframes supportCardIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes supportCardPop {
    0% { opacity: 0; transform: translateY(16px) scale(0.9); }
    70% { opacity: 1; transform: translateY(-3px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.support-card__glow {
    position: absolute;
    inset: auto 20% -40% 20%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
    filter: blur(14px);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 0;
}

.support-card:hover {
    border-color: rgba(192, 132, 252, 0.65);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 40px rgba(76, 29, 149, 0.35);
    z-index: 2;
}

.support-card:hover .support-card__glow { opacity: 1; }

.support-card__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(7, 7, 18, 0.55);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
    animation: supportIconFloat 4.8s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
    z-index: 1;
}

.support-card--windows .support-card__icon {
    width: 92px;
    height: 134px;
}

.support-card--app .support-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.support-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.support-card:hover .support-card__icon img {
    transform: scale(1.08);
}

.support-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
    transform: translateX(-120%);
    pointer-events: none;
}

.support-card:hover .support-card__shine {
    animation: supportShine .85s ease;
}

@keyframes supportShine {
    to { transform: translateX(120%); }
}

@keyframes supportIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.support-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.55), rgba(232, 121, 249, 0.4));
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.support-card__name {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
}

.support-empty { display: none; margin-top: 12px; }
.support-empty.is-visible { display: block; }

.support-results__meta {
    margin: 10px 0 0;
    color: var(--text-dim);
    font-size: 12px;
}

.support-page.is-searching .support-carousel__track {
    animation-play-state: paused;
}

@media (max-width: 720px) {
    .support-search { flex-direction: column; max-width: none; }
    .support-search button { width: 100%; }
    .support-grid--windows { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .support-grid--apps { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .support-carousel .support-card { width: 110px; }
    .support-carousel--apps .support-card { width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    .support-carousel__track,
    .support-card,
    .support-card__icon,
    .support-card__shine {
        animation: none !important;
    }
    .support-card {
        opacity: 1;
        transform: none;
    }
}
