/* ==========================================================================
   星空幻想官网 — 视觉语言
   骨白 #d2c8ae / 暗金 #aa9480 / 血红 #9e1414 / 皮纹与哥特分隔线
   ========================================================================== */

@font-face {
	font-family: "Old Fenris";
	src: url("fonts/OldFenris-Regular.otf") format("opentype");
	font-display: swap;
}
@font-face {
	font-family: "Exocet";
	src: url("fonts/ExocetBlizzardOT-Medium.ttf") format("truetype");
	font-display: swap;
}
@font-face {
	font-family: "Alegreya Sans";
	font-weight: 400;
	src: url("fonts/AlegreyaSans-Regular.ttf") format("truetype");
	font-display: swap;
}
@font-face {
	font-family: "Alegreya Sans";
	font-weight: 500;
	src: url("fonts/AlegreyaSans-Medium.ttf") format("truetype");
	font-display: swap;
}

.xk-page {
	--xk-bg: #000;
	--xk-ink: #d2c8ae;
	--xk-ink-dim: #aa9480;
	--xk-body: #c9c4b8;
	--xk-mute: #8b8578;
	--xk-red: #9e1414;
	--xk-red-hi: #c1272d;
	--xk-hair: rgba(210, 200, 174, 0.16);
	--xk-hair-soft: rgba(210, 200, 174, 0.08);
	--xk-panel: #0b0b0b;
	--xk-display: "Old Fenris", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
	--xk-ui: "Alegreya Sans", "Microsoft YaHei", sans-serif;
	--xk-text: "Microsoft YaHei", "PingFang SC", sans-serif;
	--xk-wrap: 1400px;
}

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

.xk-page {
	background: var(--xk-bg);
	color: var(--xk-body);
	font-family: var(--xk-text);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.xk-page a {
	color: inherit;
	text-decoration: none;
}

.xk-page img,
.xk-page video {
	display: block;
	max-width: 100%;
}

.xk-wrap {
	width: 100%;
	max-width: var(--xk-wrap);
	margin: 0 auto;
	padding: 0 40px;
}

/* ---------- 通用文字 ---------- */

.xk-h2 {
	font-family: var(--xk-display);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: var(--xk-ink);
	margin: 0;
	text-transform: uppercase;
}

.xk-h3 {
	font-family: var(--xk-display);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.15;
	color: var(--xk-ink);
	margin: 0;
}

.xk-eyebrow {
	font-family: var(--xk-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--xk-ink-dim);
	margin: 0 0 10px;
}

.xk-lead {
	font-size: 15px;
	line-height: 1.75;
	color: var(--xk-body);
	margin: 0;
}

/* ---------- 按钮 ---------- */

.xk-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 190px;
	height: 54px;
	padding: 0 30px;
	font-family: var(--xk-ui);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e5e0c8;
	background: transparent;
	border: 1px solid rgba(190, 178, 150, 0.45);
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.xk-btn::before,
.xk-btn::after {
	content: "";
	position: absolute;
	width: 6px;
	height: 6px;
	background: currentColor;
	opacity: 0.5;
	transform: rotate(45deg);
}

.xk-btn::before {
	left: -3px;
	top: 50%;
	margin-top: -3px;
}

.xk-btn::after {
	right: -3px;
	top: 50%;
	margin-top: -3px;
}

.xk-btn:hover {
	color: #fff;
	border-color: #e5e0c8;
	background: rgba(229, 224, 200, 0.06);
}

.xk-btn--primary {
	color: #f2e6e0;
	border-color: rgba(158, 20, 20, 0.85);
	background: linear-gradient(180deg, #8d1010 0%, #6a0b0b 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.xk-btn--primary:hover {
	color: #fff;
	border-color: #c1272d;
	background: linear-gradient(180deg, #b01515 0%, #850d0d 100%);
}

.xk-btn--flat {
	min-width: 0;
	height: 44px;
	padding: 0 26px;
	font-size: 15px;
}

.xk-btn--wide {
	width: 100%;
}

.xk-arrow {
	font-size: 15px;
	line-height: 1;
	transform: translateY(-1px);
}

/* ==========================================================================
   顶部导航：Blizzard 式黑条 + 游戏条
   ========================================================================== */

.xk-topbar {
	position: relative;
	z-index: 60;
	background: #000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.xk-topbar-in {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 52px;
	max-width: none;
	padding: 0 24px;
}

.xk-topbrand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Exocet", var(--xk-ui);
	font-size: 19px;
	letter-spacing: 0.06em;
	color: #7db7e8;
	text-transform: uppercase;
	transition: color 0.18s ease;
}

.xk-topbrand:hover {
	color: #b6dcff;
}

.xk-topbrand svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.xk-toplinks {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: 10px;
	font-family: var(--xk-ui);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8f8f8f;
}

.xk-toplinks a:hover {
	color: #d8d8d8;
}

/* ---------- 游戏条 ---------- */

/* 悬浮在主站顶栏之下，与它留出 12px 空气，玻璃质感透出背后的画面 */
.xk-nav {
	position: fixed;
	top: 60px;
	left: 16px;
	right: 16px;
	z-index: 50;
	background: rgba(12, 10, 10, 0.26);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	backdrop-filter: blur(20px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 3px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46);
	transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.xk-nav.is-stuck {
	background: rgba(8, 7, 7, 0.9);
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.62);
}

.xk-nav.is-mobile-open {
	background: rgba(8, 7, 7, 0.92);
}

/* 主站顶栏与悬浮导航之间那道缝：内容滚到这儿渐隐，不会硬切一刀 */
.xk-page::before {
	content: "";
	position: fixed;
	top: 48px;
	left: 0;
	right: 0;
	height: 12px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 100%);
	z-index: 49;
	pointer-events: none;
}

/* 悬浮导航不再占文档流，锚点跳转要让出它的高度 */
.xk-page [id] {
	scroll-margin-top: 132px;
}

.xk-nav-in {
	display: flex;
	align-items: center;
	gap: 0;
	height: 64px;
	padding: 0 24px;
	max-width: none;
}

.xk-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 26px;
	flex: 0 0 auto;
}

