:root {
    --ink: #121816;
    --ink-soft: #26312d;
    --paper: #f4f0e7;
    --paper-strong: #fffdf7;
    --line: rgba(38, 49, 45, 0.18);
    --gold: #d6ad5a;
    --gold-light: #f0d79a;
    --vermilion: #b84231;
    --vermilion-dark: #7f281f;
    --jade: #28776f;
    --blue: #3c708f;
    --night: #101719;
    --header-height: 68px;
    --content-width: 1200px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

body,
button,
a {
    letter-spacing: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #f2c65b;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--paper-strong);
    color: var(--ink);
    border-radius: 4px;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    background: rgba(250, 247, 239, 0.94);
    border-bottom: 1px solid rgba(18, 24, 22, 0.12);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 8px 24px rgba(15, 22, 20, 0.12);
}

.header-inner {
    width: min(100%, var(--content-width));
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.header-brand img {
    width: 88px;
    height: 44px;
    object-fit: contain;
}

.header-brand span {
    color: #5f665f;
    font-size: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
    white-space: nowrap;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-left: auto;
}

.header-nav a {
    position: relative;
    padding: 8px 0;
    color: #39423e;
    font-size: 14px;
    font-weight: 600;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--vermilion);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button-icon {
    width: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.button--header {
    min-height: 40px;
    padding: 0 16px;
    background: var(--ink);
    color: var(--gold-light);
    font-size: 13px;
}

.button--primary {
    background: var(--vermilion);
    color: #fff8e8;
    border-color: #d86a4e;
    box-shadow: 0 12px 28px rgba(115, 39, 28, 0.28);
}

.button--primary:hover {
    background: #c34b37;
    box-shadow: 0 15px 34px rgba(115, 39, 28, 0.36);
}

.button--ghost {
    background: rgba(15, 23, 22, 0.4);
    color: #fffdf7;
    border-color: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.button--ghost:hover {
    background: rgba(15, 23, 22, 0.62);
    border-color: rgba(255, 255, 255, 0.68);
}

.hero {
    position: relative;
    height: calc(100svh - 48px);
    min-height: 620px;
    max-height: 900px;
    overflow: hidden;
    isolation: isolate;
    color: #fffdf7;
    background: #263b3c;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("./images/sanguohun/hero-world.webp");
    background-size: cover;
    background-position: center 42%;
    transform: scale(1.025);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(10, 18, 18, 0.9) 0%, rgba(15, 29, 28, 0.76) 38%, rgba(16, 32, 31, 0.28) 66%, rgba(14, 25, 25, 0.08) 100%),
        linear-gradient(0deg, rgba(7, 12, 12, 0.75) 0%, transparent 44%, rgba(12, 20, 20, 0.14) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 34%;
    background: linear-gradient(0deg, rgba(9, 14, 14, 0.72), transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    width: min(100%, var(--content-width));
    height: 100%;
    margin: 0 auto;
    padding: calc(var(--header-height) + 34px) 24px 58px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    align-items: center;
    gap: 20px;
}

.hero-copy {
    position: relative;
    z-index: 5;
    max-width: 520px;
}

.section-kicker {
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.section-kicker--dark {
    color: var(--vermilion);
    border-left-color: var(--vermilion);
}

.hero h1 {
    margin: 0;
    color: #f7e5b3;
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 76px;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-lead {
    margin: 14px 0 0;
    color: #fffdf7;
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.35;
}

.hero-description {
    max-width: 470px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 22px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.5;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    z-index: 2;
}

.hero-weapon {
    position: absolute;
    z-index: 1;
    width: 86%;
    top: 10%;
    right: -8%;
    opacity: 0.68;
    transform: rotate(7deg);
    filter: drop-shadow(0 24px 30px rgba(61, 18, 10, 0.35));
    animation: weaponFloat 5.8s ease-in-out infinite;
}

.hero-character {
    position: absolute;
    z-index: 3;
    width: 76%;
    max-width: 590px;
    right: 5%;
    bottom: -1%;
    filter: drop-shadow(0 26px 26px rgba(8, 15, 14, 0.38));
    animation: characterIn 760ms cubic-bezier(0.22, 0.74, 0.32, 1) both;
}

.hero-nameplate {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 13%;
    width: 220px;
    padding: 15px 18px 16px;
    border-left: 3px solid var(--gold);
    background: rgba(14, 22, 21, 0.8);
    box-shadow: 0 14px 30px rgba(5, 10, 9, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-nameplate span,
.hero-nameplate small {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.hero-nameplate strong {
    display: block;
    margin: 5px 0;
    color: #fff1c8;
    font-size: 22px;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 13px;
    z-index: 8;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: cueMove 1.8s ease-in-out infinite;
}

@keyframes weaponFloat {
    0%,
    100% {
        transform: translateY(0) rotate(7deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes characterIn {
    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cueMove {
    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 5px);
    }
}

.feature-strip {
    position: relative;
    z-index: 2;
    background: var(--ink);
    color: #f8f0dd;
    border-top: 1px solid rgba(239, 212, 146, 0.22);
    border-bottom: 1px solid rgba(239, 212, 146, 0.16);
}

.feature-strip-inner {
    width: min(100%, var(--content-width));
    min-height: 112px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-point {
    position: relative;
    min-width: 0;
    padding: 25px 22px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-point:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-point > span {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 13px;
}

.feature-point strong {
    font-size: 16px;
    line-height: 1.35;
}

.feature-point small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
}

.section {
    padding: 96px 0;
}

.section-inner {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 0 24px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 42px;
    line-height: 1.2;
}

.section-heading > p {
    width: 360px;
    margin: 0 0 4px;
    color: #606964;
    font-size: 14px;
    line-height: 1.8;
}

.hero-tabs {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hero-tab {
    position: relative;
    flex: 1 1 0;
    min-height: 64px;
    padding: 0 22px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: #56605a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.hero-tab:first-child {
    border-left: 1px solid var(--line);
}

.hero-tab span {
    color: #9b7a42;
    font-family: Georgia, serif;
    font-size: 12px;
}

.hero-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--vermilion);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.hero-tab:hover,
.hero-tab.is-active {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.44);
}

.hero-tab.is-active::after {
    transform: scaleX(1);
}

.hero-showcase {
    margin-top: 32px;
}

.hero-panel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    background: #243638;
}

.hero-panel-scene,
.hero-panel-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-panel-scene {
    z-index: -3;
    object-fit: cover;
    object-position: center 42%;
}

.hero-panel-scrim {
    z-index: -2;
    background: linear-gradient(90deg, rgba(13, 20, 20, 0.9) 0%, rgba(17, 26, 26, 0.68) 42%, rgba(16, 24, 24, 0.12) 76%),
        linear-gradient(0deg, rgba(10, 15, 15, 0.54), transparent 55%);
}

.hero-panel--moon .hero-panel-scrim {
    background: linear-gradient(90deg, rgba(24, 20, 37, 0.92) 0%, rgba(31, 28, 53, 0.66) 43%, rgba(25, 28, 47, 0.14) 78%),
        linear-gradient(0deg, rgba(15, 14, 26, 0.56), transparent 55%);
}

.hero-panel--water .hero-panel-scrim {
    background: linear-gradient(90deg, rgba(18, 36, 39, 0.91) 0%, rgba(31, 64, 66, 0.64) 43%, rgba(46, 87, 85, 0.12) 78%),
        linear-gradient(0deg, rgba(14, 31, 33, 0.5), transparent 55%);
}

.hero-panel--fire .hero-panel-scrim {
    background: linear-gradient(90deg, rgba(42, 18, 16, 0.92) 0%, rgba(67, 27, 22, 0.66) 43%, rgba(85, 33, 25, 0.12) 78%),
        linear-gradient(0deg, rgba(34, 13, 12, 0.54), transparent 55%);
}

.hero-panel-inner {
    width: min(100%, var(--content-width));
    min-height: 650px;
    margin: 0 auto;
    padding: 64px 24px 0;
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
    align-items: center;
    gap: 38px;
}

.hero-panel-copy {
    position: relative;
    z-index: 2;
    max-width: 480px;
    align-self: center;
    padding-bottom: 54px;
}

.hero-panel-index {
    margin: 0 0 16px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 12px;
}

.hero-panel h3 {
    margin: 0;
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 52px;
    line-height: 1.15;
}

.hero-panel-skill {
    margin: 14px 0 0;
    color: #f0d79a;
    font-size: 20px;
    font-weight: 700;
}

.hero-panel-description {
    max-width: 430px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.9;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.hero-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    background: rgba(10, 17, 17, 0.32);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.hero-panel-character {
    align-self: end;
    justify-self: center;
    width: 100%;
    max-width: 620px;
    max-height: 590px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 30px rgba(4, 10, 10, 0.34));
}

.weapons-section {
    position: relative;
    overflow: hidden;
    background: var(--night);
    color: #fff;
    border-top: 1px solid rgba(240, 215, 154, 0.18);
}

.weapons-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./images/sanguohun/hero-world.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    pointer-events: none;
}

.weapons-section .section-inner {
    position: relative;
    z-index: 1;
}

.section-heading--light h2 {
    color: #fff8e8;
}

.section-heading--light > p {
    color: rgba(255, 255, 255, 0.6);
}

.weapon-controls {
    display: flex;
    gap: 8px;
}

.icon-button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff8e8;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.icon-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.48);
}

.icon-button:disabled {
    opacity: 0.3;
    cursor: default;
}

.weapon-track {
    display: flex;
    gap: 18px;
    padding: 4px 0 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.weapon-track::-webkit-scrollbar {
    display: none;
}

.weapon-card {
    position: relative;
    flex: 0 0 min(72vw, 520px);
    height: 620px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    scroll-snap-align: start;
    isolation: isolate;
}

.weapon-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(3, 8, 8, 0.86), rgba(9, 19, 19, 0.08) 60%);
}

.weapon-card--koi {
    background: #26363a;
}

.weapon-card--fan {
    background: #133746;
}

.weapon-card--fire {
    background: #3c211b;
}

.weapon-card--jade {
    background: #263a31;
}

.weapon-card-topline {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
}

.weapon-card-topline span {
    color: var(--gold-light);
    font-weight: 700;
}

.weapon-card picture {
    position: absolute;
    inset: 54px 10px 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weapon-card picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.28));
    transition: transform 260ms ease;
}

.weapon-card:hover picture img {
    transform: scale(1.035);
}

.weapon-card-copy {
    position: absolute;
    inset: auto 22px 22px;
    z-index: 3;
}

.weapon-card-copy h3 {
    margin: 0;
    color: #fff8e8;
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 30px;
    line-height: 1.25;
}

.weapon-card-copy p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.download-section {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #1d2f2d;
}

.download-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("./images/sanguohun/scene-fire.webp");
    background-size: cover;
    background-position: center 34%;
}

.download-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(13, 22, 23, 0.92), rgba(23, 39, 39, 0.7) 54%, rgba(20, 33, 34, 0.42));
}

.download-inner {
    width: min(100%, var(--content-width));
    min-height: 430px;
    margin: 0 auto;
    padding: 70px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.download-brand {
    display: flex;
    align-items: center;
    gap: 30px;
}

.download-brand > img {
    width: 150px;
    height: 75px;
    padding: 8px 12px;
    object-fit: contain;
    background: rgba(255, 253, 247, 0.88);
    border-radius: 6px;
}

.download-brand h2 {
    margin: 0;
    color: #fff3d0;
    font-family: "STKaiti", "KaiTi", "FangSong", serif;
    font-size: 42px;
    line-height: 1.2;
}

.download-brand p:last-child {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.download-actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 10px;
}

.download-actions > p {
    grid-column: 1 / -1;
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
    text-align: right;
}

.site-footer {
    min-height: 110px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #0b100f;
    color: rgba(255, 255, 255, 0.48);
}

.site-footer img {
    width: 82px;
    height: 41px;
    padding: 4px 7px;
    object-fit: contain;
    background: rgba(255, 253, 247, 0.9);
    border-radius: 4px;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
}

.site-footer-copy {
    display: grid;
    gap: 7px;
}

.site-footer-note {
    color: #ef6656;
    font-weight: 600;
    line-height: 1.6;
}

.mobile-dock {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 300;
    max-width: calc(100vw - 40px);
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(10, 15, 14, 0.92);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .header-nav {
        gap: 22px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero-character {
        width: 84%;
        right: -2%;
    }

    .hero-nameplate {
        right: 2%;
    }

    .hero-panel-inner {
        grid-template-columns: minmax(300px, 0.9fr) minmax(370px, 1.1fr);
    }

    .download-inner {
        gap: 34px;
    }
}

@media (max-width: 860px) {
    .header-brand span,
    .header-nav {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-lead {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .feature-strip-inner {
        padding: 0;
    }

    .feature-point {
        padding-inline: 16px;
    }

    .section-heading h2,
    .download-brand h2 {
        font-size: 36px;
    }

    .hero-panel-inner {
        grid-template-columns: 0.86fr 1.14fr;
    }

    .hero-panel h3 {
        font-size: 44px;
    }

    .download-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-actions {
        width: 100%;
        max-width: 430px;
    }

    .download-actions > p {
        text-align: left;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 60px;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .header-inner,
    .section-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-brand img {
        width: 80px;
        height: 40px;
    }

    .button--header {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }

    .hero {
        height: calc(100svh - 42px);
        min-height: 620px;
        max-height: 820px;
    }

    .hero-background {
        background-position: 48% center;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(9, 17, 17, 0.88) 0%, rgba(13, 23, 23, 0.68) 43%, rgba(12, 20, 20, 0.22) 68%, rgba(8, 13, 13, 0.72) 100%);
    }

    .hero-inner {
        display: block;
        padding: calc(var(--header-height) + 30px) 18px 42px;
    }

    .hero-copy {
        max-width: 390px;
    }

    .section-kicker {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-lead {
        margin-top: 8px;
        font-size: 21px;
    }

    .hero-description {
        max-width: 340px;
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-actions {
        gap: 8px;
        margin-top: 18px;
    }

    .hero-actions .button {
        min-height: 46px;
        padding: 0 14px;
        font-size: 13px;
    }

    .download-meta {
        margin-top: 10px;
        font-size: 11px;
    }

    .hero-visual {
        position: absolute;
        inset: auto 0 0;
        height: 53%;
    }

    .hero-weapon {
        width: 92%;
        top: 0;
        right: -24%;
        opacity: 0.55;
    }

    .hero-character {
        width: min(88%, 500px);
        right: -8%;
        bottom: -3%;
    }

    .hero-nameplate {
        right: auto;
        left: 18px;
        bottom: 46px;
        width: 176px;
        padding: 10px 12px 11px;
    }

    .hero-nameplate strong {
        font-size: 18px;
    }

    .hero-nameplate span,
    .hero-nameplate small {
        font-size: 10px;
    }

    .hero-scroll {
        display: none;
    }

    .feature-strip-inner {
        min-height: 102px;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .feature-strip-inner::-webkit-scrollbar {
        display: none;
    }

    .feature-point {
        flex: 0 0 160px;
        min-height: 102px;
        padding: 20px 14px;
        scroll-snap-align: start;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading > p {
        width: auto;
        max-width: 440px;
        font-size: 13px;
    }

    .hero-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hero-tabs::-webkit-scrollbar {
        display: none;
    }

    .hero-tab {
        flex: 0 0 148px;
        min-height: 56px;
        padding: 0 12px;
        font-size: 13px;
    }

    .hero-showcase {
        margin-top: 24px;
    }

    .hero-panel {
        min-height: 640px;
    }

    .hero-panel-scene {
        object-position: center 38%;
    }

    .hero-panel-scrim,
    .hero-panel--moon .hero-panel-scrim,
    .hero-panel--water .hero-panel-scrim,
    .hero-panel--fire .hero-panel-scrim {
        background: linear-gradient(180deg, rgba(12, 19, 19, 0.9) 0%, rgba(16, 25, 25, 0.72) 38%, rgba(15, 24, 24, 0.18) 66%, rgba(10, 16, 16, 0.62) 100%);
    }

    .hero-panel--moon .hero-panel-scrim {
        background: linear-gradient(180deg, rgba(24, 20, 37, 0.92) 0%, rgba(31, 28, 53, 0.7) 38%, rgba(25, 28, 47, 0.16) 66%, rgba(15, 14, 26, 0.62) 100%);
    }

    .hero-panel--fire .hero-panel-scrim {
        background: linear-gradient(180deg, rgba(42, 18, 16, 0.92) 0%, rgba(67, 27, 22, 0.7) 38%, rgba(85, 33, 25, 0.16) 66%, rgba(34, 13, 12, 0.62) 100%);
    }

    .hero-panel-inner {
        min-height: 640px;
        padding: 38px 18px 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 8px;
    }

    .hero-panel-copy {
        max-width: 380px;
        padding: 0;
    }

    .hero-panel h3 {
        font-size: 38px;
    }

    .hero-panel-skill {
        margin-top: 8px;
        font-size: 16px;
    }

    .hero-panel-description {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-tags {
        gap: 6px;
        margin-top: 14px;
    }

    .hero-tags span {
        padding: 6px 8px;
        font-size: 10px;
    }

    .hero-panel-character {
        width: min(100%, 520px);
        max-height: 400px;
        align-self: end;
    }

    .weapons-section .section-heading {
        flex-direction: row;
        align-items: end;
    }

    .weapon-controls {
        flex: 0 0 auto;
    }

    .icon-button {
        width: 40px;
        height: 40px;
    }

    .weapon-track {
        margin-right: -18px;
        padding-right: 18px;
    }

    .weapon-card {
        flex-basis: min(84vw, 420px);
        height: 540px;
        padding: 18px;
    }

    .weapon-card picture {
        inset: 48px 8px 100px;
    }

    .weapon-card-copy {
        inset: auto 18px 18px;
    }

    .weapon-card-copy h3 {
        font-size: 26px;
    }

    .download-section,
    .download-inner {
        min-height: 500px;
    }

    .download-background {
        background-position: center 58%;
    }

    .download-section::before {
        background: linear-gradient(180deg, rgba(13, 22, 23, 0.9), rgba(23, 39, 39, 0.62));
    }

    .download-inner {
        padding: 64px 18px;
        justify-content: center;
        gap: 34px;
    }

    .download-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .download-brand > img {
        width: 128px;
        height: 64px;
    }

    .download-brand h2 {
        font-size: 34px;
    }

    .download-actions {
        max-width: none;
        grid-template-columns: 1fr;
    }

    .download-actions > p {
        text-align: left;
    }

    .site-footer {
        min-height: 104px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 22px 18px;
    }

    .mobile-dock {
        position: fixed;
        inset: auto 0 0;
        z-index: 200;
        min-height: 72px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        display: flex;
        background: rgba(255, 253, 247, 0.96);
        border-top: 1px solid rgba(18, 24, 22, 0.14);
        box-shadow: 0 -10px 28px rgba(11, 17, 16, 0.12);
        transform: translateY(120%);
        transition: transform 220ms ease;
    }

    .mobile-dock.is-visible {
        transform: translateY(0);
    }

    .mobile-dock .button {
        width: 100%;
        min-height: 50px;
    }

    .toast {
        bottom: calc(86px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 390px) {
    .hero {
        min-height: 600px;
    }

    .hero-inner {
        padding-top: calc(var(--header-height) + 22px);
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        display: none;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-actions .button {
        padding: 0 11px;
        font-size: 12px;
    }

    .hero-visual {
        height: 55%;
    }

    .hero-nameplate {
        bottom: 38px;
    }

    .weapons-section .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .weapon-card {
        height: 500px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
