@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;600;700;800&family=Noto+Serif+TC:wght@600;700;900&display=swap');

:root {
    --bg: #07080d;
    --bg-soft: #10131d;
    --panel: rgba(18, 20, 30, 0.88);
    --panel-strong: rgba(25, 28, 42, 0.96);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f4f0ef;
    --text-muted: #c4c6d2;
    --text-soft: #9095ab;
    --crimson: #d14b69;
    --rose: #ff8aa4;
    --aqua: #74d6ff;
    --gold: #f5d28d;
    --violet: #7d6ff0;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100vw - 40px));
    --header-height: 84px;
    --transition: 220ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(209, 75, 105, 0.18), transparent 34%),
        radial-gradient(circle at 85% 22%, rgba(116, 214, 255, 0.18), transparent 28%),
        radial-gradient(circle at 70% 76%, rgba(125, 111, 240, 0.12), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.7;
}

html[lang="ja"] body {
    font-family: 'Noto Sans JP', 'Noto Sans TC', sans-serif;
}

html[lang="ko"] body {
    font-family: 'Noto Sans KR', 'Noto Sans TC', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 22%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 72px);
    opacity: 0.28;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: -18%;
    background:
        radial-gradient(circle at 16% 16%, rgba(209, 75, 105, 0.2), transparent 22%),
        radial-gradient(circle at 78% 24%, rgba(116, 214, 255, 0.18), transparent 26%),
        radial-gradient(circle at 52% 82%, rgba(245, 210, 141, 0.16), transparent 22%);
    filter: blur(78px);
    opacity: 0.54;
    pointer-events: none;
    z-index: 0;
    animation: ambient-aurora 18s ease-in-out infinite alternate;
}

body.page-characters {
    background:
        radial-gradient(circle at top left, rgba(116, 214, 255, 0.16), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(209, 75, 105, 0.18), transparent 28%),
        radial-gradient(circle at 70% 76%, rgba(245, 210, 141, 0.14), transparent 30%),
        var(--bg);
}

body.page-world {
    background:
        radial-gradient(circle at top left, rgba(125, 111, 240, 0.18), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(209, 75, 105, 0.14), transparent 28%),
        radial-gradient(circle at 70% 76%, rgba(116, 214, 255, 0.16), transparent 30%),
        var(--bg);
}

body.page-gameplay {
    background:
        radial-gradient(circle at top left, rgba(245, 210, 141, 0.14), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(116, 214, 255, 0.16), transparent 28%),
        radial-gradient(circle at 70% 76%, rgba(209, 75, 105, 0.18), transparent 30%),
        var(--bg);
}

body.page-download {
    background:
        radial-gradient(circle at top left, rgba(209, 75, 105, 0.14), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(245, 210, 141, 0.15), transparent 28%),
        radial-gradient(circle at 70% 76%, rgba(116, 214, 255, 0.16), transparent 30%),
        var(--bg);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    position: relative;
    z-index: 1;
    animation: page-shell-enter 540ms cubic-bezier(0.18, 0.9, 0.3, 1.04) both;
}

.site-body.is-page-leaving .site-shell {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(12px);
    transition: opacity 220ms ease, transform 260ms ease, filter 260ms ease;
    pointer-events: none;
}

body.motion-enabled [data-reveal] {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 18px, 0) scale(0.992);
    filter: blur(6px);
    will-change: transform, opacity, filter;
}

body.motion-enabled [data-reveal].is-revealed {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(7, 8, 13, 0.72);
    border-bottom: 1px solid var(--line);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--gold), var(--aqua));
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left center;
    box-shadow: 0 0 18px rgba(116, 214, 255, 0.32);
    pointer-events: none;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(116, 214, 255, 0.24));
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-title {
    font-size: 0.95rem;
}

.brand-subtitle {
    color: var(--text-soft);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translateX(-50%);
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.nav-toggle::before {
    top: 16px;
}

.nav-toggle span {
    top: 23px;
}

.nav-toggle::after {
    top: 30px;
}

.site-header.is-nav-open .nav-toggle::before {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span {
    opacity: 0;
}

.site-header.is-nav-open .nav-toggle::after {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(7, 8, 13, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-inner > .language-switcher {
    margin-left: 0;
    flex-shrink: 0;
}

.language-switcher__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--aqua);
    font-size: 0.92rem;
}

.language-switcher__label {
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.language-switcher__buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.language-switcher__button {
    min-width: 44px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(244, 240, 239, 0.92);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    outline: 0;
}

.language-switcher__button.is-active {
    color: var(--bg);
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), #f8e5bf);
    box-shadow: 0 10px 24px rgba(245, 210, 141, 0.2);
}

.language-switcher--panel {
    margin: 0 0 22px;
    width: fit-content;
}

main {
    padding-bottom: 120px;
}

.hero-section,
.page-hero {
    padding: 76px 0 54px;
}

.hero-grid,
.split-layout,
.feature-split,
.cta-layout,
.download-layout {
    display: grid;
    gap: 32px;
}

.hero-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
}

.hero-section--cinematic {
    padding: 0;
}

.hero-banner {
    position: relative;
    min-height: clamp(560px, calc(100vh - var(--header-height)), 860px);
    overflow: hidden;
    background: #060810;
}

.hero-banner::before,
.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-banner::before {
    background:
        linear-gradient(90deg, rgba(6, 8, 16, 0.96) 0%, rgba(7, 8, 13, 0.86) 30%, rgba(7, 8, 13, 0.34) 58%, rgba(7, 8, 13, 0.6) 100%),
        radial-gradient(circle at 18% 38%, rgba(116, 214, 255, 0.12), transparent 26%);
}

.hero-banner::after {
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(7, 8, 13, 0), rgba(7, 8, 13, 0.94));
}