.xk-logo-mark {
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
}

.xk-logo-cn {
	font-family: var(--xk-display);
	font-size: 21px;
	line-height: 1;
	color: var(--xk-ink);
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.xk-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.xk-menu > li {
	position: relative;
	list-style: none;
}

.xk-menu > li > a,
.xk-menu > li > button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 64px;
	padding: 0 13px;
	font-family: var(--xk-text);
	font-size: 14px;
	font-weight: 500;
	color: #cfc9b8;
	background: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.16s ease;
}

.xk-menu > li > a:hover,
.xk-menu > li > button:hover,
.xk-menu > li.is-current > a {
	color: #fff;
}

.xk-tag-new {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 5px 2px;
	font-family: var(--xk-text);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	background: #b01a1a;
	border-radius: 2px;
	vertical-align: 2px;
}

.xk-szn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 6px;
	font-family: var(--xk-ui);
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: #4a1010;
	border: 1px solid #8b2020;
	border-radius: 2px;
}

.xk-nav-right {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	flex: 0 0 auto;
}

.xk-buy {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 20px;
	font-family: var(--xk-text);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: #b01a1a;
	border: 1px solid #cf3030;
	border-radius: 2px;
	transition: background-color 0.16s ease;
}

.xk-buy:hover {
	background: #cb2323;
}

.xk-burger {
	display: none;
	width: 40px;
	height: 40px;
	background: none;
	border: 1px solid var(--xk-hair);
	cursor: pointer;
}

/* 移动端展开 */
.xk-nav.is-mobile-open .xk-menu {
	display: flex;
	position: absolute;
	left: -1px;
	right: -1px;
	top: 65px;
	flex-direction: column;
	align-items: stretch;
	padding: 6px 0 12px;
	background: #0b0909;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 0;
	border-radius: 0 0 3px 3px;
	max-height: calc(100vh - 64px);
	overflow-y: auto;
}

.xk-nav.is-mobile-open .xk-menu > li > a,
.xk-nav.is-mobile-open .xk-menu > li > button {
	height: 48px;
	padding: 0 24px;
	font-size: 15px;
	justify-content: flex-start;
}

