/* @ai-generated by Codex GPT-5 | 2026-09-03 */
:root {
    color-scheme: dark;
    --header-height: 104px;
    --gold: #f8ca06;
    --gold-deep: #c7822f;
    --page-bg: #0b0b0b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body.hgdj-landing-page {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: #fff;
    background: var(--page-bg);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 11, 11, 0.98);
}

.header-inner {
    display: grid;
    grid-template-columns: 248px minmax(540px, 1fr) 225px;
    align-items: center;
    width: min(100% - 80px, 1414px);
    height: 100%;
    margin: 0 auto;
    gap: 48px;
}

.brand-link {
    display: block;
    width: 248px;
    height: 72px;
}

.brand-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    min-width: 0;
    height: 100%;
}

.section-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 12px 0 17px;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.section-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    border-radius: 5px;
    content: "";
    opacity: 0;
    background: var(--gold);
    transform: scaleX(0.45);
    transition: opacity 160ms ease, transform 160ms ease;
}

.section-nav a.is-active {
    color: var(--gold);
    font-weight: 700;
}

.section-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 225px;
    height: 66px;
    gap: 16px;
    border-radius: 12px;
    color: #050505;
    background: linear-gradient(180deg, #f5bf5a, var(--gold-deep));
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
}

.download-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #e9a53a;
    background: #050505;
    font-size: 31px;
    line-height: 1;
}

.landing-shell,
.visual-section {
    position: relative;
    width: 100%;
}

.visual-section {
    scroll-margin-top: var(--header-height);
    overflow: hidden;
    background: #000;
}

.section-art,
.section-art picture,
.section-art img {
    width: 100%;
}

.section-art img {
    height: auto;
}

.mobile-only {
    display: none;
}

.hit-area {
    position: absolute;
    z-index: 5;
    display: block;
    border-radius: 18px;
    color: transparent;
    text-indent: -9999px;
}

.hit-area:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.desktop-qr-card {
    position: absolute;
    left: clamp(36px, 5.2vw, 100px);
    bottom: clamp(26px, 4vw, 64px);
    z-index: 8;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.05vw, 20px);
    padding: clamp(11px, .78vw, 15px) clamp(15px, 1.15vw, 22px) clamp(11px, .78vw, 15px) clamp(11px, .78vw, 15px);
    border: 1px solid rgba(255, 222, 166, .82);
    border-radius: clamp(16px, 1.2vw, 23px);
    background: radial-gradient(ellipse 112% 162% at 98% 0%, rgba(91, 48, 9, .94) 0%, rgba(31, 17, 4, .94) 58%, rgba(11, 7, 2, .96) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
    backdrop-filter: blur(6px);
}

.desktop-qr-code {
    flex: 0 0 auto;
    width: clamp(126px, 8.2vw, 158px);
    height: clamp(126px, 8.2vw, 158px);
    padding: 7px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.desktop-qr-code canvas,
.desktop-qr-code img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.desktop-qr-copy {
    display: grid;
    gap: 8px;
    min-width: 118px;
}

.desktop-qr-copy strong {
    color: #fffb79;
    font-size: clamp(22px, 1.46vw, 28px);
    line-height: 1.1;
    letter-spacing: .04em;
}

.desktop-qr-copy span {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(13px, .84vw, 16px);
    line-height: 1.6;
}

.mobile-download-actions {
    display: none;
}

.home-download {
    left: 51.615%;
    top: 79.655%;
    width: 16.458%;
    height: 11.097%;
}

.home-explore {
    left: 70.938%;
    top: 79.655%;
    width: 16.563%;
    height: 11.097%;
}

.wishlist-action {
    left: 39.583%;
    top: 81.804%;
    width: 20.833%;
    height: 6.431%;
}

.creator-action {
    left: 14.063%;
    top: 62.207%;
    width: 20.833%;
    height: 8.789%;
}

.site-footer {
    min-height: 265px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    background: #121211;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(430px, 1fr) repeat(3, 150px);
    width: min(100% - 80px, 1440px);
    min-height: 265px;
    margin: 0 auto;
    padding: 38px 0 30px;
    column-gap: 90px;
    row-gap: 0;
}

.footer-brand img {
    width: 190px;
    height: 44px;
    object-fit: contain;
}

.footer-tagline {
    margin: 14px 0 18px;
    font-size: 12px;
}

.footer-addresses {
    display: grid;
    gap: 8px;
    font-size: 12px;
}

.footer-addresses a {
    color: #ffd21c;
    text-decoration: none;
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
}

.footer-column a {
    display: block;
    margin: 0 0 13px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    text-decoration: none;
}

.footer-copyright {
    grid-column: 2 / -1;
    justify-self: end;
    align-self: end;
    margin-top: -22px;
    font-size: 12px;
}

.runtime-hooks,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.loading {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: #0b0b0b;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.loading.hide {
    visibility: hidden;
    opacity: 0;
}

.loading-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(245, 191, 90, 0.25);
    border-top-color: #f5bf5a;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.android-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    overflow-y: auto;
    color: #222;
    background: #fff;
}