.hero-banner-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 22%;
    transform: scale(1.03);
    filter: saturate(1.04) contrast(1.03);
}

.hero-banner-inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding: clamp(72px, 11vh, 128px) 0 clamp(84px, 12vh, 128px);
}

.eyebrow,
.section-kicker,
.badge-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    color: var(--text-muted);
    padding: 8px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.display-title,
.page-title,
.section-heading h2,
.media-copy h3,
.panel-title,
.cta-copy h2,
.footer-title {
    margin: 0;
    font-family: 'Noto Serif TC', serif;
    line-height: 1.08;
}

.display-title {
    margin-top: 18px;
    font-size: clamp(3rem, 6vw, 5.7rem);
    letter-spacing: 0.02em;
    text-wrap: balance;
    line-break: strict;
}

.display-title--hero {
    display: grid;
    gap: 0.04em;
}

.display-title--hero .title-line {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.display-title .accent,
.page-title .accent,
.gradient-text {
    background: linear-gradient(120deg, var(--rose), var(--gold), var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-title,
.section-heading h2,
.media-copy h3,
.panel-title,
.cta-copy h2,
.footer-title,
.info-card h3,
.world-card h3,
.qte-card h3,
.platform-card h3,
.contact-title,
.roster-name,
.stat-value,
.timeline-title,
.card-title {
    text-wrap: balance;
    line-break: strict;
}

.lead-copy,
.page-lead,
.section-heading p,
.media-copy p,
.info-card p,
.platform-card p,
.footer-copy,
.timeline-copy {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    text-wrap: pretty;
}

.hero-copy {
    display: grid;
    gap: 20px;
}

.hero-copy--banner {
    position: relative;
    z-index: 2;
    max-width: min(660px, 100%);
    gap: 22px;
    padding: 24px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--crimson), var(--rose));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 32px rgba(209, 75, 105, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(209, 75, 105, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: rgba(116, 214, 255, 0.3);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.stat-strip,
.metric-grid,
.tag-list,
.swatch-row {
    display: grid;
    gap: 14px;
}

.stat-strip {
    margin-top: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stat-strip {
    margin-top: 0;
}

.hero-crest {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.26);
}

.hero-crest img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.hero-banner-character {
    display: inline-flex;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(245, 210, 141, 0.32);
    background: rgba(245, 210, 141, 0.08);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy--banner .display-title {
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 1;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.hero-copy--banner .display-title--hero .title-line {
    white-space: nowrap;
}

.hero-copy--banner .lead-copy {
    max-width: 52ch;
    color: rgba(244, 240, 239, 0.9);
    font-size: 1.08rem;
}

.hero-banner-note {
    max-width: 48ch;
    color: rgba(244, 240, 239, 0.72);
    font-size: 0.98rem;
    margin: 0;
}

.stat-card,
.info-card,
.roster-card,
.platform-card,
.timeline-step,
.skill-card,
.art-card,
.contact-panel,
.note-card,
.world-card,
.qte-card,
.surface-panel,
.quote-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
    transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.stat-card,
.info-card,
.platform-card,
.timeline-step,
.contact-panel,
.note-card,
.world-card,
.qte-card,
.surface-panel,
.quote-panel {
    padding: 22px;
}

.stat-card::before,
.info-card::before,
.roster-card::before,
.platform-card::before,
.timeline-step::before,
.skill-card::before,
.art-card::before,
.contact-panel::before,
.note-card::before,
.world-card::before,
.qte-card::before,
.surface-panel::before,
.quote-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 34%, transparent 66%, rgba(116, 214, 255, 0.08));
    pointer-events: none;
}

.stat-card::after,
.info-card::after,
.roster-card::after,
.platform-card::after,
.timeline-step::after,
.skill-card::after,
.art-card::after,
.contact-panel::after,
.note-card::after,
.world-card::after,
.qte-card::after,
.surface-panel::after,
.quote-panel::after {
    content: '';
    position: absolute;
    top: -34%;
    bottom: -34%;
    left: -48%;
    width: 36%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    opacity: 0;
    transform: rotate(18deg) translateX(0);
    pointer-events: none;
    transition: transform 620ms ease, opacity 320ms ease;
}

.stat-card:hover,
.info-card:hover,
.roster-card:hover,
.platform-card:hover,
.timeline-step:hover,
.skill-card:hover,
.art-card:hover,
.contact-panel:hover,
.note-card:hover,
.world-card:hover,
.qte-card:hover,
.surface-panel:hover,
.quote-panel:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(116, 214, 255, 0.24);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38);
}

.stat-card:hover::after,
.info-card:hover::after,
.roster-card:hover::after,
.platform-card:hover::after,
.timeline-step:hover::after,
.skill-card:hover::after,
.art-card:hover::after,
.contact-panel:hover::after,
.note-card:hover::after,
.world-card:hover::after,
.qte-card:hover::after,
.surface-panel:hover::after,
.quote-panel:hover::after {
    opacity: 0.8;
    transform: rotate(18deg) translateX(360%);
}

body.page-world .surface-panel,
body.page-world .quote-panel,
body.page-characters .surface-panel,
body.page-characters .quote-panel,
body.page-gameplay .surface-panel,
body.page-gameplay .quote-panel,
body.page-download .surface-panel,
body.page-download .quote-panel,
body.page-contact .surface-panel,
body.page-contact .quote-panel,
body.page-download .contact-panel {
    border-color: rgba(116, 214, 255, 0.16);
    background: linear-gradient(180deg, rgba(92, 163, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 26%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(182, 231, 255, 0.08);
}

body.page-world .surface-panel::before,
body.page-world .quote-panel::before,
body.page-characters .surface-panel::before,
body.page-characters .quote-panel::before,
body.page-gameplay .surface-panel::before,
body.page-gameplay .quote-panel::before,
body.page-download .surface-panel::before,
body.page-download .quote-panel::before,
body.page-contact .surface-panel::before,
body.page-contact .quote-panel::before,
body.page-download .contact-panel::before {
    background: linear-gradient(156deg, rgba(168, 226, 255, 0.14), transparent 34%, transparent 64%, rgba(116, 214, 255, 0.12));
}

.stat-label,
.mini-label,
.timeline-label {
    color: var(--text-soft);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-value,
.panel-title,
.timeline-title,
.contact-title,
.card-title {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: 700;
}

.stat-value {
    font-size: 1.65rem;
}

.home-page .site-header {
    background: rgba(244, 248, 253, 0.76);
    border-bottom: 1px solid rgba(23, 62, 102, 0.08);
}

.home-page .brand-title,
.home-page .site-nav a,
.home-page .nav-toggle {
    color: #173e66;
}

.home-page .brand-subtitle,
.home-page .site-nav a {
    color: rgba(23, 62, 102, 0.72);
}

.home-page .site-nav a:hover,
.home-page .site-nav a.is-active {
    color: #173e66;
    background: rgba(255, 255, 255, 0.62);
}

.home-page .nav-toggle {
    border-color: rgba(23, 62, 102, 0.12);
    background: rgba(255, 255, 255, 0.7);
}

.hero-banner {
    --hero-parallax: 0px;
    --hero-overlay-shift: 0px;
    --hero-copy-shift: 0px;
    --hero-pointer-x: 0px;
    --hero-pointer-y: 0px;
    --hero-tilt-x: 0deg;
    --hero-tilt-y: 0deg;
    position: relative;
    isolation: isolate;
    min-height: clamp(700px, calc(100vh - var(--header-height)), 940px);
    overflow: hidden;
    background: linear-gradient(135deg, #f9fbff 0%, #f0f4fb 44%, #d7eaff 100%);
}

.hero-banner::before,
.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-banner::before {
    background:
        linear-gradient(90deg, rgba(248, 251, 255, 0.04) 0%, rgba(248, 251, 255, 0.08) 18%, rgba(248, 251, 255, 0.62) 46%, rgba(248, 251, 255, 0.92) 72%, rgba(248, 251, 255, 0.98) 100%),
        radial-gradient(circle at 76% 28%, rgba(116, 214, 255, 0.22), transparent 30%),
        radial-gradient(circle at 84% 58%, rgba(24, 87, 146, 0.08), transparent 24%);
    transform: translate3d(calc(var(--hero-pointer-x) * 0.12), calc(var(--hero-overlay-shift) * -0.18), 0);
}

.hero-banner::after {
    inset: auto 0 0;
    height: 24%;
    background: linear-gradient(180deg, rgba(242, 246, 252, 0) 0%, rgba(242, 246, 252, 0.64) 62%, rgba(7, 8, 13, 0.24) 100%);
}

.hero-banner-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 21% 28%;
    transform: translate3d(calc(var(--hero-pointer-x) * -0.62), calc(var(--hero-parallax) * 0.78 + var(--hero-pointer-y) * -0.34), 0) scale(1.004);
    filter: saturate(1.02) contrast(1.01);
    will-change: transform;
}

.hero-particles {
    position: absolute;
    inset: 0 0 0 48%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.78;
}

.hero-typography-layer {
    position: absolute;
    top: 12%;
    right: 4%;
    z-index: 1;
    display: grid;
    justify-items: end;
    gap: 6px;
    width: min(56vw, 740px);
    pointer-events: none;
    mix-blend-mode: multiply;
    filter: saturate(1.08);
    transform: translate3d(calc(var(--hero-pointer-x) * 0.3), calc(var(--hero-pointer-y) * 0.18), 0);
}

.hero-typography-layer::before,
.hero-typography-layer::after {
    content: '';
    position: absolute;
    right: 0;
    z-index: 2;
    border-radius: 999px;
    pointer-events: none;
}

.hero-typography-layer::before {
    top: 12%;
    width: clamp(160px, 22vw, 320px);
    height: 22px;
    background: linear-gradient(95deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 18%, rgba(195, 228, 255, 0.78) 58%, rgba(142, 205, 255, 0.06) 100%);
    opacity: 0.82;
    transform: translate3d(calc(var(--hero-pointer-x) * -0.34), calc(var(--hero-pointer-y) * -0.18), 0) rotate(-18deg);
}

.hero-typography-layer::after {
    top: 34%;
    width: clamp(220px, 28vw, 420px);
    height: 44px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(224, 242, 255, 0.74) 26%, rgba(255, 255, 255, 0.18) 82%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.48;
    filter: blur(14px);
    transform: translate3d(calc(var(--hero-pointer-x) * -0.24), calc(var(--hero-pointer-y) * -0.12), 0) rotate(-11deg);
}

.hero-typography-word {
    position: relative;
    z-index: 1;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(5rem, 15vw, 12rem);
    line-height: 0.82;
    letter-spacing: 0.04em;
    color: rgba(21, 144, 228, 0.16);
}

.hero-typography-word--sub {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.35rem);
    letter-spacing: 0.62em;
    text-transform: uppercase;
    color: rgba(21, 87, 140, 0.46);
}

.hero-banner-inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 520px);
    align-items: center;
    padding: clamp(72px, 10vh, 118px) 0 clamp(92px, 12vh, 136px);
}

.hero-banner-character {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 104, 161, 0.18);
    background: rgba(37, 116, 180, 0.08);
    color: #195285;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow--hero {
    position: relative;
    gap: 14px;
    padding-inline: 0;
    background: transparent;
    border-color: transparent;
    color: rgba(23, 62, 102, 0.72);
}

.eyebrow--hero::before,
.eyebrow--hero::after {
    content: '';
    width: 34px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(25, 82, 133, 0), rgba(25, 82, 133, 0.72), rgba(135, 209, 255, 0.72));
}