.xk-nav.is-mobile-open .xk-more {
	position: static;
}

.xk-nav.is-mobile-open .xk-more-panel {
	position: static;
	display: block;
	border: 0;
	box-shadow: none;
	background: none;
	padding: 0 0 0 24px;
}

/* 更多菜单 */
.xk-more {
	position: relative;
}

.xk-more-panel {
	position: absolute;
	top: 64px;
	right: 0;
	display: none;
	min-width: 180px;
	padding: 8px;
	background: #101010;
	border: 1px solid var(--xk-hair);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.xk-more.is-open .xk-more-panel {
	display: block;
}

.xk-more-panel a {
	display: block;
	padding: 9px 12px;
	font-size: 14px;
	color: #cfc9b8;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.xk-more-panel a:hover {
	color: #fff;
	background: rgba(210, 200, 174, 0.06);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.xk-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - 48px);
	padding: 132px 40px 96px;
	overflow: hidden;
	text-align: center;
}

.xk-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.xk-hero-media video,
.xk-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xk-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 78% at 50% 42%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.92) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 66%, #000 100%);
}

.xk-hero-in {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 900px;
	margin: 0 auto;
}

.xk-hero-logo {
	width: 460px;
	max-width: 78vw;
	margin-bottom: 46px;
	filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.85));
}

.xk-hero-title {
	font-family: var(--xk-display);
	font-weight: 400;
	font-size: 62px;
	line-height: 1.08;
	letter-spacing: 0.04em;
	color: var(--xk-ink);
	margin: 0 0 14px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.xk-hero-sub {
	font-family: var(--xk-text);
	font-size: 17px;
	letter-spacing: 0.12em;
	color: #cbbfa6;
	margin: 0 0 34px;
}

.xk-hero-cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.xk-hero-more {
	margin-top: 40px;
	font-family: var(--xk-text);
	font-size: 15px;
	color: var(--xk-ink);
	letter-spacing: 0.02em;
}

.xk-hero-more a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(210, 200, 174, 0.4);
	transition: color 0.18s ease, border-color 0.18s ease;
}

.xk-hero-more a:hover {
	color: #fff;
	border-color: #fff;
}

/* 平台条 */
.xk-platforms {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 44px;
	height: 68px;
	background: rgba(0, 0, 0, 0.55);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(3px);
}

.xk-plat {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--xk-ui);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9a9488;
	transition: color 0.18s ease;
}

.xk-plat:hover {
	color: #ded8c8;
}

.xk-plat svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

/* 视频暂停按钮 */
.xk-vpause {
	position: absolute;
	left: 26px;
	bottom: 92px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.18);
	cursor: pointer;
	transition: background-color 0.16s ease;
}

.xk-vpause:hover {
	background: rgba(0, 0, 0, 0.75);
}

.xk-vpause svg {
	width: 12px;
	height: 12px;
	fill: #d9d3c5;
}

/* ==========================================================================
   分区通用
   ========================================================================== */

.xk-sec {
	position: relative;
	padding: 88px 0;
	background: #000;
}

.xk-sec--leather {
	background-color: #100d0a;
	background-image: url("img/d4_leather_texture_background.webp");
	background-repeat: repeat;
	background-size: 820px auto;
	background-blend-mode: multiply;
	box-shadow: inset 0 1px 0 rgba(210, 200, 174, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.8);
}

.xk-sec--leather > .xk-wrap {
	position: relative;
	z-index: 1;
}

.xk-sec--dark {
	background-color: #050505;
	background-image: url("img/d4_homepage_darktexture.webp");
	background-size: cover;
	background-position: center;
}

.xk-sec-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}

.xk-sec-head .xk-h2 {
	margin-bottom: 16px;
}