.android-modal.is-open {
    display: block;
}

.android-modal .header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.android-modal-arrow {
    width: 56px;
    height: 56px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.android-modal-arrow::before {
    color: #222;
    content: "‹";
    font-size: 42px;
}

.android-modal .title {
    text-align: center;
}

.android-modal .title img {
    max-width: 220px;
    margin: 0 auto;
}

.android-modal .content {
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding: 20px 0 40px;
}

.platform-item {
    display: inline-block;
    width: calc(33.333% - 12px);
    margin: 6px;
    cursor: pointer;
}

.modal-common-img,
.modal-common-img-2 {
    width: 100%;
    height: auto;
}

/* @ai-modified by Antigravity | 2026-11-16: responsive Flexbox modal flow (eliminates absolute nth-child overlap) */
body.android-download-prompt-open {
    overflow: hidden !important;
}

.android-download-prompt {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, .62);
}

.android-download-prompt.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.android-download-prompt__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 352px);
    margin: auto;
    outline: 0;
}

.android-download-prompt__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    padding: 22px 20px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    color: #eee;
    background: #1a1d26;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", Arial, sans-serif;
}

.android-download-prompt__panel h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.android-download-prompt__recommend {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid #db6a78;
    border-radius: 14px;
    background: rgba(174, 54, 68, .58);
    box-shadow: 0 6px 18px rgba(112, 28, 40, .28);
}

.android-download-prompt__recommend img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: cover;
}

.android-download-prompt__recommend img:nth-child(2) {
    border-radius: 50%;
}

.android-download-prompt__recommend-app-icon {
    border-radius: 9px;
}

.android-download-prompt__recommend strong {
    color: #eee;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.android-download-prompt__steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 2px 0;
    padding: 0;
    list-style: none;
}

.android-download-prompt__steps li {
    position: static;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.android-download-prompt__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-top: 1px;
    border-radius: 50%;
    color: #000;
    background: #ffdc63;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.android-download-prompt__steps li > div {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding-left: 0;
}

.android-download-prompt__steps strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.android-download-prompt__steps p {
    margin: 3px 0 0;
    color: #cdcdcd;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: .2px;
    overflow-wrap: break-word;
}

.android-download-prompt__risk {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    color: #cdcdcd;
    background: #292e3a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: .2px;
}

.android-download-prompt__confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    color: #000;
    background: linear-gradient(90deg, #ffdc63, #ffc636);
    font: 700 15px/1 "PingFang SC", -apple-system, "Microsoft YaHei", Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}

.android-download-prompt__faq {
    display: block;
    width: 100%;
    padding: 2px 0 0;
    border: 0;
    color: #ffdc63;
    background: transparent;
    font: 500 13px/1.4 "PingFang SC", -apple-system, "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: .2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.android-download-prompt__close {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.android-download-prompt__close-circle {
    position: absolute;
    inset: 0;
    width: 38px;
    height: 38px;
}

.android-download-prompt__close-x {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%);
}

