:root {
    color-scheme: dark;
    font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    background: #080705;
    color: #fffaf1;
    --gold: #f4bf59;
    --line: #51391b;
    --page-width: 1720px;
    --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 10px); }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #fff0ad; outline-offset: 4px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #100d08;
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    width: min(92%, 1440px);
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 46px);
}

.brand { display: inline-block; flex: none; }
.brand img { width: 151px; }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(13px, 2.5vw, 40px);
    font-size: 15px;
    color: #e4dacb;
    white-space: nowrap;
}

.site-nav a { padding-block: 10px; }
.site-nav a:hover, .site-footer a:hover { color: var(--gold); }

.header-download {
    flex: none;
    border: 1px solid #ae8033;
    border-radius: 8px;
    padding: 9px 17px;
    color: #ffcf74;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.header-download:hover { background: #2c1d0b; }

main { max-width: var(--page-width); margin-inline: auto; }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 48fr 52fr;
    align-items: center;
    min-height: clamp(455px, 42vw, 725px);
    padding: 34px max(5%, 32px);
    background: #080705;
    overflow: hidden;
}

.hero__art {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, black 43%, transparent 57%);
}

.hero__art img {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    clip-path: polygon(0 0, 100% 0, 100% 79%, 51.5% 79%, 51.5% 100%, 0 100%);
}

.hero__content {
    grid-column: 2;
    max-width: 660px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.hero__branding {
    width: min(87%, clamp(305px, 32vw, 545px));
    margin: 0 auto clamp(14px, 1.6vw, 25px);
    mask-image: linear-gradient(90deg, transparent, black 2%, black 98%, transparent);
    mix-blend-mode: screen;
}

.download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(11px, 1.45vw, 20px) clamp(12px, 2vw, 28px);
}

.download-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, .75vw, 12px);
    min-width: 0;
    min-height: clamp(54px, 5.1vw, 79px);
    padding: 8px 7px;
    border: 1px solid #f1bb56;
    border-radius: clamp(9px, 1.22vw, 17px);
    background: linear-gradient(180deg, #f8c463, #c58732);
    color: #1a1007;
    font-size: clamp(14px, 1.58vw, 25px);
    font-weight: 800;
    white-space: nowrap;
    transition: filter .15s ease;
}

.download-action[href]:hover { filter: brightness(1.14); }
.download-action--outline {
    background: linear-gradient(180deg, #30240f, #100c05);
    color: #f4bf60;
    border-color: #b08139;
}

.download-action--unavailable {
    color: #d5b782;
    background: #3a2a15;
    border-color: #6e5129;
    cursor: default;
}

.download-action small {
    font-size: .58em;
    font-weight: 500;
    color: #ead2a7;
}

.action-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.36em;
    height: 1.36em;
}

.action-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.action-icon--circle {
    width: 1.53em;
    height: 1.53em;
    border-radius: 50%;
    background: #1a1007;
    color: var(--gold);
}
.action-icon--circle svg { width: 70%; height: 70%; }
.download-action--outline .action-icon--circle { background: var(--gold); color: #1a1007; }

.visual-section { position: relative; background: #080705; }
.visual-section picture, .visual-section picture img { display: block; width: 100%; }
.creator__mobile-copy { display: none; }

.picture-action {
    position: absolute;
    display: block;
    overflow: hidden;
    color: transparent;
    border-radius: 12px;
}

.picture-action--wishlist { left: 39.583%; top: 81.804%; width: 20.833%; height: 6.431%; }
.picture-action--creator { left: 14.063%; top: 62.207%; width: 20.833%; height: 8.789%; }

.about {
    border-block: 1px solid var(--line);
}
.about img { width: 100%; }

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    width: min(88%, 1340px);
    margin-inline: auto;
    padding-block: 23px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; color: #d1c1a9; font-size: 14px; }
.site-footer .brand img { width: 128px; }

@media (max-width: 760px) {
    :root { --header-height: 88px; }
    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0 12px;
        width: 100%;
        padding: 7px 15px 0;
    }
    .brand img { width: 116px; }
    .header-download { grid-column: 2; grid-row: 1; padding: 6px 11px; font-size: 12px; }
    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-width: 0;
        gap: 17px;
        overflow-x: auto;
        scrollbar-width: none;
        font-size: 13px;
    }
    .site-nav a { padding-block: 9px; }
    .site-nav a:focus-visible { outline-offset: -2px; }
    .hero {
        display: block;
        min-height: 0;
        padding: 0 15px 20px;
    }
    .hero__art {
        position: relative;
        display: block;
        height: clamp(192px, 61vw, 445px);
        margin-inline: -15px;
        mask-image: linear-gradient(180deg, black 76%, transparent);
    }
    .hero__art img { top: 0; transform: none; clip-path: none; }
    .hero__content { position: relative; margin-top: -15px; max-width: 480px; }
    .hero__branding { width: min(100%, 380px); margin-bottom: 19px; }
    .download-actions { gap: 9px; }
    .download-action { min-height: 47px; font-size: clamp(12px, 3.5vw, 17px); gap: 5px; }
    .download-action--unavailable { flex-wrap: wrap; align-content: center; row-gap: 0; }
    .download-action small { font-size: 9px; }
    .creator__mobile-copy {
        display: block;
        position: absolute;
        left: 6.533%;
        top: 13.201%;
        width: 56.933%;
    }
    .picture-action--wishlist { left: 12.933%; top: 87.482%; width: 74.267%; height: 12.518%; }
    .picture-action--creator { left: 7.733%; top: 58.911%; width: 37.333%; height: 9.901%; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .download-action { transition: none; }
}