/* 哥特分隔线 */
.xk-divider {
	position: relative;
	height: 80px;
	margin: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.xk-divider--top {
	background-image: url("img/d4-deco-divider-top-003.webp");
}

.xk-divider--bottom {
	background-image: url("img/d4-deco-divider-bottom-003.webp");
}

/* ==========================================================================
   分栏 feature（视频 + 文字）
   ========================================================================== */

.xk-feature {
	display: grid;
	grid-template-columns: 1.32fr 1fr;
	gap: 72px;
	align-items: center;
}

.xk-feature--rev .xk-feature-media {
	order: 2;
}

.xk-feature-media {
	position: relative;
}

.xk-feature-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.xk-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	cursor: pointer;
}

.xk-play span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.3);
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.xk-play:hover span {
	background: rgba(0, 0, 0, 0.6);
	transform: scale(1.06);
}

.xk-play svg {
	width: 20px;
	height: 20px;
	margin-left: 3px;
	fill: #fff;
}

.xk-feature-body .xk-h2 {
	margin-bottom: 22px;
}

.xk-feature-body .xk-lead + .xk-lead {
	margin-top: 14px;
}

/* ==========================================================================
   最新更新 / 双联卡
   ========================================================================== */

.xk-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.xk-tile {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.xk-tile-media {
	position: relative;
	display: block;
	overflow: hidden;
}

.xk-tile-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.xk-tile:hover .xk-tile-media img {
	transform: scale(1.03);
}

.xk-tile-body {
	padding: 26px 24px 0;
}

.xk-tile-tag {
	margin-bottom: 8px;
}

.xk-tile-title {
	margin-bottom: 14px;
}

.xk-tile-desc {
	font-size: 14px;
	line-height: 1.85;
	color: #b5ae9f;
	margin: 0 0 26px;
}

.xk-tile-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.xk-tile-desc {
	flex: 1 1 auto;
}

.xk-tile .xk-btn {
	margin: auto auto 0;
}

/* ==========================================================================
   新闻
   ========================================================================== */

.xk-news {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.xk-news-card {
	display: flex;
	flex-direction: column;
	background: #111;
	transition: background-color 0.2s ease;
}

.xk-news-card:hover {
	background: #181818;
}

.xk-news-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.xk-news-title {
	padding: 18px 18px 22px;
	font-size: 14px;
	line-height: 1.7;
	color: #cfc9b8;
	font-weight: 400;
	margin: 0;
}

.xk-news-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 40px;
}

/* ==========================================================================
   三卡功能
   ========================================================================== */

.xk-trio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.xk-trio-card {
	background: rgba(12, 12, 12, 0.72);
	border: 1px solid var(--xk-hair-soft);
	padding: 0 0 30px;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.xk-trio-card:hover {
	border-color: var(--xk-hair);
	background: rgba(18, 18, 18, 0.8);
}

.xk-trio-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 22px;
}

.xk-trio-body {
	padding: 0 26px;
}

.xk-trio-body h3 {
	font-family: var(--xk-display);
	font-size: 22px;
	color: var(--xk-ink);
	margin: 0 0 12px;
}

.xk-trio-body p {
	font-size: 13.5px;
	line-height: 1.8;
	color: #ada695;
	margin: 0;
}

/* ==========================================================================
   赛季双列
   ========================================================================== */

.xk-realms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 44px;
}

.xk-realm {
	border: 1px solid var(--xk-hair-soft);
	background: rgba(10, 10, 10, 0.6);
}

.xk-realm-head {
	padding: 24px 30px;
	border-bottom: 1px solid var(--xk-hair-soft);
	text-align: center;
}

.xk-realm-head h3 {
	font-family: var(--xk-display);
	font-size: 26px;
	color: var(--xk-ink);
	margin: 0;
}

.xk-realm-block {
	padding: 24px 30px;
	border-bottom: 1px solid var(--xk-hair-soft);
}

.xk-realm-block:last-child {
	border-bottom: 0;
}

.xk-realm-block h4 {
	font-family: var(--xk-text);
	font-size: 15px;
	font-weight: 700;
	color: var(--xk-ink-dim);
	margin: 0 0 10px;
}

.xk-realm-block p,
.xk-realm-block li {
	font-size: 13.5px;
	line-height: 1.85;
	color: #ada695;
}

.xk-realm-block ul {
	margin: 0;
	padding-left: 18px;
}