@media (max-height: 680px) {
    .android-download-prompt__panel {
        gap: 10px;
        padding: 16px 16px 14px;
    }

    .android-download-prompt__panel h2 {
        font-size: 19px;
    }

    .android-download-prompt__steps {
        gap: 9px;
    }

    .android-download-prompt__confirm {
        height: 40px;
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .header-inner {
        grid-template-columns: 200px 1fr 180px;
        width: calc(100% - 40px);
        gap: 24px;
    }

    .brand-link {
        width: 200px;
    }

    .section-nav {
        gap: 24px;
    }

    .section-nav a,
    .header-download {
        font-size: 20px;
    }

    .header-download {
        width: 180px;
        height: 58px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 58px;
    }

    .site-header {
        position: relative;
        height: 58px;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 12px;
    }

    .brand-link {
        width: 124px;
        height: 42px;
    }

    .header-download {
        width: 113px;
        height: 36px;
        gap: 8px;
        border-radius: 8px;
        font-size: 15px;
    }

    .download-symbol {
        width: 26px;
        height: 26px;
        font-size: 20px;
    }

    .section-nav {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        z-index: 60;
        justify-content: flex-start;
        height: 54px;
        gap: 26px;
        padding: 0 13px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        background: rgba(7, 7, 7, 0.72);
        backdrop-filter: blur(4px);
    }

    .section-nav::-webkit-scrollbar {
        display: none;
    }

    .section-nav a {
        padding: 15px 0 13px;
        font-size: 16px;
    }

    .section-nav a::after {
        height: 3px;
    }

    .visual-section {
        scroll-margin-top: 0;
    }

    .desktop-qr-card,
    .home-download,
    .home-explore {
        display: none;
    }

    .section-home > .section-art {
        position: relative;
        z-index: 1;
    }

    .mobile-download-actions {
        position: absolute;
        top: 89.6%;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 8;
        display: grid;
        grid-template-columns: 237fr 238fr 237.421fr;
        align-items: start;
        gap: .666667%;
        padding: 1.25% 1.861458% 0;
        background: #000;
    }

    .mobile-download-button {
        display: flex;
        align-items: center;
        width: 100%;
        aspect-ratio: 237 / 86;
        min-width: 0;
        padding: 0 1.25%;
        overflow: hidden;
        border: max(1px, .266667vw) solid #ffdea6;
        border-radius: min(23px, 3.066667vw);
        color: #fff;
        background: radial-gradient(ellipse 112% 162% at 98% 0%, #5b3009 0%, #331c05 50%, #1f1104 75%, #0b0702 100%);
        text-decoration: none;
    }

    .mobile-download-button > img {
        flex: 0 0 auto;
        width: min(40.794px, 5.4392vw);
        height: auto;
        margin-left: 7.1%;
        margin-right: 4.05%;
    }

    .mobile-download-button > span {
        display: grid;
        min-width: 0;
        gap: min(5px, .666667vw);
        white-space: nowrap;
    }

    .mobile-download-button strong {
        color: transparent;
        background: linear-gradient(180deg, #fff2d9 0%, #fffb79 100%);
        background-clip: text;
        -webkit-background-clip: text;
        font-size: min(22.023px, 2.9364vw);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: min(.6607px, .0881vw);
    }

    .mobile-download-button small {
        color: #fff;
        font-size: min(13.214px, 1.7619vw);
        font-weight: 400;
        line-height: 1.12;
    }

    .mobile-download-ios small {
        letter-spacing: max(-.2643px, -.0352vw);
    }

    .mobile-download-button:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -3px;
    }

    .pc-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .wishlist-action {
        left: 12.933%;
        top: 87.482%;
        width: 74.267%;
        height: 12.518%;
    }

    .mobile-creator-art,
    .mobile-about-art {
        position: relative;
        width: 100%;
    }

    .mobile-creator-art > img:first-child,
    .mobile-about-art > img:first-child {
        width: 100%;
        height: auto;
    }

    .mobile-creator-copy {
        position: absolute;
        left: 6.533%;
        top: 13.201%;
        width: 56.933%;
        height: auto;
    }

    .creator-action {
        left: 7.733%;
        top: 58.911%;
        width: 37.333%;
        height: 9.901%;
    }

    .mobile-about-content {
        position: absolute;
        left: 18.533%;
        top: 14.917%;
        width: 68.667%;
        height: auto;
    }

    .site-footer {
        min-height: 263px;
    }

    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        min-height: 263px;
        padding: 24px 12px 18px;
        gap: 18px 10px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 124px;
        height: 42px;
    }

    .footer-tagline {
        margin: 8px 0 0;
        font-size: 12px;
    }

    .footer-addresses {
        display: none;
    }

    .footer-column h2,
    .footer-column a {
        font-size: 12px;
    }

    .footer-column h2 {
        margin-bottom: 12px;
    }

    .footer-column a {
        margin-bottom: 9px;
    }

    .footer-copyright {
        grid-column: 1 / -1;
        justify-self: center;
        margin: 0;
        font-size: 11px;
    }

    .platform-item {
        width: calc(50% - 12px);
    }
}

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