.eyebrow--hero::after {
    transform: scaleX(-1);
}

.hero-copy-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-copy--banner {
    position: relative;
    grid-column: 2;
    justify-self: end;
    max-width: min(520px, 100%);
    isolation: isolate;
    gap: 14px;
    padding: clamp(18px, 1.9vw, 26px) clamp(22px, 2.6vw, 34px) clamp(20px, 2vw, 28px);
    border-radius: 38px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 24%, rgba(255, 255, 255, 0.04) 54%, rgba(255, 255, 255, 0) 100%);
    border: none;
    box-shadow: none;
    backdrop-filter: blur(8px);
    color: #102940;
    transform: perspective(1400px) translate3d(calc(var(--hero-pointer-x) * 0.16), calc(var(--hero-copy-shift) * -0.52 + var(--hero-pointer-y) * -0.12), 0) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-copy--banner::before {
    content: '';
    position: absolute;
    inset: -20px -16px -18px -68px;
    border-radius: 46px 120px 112px 42px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 252, 255, 0.88) 18%, rgba(244, 249, 255, 0.54) 42%, rgba(244, 249, 255, 0.14) 68%, rgba(244, 249, 255, 0) 92%),
        radial-gradient(circle at 18% 52%, rgba(112, 193, 255, 0.22), transparent 34%);
    border: 1px solid rgba(63, 133, 188, 0.12);
    box-shadow: 0 24px 70px rgba(28, 79, 123, 0.14);
    clip-path: polygon(0 10%, 84% 0, 100% 18%, 95% 90%, 22% 100%, 0 78%);
    z-index: -1;
}

