:root {
	--font-main: "Noto Sans TC", sans-serif;
	--navy-950: #030914;
	--navy-900: #061221;
	--navy-850: #091a2d;
	--navy-800: #0d2239;
	--navy-700: #173856;
	--ice-paper: #e9f4f5;
	--ice-white: #f6fbfc;
	--ink: #071522;
	--text: #edf8ff;
	--muted: #a9bfd0;
	--fire: #ff4e35;
	--fire-soft: #ff9a63;
	--ice: #58d9ff;
	--ice-deep: #168fbd;
	--thunder: #b27aff;
	--nature: #71d98b;
	--line: rgba(214, 239, 255, 0.18);
	--line-dark: rgba(7, 21, 34, 0.16);
	--container: 1400px;
	--gutter: clamp(22px, 4vw, 64px);
	--section-space: clamp(82px, 10vw, 150px);
	--display: clamp(38px, 5vw, 68px);
	--h1: clamp(34px, 4.8vw, 64px);
	--h2: clamp(30px, 3.5vw, 48px);
	--h3: clamp(22px, 2.2vw, 31px);
	--body: clamp(16px, 1.2vw, 18px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; overflow-x: hidden; background: var(--navy-950); color: var(--text); font-family: var(--font-main); font-size: var(--body); line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }

img { display: block; width: 100%; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }

figure, p, h1, h2, h3, ol, ul { margin-top: 0; }

ul, ol { padding: 0; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--ice-white); color: var(--ink); transform: translateY(-150%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }

.section-shell { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: currentColor; font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { width: 38px; height: 2px; background: currentColor; content: ""; }

.section-intro { max-width: 650px; }
.section-intro h2 { margin-bottom: 24px; font-size: var(--h2); line-height: 1.26; letter-spacing: -0.025em; }
.section-intro p { max-width: 600px; margin-bottom: 0; color: inherit; opacity: 0.78; }

.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.text-link::after { content: "↗"; transition: transform 0.25s ease; }
.text-link:hover::after { transform: translate(4px, -4px); }

.js .reveal-fade { opacity: 0; transition: opacity 0.7s ease; }
.js .reveal-shift { opacity: 0; transform: translateX(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal-line { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .is-visible.reveal-fade, .js .is-visible.reveal-shift { opacity: 1; transform: none; }
.js .is-visible.reveal-line { clip-path: inset(0 0 0 0); }

/* header */
header.site-header { position: relative; min-height: 760px; overflow: hidden; background: var(--navy-950); }
header.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 130px; background: linear-gradient(to bottom, transparent, var(--navy-950)); pointer-events: none; content: ""; }
header .main-nav { position: fixed; top: 0; right: 0; left: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 82px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease, min-height 0.3s ease; }
header .main-nav.is-scrolled { min-height: 66px; border-color: var(--line); background: rgba(3, 9, 20, 0.94); }
header .nav-list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin: 0; list-style: none; }
header .nav-list a { position: relative; display: block; padding: 12px 0; color: #d9eafa; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }
header .nav-list a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--ice); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; content: ""; }
header .nav-list a:hover::after, header .nav-list a.is-active::after { transform: scaleX(1); }
header .nav-list-right { justify-content: flex-end; }
header .brand-mark { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; letter-spacing: 0.11em; white-space: nowrap; }
header .brand-mark strong { display: grid; place-items: center; width: 42px; aspect-ratio: 1; }
header .language-list { display: flex; align-items: center; gap: 5px; margin: 0 0 0 8px; padding-left: 20px; border-left: 1px solid var(--line); list-style: none; }
header .language-list a { width: 34px; padding: 8px 0; text-align: center; }
header .language-list a.is-active { color: var(--ice); }
header .menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; }
header .menu-toggle span { display: block; width: 21px; height: 1px; margin: 6px auto; background: var(--text); transition: transform 0.25s ease, opacity 0.25s ease; }
header .menu-toggle.is-active span:first-child { transform: translateY(7px) rotate(45deg); }
header .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
header .menu-toggle.is-active span:last-child { transform: translateY(-7px) rotate(-45deg); }
header .mobile-panel { display: none; }
header .hero { position: relative; display: grid; align-items: center; min-height: 760px; padding: 132px var(--gutter) 80px; isolation: isolate; }
header .hero-world-image { position: absolute; inset: 0; z-index: -4; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(0.8) contrast(1.08) brightness(0.65); transform: scale(1.035); transition: transform 1.4s ease; }
header .hero.is-active .hero-world-image { transform: scale(1); }
header .hero-overlay { position: absolute; inset: 0; z-index: -3; background: linear-gradient( 90deg, rgba(3, 9, 20, 0.96) 0%, rgba(3, 9, 20, 0.7) 40%, rgba(3, 9, 20, 0.34) 67%, rgba(3, 9, 20, 0.8) 100% ); }
header .hero-color-field { position: absolute; inset: 0; z-index: -2; background: radial-gradient( circle at 75% 40%, rgba(88, 217, 255, 0.13), transparent 25% ), radial-gradient( circle at 58% 72%, rgba(255, 78, 53, 0.12), transparent 22% ); mix-blend-mode: screen; }
header .hero-layout { display: grid; grid-template-columns: minmax(310px, 0.82fr) minmax(560px, 1.18fr); gap: clamp(40px, 6vw, 100px); align-items: center; width: min(var(--container), 100%); margin-inline: auto; }
header .hero-copy { position: relative; z-index: 3; max-width: 620px; }
header .hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--ice); font-size: 14px; font-weight: 800; letter-spacing: 0.2em; }
header .hero-kicker::before { width: 48px; height: 1px; background: var(--ice); content: ""; }
header .hero-copy h1 { max-width: 650px; margin-bottom: 28px; font-size: var(--h1); line-height: 1.18; letter-spacing: -0.035em; }
header .hero-copy h1 em { color: var(--fire-soft); font-style: normal; }
header .hero-copy p { max-width: 560px; margin-bottom: 34px; color: #c5d9e7; }
header .hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
header .primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--ice); background: var(--ice); color: var(--ink); font-size: 15px; font-weight: 800; transition: background-color 0.25s ease, color 0.25s ease; }
header .primary-link:hover { background: transparent; color: var(--ice); }
header .secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 8px; border-bottom: 1px solid rgba(237, 248, 255, 0.55); font-size: 15px; font-weight: 700; }
header .hero-stage { position: relative; min-height: 570px; }
header .rune-arena { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: min(510px, 72vw); aspect-ratio: 1; border: 1px solid rgba(88, 217, 255, 0.25); transform: translate(-50%, -50%) rotate(2deg); clip-path: polygon( 18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18% ); }
header .rune-arena::before { position: absolute; inset: 8%; border: 1px solid rgba(178, 122, 255, 0.28); clip-path: polygon( 50% 0, 88% 12%, 100% 50%, 88% 88%, 50% 100%, 12% 88%, 0 50%, 12% 12% ); content: ""; }
header .rune-arena::after { position: absolute; inset: 20%; border: 1px dashed rgba(255, 154, 99, 0.34); border-radius: 50%; content: ""; }
header .spell-board { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: 72%; padding: 18px; border: 1px solid rgba(237, 248, 255, 0.18); background: rgba(4, 13, 26, 0.84); transform: rotate(-2deg); }
header .rune-piece { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; background: no-repeat 50% / cover; cursor: pointer; transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease; }
header .rune-piece span { font-size: 14px; font-weight: 900; }
header .rune-piece:hover, header .rune-piece.is-active { z-index: 2; transform: scale(1.13); filter: brightness(1.25); }
header .rune-piece.is-fire { background-image: url(../images/element-icon-fire.webp); }
header .rune-piece.is-ice { background-image: url(../images/element-icon-ice.webp); }
header .rune-piece.is-thunder { background-image: url(../images/element-icon-thunder.webp); }
header .rune-piece.is-nature { background-image: url(../images/element-icon-nature.webp); }
header .element-callout { position: absolute; z-index: 4; width: 150px; padding: 10px 12px; border-left: 2px solid currentColor; background: rgba(3, 9, 20, 0.66); color: var(--text); font-size: 14px; line-height: 1.45; }
header .element-callout strong { display: block; margin-bottom: 3px; font-size: 15px; }
header .element-callout-fire { top: 10%; left: 0; color: var(--fire-soft); }
header .element-callout-ice { top: 8%; right: 0; color: var(--ice); }
header .element-callout-thunder { right: -2%; bottom: 11%; color: var(--thunder); }
header .element-callout-nature { bottom: 8%; left: 2%; color: var(--nature); }
header .particle-list { position: absolute; inset: 0; z-index: 1; margin: 0; list-style: none; pointer-events: none; }
header .particle-list li { position: absolute; color: var(--ice); font-size: 18px; opacity: 0.75; transition: transform 0.8s ease, opacity 0.8s ease; }
header .particle-list li:nth-child(1) { top: 19%; left: 30%; color: var(--fire); }
header .particle-list li:nth-child(2) { top: 31%; right: 17%; color: var(--ice); }
header .particle-list li:nth-child(3) { right: 31%; bottom: 16%; color: var(--thunder); }
header .particle-list li:nth-child(4) { bottom: 25%; left: 18%; color: var(--nature); }
header .hero.is-active .particle-list li:nth-child(odd) { transform: translate(8px, -6px); opacity: 1; }
header .hero.is-active .particle-list li:nth-child(even) { transform: translate(-7px, 7px); opacity: 1; }
header .hero-status { position: absolute; bottom: 0; left: 50%; z-index: 5; width: min(410px, 80%); padding: 12px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(3, 9, 20, 0.82); text-align: center; transform: translateX(-50%); }
header .hero-status span { color: var(--ice); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
header .hero-status strong { margin-left: 10px; font-size: 15px; }
header .hero-scroll { position: absolute; bottom: 32px; left: var(--gutter); z-index: 4; display: flex; align-items: center; gap: 14px; color: #aac0ce; font-size: 13px; letter-spacing: 0.14em; writing-mode: vertical-rl; }
header .hero-scroll::after { width: 1px; height: 70px; background: linear-gradient(to bottom, var(--ice), transparent); content: ""; }

/* element-system */
#element-system { position: relative; padding: var(--section-space) 0; overflow: hidden; background: var(--ice-paper); color: var(--ink); }
#element-system::before { position: absolute; top: 0; right: 0; width: 31%; height: 11px; background: linear-gradient( 90deg, var(--fire) 0 25%, var(--ice) 25% 50%, var(--thunder) 50% 75%, var(--nature) 75% ); content: ""; }
#element-system .element-layout { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(620px, 1.3fr); gap: clamp(48px, 8vw, 130px); align-items: start; }
#element-system .element-sticky { position: sticky; top: 110px; }
#element-system .element-sticky .text-link { margin-top: 35px; }
#element-system .element-list { margin: 0; border-top: 1px solid var(--line-dark); }
#element-system .element-entry { display: grid; grid-template-columns: 160px 72px 1fr; gap: 26px; align-items: center; min-height: 190px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
#element-system .element-entry figure { margin: 0; overflow: hidden; clip-path: polygon(0 0, 84% 0, 100% 18%, 100% 100%, 0 100%); }
#element-system .element-entry img { aspect-ratio: 4/3; object-fit: cover; filter: saturate(0.8) contrast(1.08); transition: transform 0.7s ease, filter 0.5s ease; }
#element-system .element-entry:hover img { transform: scale(1.04); filter: saturate(1.1) contrast(1.08); }
#element-system .element-symbol { display: grid; place-items: center; width: 58px; aspect-ratio: 1; border: 1px solid currentColor; clip-path: polygon( 24% 0, 76% 0, 100% 24%, 100% 76%, 76% 100%, 24% 100%, 0 76%, 0 24% ); font-size: 16px; font-weight: 900; }
#element-system .element-fire .element-symbol { color: #c93120; }
#element-system .element-ice .element-symbol { color: #007fa9; }
#element-system .element-thunder .element-symbol { color: #7441bc; }
#element-system .element-nature .element-symbol { color: #277d43; }
#element-system .element-copy h3 { margin-bottom: 8px; font-size: var(--h3); line-height: 1.3; }
#element-system .element-copy p { max-width: 540px; margin-bottom: 0; color: #3a4b57; }

/* combat */
#combat { position: relative; padding: var(--section-space) 0; overflow: hidden; background: var(--navy-900); }
#combat .combat-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 65px; }
#combat .combat-heading p { max-width: 570px; margin: 0 0 5px auto; color: var(--muted); }
#combat .combat-layout { display: grid; grid-template-columns: minmax(340px, 0.72fr) minmax(560px, 1.28fr); gap: clamp(36px, 6vw, 92px); align-items: center; }
#combat .battle-flow { margin: 0; list-style: none; counter-reset: battle-step; }
#combat .battle-flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); counter-increment: battle-step; }
#combat .battle-flow li:first-child { border-top: 1px solid var(--line); }
#combat .battle-flow li::before { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--ice); font-size: 14px; font-weight: 800; content: "0" counter(battle-step); }
#combat .battle-flow h3 { margin-bottom: 6px; font-size: 22px; }
#combat .battle-flow p { margin-bottom: 0; color: var(--muted); }
#combat .battle-stage { position: relative; margin: 0; overflow: hidden; border-top: 1px solid rgba(88, 217, 255, 0.6); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% 87%, 88% 100%, 0 100%); }
#combat .battle-stage img { aspect-ratio: 5/4; object-fit: cover; object-position: center; filter: saturate(0.72) contrast(1.12) brightness(0.66); transition: transform 1s ease, filter 0.6s ease; }
#combat .battle-stage.is-visible img { transform: scale(1.025); filter: saturate(0.92) contrast(1.12) brightness(0.72); }
#combat .battle-interface { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: linear-gradient( to bottom, rgba(3, 9, 20, 0.25), transparent 42%, rgba(3, 9, 20, 0.9) ); }
#combat .enemy-line { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; font-size: 14px; font-weight: 700; }
#combat .enemy-meter { height: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.18); }
#combat .enemy-meter span { display: block; width: 72%; height: 100%; background: var(--fire); }
#combat .battle-result { max-width: 460px; padding: 22px 24px; border-left: 3px solid var(--thunder); background: rgba(3, 9, 20, 0.82); }
#combat .battle-result span { display: block; margin-bottom: 6px; color: var(--thunder); font-size: 14px; font-weight: 800; letter-spacing: 0.13em; }
#combat .battle-result strong { display: block; margin-bottom: 5px; font-size: 22px; }
#combat .battle-result p { margin: 0; color: #c7d9e6; font-size: 15px; }

/* characters */
#characters { padding: var(--section-space) 0; background: #0d1e31; }
#characters .character-heading { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 68px; }
#characters .character-heading p { max-width: 620px; margin: 0 0 5px auto; color: var(--muted); }
#characters .character-wall { display: grid; grid-template-columns: 0.8fr 1.15fr 0.8fr; gap: clamp(18px, 2.8vw, 42px); align-items: start; }
#characters .character-figure { position: relative; margin: 0; }
#characters .character-figure:nth-child(2) { margin-top: 70px; }
#characters .character-figure:nth-child(3) { margin-top: 18px; }
#characters .character-image-wrap { position: relative; overflow: hidden; background: var(--navy-950); }
#characters .character-image-wrap::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 9, 20, 0.88), transparent 56%); pointer-events: none; content: ""; }
#characters .character-figure:nth-child(1) .character-image-wrap { clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
#characters .character-figure:nth-child(2) .character-image-wrap { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
#characters .character-figure:nth-child(3) .character-image-wrap { clip-path: polygon(0 7%, 100% 0, 100% 92%, 0 100%); }
#characters .character-figure img { aspect-ratio: 4/5; object-fit: cover; filter: saturate(0.55) contrast(1.12) brightness(0.76); transition: filter 0.5s ease, transform 0.8s ease; }
#characters .character-figure:nth-child(1) img { object-position: center 34%; }
#characters .character-figure:nth-child(2) img { aspect-ratio: 3/4; object-position: center 28%; }
#characters .character-figure:nth-child(3) img { object-position: center 30%; }
#characters .character-figure:hover img { filter: saturate(0.9) contrast(1.08) brightness(0.84); transform: scale(1.025); }
#characters .character-aura { position: absolute; inset: auto 0 0; z-index: 2; height: 34%; mix-blend-mode: screen; pointer-events: none; }
#characters .character-fire .character-aura { background: linear-gradient(to top, rgba(255, 78, 53, 0.46), transparent); }
#characters .character-ice .character-aura { background: linear-gradient(to top, rgba(88, 217, 255, 0.42), transparent); }
#characters .character-thunder .character-aura { background: linear-gradient(to top, rgba(178, 122, 255, 0.48), transparent); }
#characters .character-caption { position: relative; z-index: 3; width: calc(100% - 24px); margin: -36px 0 0 24px; padding: 20px 0 0 22px; border-left: 2px solid currentColor; }
#characters .character-caption span { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 800; letter-spacing: 0.11em; }
#characters .character-caption h3 { margin-bottom: 7px; font-size: clamp(23px, 2.1vw, 31px); }
#characters .character-caption p { max-width: 330px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
#characters .character-fire .character-caption { color: var(--fire-soft); }
#characters .character-ice .character-caption { color: var(--ice); }
#characters .character-thunder .character-caption { color: var(--thunder); }
#characters .character-caption p, #characters .character-caption h3 { color: var(--text); }

/* bosses */
#bosses { position: relative; padding: 0; overflow: hidden; background: var(--navy-950); }
#bosses .boss-stage { position: relative; min-height: 760px; margin: 0; }
#bosses .boss-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(0.62) contrast(1.18) brightness(0.58); }
#bosses .boss-stage::after { position: absolute; inset: 0; background: linear-gradient( 90deg, rgba(3, 9, 20, 0.94) 0%, rgba(3, 9, 20, 0.72) 45%, rgba(3, 9, 20, 0.22) 76% ), linear-gradient(to top, rgba(3, 9, 20, 0.92), transparent 58%); content: ""; }
#bosses .boss-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.22fr); gap: 80px; align-items: end; min-height: 760px; padding-top: var(--section-space); padding-bottom: 95px; }
#bosses .boss-intro h2 { max-width: 600px; margin-bottom: 24px; font-size: var(--h2); line-height: 1.22; }
#bosses .boss-intro p { max-width: 560px; margin-bottom: 32px; color: #c6d9e7; }
#bosses .boss-index { align-self: end; margin: 0; list-style: none; }
#bosses .boss-index li { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(237, 248, 255, 0.28); }
#bosses .boss-index li:last-child { border-bottom: 1px solid rgba(237, 248, 255, 0.28); }
#bosses .boss-index span { color: var(--ice); font-size: 14px; font-weight: 800; }
#bosses .boss-index strong { font-size: 19px; }
#bosses .boss-index em { color: #bacdda; font-size: 14px; font-style: normal; }
#bosses .boss-warning { position: absolute; top: 110px; right: var(--gutter); z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid rgba(255, 78, 53, 0.7); color: #ffb39e; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }
#bosses .boss-warning::before { width: 8px; aspect-ratio: 1; background: var(--fire); transform: rotate(45deg); content: ""; }

/* skill-combos */
#skill-combos { padding: var(--section-space) 0; background: var(--ice-white); color: var(--ink); }
#skill-combos .combo-heading { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: end; margin-bottom: 65px; }
#skill-combos .combo-heading p { max-width: 650px; margin: 0 0 5px auto; color: #40515c; }
#skill-combos .combo-table { border-top: 2px solid var(--ink); }
#skill-combos .combo-row { display: grid; grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 0.9fr) minmax( 300px, 1.3fr ) 34px; gap: 30px; align-items: center; min-height: 132px; padding: 25px 0; border-bottom: 1px solid var(--line-dark); transition: background-color 0.25s ease, padding 0.25s ease; }
#skill-combos .combo-row:hover { padding-right: 18px; padding-left: 18px; background: #dcecef; }
#skill-combos .combo-name span { display: block; margin-bottom: 4px; color: #536976; font-size: 14px; font-weight: 800; letter-spacing: 0.09em; }
#skill-combos .combo-name h3 { margin-bottom: 0; font-size: 24px; }
#skill-combos .rune-sequence { display: flex; align-items: center; gap: 8px; }
#skill-combos .mini-rune { display: grid; place-items: center; width: 46px; aspect-ratio: 1; background: no-repeat 50% / cover; }
#skill-combos .mini-rune-fire { background-image: url(../images/element-icon-fire.webp); }
#skill-combos .mini-rune-ice { background-image: url(../images/element-icon-ice.webp); }
#skill-combos .mini-rune-thunder { background-image: url(../images/element-icon-thunder.webp); }
#skill-combos .mini-rune-nature { background-image: url(../images/element-icon-nature.webp); }
#skill-combos .rune-plus { color: #526570; font-weight: 800; }
#skill-combos .combo-effect { margin: 0; color: #354a56; }
#skill-combos .combo-arrow { font-size: 24px; transition: transform 0.25s ease; }
#skill-combos .combo-row:hover .combo-arrow { transform: translateX(6px); }

/* adventure */
#adventure { position: relative; padding: var(--section-space) 0; overflow: hidden; background: #071524; }
#adventure::before { position: absolute; top: 0; left: 0; width: 34%; height: 100%; background: #0c2035; content: ""; }
#adventure .adventure-layout { position: relative; display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr); gap: clamp(55px, 8vw, 125px); align-items: center; }
#adventure .adventure-visual { position: relative; margin: 0; }
#adventure .adventure-visual::before { position: absolute; top: -28px; right: -28px; z-index: 0; width: 52%; height: 58%; border: 1px solid rgba(88, 217, 255, 0.34); content: ""; }
#adventure .adventure-visual img { position: relative; z-index: 1; aspect-ratio: 3/4; object-fit: cover; object-position: center; filter: saturate(0.68) contrast(1.12) brightness(0.7); clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 12% 100%, 0 88%); }
#adventure .adventure-copy h2 { max-width: 690px; margin-bottom: 24px; font-size: var(--h2); line-height: 1.25; }
#adventure .adventure-copy > p { max-width: 610px; margin-bottom: 45px; color: var(--muted); }
#adventure .chapter-list { margin: 0 0 38px; list-style: none; }
#adventure .chapter-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
#adventure .chapter-list li:last-child { border-bottom: 1px solid var(--line); }
#adventure .chapter-list span { color: var(--ice); font-size: 14px; font-weight: 800; }
#adventure .chapter-list strong { font-size: 18px; }
#adventure .chapter-list em { color: var(--muted); font-size: 14px; font-style: normal; }

/* footer */
footer.site-footer { position: relative; overflow: hidden; padding: 90px var(--gutter) 34px; background: #020711; }
footer.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient( 90deg, var(--fire), var(--ice), var(--thunder), var(--nature) ); content: ""; }
footer .footer-shell { width: min(var(--container), 100%); margin-inline: auto; }
footer .footer-statement { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: end; padding-bottom: 72px; }
footer .footer-statement h2 { max-width: 900px; margin-bottom: 0; font-size: clamp(31px, 4.4vw, 62px); line-height: 1.2; letter-spacing: -0.035em; }
footer .footer-statement h2 span { color: var(--ice); }
footer .footer-action { justify-self: end; max-width: 420px; }
footer .footer-action p { margin-bottom: 24px; color: var(--muted); }
footer .footer-nav { display: grid; grid-template-columns: auto 1fr auto; gap: 35px; align-items: center; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
footer .footer-brand { font-size: 15px; font-weight: 900; letter-spacing: 0.12em; }
footer .footer-link-list { display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); margin: 0; list-style: none; }
footer .footer-link-list a { color: #c5d8e5; font-size: 14px; }
footer .footer-link-list a:hover { color: var(--ice); }
footer .footer-language { color: #8ca4b5; font-size: 14px; }
footer .footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; color: #7690a2; font-size: 14px; }
footer .footer-bottom p { margin: 0; }

@media (max-width: 1280px) {
	:root { --container: 1160px; --gutter: clamp(24px, 3.4vw, 44px); }
	header .hero-layout { grid-template-columns: minmax(300px, 0.85fr) minmax(500px, 1.15fr); gap: 45px; }
	header .hero-stage { min-height: 520px; }
	header .rune-arena { width: 460px; }
	header .element-callout { width: 138px; font-size: 13px; }
	#element-system .element-layout { grid-template-columns: 0.62fr 1.38fr; gap: 70px; }
	#bosses .boss-content { gap: 50px; }
	#adventure .adventure-layout { grid-template-columns: 0.68fr 1.32fr; gap: 70px; }
}
@media (max-width: 960px) {
	header.site-header, header .hero { min-height: auto; }
	header .main-nav { grid-template-columns: 1fr auto; min-height: 72px; }
	header .nav-list { display: none; }
	header .brand-mark { justify-self: start; }
	header .menu-toggle { display: block; justify-self: end; }
	header .mobile-panel { position: fixed; inset: 72px 0 0; display: block; padding: 36px var(--gutter); background: rgba(3, 9, 20, 0.98); transform: translateX(100%); transition: transform 0.35s ease; }
	header .mobile-panel.is-active { transform: translateX(0); }
	header .mobile-nav-list { margin: 0; list-style: none; }
	header .mobile-nav-list li { border-bottom: 1px solid var(--line); }
	header .mobile-nav-list a { display: flex; justify-content: space-between; min-height: 62px; align-items: center; font-size: 18px; font-weight: 700; }
	header .mobile-language-list { display: flex; gap: 10px; margin: 35px 0 0; list-style: none; }
	header .mobile-language-list a { display: grid; place-items: center; width: 52px; height: 44px; border: 1px solid var(--line); font-size: 14px; }
	header .hero { padding-top: 120px; padding-bottom: 100px; }
	header .hero-layout { grid-template-columns: 1fr; gap: 35px; }
	header .hero-copy { max-width: 760px; }
	header .hero-stage { width: min(700px, 100%); min-height: 590px; margin-inline: auto; }
	header .hero-scroll { display: none; }
	#element-system .element-layout { grid-template-columns: 1fr; gap: 55px; }
	#element-system .element-sticky { position: static; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
	#element-system .element-sticky .text-link { justify-self: end; margin-top: 0; }
	#combat .combat-heading, #characters .character-heading, #skill-combos .combo-heading { grid-template-columns: 1fr; gap: 20px; }
	#combat .combat-heading p, #characters .character-heading p, #skill-combos .combo-heading p { margin-left: 0; }
	#combat .combat-layout { grid-template-columns: 1fr; }
	#combat .battle-flow { display: grid; grid-template-columns: repeat(3, 1fr); }
	#combat .battle-flow li { display: block; padding: 24px 20px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
	#combat .battle-flow li:last-child { border-right: 0; }
	#combat .battle-flow li::before { margin-bottom: 18px; }
	#characters .character-wall { grid-template-columns: 1fr 1fr; }
	#characters .character-figure:nth-child(2) { margin-top: 55px; }
	#characters .character-figure:nth-child(3) { width: 62%; margin: 10px auto 0; grid-column: 1/-1; }
	#bosses .boss-content { grid-template-columns: 1fr; align-content: end; gap: 45px; }
	#bosses .boss-intro { max-width: 680px; }
	#bosses .boss-index { max-width: 720px; }
	#skill-combos .combo-row { grid-template-columns: 1fr 1fr; gap: 15px 30px; padding: 28px 0; }
	#skill-combos .combo-effect { grid-column: 1/-1; }
	#skill-combos .combo-arrow { display: none; }
	#adventure::before { width: 27%; }
	#adventure .adventure-layout { grid-template-columns: 0.72fr 1.28fr; gap: 45px; }
	footer .footer-statement { grid-template-columns: 1fr; }
	footer .footer-action { justify-self: start; }
}
@media (max-width: 768px) {
	:root { --gutter: 24px; --section-space: 90px; --h1: clamp(35px, 9vw, 50px); --h2: clamp(29px, 7vw, 40px); }
	header .hero { padding-top: 105px; padding-bottom: 80px; }
	header .hero-overlay { background: linear-gradient( to bottom, rgba(3, 9, 20, 0.9), rgba(3, 9, 20, 0.68) 55%, rgba(3, 9, 20, 0.96) ); }
	header .hero-stage { min-height: 520px; }
	header .rune-arena { width: min(440px, 88vw); }
	header .spell-board { width: 68%; padding: 14px; gap: 6px; }
	header .element-callout { position: absolute; width: 126px; padding: 8px 9px; }
	header .element-callout-fire { top: 3%; left: 0; }
	header .element-callout-ice { top: 4%; right: 0; }
	header .element-callout-thunder { right: 0; bottom: 4%; }
	header .element-callout-nature { bottom: 3%; left: 0; }
	header .hero-status { bottom: -7px; width: 92%; }
	#element-system .element-sticky { display: block; }
	#element-system .element-sticky .text-link { margin-top: 28px; }
	#element-system .element-entry { grid-template-columns: 130px 58px 1fr; gap: 17px; }
	#combat .battle-flow { grid-template-columns: 1fr; }
	#combat .battle-flow li { display: grid; border-right: 0; }
	#combat .battle-stage img { aspect-ratio: 4/5; }
	#characters .character-wall { grid-template-columns: 1fr; gap: 58px; }
	#characters .character-figure, #characters .character-figure:nth-child(2), #characters .character-figure:nth-child(3) { width: 100%; max-width: 560px; margin: 0 auto; grid-column: auto; }
	#characters .character-figure img, #characters .character-figure:nth-child(2) img, #characters .character-figure:nth-child(3) img { aspect-ratio: 4/5; }
	#bosses .boss-stage, #bosses .boss-content { min-height: 720px; }
	#bosses .boss-warning { top: 88px; }
	#bosses .boss-stage img { object-position: 63% center; }
	#bosses .boss-index li { grid-template-columns: 38px 1fr; }
	#bosses .boss-index em { grid-column: 2; }
	#skill-combos .combo-row { grid-template-columns: 1fr; }
	#skill-combos .combo-effect { grid-column: auto; }
	#adventure::before { width: 100%; height: 37%; }
	#adventure .adventure-layout { grid-template-columns: 1fr; }
	#adventure .adventure-visual { width: min(520px, 90%); }
	#adventure .adventure-visual img { aspect-ratio: 4/3; object-position: center 43%; }
	#adventure .adventure-copy { display: flex; flex-direction: column; }
	#adventure .adventure-copy .eyebrow { order: -1; }
	footer .footer-nav { grid-template-columns: 1fr; }
	footer .footer-link-list { justify-content: flex-start; flex-wrap: wrap; }
	footer .footer-bottom { flex-direction: column; }
}
@media (max-width: 500px) {
	:root { --gutter: 18px; --section-space: 74px; --h1: clamp(33px, 10.4vw, 42px); --h2: clamp(28px, 8.2vw, 36px); --body: 16px; }
	header .main-nav { min-height: 64px; }
	header .main-nav.is-scrolled { min-height: 60px; }
	header .brand-mark { gap: 8px; font-size: 13px; }
	header .brand-mark strong { width: 36px; }
	header .mobile-panel { inset: 64px 0 0; }
	header .hero { padding-top: 92px; }
	header .hero-copy h1 { margin-bottom: 22px; }
	header .hero-copy p { line-height: 1.75; }
	header .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
	header .primary-link, header .secondary-link { width: 100%; }
	header .hero-stage { min-height: 440px; }
	header .rune-arena { width: min(360px, 94vw); }
	header .spell-board { width: 72%; padding: 10px; gap: 4px; }
	header .rune-piece span { font-size: 12px; }
	header .element-callout { width: 106px; background: rgba(3, 9, 20, 0.84); font-size: 12px; }
	header .element-callout strong { font-size: 13px; }
	header .hero-status { font-size: 12px; }
	header .hero-status span, header .hero-status strong { display: block; margin: 0; }
	#element-system::before { width: 100%; }
	#element-system .element-entry { grid-template-columns: 88px 45px 1fr; min-height: 150px; gap: 12px; padding: 18px 0; }
	#element-system .element-symbol { width: 42px; }
	#element-system .element-copy h3 { font-size: 21px; }
	#element-system .element-copy p { font-size: 14px; line-height: 1.65; }
	#combat .battle-interface { padding: 18px; }
	#combat .enemy-line { grid-template-columns: 1fr auto; }
	#combat .enemy-meter { grid-column: 1/-1; grid-row: 2; }
	#combat .battle-result { padding: 17px 18px; }
	#characters .character-caption { width: calc(100% - 12px); margin-left: 12px; }
	#bosses .boss-stage, #bosses .boss-content { min-height: 760px; }
	#bosses .boss-content { padding-bottom: 60px; }
	#bosses .boss-warning { top: 74px; right: 18px; }
	#bosses .boss-index strong { font-size: 17px; }
	#skill-combos .combo-row:hover { padding-right: 8px; padding-left: 8px; }
	#skill-combos .rune-sequence { flex-wrap: wrap; }
	#skill-combos .mini-rune { width: 42px; }
	#adventure .adventure-visual { width: 100%; }
	#adventure .chapter-list li { grid-template-columns: 32px 1fr; }
	#adventure .chapter-list em { grid-column: 2; }
	footer.site-footer { padding-top: 72px; }
	footer .footer-statement { padding-bottom: 50px; }
	footer .footer-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
	.js .reveal-fade, .js .reveal-shift { opacity: 1; transform: none; }
	.js .reveal-line { clip-path: none; }
}