.xk-realm-block p {
	margin: 0;
}

/* ==========================================================================
   职业
   ========================================================================== */

.xk-classes {
	position: relative;
	overflow: hidden;
	padding: 80px 0 0;
	background: #050505;
}

.xk-classes-inner {
	position: relative;
}

/* 场景底图：用光晕代替位图背景，避免低分辨率场景图放大后出现硬边 */
.xk-classes-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(58% 72% at 66% 46%, rgba(96, 82, 62, 0.5) 0%, rgba(48, 41, 33, 0.28) 42%, rgba(10, 9, 8, 0) 76%),
		radial-gradient(120% 100% at 50% 0%, rgba(30, 26, 22, 0.7) 0%, rgba(5, 5, 5, 0) 62%),
		#050505;
}

.xk-classes-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0) 18%, rgba(5, 5, 5, 0) 82%, rgba(5, 5, 5, 0.96) 100%),
		linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.2) 16%, rgba(5, 5, 5, 0) 40%, rgba(5, 5, 5, 0.35) 72%, #050505 100%);
}

.xk-classes .xk-wrap {
	position: relative;
	z-index: 3;
	padding-top: 10px;
}

.xk-classes h2 {
	margin-bottom: 34px;
}

/* 左：图标 + 职业文案 / 右：立绘铺满整列 */
.xk-class-head {
	position: relative;
	display: grid;
	grid-template-columns: 330px 1fr;
	grid-template-areas:
		"tabs stage"
		"copy stage";
	grid-template-rows: auto 1fr;
	gap: 44px 28px;
	min-height: 560px;
	align-items: start;
}

.xk-class-tabs {
	grid-area: tabs;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 34px 10px;
	align-content: start;
}

.xk-class-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	color: #7d786d;
	font-family: var(--xk-text);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.18s ease;
}

.xk-class-tab img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	filter: grayscale(0.6) brightness(0.62);
	transition: filter 0.2s ease, transform 0.2s ease;
}

.xk-class-tab:hover img {
	filter: grayscale(0.1) brightness(0.95);
}

.xk-class-tab:hover {
	color: #cfc9b8;
}

.xk-class-tab.is-on {
	color: #f2ecda;
}

.xk-class-tab.is-on img {
	filter: none;
	transform: scale(1.08);
}

.xk-class-stage {
	grid-area: stage;
	position: relative;
	align-self: stretch;
	min-height: 0;
	overflow: hidden;
}