.hero-copy--banner::after {
    content: '';
    position: absolute;
    inset: auto 12% -18% 26%;
    height: 36%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(104, 196, 255, 0.28) 0%, rgba(104, 196, 255, 0.14) 38%, rgba(104, 196, 255, 0) 74%);
    filter: blur(30px);
    opacity: 0.76;
    z-index: -2;
    transform: translate3d(calc(var(--hero-pointer-x) * 0.18), calc(var(--hero-pointer-y) * -0.12), 0);
}

.hero-copy--banner > * {
    position: relative;
    z-index: 1;
}

.hero-editorial-line {
    color: rgba(24, 70, 112, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
}

.hero-copy--banner .display-title {
    color: #183a61;
    font-size: clamp(2.72rem, 4.9vw, 5rem);
    line-height: 0.97;
    text-shadow: none;
    letter-spacing: -0.01em;
}

.hero-copy--banner .display-title--hero {
    justify-items: start;
    gap: clamp(0.08em, 0.6vw, 0.16em);
}

.hero-copy--banner .display-title--hero .title-line {
    width: 100%;
    white-space: normal;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-copy--banner .display-title .accent {
    background: linear-gradient(120deg, #184a7d, #2390d7, #91d8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy--banner .lead-copy {
    max-width: 40ch;
    color: rgba(19, 42, 68, 0.78);
    font-size: 0.98rem;
}

.hero-banner-note {
    max-width: 38ch;
    color: rgba(25, 57, 92, 0.58);
    font-size: 0.94rem;
    margin: 0;
}

.hero-copy--banner .btn {
    background: linear-gradient(135deg, #173e66, #2788d0);
    box-shadow: 0 18px 30px rgba(39, 136, 208, 0.22);
}

.hero-copy--banner .btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: #173e66;
    border-color: rgba(23, 62, 102, 0.16);
}

.hero-scroll-cue {
    position: absolute;
    right: clamp(26px, 4vw, 46px);
    bottom: 20px;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(20, 57, 93, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.68rem;
}

.hero-scroll-cue-label {
    opacity: 0.72;
}

.hero-scroll-cue-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(23, 62, 102, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 30px rgba(17, 53, 87, 0.12);
    animation: hero-scroll-bob 1.8s ease-in-out infinite;
}

.hero-scroll-cue:hover .hero-scroll-cue-icon {
    border-color: rgba(39, 136, 208, 0.28);
}

.art-card img,
.roster-art img,
.page-visual img,
.visual-frame img {
    transition: transform 620ms ease, filter 620ms ease;
}

.art-card:hover img,
.roster-card:hover .roster-art img,
.page-visual:hover img,
.visual-frame:hover img {
    transform: scale(1.04);
    filter: saturate(1.06);
}

.visual-stage {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
}

.visual-stage--poster {
    min-height: 720px;
    padding: 24px 0 18px;
    align-items: end;
}

.visual-stage::before,
.visual-stage::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.72;
}

.visual-stage::before {
    inset: 16% auto auto 2%;
    width: 160px;
    height: 160px;
    background: rgba(209, 75, 105, 0.34);
}

.visual-stage::after {
    inset: auto 0 12% auto;
    width: 200px;
    height: 200px;
    background: rgba(116, 214, 255, 0.24);
}

.visual-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    border-radius: 36px;
    overflow: hidden;
    transform: rotate(-5deg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.42);
}

.visual-frame img {
    width: 100%;
    aspect-ratio: 4 / 5.3;
    object-fit: cover;
}

.hero-backdrop-card {
    position: absolute;
    z-index: 0;
    inset: 14% auto 22% 2%;
    width: min(100%, 330px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
    transform: rotate(-8deg);
    opacity: 0.52;
    animation: hero-backdrop-enter 920ms cubic-bezier(0.16, 0.84, 0.34, 1.04) both;
}

.hero-backdrop-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 13, 0.16), rgba(7, 8, 13, 0.48));
}

