/* The Knight's War — theknightswar.com
   Renkler oyundan: koyu mor-kahve zemin, logonun altını, kor turuncusu (Mahzene İn butonu), mağaza kartlarının
   mor çerçevesi (0.45, 0.35, 0.6). Yazı tipleri oyundakiler: Cinzel (başlıklar), Alegreya Sans (metin), Alegreya (hikâye). */

@font-face { font-family: "Cinzel"; src: url("/assets/fonts/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/assets/fonts/Alegreya.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/AlegreyaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/AlegreyaSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--bg: #0c0910;
	--bg-2: #140f1b;
	--panel: #191222;
	--panel-top: #30223f;
	--border: #735999;
	--border-soft: rgba(115, 89, 153, 0.45);
	--gold: #ffcc7a;
	--gold-deep: #c98c3c;
	--bronze: #8a5a2b;
	--ember: #e0652a;
	--ember-deep: #a3341a;
	--text: #f5e8d1;
	--text-dim: #c7bddb;
	--text-mute: #918aa3;
	--soul: #a98bff;
	--parchment-ink: #3b2614;
	--radius: 14px;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	--display: "Cinzel", "Alegreya", Georgia, "Times New Roman", serif;
	--serif: "Alegreya", Georgia, "Times New Roman", serif;
	--sans: "Alegreya Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
	--header-h: 68px;
	color-scheme: dark;
}

:lang(ja) { --display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --display: "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; --serif: "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; --sans: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(zh-Hans) { --display: "Songti SC", "STSong", "Noto Serif SC", serif; --serif: "Songti SC", "STSong", "Noto Serif SC", serif; --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-Hant) { --display: "Songti TC", "Noto Serif TC", "PMingLiU", serif; --serif: "Songti TC", "Noto Serif TC", "PMingLiU", serif; --sans: "PingFang TC", "Heiti TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(ar) { --display: "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif; --serif: "Noto Naskh Arabic", "Geeza Pro", serif; --sans: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe0a8; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #1b1208; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Üst çubuk ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	display: flex; align-items: center; gap: 18px;
	padding: 0 clamp(16px, 4vw, 40px);
	background: linear-gradient(to bottom, rgba(12, 9, 16, 0.92), rgba(12, 9, 16, 0.75));
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 204, 122, 0.12);
	transition: background 0.3s;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: "Cinzel", var(--display); font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.brand img { width: 38px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.brand span { font-size: 1.05rem; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-dim); font-weight: 700; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 204, 122, 0.07); }

.pvp-status {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0; margin-inline-start: 8px; padding: 6px 12px;
	border-radius: 999px; border: 1px solid rgba(115, 89, 153, 0.45);
	background: rgba(20, 15, 27, 0.72); color: var(--text-dim);
	font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.pvp-dot {
	width: 8px; height: 8px; border-radius: 50%; flex: none;
	background: var(--text-mute); box-shadow: 0 0 0 2px rgba(145, 138, 163, 0.2);
}
.pvp-status.is-checking .pvp-dot { background: #c9b36a; box-shadow: 0 0 0 2px rgba(201, 179, 106, 0.25); animation: pvp-pulse 1.2s ease-in-out infinite; }
.pvp-status.is-online .pvp-dot { background: #5dcc7a; box-shadow: 0 0 10px rgba(93, 204, 122, 0.55); }
.pvp-status.is-online { color: #d8f5df; border-color: rgba(93, 204, 122, 0.35); }
.pvp-status.is-offline .pvp-dot { background: #e06a5a; box-shadow: 0 0 10px rgba(224, 106, 90, 0.45); }
.pvp-status.is-offline { color: #f3d0c8; border-color: rgba(224, 106, 90, 0.4); }
.pvp-status.is-unknown .pvp-dot { background: var(--text-mute); }
.pvp-sep { opacity: 0.55; }
@keyframes pvp-pulse { 50% { opacity: 0.35; } }

.lang-picker { position: relative; }
.lang-button {
	display: flex; align-items: center; gap: 8px;
	padding: 7px 12px; border-radius: 999px;
	background: rgba(48, 34, 63, 0.7); color: var(--text);
	border: 1px solid var(--border-soft); font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
}
.lang-button:hover { border-color: var(--gold-deep); }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); flex: none; object-fit: cover; }
.chevron { width: 12px; height: 12px; transition: transform 0.2s; }
.lang-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.lang-menu {
	position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
	width: min(560px, calc(100vw - 32px));
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
	margin: 0; padding: 10px; list-style: none;
	background: linear-gradient(to bottom, var(--panel-top), var(--panel) 60%);
	border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.18s, transform 0.18s;
}
.lang-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text); font-size: 0.95rem; }
.lang-menu a:hover { background: rgba(255, 204, 122, 0.08); color: var(--gold); }
.lang-menu a[aria-current="true"] { background: rgba(255, 204, 122, 0.12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 204, 122, 0.4); }

.nav-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-soft); background: rgba(48, 34, 63, 0.7); color: var(--text); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.25s, background 0.25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Butonlar ve rozetler ---------- */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 12px;
	font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.05em;
	cursor: pointer; border: 1px solid transparent; transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.button:hover { transform: translateY(-1px); }
.button-ember { color: #fff3e2; background: linear-gradient(to bottom, #e9773a, var(--ember-deep)); border-color: #f2b469; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(224, 101, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.button-ember:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 12px 38px rgba(224, 101, 42, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.button-ghost { color: var(--gold); background: rgba(20, 15, 27, 0.6); border-color: rgba(255, 204, 122, 0.55); }
.button-ghost:hover { background: rgba(255, 204, 122, 0.1); }
.button svg { width: 20px; height: 20px; flex: none; }
.button:disabled { opacity: 0.65; cursor: wait; transform: none; }

.wishlist-header {
	min-height: 40px; padding: 0 16px; margin-inline-start: 6px;
	font-size: 0.88rem; letter-spacing: 0.04em; border-radius: 999px; white-space: nowrap;
}
.wishlist-header.is-current { filter: brightness(1.05); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(242, 180, 105, 0.45), 0 10px 30px rgba(224, 101, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.nav-wishlist { display: none; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	min-width: 196px; padding: 10px 18px 10px 16px; border-radius: 12px;
	background: rgba(8, 6, 11, 0.85); border: 1px solid rgba(245, 232, 209, 0.28); color: var(--text);
	text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
a.store:hover { border-color: rgba(245, 232, 209, 0.55); background: rgba(18, 12, 22, 0.92); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-mute); line-height: 1.2; white-space: nowrap; }
.store strong { display: block; font-size: 1.2rem; line-height: 1.2; white-space: nowrap; }
.store .soon {
	position: absolute; top: -10px; inset-inline-end: -8px;
	padding: 2px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
	color: #1b1208; background: linear-gradient(to bottom, var(--gold), var(--gold-deep)); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ---------- Giriş (fener ışığı) ---------- */
.hero {
	position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate;
	padding: calc(var(--header-h) + 28px) 20px 90px;
	--lx: 50%; --ly: 42%;
}
.hero-bg { position: absolute; inset: -2%; z-index: -3; background: url("/assets/img/sanctuary-bg.webp") center 40% / cover no-repeat; filter: saturate(1.05); }
.hero-dark {
	position: absolute; inset: 0; z-index: -2;
	background: radial-gradient(circle 420px at var(--lx) var(--ly), rgba(12, 9, 16, 0.05), rgba(12, 9, 16, 0.55) 45%, rgba(12, 9, 16, 0.93) 85%),
		linear-gradient(to bottom, rgba(12, 9, 16, 0.4), transparent 30%, transparent 60%, var(--bg));
	transition: background 0.1s;
}
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { max-width: 880px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-logo { width: clamp(170px, 24vw, 270px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(224, 140, 60, 0.18)); animation: rise 1.1s ease-out both; }
.eyebrow { margin: 6px 0 0; color: var(--gold); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: 0.02em; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85); background: linear-gradient(to bottom, #fff4dc, var(--gold) 70%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.1em; }
.hero .lead { max-width: 680px; color: var(--text); font-size: clamp(1.05rem, 1.6vw, 1.2rem); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); margin: 0; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text-dim); font-size: 0.95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); border: 1px solid rgba(255, 204, 122, 0.4); animation: bob 2.4s ease-in-out infinite; }
.scroll-cue svg { width: 18px; height: 18px; }

/* ---------- Bölümler ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 104px) 20px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--ember); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.82rem; }
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(to right, transparent, var(--ember)); }
.kicker::after { transform: scaleX(-1); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--gold); letter-spacing: 0.02em; }
.section-head p { margin: 14px 0 0; color: var(--text-dim); font-size: 1.1rem; }
:lang(ja) .kicker, :lang(ko) .kicker, :lang(zh-Hans) .kicker, :lang(zh-Hant) .kicker, :lang(ar) .kicker,
:lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow, :lang(zh-Hant) .eyebrow, :lang(ar) .eyebrow { letter-spacing: 0.04em; text-transform: none; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .button { letter-spacing: 0; }
.divider { height: 1px; max-width: 1160px; margin: 0 auto; background: linear-gradient(to right, transparent, rgba(255, 204, 122, 0.3), transparent); }

/* Hikâye: oyundaki yardım tomarı gibi parşömen */
.story { background: radial-gradient(ellipse at 50% 0%, rgba(224, 101, 42, 0.12), transparent 60%); }
.scroll { position: relative; max-width: 820px; margin: 0 auto; }
.scroll-rod { position: relative; z-index: 2; height: 34px; margin: 0 -26px; background: url("/assets/img/rod.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5)); }
.parchment {
	position: relative; margin: -12px 0; padding: clamp(40px, 6vw, 64px) clamp(26px, 7vw, 76px);
	background: url("/assets/img/parchment.webp") center / 100% 100% no-repeat; color: var(--parchment-ink);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.parchment .kicker { color: #8c3b17; }
.parchment .kicker::before, .parchment .kicker::after { background: linear-gradient(to right, transparent, #8c3b17); }
.parchment h2 { color: #4a2510; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 22px; text-align: center; }
.parchment header { text-align: center; }
.parchment p { font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.7; }
.parchment p:first-of-type::first-letter { font-family: "Cinzel", var(--display); float: inline-start; font-size: 3.4em; line-height: 0.9; margin-inline-end: 8px; margin-top: 4px; color: #8c3b17; }
:lang(ja) .parchment p:first-of-type::first-letter, :lang(ko) .parchment p:first-of-type::first-letter, :lang(zh-Hans) .parchment p:first-of-type::first-letter,
:lang(zh-Hant) .parchment p:first-of-type::first-letter, :lang(ar) .parchment p:first-of-type::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-family: inherit; }
.parchment blockquote { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(74, 37, 16, 0.25); text-align: center; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.45rem); color: #6e2c0e; font-weight: 700; }

/* Irklar: iki taraf, taş kamp ve mağara */
.races {
	background:
		radial-gradient(ellipse at 18% 40%, rgba(196, 160, 90, 0.1), transparent 48%),
		radial-gradient(ellipse at 82% 55%, rgba(224, 101, 42, 0.14), transparent 50%);
}
.race-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); max-width: 920px; margin: 0 auto; }
.race {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 28px 22px 26px; border-radius: var(--radius);
	background: linear-gradient(to bottom, rgba(36, 24, 48, 0.92), #100b16 88%);
	border: 1px solid rgba(255, 204, 122, 0.22);
	box-shadow: 0 14px 36px rgba(5, 2, 10, 0.5);
}
.race-aseran { border-color: rgba(196, 160, 90, 0.38); }
.race-varkun { border-color: rgba(224, 101, 42, 0.42); }
.race-portrait {
	width: 168px; height: 168px; margin-bottom: 14px; border-radius: 50%;
	display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(circle at 50% 40%, rgba(48, 34, 63, 0.9), #0a070e 72%);
	box-shadow: inset 0 0 0 2px rgba(255, 204, 122, 0.28), 0 0 28px rgba(128, 87, 199, 0.25);
}
.race-varkun .race-portrait { box-shadow: inset 0 0 0 2px rgba(224, 101, 42, 0.4), 0 0 28px rgba(224, 101, 42, 0.22); }
.race-portrait img { width: 148px; height: 148px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55)); }
.race-order {
	margin: 0 0 6px; color: var(--ember); font-weight: 700; letter-spacing: 0.2em;
	text-transform: uppercase; font-size: 0.78rem;
}
:lang(ja) .race-order, :lang(ko) .race-order, :lang(zh-Hans) .race-order, :lang(zh-Hant) .race-order, :lang(ar) .race-order {
	letter-spacing: 0.04em; text-transform: none;
}
.race h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: var(--gold); letter-spacing: 0.04em; }
.race > p { margin: 0; color: var(--text-dim); font-size: 1.02rem; max-width: 34ch; }
.race-sanctuary {
	margin-top: 16px !important; padding-top: 14px; width: 100%;
	border-top: 1px solid rgba(255, 204, 122, 0.18);
	color: var(--gold) !important; font-family: var(--display); font-size: 0.98rem; font-weight: 700;
}
.race-note {
	max-width: 720px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: center;
	color: var(--text-dim); font-size: 0.98rem; line-height: 1.55;
}

/* Özellikler: Sığınak mağaza kartları gibi */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
	position: relative; padding: 24px 22px 22px; border-radius: var(--radius);
	background: linear-gradient(to bottom, var(--panel-top), #120d18 85%);
	border: 2px solid #735999;
	box-shadow: 0 8px 18px rgba(5, 2, 10, 0.55), inset 0 1px 0 rgba(204, 173, 255, 0.22);
	transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(5, 2, 10, 0.6), 0 0 0 1px rgba(255, 204, 122, 0.15), inset 0 1px 0 rgba(204, 173, 255, 0.3); }
.medallion { width: 58px; height: 58px; margin-bottom: 16px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(128, 87, 199, 0.35) 0 60%, #1f1430 61%); box-shadow: inset 0 0 0 2px #735999; }
.medallion img { width: 34px; height: 34px; image-rendering: auto; }
.card h3 { font-size: 1.12rem; color: var(--text); margin-bottom: 8px; letter-spacing: 0.02em; }
.card p { margin: 0; color: var(--text-dim); font-size: 1rem; }

/* Şövalyeler */
.knights { background: linear-gradient(to bottom, transparent, rgba(48, 34, 63, 0.25) 40%, transparent); }
.knight-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.knight { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 16px 20px; }
.knight-stage { position: relative; width: 150px; height: 150px; margin: -6px 0 10px; }
.knight-stage::before { content: ""; position: absolute; left: 50%; bottom: 14px; width: 112px; height: 30px; margin-left: -56px; border-radius: 50%; background: radial-gradient(ellipse, rgba(128, 87, 199, 0.55), rgba(31, 20, 48, 0.9) 60%, transparent 72%); }
/* Karede şövalye ortada, ayakları karenin %79'unda; kare kaideye göre yerleştirilir. */
.sprite { --frame: 210px; position: absolute; width: var(--frame); height: var(--frame); left: calc(50% - var(--frame) / 2); top: calc(100% - 29px - var(--frame) * 0.795); background-repeat: no-repeat; background-size: 1200% 100%; animation: idle 1.5s steps(12, jump-none) infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.knight h3 { font-size: 1.02rem; color: var(--gold); }
.knight p { font-size: 0.95rem; margin: 8px 0 0; }
.knight .special { color: var(--text); }
.knight .special b { display: block; color: var(--soul); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; }
:lang(ja) .knight .special b, :lang(ko) .knight .special b, :lang(zh-Hans) .knight .special b, :lang(zh-Hant) .knight .special b, :lang(ar) .knight .special b { letter-spacing: 0; text-transform: none; }
.unlock { margin-top: auto !important; padding-top: 12px; color: var(--text-mute) !important; font-size: 0.88rem !important; display: flex; gap: 6px; align-items: center; justify-content: center; }
.unlock svg { width: 14px; height: 14px; flex: none; }

/* Mahzenler */
.dungeon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin: 0; padding: 0; list-style: none; }
.dungeon { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 12px; background: linear-gradient(to right, rgba(48, 34, 63, 0.55), rgba(20, 15, 27, 0.4)); border: 1px solid var(--border-soft); }
.numeral { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 10px; font-family: "Cinzel", serif; font-weight: 700; font-size: 1.15rem; color: var(--gold); background: radial-gradient(circle at 50% 30%, #3a2a17, #1c130b); border: 1px solid rgba(255, 204, 122, 0.45); box-shadow: inset 0 1px 0 rgba(255, 230, 180, 0.2); }
.dungeon h3 { font-size: 1.05rem; color: var(--text); letter-spacing: 0.02em; }
.dungeon p { margin: 3px 0 0; color: var(--text-dim); font-size: 0.95rem; }
.dungeon p.trail { color: var(--text-mute); font-style: italic; }
.dungeon.throne { grid-column: 1 / -1; padding: 20px 22px; background: linear-gradient(to right, rgba(163, 52, 26, 0.45), rgba(48, 20, 18, 0.5)); border-color: rgba(242, 180, 105, 0.6); box-shadow: 0 0 40px rgba(224, 101, 42, 0.15); }
.dungeon.throne .numeral { color: #ffe0a8; background: radial-gradient(circle at 50% 30%, #7a2a12, #2a0d06); border-color: #f2b469; }
.dungeon.throne h3 { color: var(--gold); font-size: 1.2rem; }

/* Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-soft); background: #000; cursor: zoom-in; box-shadow: var(--shadow); }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s, filter 0.3s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 10px; font-size: 0.9rem; color: var(--text); background: linear-gradient(to top, rgba(8, 6, 11, 0.92), transparent); }
.shot button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.shot button:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(6, 4, 9, 0.94); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; border: 1px solid var(--border-soft); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--text-dim); }
.lightbox-button { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(48, 34, 63, 0.85); color: var(--text); border: 1px solid var(--border); cursor: pointer; }
.lightbox-button:hover { color: var(--gold); border-color: var(--gold-deep); }
.lightbox-button svg { width: 20px; height: 20px; }
.lightbox-close { top: 18px; inset-inline-end: 18px; }
.lightbox-prev { inset-inline-start: 18px; top: 50%; margin-top: -24px; }
.lightbox-next { inset-inline-end: 18px; top: 50%; margin-top: -24px; }
[dir="rtl"] .lightbox-prev svg, [dir="rtl"] .lightbox-next svg { transform: scaleX(-1); }

/* Çağrı */
.cta { text-align: center; }
.cta-box { max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 60px) clamp(22px, 5vw, 56px); border-radius: 20px; background: radial-gradient(ellipse at 50% 0%, rgba(224, 101, 42, 0.25), transparent 65%), linear-gradient(to bottom, var(--panel-top), var(--panel)); border: 1px solid rgba(242, 180, 105, 0.4); box-shadow: var(--shadow); }
.cta-box h2 { color: var(--gold); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-box p { color: var(--text-dim); max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Alt kısım ---------- */
.site-footer { padding: 46px 20px 36px; border-top: 1px solid rgba(255, 204, 122, 0.12); background: #08060b; color: var(--text-mute); font-size: 0.95rem; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 46px; }
.footer-brand p { margin: 0; line-height: 1.4; }
.footer-brand strong { display: block; color: var(--text); font-family: "Cinzel", var(--display); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--gold); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 18px; height: 18px; }
.copyright { width: 100%; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.88rem; }
.copyright a { color: var(--text-dim); }

/* ---------- Alt sayfalar (yasal metinler, iletişim) ---------- */
.page-top { padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 20px clamp(28px, 4vw, 40px); text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(224, 101, 42, 0.18), transparent 60%); }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--gold); }
.page-top p { color: var(--text-dim); max-width: 680px; margin: 14px auto 0; font-size: 1.1rem; }
.doc { padding: 0 20px clamp(70px, 9vw, 110px); }
.doc-card { max-width: 860px; margin: 0 auto; padding: clamp(26px, 5vw, 52px); border-radius: 18px; background: linear-gradient(to bottom, rgba(48, 34, 63, 0.55), rgba(20, 15, 27, 0.8) 30%); border: 1px solid var(--border-soft); box-shadow: var(--shadow); counter-reset: section; }
.updated { display: inline-block; margin-bottom: 22px; padding: 4px 12px; border-radius: 999px; font-size: 0.88rem; color: var(--text-dim); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.doc-card h2 { counter-increment: section; margin: 34px 0 12px; font-size: 1.28rem; color: var(--text); display: flex; gap: 12px; align-items: baseline; }
.doc-card h2::before { content: counter(section); flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.9rem; color: #1b1208; background: linear-gradient(to bottom, var(--gold), var(--gold-deep)); transform: translateY(-2px); }
.doc-card p, .doc-card li { color: var(--text-dim); }
.doc-card strong { color: var(--text); }
.doc-card ul { padding-inline-start: 22px; margin: 0 0 1em; }
.doc-card li { margin-bottom: 6px; }
.doc-card li::marker { color: var(--ember); }
.doc-intro { font-size: 1.12rem; color: var(--text) !important; }
.contact-block { margin: 14px 0 0; padding: 16px 20px; border-radius: 12px; background: rgba(12, 9, 16, 0.6); border: 1px solid var(--border-soft); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.contact-block dt { color: var(--text-mute); }
.contact-block dd { margin: 0; color: var(--text); }

.contact-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.mail-card { text-align: center; padding: clamp(28px, 5vw, 44px) 24px; border-radius: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(224, 101, 42, 0.22), transparent 65%), linear-gradient(to bottom, var(--panel-top), var(--panel)); border: 1px solid rgba(242, 180, 105, 0.45); box-shadow: var(--shadow); }
.mail-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle, rgba(224, 101, 42, 0.25), rgba(31, 20, 48, 0.9) 70%); box-shadow: inset 0 0 0 2px rgba(242, 180, 105, 0.6), 0 0 30px rgba(224, 101, 42, 0.25); }
.mail-icon svg { width: 34px; height: 34px; }
.mail-label { margin: 0 0 4px; color: var(--text-mute); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; }
.mail-address { display: block; margin-bottom: 24px; font-family: var(--sans); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--text); word-break: break-all; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.info-stack { display: grid; gap: 16px; }
.info-card { padding: 22px 24px; }
.info-card h2 { font-size: 1.08rem; color: var(--gold); margin-bottom: 10px; }
.info-card ul { margin: 0; padding-inline-start: 20px; color: var(--text-dim); }
.info-card li::marker { color: var(--ember); }
.info-card p { margin: 0; color: var(--text-dim); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--gold); color: #1b1208; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Çerez onayı: iki seçenek eşit görünür */
.consent-banner { position: fixed; left: 50%; bottom: 18px; z-index: 95; width: min(760px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px 22px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(25, 18, 34, 0.97); box-shadow: var(--shadow); transform: translate(-50%, 16px); opacity: 0; transition: opacity 0.25s, transform 0.25s; }
.consent-banner.open { opacity: 1; transform: translate(-50%, 0); }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1; font-size: 0.95rem; color: var(--text-dim); line-height: 1.5; }
.consent-banner p a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .button { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.footer-links .cookie-settings { padding: 0; border: 0; background: none; color: var(--text-dim); font: inherit; cursor: pointer; }
.footer-links .cookie-settings:hover { color: var(--gold); }
@media (max-width: 640px) {
	.consent-banner { flex-direction: column; align-items: stretch; bottom: 12px; }
	.consent-actions .button { flex: 1; }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: radial-gradient(circle 360px at 50% 40%, rgba(224, 140, 60, 0.18), transparent 70%), var(--bg); }
.notfound img { width: 150px; margin: 0 auto 26px; opacity: 0.9; }
.notfound h1 { color: var(--gold); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.notfound p { color: var(--text-dim); max-width: 460px; margin: 0 auto 26px; }

/* ---------- Görünür olunca beliren öğeler ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes idle { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Ekran boyutları ---------- */
@media (max-width: 1100px) {
	.knight-grid { grid-template-columns: repeat(3, 1fr); }
	.site-nav a { padding: 8px 9px; font-size: 0.9rem; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 12px 20px 20px; background: rgba(12, 9, 16, 0.97); border-bottom: 1px solid rgba(255, 204, 122, 0.15); transform: translateY(-120%); transition: transform 0.25s; visibility: hidden; }
	.site-nav.open { transform: none; visibility: visible; }
	.site-nav ul { flex-direction: column; }
	.site-nav a { padding: 12px 14px; font-size: 1.05rem; }
	.pvp-status { order: 2; margin-inline-start: 0; }
	.wishlist-header { display: none; }
	.nav-wishlist { display: list-item; }
	.lang-picker { order: 3; }
	.nav-toggle { order: 4; margin-inline-start: 0; }
	.brand { margin-inline-end: auto; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	:root { --header-h: 60px; }
	body { font-size: 1rem; }
	.brand span { display: none; }
	.pvp-status { padding: 6px 10px; font-size: 0.78rem; gap: 6px; }
	.pvp-status .pvp-label, .pvp-status .pvp-sep { display: none; }
	.lang-button .lang-name { display: none; }
	.lang-menu { grid-template-columns: repeat(2, 1fr); position: fixed; top: calc(var(--header-h) + 8px); inset-inline: 16px; width: auto; }
	.feature-grid, .dungeon-list, .race-grid { grid-template-columns: 1fr; }
	.knight-grid { grid-template-columns: repeat(2, 1fr); }
	.knight-stage { width: 120px; height: 120px; }
	.sprite { --frame: 172px; }
	.gallery-grid { grid-template-columns: 1fr; }
	.shot:first-child { grid-column: auto; grid-row: auto; }
	.scroll-rod { margin: 0 -10px; height: 26px; }
	.store { min-width: 0; flex: 1 1 150px; gap: 10px; padding: 10px 12px; }
	.store strong { font-size: 1.05rem; }
	.store svg { width: 24px; height: 24px; }
	.footer-inner { flex-direction: column; align-items: flex-start; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 18px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Şövalyelerin bekleme animasyonları (oyundaki Demirhane önizlemeleri; 12 kare) */
.sprite-sword { background-image: url("/assets/img/knights/sword.webp"); }
.sprite-crossbow { background-image: url("/assets/img/knights/crossbow.webp"); }
.sprite-staff { background-image: url("/assets/img/knights/staff.webp"); }
.sprite-axe { background-image: url("/assets/img/knights/axe.webp"); }
.sprite-daggers { background-image: url("/assets/img/knights/daggers.webp"); }
.lang-menu[data-static] { position: static; width: min(560px, 92vw); margin: 0 auto; }
.social-link { margin-top: 14px; }

/* ---------- İstek listesi ---------- */
.wishlist-grid {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
	gap: 22px; align-items: start;
}
.wishlist-card {
	padding: clamp(28px, 5vw, 40px); border-radius: 18px;
	background: radial-gradient(ellipse at 50% 0%, rgba(224, 101, 42, 0.18), transparent 65%),
		linear-gradient(to bottom, var(--panel-top), var(--panel));
	border: 1px solid rgba(242, 180, 105, 0.4); box-shadow: var(--shadow);
}
.wishlist-form { display: grid; gap: 16px; }
.wishlist-form .honeypot {
	position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.wishlist-form .field { display: grid; gap: 6px; }
.wishlist-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wishlist-form label { color: var(--text-dim); font-weight: 700; font-size: 0.95rem; }
.wishlist-form .req { color: var(--ember); }
.wishlist-form .opt { color: var(--text-mute); font-weight: 500; font-size: 0.85rem; }
.wishlist-form input[type="email"],
.wishlist-form input[type="text"] {
	width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
	border: 1px solid var(--border); background: rgba(8, 6, 11, 0.72); color: var(--text);
	font: inherit; font-size: 1.02rem;
}
.wishlist-form input:focus-visible {
	outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold-deep);
}
.wishlist-form .check {
	display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); font-weight: 500; line-height: 1.45;
}
.wishlist-form .check input {
	margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ember);
}
.wishlist-form .check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.wishlist-form .button { width: 100%; margin-top: 4px; }
.form-status {
	margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 700; line-height: 1.4;
}
.form-status.is-ok {
	color: #d8f5df; background: rgba(93, 204, 122, 0.12); border: 1px solid rgba(93, 204, 122, 0.35);
}
.form-status.is-error {
	color: #f3d0c8; background: rgba(224, 106, 90, 0.12); border: 1px solid rgba(224, 106, 90, 0.35);
}
.wishlist-privacy {
	margin: 18px 0 0; color: var(--text-mute); font-size: 0.92rem; line-height: 1.5;
}
.wishlist-privacy a { color: var(--gold); }

@media (max-width: 800px) {
	.wishlist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wishlist-form .field-row { grid-template-columns: 1fr; }
	.cta-links { width: 100%; }
	.cta-links .button { flex: 1 1 160px; }
}