.xk-class-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 64% 14%;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
	-webkit-mask-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 10%, #000 76%, rgba(0, 0, 0, 0) 99%),
		radial-gradient(120% 108% at 64% 42%, #000 52%, rgba(0, 0, 0, 0.9) 70%, rgba(0, 0, 0, 0) 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 10%, #000 76%, rgba(0, 0, 0, 0) 99%),
		radial-gradient(120% 108% at 64% 42%, #000 52%, rgba(0, 0, 0, 0.9) 70%, rgba(0, 0, 0, 0) 100%);
	mask-composite: intersect;
}



.xk-class-art.is-on {
	opacity: 1;
}

/* 各职业立绘构图不同，单独校准取景，四个人物在画面里大小位置接近 */
.xk-class-art[data-cls="sorc"] {
	object-position: 82% 14%;
}

.xk-class-art[data-cls="barb"] {
	object-position: 92% 20%;
}

.xk-class-art[data-cls="warlock"] {
	object-position: 74% 16%;
}

/* 下半：职业文案 */
.xk-class-copy {
	grid-area: copy;
	position: relative;
	z-index: 4;
	max-width: none;
	padding: 0 0 52px;
}

.xk-class-copy h3 {
	font-family: var(--xk-display);
	font-weight: 400;
	font-size: 38px;
	line-height: 1.1;
	color: var(--xk-ink);
	margin: 0 0 18px;
	letter-spacing: 0.03em;
}

.xk-class-copy p {
	font-size: 14px;
	line-height: 1.9;
	color: #b5ae9f;
	margin: 0;
}

.xk-class-note {
	font-size: 12.5px !important;
	color: var(--xk-ink-dim) !important;
	margin-top: 12px !important;
	min-height: 18px;
}

/* ==========================================================================
   版本 / 价格
   ========================================================================== */

.xk-pricing {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
}

.xk-edition {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.xk-edition-img {
	position: relative;
	margin-bottom: 26px;
	overflow: hidden;
}

.xk-edition-img img {
	width: 100%;
	height: 330px;
	object-fit: cover;
	object-position: center 30%;
}

.xk-edition-name {
	font-family: var(--xk-display);
	font-size: 30px;
	color: var(--xk-ink);
	margin: 0 0 8px;
}

.xk-off {
	font-size: 14px;
	font-weight: 700;
	color: #4fb85f;
	margin: 0 0 18px;
}

.xk-edition-desc {
	font-size: 13.5px;
	line-height: 1.85;
	color: #ada695;
	margin: 0 0 20px;
}

.xk-includes {
	font-size: 13.5px;
	line-height: 1.9;
	color: #ada695;
	text-align: center;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.xk-includes li::before {
	content: "· ";
	color: var(--xk-ink-dim);
}

.xk-edition .xk-btn {
	margin-top: auto;
}

/* ==========================================================================
   对比表
   ========================================================================== */

.xk-compare {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	color: #ada695;
}

.xk-compare th,
.xk-compare td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--xk-hair-soft);
	text-align: center;
	vertical-align: middle;
}

.xk-compare thead th {
	font-family: var(--xk-display);
	font-size: 17px;
	font-weight: 400;
	color: var(--xk-ink);
	border-bottom: 1px solid var(--xk-hair);
	padding-bottom: 18px;
}

.xk-compare tbody th {
	text-align: left;
	font-weight: 400;
	color: #c2bbab;
}

.xk-compare td {
	width: 15%;
}

.xk-yes {
	color: #8fc98f;
	font-size: 15px;
}

.xk-no {
	color: #4a463e;
}

.xk-legal {
	max-width: 900px;
	margin: 40px auto 0;
	font-size: 12px;
	line-height: 1.9;
	color: #6f6a60;
	text-align: center;
}

/* ==========================================================================
   社群 + 页脚
   ========================================================================== */

.xk-social {
	padding: 96px 0;
	text-align: center;
	background-color: #050505;
	background-image: url("img/d4_homepage_darktexture.webp");
	background-size: cover;
	background-position: center;
	border-top: 1px solid var(--xk-hair-soft);
}

.xk-social .xk-h2 {
	margin-bottom: 34px;
}

.xk-social-links {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.xk-social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--xk-hair);
	color: #b8b1a1;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.xk-social-links a:hover {
	color: #fff;
	border-color: #d2c8ae;
	background: rgba(210, 200, 174, 0.06);
}

.xk-social-links svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.xk-footer {
	padding: 56px 0 40px;
	background: #000;
	border-top: 1px solid var(--xk-hair-soft);
}