.hero-backdrop-card img {
    width: 100%;
    aspect-ratio: 4 / 5.3;
    object-fit: cover;
}

.visual-frame--hero-poster {
    width: min(100%, 470px);
    margin-left: auto;
    transform: rotate(4deg);
    animation: hero-poster-enter 940ms cubic-bezier(0.16, 0.84, 0.34, 1.04) both;
}

.visual-frame--hero-poster img {
    aspect-ratio: 4 / 5.8;
    object-position: center top;
}

.hero-poster-tag {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 14%;
    width: min(100%, 290px);
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 9, 14, 0.74);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
    animation: hero-note-enter 920ms 120ms cubic-bezier(0.16, 0.84, 0.34, 1.04) both;
}

.hero-poster-tag .section-kicker {
    margin-bottom: 12px;
}

.hero-poster-tag strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.15rem;
    font-family: 'Noto Serif TC', serif;
}

.hero-poster-tag p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.floating-note {
    position: absolute;
    z-index: 2;
    max-width: 220px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 9, 14, 0.72);
    backdrop-filter: blur(18px);
}

.floating-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.floating-note p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.floating-note.is-top {
    top: 7%;
    right: 2%;
}

.floating-note.is-bottom {
    left: 4%;
    bottom: 9%;
}

.visual-stage--poster .floating-note {
    max-width: 238px;
}

.visual-stage--poster .floating-note.is-top {
    top: 5%;
    right: 0;
    animation: hero-note-enter 920ms 180ms cubic-bezier(0.16, 0.84, 0.34, 1.04) both;
}

.visual-stage--poster .floating-note.is-bottom {
    left: 8%;
    bottom: 2%;
    animation: hero-note-enter 920ms 260ms cubic-bezier(0.16, 0.84, 0.34, 1.04) both;
}

.section {
    padding: 42px 0;
}

.section-tight-top {
    padding-top: 26px;
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    max-width: 760px;
}

body.page-world .section-heading,
body.page-characters .section-heading,
body.page-gameplay .section-heading,
body.page-download .section-heading,
body.page-contact .section-heading {
    position: relative;
    padding-top: 18px;
}

body.page-world .section-heading::before,
body.page-characters .section-heading::before,
body.page-gameplay .section-heading::before,
body.page-download .section-heading::before,
body.page-contact .section-heading::before {
    content: '';
    width: 84px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(116, 214, 255, 0), rgba(116, 214, 255, 0.92) 42%, rgba(245, 210, 141, 0.56) 100%);
    box-shadow: 0 0 20px rgba(116, 214, 255, 0.24);
}

.section-kicker {
    width: fit-content;
}

body.page-world .section-kicker,
body.page-characters .section-kicker,
body.page-gameplay .section-kicker,
body.page-download .section-kicker,
body.page-contact .section-kicker {
    background: rgba(116, 214, 255, 0.08);
    border-color: rgba(116, 214, 255, 0.18);
    color: #d6ebff;
    box-shadow: inset 0 0 0 1px rgba(116, 214, 255, 0.04);
}

.feature-grid,
.roster-preview,
.world-grid,
.qte-grid,
.platform-grid,
.skill-grid,
.contact-grid,
.metric-grid {
    display: grid;
    gap: 18px;
}