.xk-footer-in {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.xk-footer-brand {
	font-family: var(--xk-display);
	font-size: 19px;
	color: var(--xk-ink);
	margin: 0 0 10px;
}

.xk-footer-note {
	font-size: 12px;
	line-height: 1.8;
	color: #5f5b52;
	max-width: 620px;
	margin: 0;
}

.xk-footer-links {
	display: flex;
	gap: 26px;
	font-size: 12.5px;
	color: #7a7469;
}

.xk-footer-links a:hover {
	color: #c9c4b8;
}

.xk-backtop {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid var(--xk-hair);
	color: #b8b1a1;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, color 0.18s ease;
}

.xk-backtop.is-on {
	opacity: 1;
	pointer-events: auto;
}

.xk-backtop:hover {
	color: #fff;
}

/* ==========================================================================
   入场动效
   ========================================================================== */

.xk-rise {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.xk-rise.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.xk-rise {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1200px) {
	.xk-menu > li > a,
	.xk-menu > li > button {
		padding: 0 10px;
		font-size: 13px;
	}
	.xk-hero-title {
		font-size: 52px;
	}
	.xk-classes .xk-wrap {
		grid-template-columns: 240px 1fr;
	}
}

@media (max-width: 1024px) {
	.xk-wrap {
		padding: 0 28px;
	}
	.xk-toplinks,
	.xk-menu {
		display: none;
	}
	.xk-burger {
		display: block;
	}
	.xk-nav {
		top: 56px;
		left: 8px;
		right: 8px;
	}
	.xk-hero {
		min-height: calc(100svh - 48px);
		padding: 124px 24px 110px;
	}
	.xk-hero-title {
		font-size: 42px;
	}
	.xk-feature {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.xk-feature--rev .xk-feature-media {
		order: 0;
	}
	.xk-news {
		grid-template-columns: repeat(2, 1fr);
	}
	.xk-trio {
		grid-template-columns: 1fr;
	}
	.xk-classes .xk-wrap {
		grid-template-columns: 1fr;
	}
	.xk-class-head {
		grid-template-columns: 1fr;
		grid-template-areas:
			"tabs"
			"stage"
			"copy";
		grid-template-rows: auto auto auto;
		gap: 8px;
		min-height: 0;
	}
	.xk-class-tabs {
		grid-template-columns: repeat(4, 1fr);
		gap: 18px 8px;
	}
	.xk-class-stage {
		min-height: 400px;
	}
	.xk-class-art,
	.xk-class-art[data-cls] {
		inset: 0;
		width: 100%;
		height: 100%;
		max-height: none;
		object-fit: cover;
		object-position: center 16%;
	}
	.xk-class-copy {
		padding: 24px 0 48px;
		max-width: none;
	}
	.xk-class-copy {
		padding: 0 0 56px;
		max-width: none;
	}
	.xk-class-copy h3 {
		font-size: 32px;
	}
	.xk-classes-inner {
		min-height: 0;
	}
	.xk-pricing {
		grid-template-columns: 1fr;
		gap: 56px;
	}
	.xk-platforms {
		gap: 18px;
		flex-wrap: wrap;
		height: auto;
		padding: 12px 16px;
	}
	.xk-vpause {
		bottom: 92px;
	}
	.xk-buy {
		padding: 0 14px;
		font-size: 13px;
		height: 36px;
	}
	.xk-nav-in {
		padding: 0 16px;
		gap: 8px;
	}
	.xk-logo {
		margin-right: 12px;
	}
	.xk-logo-cn {
		font-size: 18px;
	}
	.xk-nav-right {
		gap: 10px;
	}
}

@media (max-width: 720px) {
	.xk-wrap {
		padding: 0 18px;
	}
	.xk-h2 {
		font-size: 30px;
	}
	.xk-h3 {
		font-size: 22px;
	}
	.xk-sec {
		padding: 56px 0;
	}
	.xk-hero-logo {
		width: 300px;
		margin-bottom: 30px;
	}
	.xk-hero-title {
		font-size: 32px;
	}
	.xk-hero-sub {
		font-size: 14px;
	}
	.xk-hero-cta {
		gap: 10px;
	}
	.xk-btn {
		min-width: 150px;
		height: 48px;
		font-size: 15px;
		padding: 0 20px;
	}
	.xk-news {
		grid-template-columns: 1fr;
	}
	.xk-duo,
	.xk-realms {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.xk-class-tabs {
		grid-template-columns: repeat(4, 1fr);
	}
	.xk-class-tab img {
		width: 48px;
		height: 48px;
	}
	.xk-class-tab {
		font-size: 12px;
	}
	.xk-class-copy h3 {
		font-size: 28px;
	}
	.xk-platforms {
		gap: 0;
		justify-content: space-between;
		flex-wrap: nowrap;
		padding: 10px;
	}
	.xk-plat {
		font-size: 9.5px;
		gap: 4px;
		letter-spacing: 0.02em;
	}
	.xk-plat svg {
		width: 12px;
		height: 12px;
	}
	.xk-hero {
		padding-bottom: 116px;
	}
	.xk-compare {
		font-size: 12px;
	}
	.xk-compare th,
	.xk-compare td {
		padding: 10px 6px;
	}
	.xk-footer-in {
		flex-direction: column;
		gap: 24px;
	}
}