.feature-grid,
.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roster-preview,
.skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.world-grid,
.qte-grid,
.platform-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card h3,
.world-card h3,
.qte-card h3,
.platform-card h3,
.contact-title {
    position: relative;
    z-index: 1;
    margin: 10px 0 8px;
    font-size: 1.28rem;
}

.card-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-size: 1.3rem;
}

.feature-split,
.split-layout,
.cta-layout,
.download-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    align-items: center;
}

.media-stack {
    display: grid;
    gap: 18px;
}

.art-card {
    min-height: 220px;
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-card.tall {
    min-height: 440px;
}

.art-card.tall img {
    aspect-ratio: 4 / 5;
}

.art-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: calc(100% - 36px);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(7, 8, 13, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.82rem;
}

.media-copy {
    display: grid;
    gap: 18px;
}

.bullet-list,
.footer-links,
.system-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bullet-list li,
.footer-links li,
.system-list li {
    color: var(--text-muted);
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--rose));
}

.note-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.character-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roster-card {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.roster-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.roster-head {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.roster-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roster-name {
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Noto Serif TC', serif;
}

.roster-name span {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roster-art {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 46%), rgba(7, 8, 13, 0.7);
}

.roster-art img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    padding: 12px;
}

.tag-list {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tag-list span,
.mini-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.84rem;
    text-align: center;
}

.character-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.character-chip {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.character-chip img {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 16px;
    object-fit: cover;
}

.character-chip strong {
    display: block;
    font-size: 0.95rem;
}

.character-chip span {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-step {
    display: grid;
    gap: 10px;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
}

.timeline-index {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 800;
}

.timeline-copy {
    position: relative;
    z-index: 1;
}

.timeline-title {
    margin: 2px 0 8px;
    font-size: 1.25rem;
}

.skill-card {
    padding: 14px;
}

.skill-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.skill-card h3,
.skill-card p {
    position: relative;
    z-index: 1;
}

.skill-card h3 {
    margin: 14px 4px 8px;
    font-size: 1.1rem;
}

.skill-card p {
    margin: 0 4px 4px;
    color: var(--text-muted);
}

.motion-gallery {
    display: grid;
    gap: 22px;
}

.motion-group {
    display: grid;
    gap: 22px;
}

.motion-group-head {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.motion-group-head .lead-copy {
    margin: 0;
}

.motion-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.motion-card {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.motion-frame {
    overflow: hidden;
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 44%), rgba(7, 8, 13, 0.76);
    aspect-ratio: 4 / 5;
}

.motion-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.motion-card figcaption {
    display: grid;
    gap: 4px;
}

.motion-card strong {
    font-size: 1rem;
}

.motion-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
}

@keyframes page-shell-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@keyframes hero-poster-enter {
    from {
        opacity: 0;
        transform: translateY(44px) rotate(9deg) scale(0.93);
    }
    to {
        opacity: 1;
        transform: rotate(4deg) scale(1);
    }
}

@keyframes hero-backdrop-enter {
    from {
        opacity: 0;
        transform: translateY(28px) rotate(-12deg) scale(0.92);
    }
    to {
        opacity: 0.52;
        transform: rotate(-8deg) scale(1);
    }
}

@keyframes hero-note-enter {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ambient-aurora {
    from {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }
    to {
        transform: translate3d(3%, 2%, 0) scale(1.08);
    }
}

@keyframes hero-scroll-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.quote-panel {
    padding: 30px;
}

.quote-panel p {
    position: relative;
    z-index: 1;
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.5;
    margin: 0;
}

.quote-panel span {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 14px;
    color: var(--text-soft);
}

.surface-panel {
    display: grid;
    gap: 16px;
}

.surface-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-note {
    position: relative;
    z-index: 1;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-note strong {
    display: block;
    margin-bottom: 6px;
}

.mini-note p {
    margin: 0;
    color: var(--text-muted);
}

.swatch-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.swatch {
    position: relative;
    min-height: 144px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.swatch span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.swatch-crimson {
    background: linear-gradient(135deg, #22070c, #c12a59 85%);
}

.swatch-aqua {
    background: linear-gradient(135deg, #081421, #64d8ff 85%);
}

.swatch-violet {
    background: linear-gradient(135deg, #10071e, #7d6ff0 85%);
}

.swatch-ivory {
    background: linear-gradient(135deg, #281f1c, #f5d28d 85%);
}

.contact-panel {
    display: grid;
    gap: 16px;
}

.contact-panel img.qr-image {
    width: min(100%, 240px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.status-pill {
    width: fit-content;
    color: var(--gold);
}

.status-pill.is-soon {
    color: var(--aqua);
}

.status-pill.is-paused {
    color: var(--rose);
}

.platform-card {
    display: grid;
    gap: 12px;
}

.platform-card .card-icon {
    color: var(--aqua);
}

.platform-card .mini-list {
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    margin: 0;
    padding-left: 18px;
}

.footer {
    padding: 26px 0 44px;
}

.footer-panel {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.7fr));
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(11, 12, 18, 0.72);
    box-shadow: var(--shadow);
}

.footer-title {
    font-size: 1.7rem;
}

.footer-copy,
.footer-links a,
.footer-meta {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-meta {
    font-size: 0.95rem;
}

.page-hero {
    padding-top: 58px;
}

.page-hero-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    align-items: end;
}

.page-copy {
    display: grid;
    gap: 18px;
}

.page-title {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.page-visual {
    justify-self: end;
    width: min(100%, 460px);
}

.page-visual img {
    width: 100%;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.35);
}

.poster-card-full {
    min-height: 0;
    padding: 18px;
    background:
        radial-gradient(circle at top, rgba(116, 214, 255, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.poster-card-full img {
    width: 100%;
    aspect-ratio: 4 / 5.8;
    object-fit: contain;
    border-radius: 22px;
    background: rgba(7, 8, 13, 0.6);
}

.video-showcase,
.video-grid {
    display: grid;
    gap: 18px;
}

.video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #050608;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-frame iframe,
.video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-frame.is-embed-fallback {
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 36px);
    background:
        radial-gradient(circle at top left, rgba(211, 94, 94, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(84, 129, 214, 0.16), transparent 30%),
        #050608;
}

.video-fallback {
    display: grid;
    gap: 14px;
    width: min(100%, 560px);
    padding: clamp(22px, 3vw, 30px);
    border-radius: 22px;
    background: rgba(10, 12, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-fallback-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-fallback h3,
.video-fallback p {
    margin: 0;
}

.video-fallback p {
    color: var(--muted);
}

.video-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.video-card h3,
.video-card p,
.video-card .tag-list,
.video-card .pill-row {
    position: relative;
    z-index: 1;
}

.video-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.video-card p {
    margin: 0;
    color: var(--text-muted);
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.video-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.download-path {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.download-path strong {
    color: var(--gold);
}

.pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill-row span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: 12px 0;
}

.text-link {
    color: var(--aqua);
}

.text-link:hover {
    color: var(--gold);
}

@media (max-width: 1080px) {
    .hero-grid,
    .feature-split,
    .split-layout,
    .cta-layout,
    .download-layout,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-visual,
    .visual-frame {
        justify-self: start;
    }

    .visual-stage {
        min-height: 560px;
    }

    .hero-banner {
        min-height: 760px;
    }

    .hero-banner-art {
        object-position: 16% 24%;
    }

    .hero-banner-inner {
        grid-template-columns: minmax(0, 0.84fr) minmax(320px, 460px);
        padding: 64px 0 86px;
    }

    .hero-copy--banner {
        max-width: min(460px, 100%);
    }

    .hero-copy--banner .display-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
        line-height: 0.99;
    }

    .hero-copy--banner .display-title--hero {
        gap: 0.14em;
    }

    .hero-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .metric-grid,
    .roster-preview,
    .skill-grid,
    .motion-grid,
    .character-grid,
    .footer-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .character-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    :root {
        --container: min(100vw - 28px, 100%);
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 16px 0;
        align-items: center;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .nav-toggle {
        display: inline-block;
    }

    .header-inner > .language-switcher {
        order: 1;
        grid-column: 1 / -1;
    }

    .site-nav {
        order: 2;
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        gap: 8px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 260ms ease, opacity 180ms ease, transform 220ms ease;
    }

    .site-header.is-nav-open .site-nav {
        max-height: min(calc(100vh - 112px), 560px);
        opacity: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
        pointer-events: auto;
        transform: none;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .site-nav a {
        white-space: nowrap;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.04);
    }

    .language-switcher {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        border-radius: 16px;
        padding: 12px 14px;
    }

    .language-switcher__buttons {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero-section,
    .page-hero {
        padding-top: 46px;
    }

    .hero-section--cinematic {
        padding-top: 0;
    }

    .display-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-banner {
        min-height: 780px;
    }

    .hero-banner::before {
        background:
            linear-gradient(180deg, rgba(248, 251, 255, 0.04) 0%, rgba(248, 251, 255, 0.12) 20%, rgba(248, 251, 255, 0.74) 58%, rgba(248, 251, 255, 0.96) 84%, rgba(246, 249, 255, 0.99) 100%),
            radial-gradient(circle at 72% 24%, rgba(116, 214, 255, 0.24), transparent 28%);
    }

    .hero-banner-art {
        object-position: 10% 18%;
    }

    .hero-banner-inner {
        grid-template-columns: 1fr;
        align-items: end;
        padding: 74px 0 78px;
    }

    .hero-copy--banner {
        justify-self: stretch;
        max-width: 100%;
        gap: 18px;
        padding: 24px 22px;
        transform: translate3d(0, calc(var(--hero-copy-shift) * -0.28), 0);
    }

    .hero-copy--banner::before {
        inset: -12px -8px -14px -18px;
        border-radius: 34px 78px 88px 28px;
        clip-path: polygon(0 12%, 88% 0, 100% 20%, 94% 90%, 18% 100%, 0 78%);
    }

    .hero-copy--banner::after {
        inset: auto 16% -20% 10%;
        opacity: 0.56;
    }

    .hero-copy--banner .display-title {
        font-size: clamp(2.2rem, 8.1vw, 3.55rem);
        line-height: 1.02;
        letter-spacing: -0.015em;
    }

    .hero-copy--banner .display-title--hero {
        gap: 0.2em;
    }

    .hero-copy--banner .lead-copy {
        max-width: 40ch;
        font-size: 0.98rem;
    }

    .hero-banner-note {
        max-width: 40ch;
    }

    .hero-particles {
        inset: 0;
        opacity: 0.48;
    }

    .hero-typography-layer {
        top: 7%;
        right: 0;
        width: auto;
        gap: 10px;
        opacity: 0.84;
    }

    .hero-copy--banner .display-title--hero .title-line {
        width: fit-content;
        max-width: 4.6ch;
        line-height: 0.98;
    }

    .hero-copy--banner .display-title--hero .title-line:first-child {
        max-width: 4.8ch;
        font-size: 0.92em;
    }

    .hero-copy--banner .display-title--hero .title-line:last-child {
        max-width: 4.4ch;
    }

    .hero-typography-word {
        font-size: clamp(3.6rem, 10vw, 6.4rem);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        letter-spacing: 0.14em;
        line-height: 0.72;
    }

    .hero-typography-word--sub {
        font-size: 0.72rem;
        letter-spacing: 0.3em;
        writing-mode: horizontal-tb;
        transform: rotate(90deg) translateX(8px);
        transform-origin: right top;
    }

    .stat-strip,
    .feature-grid,
    .metric-grid,
    .roster-preview,
    .world-grid,
    .qte-grid,
    .platform-grid,
    .skill-grid,
    .motion-grid,
    .contact-grid,
    .character-grid,
    .note-grid,
    .footer-panel,
    .surface-meta,
    .tag-list,
    .swatch-row {
        grid-template-columns: 1fr;
    }

    .character-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-step,
    .roster-header {
        grid-template-columns: 1fr;
    }

    .timeline-index,
    .roster-head {
        width: 56px;
        height: 56px;
    }

    .visual-stage {
        min-height: 520px;
    }

    .visual-stage--poster {
        min-height: 650px;
    }

    .hero-backdrop-card {
        inset: 14% auto 26% 0;
        width: min(48%, 280px);
    }

    .hero-poster-tag {
        left: 0;
        bottom: 16%;
    }

    .visual-stage--poster {
        min-height: 620px;
    }

    .visual-frame--hero-poster {
        width: min(82%, 360px);
    }

    .hero-backdrop-card {
        width: min(54%, 250px);
    }

    .hero-poster-tag {
        width: min(100%, 240px);
        padding: 16px 18px;
    }

    .floating-note {
        max-width: 180px;
        padding: 12px 14px;
    }

    .floating-note.is-top {
        top: 3%;
        right: 0;
    }

    .floating-note.is-bottom {
        left: 0;
        bottom: 5%;
    }
}

@media (max-width: 560px) {
    .brand {
        width: 100%;
    }

    .site-nav {
        width: 100%;
        gap: 8px;
    }

    .site-nav a {
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    .hero-actions,
    .page-actions,
    .contact-actions,
    .download-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-banner {
        min-height: 740px;
    }

    .hero-banner-art {
        object-position: 8% 14%;
    }

    .hero-banner-inner {
        padding: 44px 0 62px;
        justify-items: end;
    }

    .hero-copy--banner .display-title {
        font-size: clamp(1.96rem, 9.4vw, 3rem);
        line-height: 1.03;
    }

    .hero-copy--banner .display-title--hero .title-line {
        max-width: 4.2ch;
    }

    .hero-copy--banner .display-title--hero .title-line:first-child {
        max-width: 4.4ch;
    }

    .hero-copy--banner .lead-copy {
        font-size: 0.94rem;
    }

    .hero-copy--banner {
        justify-self: end;
        width: min(100%, 224px);
        max-width: 224px;
        gap: 12px;
        padding: 0;
        transform: none;
    }

    .hero-copy--banner::before {
        display: none;
    }

    .hero-copy--banner::after {
        display: none;
    }

    .hero-copy--banner > :not(.hero-actions) {
        display: none;
    }

    .hero-copy-meta {
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    .hero-typography-layer {
        display: none;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-typography-word--sub {
        font-size: 0.68rem;
        letter-spacing: 0.22em;
        transform: rotate(90deg) translateX(4px);
    }

    .eyebrow--hero {
        gap: 10px;
        font-size: 0.68rem;
    }

    .eyebrow--hero::before,
    .eyebrow--hero::after {
        width: 18px;
    }

    .visual-stage--poster {
        min-height: 560px;
    }

    .hero-poster-tag {
        right: 0;
        left: auto;
        bottom: 16%;
        max-width: 210px;
    }

    .hero-backdrop-card {
        width: min(56%, 210px);
        inset: 18% auto auto 0;
    }

    .visual-stage--poster .floating-note.is-bottom {
        left: 0;
        bottom: 0;
    }

    .character-strip {
        grid-template-columns: 1fr;
    }

    .hero-scroll-cue {
        right: 20px;
        bottom: 14px;
    }
}

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

    body::after,
    .site-shell,
    .hero-backdrop-card,
    .visual-frame--hero-poster,
    .hero-poster-tag,
    .visual-stage--poster .floating-note,
    .hero-scroll-cue-icon {
        animation: none;
    }

    body.motion-enabled [data-reveal] {
        opacity: 1;
        visibility: visible;
        transform: none;
        filter: none;
    }

    .hero-banner-art,
    .hero-copy--banner {
        transform: none;
    }

    .site-body.is-page-leaving .site-shell {
        transition: none;
        transform: none;
        filter: none;
    }
}