/* ==========================================================================================
   KÜL VE YEMİN — tanıtım sitesi, 2. tasarım
   Görsel dil oyunun kendi arayüzünden türer: altın oymalı uçlu düğmeler (ui_btn_*), köşe süsü (ui_kose),
   ayraç (ui_ayrac), taş zemin (ui_zemin), kalite çerçeveleri (cerceve_*), yuva (ui_yuva), sınıf madalyonları,
   ateş-buz arması (giris_arma). İki ırkın karşıtlığı (kor ↔ buz) ve araya sızan fitne moru düzenin kendisinde.
   Yazı: Source Serif 4 (başlık, OFL) · Fira Sans (gövde ve arayüz, OFL). Bütün dosyalar yereldir.
   ========================================================================================== */

@font-face { font-family: "KvY Serif"; src: url("../font/SourceSerif4-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "KvY Serif"; src: url("../font/SourceSerif4-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "KvY Sans"; src: url("../font/FiraSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "KvY Sans"; src: url("../font/FiraSans-Medium.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #07060a;
  --night: #0c0a10;
  --ash: #15121a;
  --ash-2: #1d1923;
  --line: rgba(201, 164, 92, .28);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #ece5d6;
  --muted: #b4aa98;
  --dim: #8f8677;
  --gold: #c9a45c;
  --gold-2: #ecd39a;
  --gold-3: #fff0c8;
  --ember: #ff6a2a;
  --ember-2: #b8361a;
  --ice: #7cc6ff;
  --ice-2: #2d6fb8;
  --teal: #3fd3d8;
  --nifak: #a77bff;
  --nifak-2: #4b2a8f;
  --ok: #7fd49a;
  --err: #ff8a7a;
  --q1: #d9dde3; --q2: #5aa7ff; --q3: #b07cff; --q4: #f0c35a; --q5: #ff5a36;
  --serif: "KvY Serif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "KvY Sans", "Fira Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, .65);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; color: var(--text); font: 400 17px/1.7 var(--sans); overflow-x: hidden;
  background: var(--ink);
}
/* taş zemin + iki ırkın uzak ışığı: düz siyah yok */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 800px at -10% 110%, rgba(255, 106, 42, .10), transparent 60%),
    radial-gradient(1100px 760px at 110% -10%, rgba(124, 198, 255, .08), transparent 60%),
    linear-gradient(180deg, rgba(7, 6, 10, .55), rgba(7, 6, 10, .85)),
    url("../img/ui/zemin.webp") 0 0 / 256px 256px repeat;
}
img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
a:hover { color: var(--gold-3); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: var(--gold-2); letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.1rem; }
h2 em, h1 em, h3 em { font-style: italic; font-weight: 400; color: var(--gold); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .3em 0; }
ul.ornate { list-style: none; padding: 0; }
ul.ornate li, .panel ul li, .legal ul li { position: relative; padding-left: 22px; list-style: none; }
.panel ul, .legal ul { padding-left: 0; }
ul.ornate li::before, .panel ul li::before, .legal ul li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #6d5428); box-shadow: 0 0 6px rgba(201, 164, 92, .5);
}
strong { color: #fff; font-weight: 600; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--gold-2); color: #160f05; padding: 12px 18px; font: 500 15px var(--sans); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.wrap-wide { max-width: 1480px; }

/* ---------------------------------------------------------------- yazı ölçekleri ve süsler */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}
.kicker::before, .eyebrow::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 9px var(--gold); flex: none; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--text); }
.ornament { display: block; width: min(560px, 80%); height: auto; margin: 6px 0 26px; opacity: .9; }
.center .ornament, .ornament.c { margin-left: auto; margin-right: auto; }
.numeral { font: 400 italic clamp(4rem, 11vw, 9rem)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .55); }
.margin-note { font: 500 .78rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-left: 1px solid var(--line); padding-left: 14px; }

/* bölüm başlığı (eski adıyla da çalışır) */
.sec-head { max-width: 780px; margin: 0 0 clamp(36px, 5vw, 64px); position: relative; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.rule { display: block; height: 22px; width: min(420px, 70%); margin: 4px 0 24px; background: url("../img/ui/ayrac.webp") left center / contain no-repeat; }
.sec-head.center .rule { margin-left: auto; margin-right: auto; background-position: center; }
.rule i { display: none; }

/* ---------------------------------------------------------------- oyun düğmeleri (9 dilim) */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 58px; font: 500 .9rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-3); text-decoration: none; background: none; cursor: pointer; white-space: nowrap;
  border: 0 solid transparent; border-image: url("../img/ui/btn-koyu-9.webp") 0 112 fill / 0 56px stretch;
  text-shadow: 0 1px 2px #000; transition: filter .2s var(--ease), transform .12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: #fff; filter: brightness(1.18) drop-shadow(0 0 10px rgba(236, 211, 154, .25)); }
.btn:active { transform: translateY(2px) scale(.985); filter: brightness(.95); }
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; filter: brightness(1.2) drop-shadow(0 0 12px rgba(236, 211, 154, .55)); }
.btn-ember { border-image-source: url("../img/ui/btn-kizil-9.webp"); border-image-width: 0 46px; color: #fff3e6; }
.btn-ember:hover { filter: brightness(1.15) drop-shadow(0 0 14px rgba(255, 106, 42, .45)); }
.btn-ice { border-image-source: url("../img/ui/btn-turkuaz-9.webp"); border-image-width: 0 50px; color: #e9ffff; }
.btn-ice:hover { border-image-source: url("../img/ui/btn-turkuaz-hot-9.webp"); border-image-width: 0 37px; filter: none; color: #04181b; text-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 44px; font-size: .78rem; border-image-width: 0 46px; }
.btn-sm.btn-ember { border-image-width: 0 38px; }
.btn[disabled], .btn[aria-disabled="true"] { filter: grayscale(.8) brightness(.7); cursor: not-allowed; transform: none; }
.btn[aria-pressed="true"] { border-image-source: url("../img/ui/btn-turkuaz-9.webp"); border-image-width: 0 50px; color: #fff; }
.btn svg { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.text-link { font: 500 .82rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.text-link::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.text-link:hover::after { width: 44px; }

/* ---------------------------------------------------------------- üst şerit */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid, .nav-open .site-header { background: rgba(7, 6, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line-soft); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 10, .85), transparent); pointer-events: none; z-index: -1; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 100%; max-width: 1480px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; color: var(--gold-2); }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(255, 140, 60, .35)); }
.brand-name { font: 600 1.18rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.brand-name small { font: italic 400 .8em var(--serif); letter-spacing: 0; text-transform: none; color: var(--gold); margin: 0 .15em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font: 500 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 12px 12px; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; transform: translateX(-50%) rotate(45deg) scale(0); background: var(--gold); transition: transform .25s var(--ease); }
.nav > a:not(.btn):hover { color: var(--gold-3); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav > a[aria-current="page"] { color: var(--gold-2); }
.nav .btn { margin-left: 10px; }
.lang { display: flex; margin-left: 8px; }
.lang a { font: 500 .74rem/1 var(--sans); padding: 9px 8px; color: var(--dim); text-decoration: none; letter-spacing: .14em; border-bottom: 1px solid transparent; }
.lang a[aria-current="true"] { color: var(--gold-2); border-color: var(--gold); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--gold-2); padding: 10px 14px; font: 500 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.menu-btn svg { vertical-align: -3px; margin-right: 8px; }
@media (max-width: 1140px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 6, 10, .98) url("../img/ui/arma-360.webp") 50% 92% / 220px no-repeat; padding: 10px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s, transform .22s, visibility 0s .22s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
  .nav > a:not(.btn) { padding: 18px 4px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .nav > a:not(.btn)::after { left: auto; right: 6px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(45deg) scale(0); }
  .nav > a[aria-current="page"]::after { transform: translateY(-50%) rotate(45deg) scale(1); }
  .nav .btn { margin: 24px 0 0; }
  .lang { margin: 20px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- kor parçacıkları ve sis */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.fog { position: absolute; inset: auto -10% 0 -10%; height: 45%; pointer-events: none; z-index: 1; opacity: .5;
  background: radial-gradient(60% 70% at 30% 100%, rgba(170, 160, 180, .16), transparent 70%), radial-gradient(50% 60% at 75% 100%, rgba(150, 140, 170, .14), transparent 70%);
  animation: fog 38s ease-in-out infinite alternate; }
.fog.b { height: 30%; opacity: .35; animation-duration: 52s; animation-direction: alternate-reverse; }
@keyframes fog { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

/* ---------------------------------------------------------------- HERO: başlık ekranı */
.hero {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: calc(var(--header-h) + 30px) 0 170px;
}
.hero-media { position: absolute; inset: -4% 0 0 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: breathe 30s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 45% at 50% 46%, rgba(7, 6, 10, .55), transparent 75%), linear-gradient(180deg, rgba(7, 6, 10, .6) 0%, transparent 22%, transparent 55%, var(--ink) 98%); }
.hero-inner { position: relative; z-index: 2; max-width: 980px; padding: 0 var(--gutter); }
.hero-arma { width: clamp(110px, 13vw, 170px); margin: 0 auto 6px; filter: drop-shadow(0 0 30px rgba(255, 120, 50, .35)) drop-shadow(0 0 40px rgba(124, 198, 255, .2)); }
.wordmark { margin: 0; font: 600 clamp(2.9rem, 9vw, 7rem)/.95 var(--serif); letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; color: var(--gold-3);
  background: linear-gradient(180deg, #fff6dc 0%, #ecd39a 45%, #b88a3e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .85)); }
.wordmark .ve { font: italic 400 .38em var(--serif); letter-spacing: 0; text-transform: none; vertical-align: .55em; margin: 0 .08em; }
.hero .slogan { font: italic 400 clamp(1.2rem, 2.4vw, 1.7rem)/1.4 var(--serif); color: var(--text); margin: 18px 0 34px; text-shadow: 0 2px 16px #000; }
.hero .btn-row { justify-content: center; }
.hero-meta { margin: 26px 0 0; display: flex; gap: 8px 30px; flex-wrap: wrap; justify-content: center; font: 500 .76rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 30px; }
.hero-meta span + span::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); margin-left: -18px; margin-right: -12px; }
@media (max-width: 640px) { .wordmark { white-space: normal; } .hero-meta { flex-direction: column; align-items: center; } .hero-meta span + span::before { display: none; } }

/* geri sayım: oyunun süslü bandı */
.countdown {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(1040px, calc(100% - 24px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 96px; padding: 0 92px;
  border: 0 solid transparent; border-image: url("../img/ui/btn-koyu-9.webp") 0 112 fill / 0 92px stretch;
}
.countdown h2 { font: 500 .74rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0; text-align: right; }
.countdown p { margin: 0; font: italic 400 .95rem/1.3 var(--serif); color: var(--muted); }
.cd { display: flex; gap: clamp(10px, 2.4vw, 28px); }
.cd div { text-align: center; min-width: 56px; }
.cd b { display: block; font: 600 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--serif); color: var(--gold-3); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(236, 211, 154, .35); }
.cd span { font: 500 .62rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) {
  .hero { padding-bottom: 240px; }
  .countdown { grid-template-columns: 1fr; text-align: center; padding: 14px 52px; min-height: 0; gap: 6px; border-image-width: 0 40px; }
  .countdown h2 { text-align: center; } .cd { justify-content: center; }
}

/* ---------------------------------------------------------------- iç sayfa başı: asimetrik bölüm kapağı */
.page-hero { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 70px; overflow: hidden; }
.page-hero > img, .page-hero > picture { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; height: 100%; object-fit: cover; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, var(--ink) 100%), radial-gradient(60% 80% at 0% 50%, rgba(7, 6, 10, .9), transparent 70%); }
.page-hero::after { content: ""; position: absolute; left: -60px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); z-index: -1; opacity: .07; background: url("../img/ui/arma-360.webp") center / contain no-repeat; pointer-events: none; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); max-width: 12ch; }
.page-hero .lead { max-width: 560px; }
.crumbs { font: 500 .74rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin: 0 0 18px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
@media (max-width: 760px) {
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 210px); }
  .page-hero > img, .page-hero > picture { width: 100%; height: 300px; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
}

/* ---------------------------------------------------------------- bölümler */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(21, 18, 26, .7) 15%, rgba(21, 18, 26, .7) 85%, transparent); }
.section.tight { padding: clamp(48px, 7vw, 90px) 0; }

/* çerçeveli görsel: oyunun köşe süsleri */
.framed { position: relative; }
.framed::after { content: ""; position: absolute; inset: -14px; pointer-events: none; z-index: 2;
  background: url("../img/ui/kose-tl.webp") left top / 72px auto no-repeat, url("../img/ui/kose-tr.webp") right top / 72px auto no-repeat,
              url("../img/ui/kose-bl.webp") left bottom / 72px auto no-repeat, url("../img/ui/kose-br.webp") right bottom / 72px auto no-repeat; }
.framed img, .framed video { width: 100%; }
.figure { margin: 0; }
.figure img { width: 100%; box-shadow: var(--shadow); }
.figure figcaption { font: italic 400 .92rem/1.4 var(--serif); color: var(--dim); margin-top: 12px; }

/* panel (kart yerine): taş + ince altın kenar */
.card, .panel-box {
  position: relative; background: linear-gradient(180deg, rgba(29, 25, 35, .92), rgba(15, 12, 19, .92)); border: 1px solid var(--line); padding: 28px 30px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 40px rgba(0, 0, 0, .5);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .media { margin: -28px -30px 24px; aspect-ratio: 16 / 9; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.card-ember { border-top: 2px solid var(--ember); } .card-ice { border-top: 2px solid var(--ice); } .card-nifak { border-top: 2px solid var(--nifak); }
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g3, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* rozet / tablo / not */
.badge { display: inline-flex; align-items: center; gap: 6px; font: 500 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px 6px 12px; color: var(--gold); border: 1px solid currentColor; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); background: rgba(0, 0, 0, .3); }
.badge.ember { color: var(--ember); } .badge.ice { color: var(--ice); } .badge.nifak { color: var(--nifak); } .badge.plain { color: var(--muted); }
.badge.q1 { color: var(--q1); } .badge.q2 { color: var(--q2); } .badge.q3 { color: var(--q3); } .badge.q4 { color: var(--q4); } .badge.q5 { color: var(--q5); }
.tbl-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.tbl caption { text-align: left; padding: 12px 4px; color: var(--dim); font: italic .88rem var(--serif); caption-side: bottom; }
.tbl th, .tbl td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl thead th { font: 500 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.tbl tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .015); }
.tbl td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { position: relative; border: 1px solid var(--line); border-left-width: 3px; background: rgba(201, 164, 92, .06); padding: 16px 20px; margin: 0 0 1.5em; font-size: .96rem; }
.note.warn { border-left-color: var(--ember); background: rgba(255, 106, 42, .06); }
.note.info { border-left-color: var(--ice); background: rgba(124, 198, 255, .05); }
.note.draft { border-left-color: var(--nifak); background: rgba(167, 123, 255, .07); }
.note p:last-child { margin: 0; }
.ph, .legal .ph { background: rgba(167, 123, 255, .18); color: #e7dbff; padding: 1px 6px; font-size: .92em; }

/* ---------------------------------------------------------------- 3 perde: kaydırmalı anlatım */
.chapters { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(30px, 6vw, 90px); align-items: start; }
.chapters-media { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100vh - var(--header-h) - 48px); max-height: 820px; }
.chapters-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.chapters-media figure.on { opacity: 1; }
.chapters-media img { width: 100%; height: 100%; object-fit: cover; }
.chapters-media::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 120px rgba(7, 6, 10, .9); }
.chapter { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.chapter .numeral { margin-bottom: 10px; }
.chapter h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.chapter p { font-size: 1.1rem; color: var(--text); max-width: 46ch; }
.chapter .inline-img { display: none; }
@media (max-width: 900px) {
  .chapters { grid-template-columns: 1fr; }
  .chapters-media { display: none; }
  .chapter { min-height: 0; padding: 0 0 56px; }
  .chapter .inline-img { display: block; margin: 0 0 22px; }
}

/* sinematik bant */
.band { position: relative; isolation: isolate; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.band > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, transparent 25%, transparent 50%, rgba(7, 6, 10, .95) 100%); }
.band .wrap { padding-bottom: clamp(48px, 7vw, 100px); }
.band blockquote { margin: 0; max-width: 900px; font: italic 400 clamp(1.8rem, 4.4vw, 3.6rem)/1.15 var(--serif); color: var(--gold-3); text-shadow: 0 4px 30px #000; }
.band cite { display: block; margin-top: 18px; font: 500 .74rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ---------------------------------------------------------------- Tarafını seç: ekranın iki yarısı, ortadan fitne sızar */
.world { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; overflow: hidden; --seep: 0; }
.world .side { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 80px); cursor: pointer; min-height: 680px; transition: filter .6s; }
.world .side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.72); }
.world .side::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.world .yemin::after { background: linear-gradient(180deg, transparent 30%, rgba(8, 18, 34, .95) 88%), linear-gradient(90deg, rgba(45, 111, 184, .25), transparent 60%); }
.world .kul::after { background: linear-gradient(180deg, transparent 30%, rgba(34, 10, 5, .95) 88%), linear-gradient(270deg, rgba(184, 54, 26, .3), transparent 60%); }
.world .kul { text-align: right; align-items: flex-end; }
.world .side:hover > img, .world .side.on > img { transform: scale(1.04); filter: saturate(1.05) brightness(.9); }
.world.picked .side:not(.on) { filter: grayscale(.7) brightness(.55); }
.world .crest { font: 500 .76rem var(--sans); letter-spacing: .3em; text-transform: uppercase; margin: 0; }
.world .yemin .crest { color: var(--ice); } .world .kul .crest { color: var(--ember); }
.world h3 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: #fff; margin: 8px 0 12px; }
.world .side-text { max-width: 440px; margin: 0; }
.world .side ul { list-style: none; padding: 0; margin: 16px 0 0; max-width: 440px; }
.world .side li { font-size: .95rem; padding-left: 20px; position: relative; }
.world .kul li { padding: 0 20px 0 0; }
.world .side li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; transform: rotate(45deg); }
.world .kul li::before { left: auto; right: 0; }
.world .yemin li::before { background: var(--ice); } .world .kul li::before { background: var(--ember); }
.world .pick { margin-top: 22px; }
.seam { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: calc(6px + var(--seep) * 26vw); transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(75, 42, 143, .55) 30%, rgba(167, 123, 255, .65) 50%, rgba(75, 42, 143, .55) 70%, transparent); mix-blend-mode: screen; filter: blur(calc(2px + var(--seep) * 18px)); }
.seam-queen { position: absolute; z-index: 2; left: 50%; bottom: 0; width: min(520px, 46vw); transform: translateX(-50%); opacity: calc(var(--seep) * .55); pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.world-foot { text-align: center; margin: 22px auto 0; color: var(--muted); min-height: 1.7em; padding: 0 var(--gutter); }
@media (max-width: 820px) { .world { grid-template-columns: 1fr; } .world .side { min-height: 520px; } .world .kul { text-align: left; align-items: flex-start; } .world .kul li { padding: 0 0 0 20px; } .world .kul li::before { left: 0; right: auto; } .seam, .seam-queen { display: none; } }

/* ---------------------------------------------------------------- sınıflar: oyunun madalyonları */
.classpick { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.medallions { display: flex; gap: clamp(6px, 1.4vw, 18px); flex-wrap: wrap; margin: 0 0 28px; }
.medallion { width: 72px; padding: 0; background: none; border: 0; cursor: pointer; text-align: center; color: var(--muted); font: 500 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.medallion img { width: 66px; height: 66px; margin: 0 auto 8px; transition: transform .3s var(--ease), filter .3s; filter: grayscale(.6) brightness(.7); }
.medallion:hover img { filter: none; transform: translateY(-3px); }
.medallion[aria-selected="true"] { color: var(--gold-2); }
.medallion[aria-selected="true"] img { filter: drop-shadow(0 0 16px rgba(236, 211, 154, .55)); transform: scale(1.08); }
.class-stage { position: relative; aspect-ratio: 16 / 10; }
.class-stage .cls { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.class-stage .cls.on { opacity: 1; }
.class-stage img { width: 100%; height: 100%; object-fit: cover; }
.class-text .role { font: 500 .74rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.class-text h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-top: 6px; }
.class-text [role="tabpanel"][hidden] { display: none; }
@media (max-width: 900px) { .classpick { grid-template-columns: 1fr; } .medallion { width: 60px; } .medallion img { width: 56px; height: 56px; } }

/* ---------------------------------------------------------------- vitrinler */
.vitrin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
@media (max-width: 960px) { .vitrin { grid-template-columns: 1fr; } }
.niche { position: relative; aspect-ratio: 3 / 3.6; background: url("../img/ui/vitrin-nis.webp") center / cover no-repeat; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.niche::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0, 0, 0, .85); }
.niche img.shot { position: relative; z-index: 1; width: 82%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(7, 6, 10, .7), 0 20px 60px rgba(0, 0, 0, .7); transition: opacity .35s; }
.niche img.shot.full { width: 100%; height: 100%; aspect-ratio: auto; border: 0; box-shadow: none; }
.niche .view-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center; font: italic 400 .9rem var(--serif); color: var(--muted); }
.ctrl { margin: 0 0 22px; }
.ctrl-label { display: block; font: 500 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ctrl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-soft); padding: 11px 14px; cursor: pointer; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); transition: color .2s, background .2s; }
.chip:hover { color: var(--gold-3); background: rgba(201, 164, 92, .12); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { color: #08161a; background: linear-gradient(180deg, #7ff2f4, var(--teal) 60%, #1b8f97); }
.chip[disabled] { opacity: .35; cursor: not-allowed; }
.qslots { display: flex; gap: 10px; flex-wrap: wrap; }
.qslot { position: relative; width: 66px; height: 66px; padding: 0; border: 0; background: url("../img/ui/yuva.webp") center / cover; cursor: pointer; display: grid; place-items: center; font: 600 1.15rem var(--serif); color: var(--c); transition: transform .2s var(--ease); }
.qslot::after { content: ""; position: absolute; inset: -3px; background: var(--frame) center / 100% 100% no-repeat; opacity: .55; transition: opacity .2s; }
.qslot:hover { transform: translateY(-2px); }
.qslot[aria-pressed="true"]::after { opacity: 1; filter: drop-shadow(0 0 8px var(--c)); }
.set-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 18px; }
.set-info dt { font: 500 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); padding-top: 4px; }
.set-info dd { margin: 0; }
.set-info .set-name { font: 600 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); margin: 0 0 6px; }
.parts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.parts li { margin: 0; font-size: .85rem; padding: 4px 10px; border: 1px solid var(--line-soft); color: var(--muted); }

/* yükseltme */
.forge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .forge { grid-template-columns: 1fr; } }
.forge-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.forge-stage::before { content: ""; position: absolute; inset: 0; background: url("../img/ui/sihir-cemberi.webp") center / contain no-repeat; opacity: .55; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.forge-stage img { position: relative; width: 72%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(7, 6, 10, .8), 0 0 60px rgba(124, 198, 255, var(--glow, .15)); transition: box-shadow .4s; }
.plus-read { font: 600 clamp(3rem, 7vw, 5.4rem)/1 var(--serif); color: var(--gold-3); text-shadow: 0 0 30px rgba(124, 198, 255, var(--glow, .2)); }
.range { width: 100%; accent-color: var(--teal); height: 30px; }
.ticks { display: flex; justify-content: space-between; font: 500 .72rem var(--sans); color: var(--dim); margin-top: -4px; }
.ticks span.has { color: var(--gold-2); }

/* yuva ızgarası (binek, pet, kanat, kostüm) */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { position: relative; aspect-ratio: 1; padding: 6px; border: 0; background: url("../img/ui/yuva.webp") center / cover; cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), filter .2s; }
.slot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }
.slot:hover { transform: translateY(-3px); filter: brightness(1.15); }
.slot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--gold-2), 0 0 18px rgba(236, 211, 154, .4); }
.slot.tall { aspect-ratio: 2 / 3; background: radial-gradient(closest-side, rgba(201, 164, 92, .14), transparent), rgba(7, 6, 10, .55); border: 1px solid var(--line-soft); }
.slot.tall:hover { border-color: var(--line); }
.slot .tag { position: absolute; right: 4px; top: 4px; font: 600 .66rem var(--sans); color: var(--nifak); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; margin-top: 26px; }
.detail .pic { position: relative; aspect-ratio: 1; max-height: 380px; background: radial-gradient(closest-side, rgba(201, 164, 92, .18), transparent 70%); display: grid; place-items: center; }
.detail .pic img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .8)); }
.detail h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 6px; }
@media (max-width: 640px) { .detail { grid-template-columns: 1fr; } }
.nifak-feature { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 520px; background: radial-gradient(70% 90% at 30% 50%, rgba(75, 42, 143, .45), transparent 70%), #0b0812; border: 1px solid rgba(167, 123, 255, .35); }
.nifak-feature > figure { margin: 0; position: relative; }
.nifak-feature > figure img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.nifak-feature .body { padding: clamp(28px, 5vw, 64px); align-self: center; }
.nifak-feature .eyebrow, .nifak-feature h3 { color: var(--nifak); }
.nifak-feature h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: #e4d6ff; }
@media (max-width: 820px) { .nifak-feature { grid-template-columns: 1fr; } .nifak-feature > figure img { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); max-height: 420px; } }

/* sekmeler (oyun sekmesi) */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.tabs [role="tab"], .tabs a { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 16px; background: none; border: 0; cursor: pointer; position: relative; }
.tabs [role="tab"] img { width: 30px; height: 30px; filter: grayscale(.8) brightness(.75); transition: filter .2s; }
.tabs [role="tab"]:hover, .tabs a:hover { color: var(--gold-3); }
.tabs [role="tab"]:hover img { filter: none; }
.tabs [role="tab"][aria-selected="true"] { color: var(--gold-3); }
.tabs [role="tab"][aria-selected="true"] img { filter: drop-shadow(0 0 8px rgba(236, 211, 154, .5)); }
.tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
@media (max-width: 760px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; } .tabs [role="tab"] { white-space: nowrap; } }
.panel[hidden] { display: none; }
.panel { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel > h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.panel h3 { margin-top: 1.7em; }
.panel h3:first-child { margin-top: 0; }

/* kalite şeridi (rehber) */
.quality { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.q { text-align: center; padding: 16px 8px 14px; background: url("../img/ui/yuva.webp") center / cover; border: 0; position: relative; }
.q::after { content: ""; position: absolute; inset: 0; background: var(--frame, none) center / 100% 100% no-repeat; pointer-events: none; }
.q img { width: 82px; height: 82px; margin: 0 auto 8px; }
.q b { display: block; font: 600 1.05rem var(--serif); color: var(--c); }
.q span { font-size: .78rem; color: var(--muted); }
.q1 { --c: var(--q1); --frame: url("../img/ui/cerceve-gri.webp"); } .q2 { --c: var(--q2); --frame: url("../img/ui/cerceve-mavi.webp"); } .q3 { --c: var(--q3); --frame: url("../img/ui/cerceve-mor.webp"); } .q4 { --c: var(--q4); --frame: url("../img/ui/cerceve-altin.webp"); } .q5 { --c: var(--q5); --frame: url("../img/ui/cerceve-kizil.webp"); }
@media (max-width: 700px) { .quality { grid-template-columns: repeat(5, minmax(92px, 1fr)); overflow-x: auto; } }

/* arayüz: numaralı açıklama noktaları */
.hotspots { position: relative; }
.hotspots img { width: 100%; }
.hotspots.narrow { max-width: 760px; }
.spot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border: 0; padding: 0; cursor: pointer; font: 600 .95rem var(--serif); color: #160f05;
  background: radial-gradient(circle at 35% 30%, #fff2c7, var(--gold-2) 45%, #9c7232); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: grid; place-items: center; animation: pulse 2.6s ease-in-out infinite; }
.spot:hover, .spot[aria-expanded="true"] { animation: none; filter: brightness(1.15); }
@keyframes pulse { 50% { filter: drop-shadow(0 0 10px rgba(255, 232, 170, .9)); } }
.spot-tip { position: absolute; z-index: 5; max-width: 280px; padding: 12px 14px; font-size: .9rem; background: rgba(12, 10, 16, .96); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translate(-50%, 22px); }
.spot-tip[hidden] { display: none; }
.spot-list { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 24px; }
.spot-list li { counter-increment: s; position: relative; padding-left: 34px; font-size: .93rem; color: var(--muted); }
.spot-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; display: grid; place-items: center; font: 600 .78rem var(--serif); color: #160f05; background: var(--gold-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.spot-list strong { color: var(--text); }

/* boss galerisi */
.bestiary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.beast { position: relative; margin: 0; aspect-ratio: 3 / 4; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 62%, var(--glow, rgba(201, 164, 92, .18)), transparent 70%), linear-gradient(180deg, rgba(7, 6, 10, .2), rgba(7, 6, 10, .8)); }
.beast img { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); max-width: 92%; max-height: 74%; width: auto; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .9)); transition: transform .6s var(--ease); }
.beast:hover img { transform: translateX(-50%) scale(1.05); }
.beast figcaption { position: relative; }
.beast b { display: block; font: 600 1.02rem/1.2 var(--serif); color: var(--gold-2); }
.beast span { font: 500 .62rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.beast.big { grid-column: span 2; grid-row: span 2; aspect-ratio: 3 / 4; }
.beast.big img { max-height: 82%; }
.beast.big b { font-size: 1.6rem; }
.beast.kadim { --glow: rgba(255, 106, 42, .3); } .beast.hukumdar { --glow: rgba(167, 123, 255, .4); } .beast.ilahi { --glow: rgba(236, 211, 154, .25); } .beast.azili { --glow: rgba(184, 54, 26, .22); }
@media (max-width: 1100px) { .bestiary { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bestiary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .beast.big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 4; } }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.beast[hidden] { display: none; }

/* ---------------------------------------------------------------- harita atlası */
.atlas { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.atlas-index { position: sticky; top: calc(var(--header-h) + 24px); }
.atlas-index h3 { font: 500 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 20px 0 8px; }
.atlas-index h3:first-child { margin-top: 0; }
.atlas-index ol { list-style: none; padding: 0; margin: 0; }
.atlas-index li { margin: 0; }
.atlas-index a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font: 400 1rem var(--serif); color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.atlas-index a span { font: 500 .7rem var(--sans); color: var(--dim); letter-spacing: .08em; }
.atlas-index a:hover, .atlas-index a.on { color: var(--gold-3); }
.plate { padding: 0 0 clamp(56px, 8vw, 100px); }
.plate-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-bottom: 18px; }
.plate-head h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.plate-lv { font: italic 400 1.3rem var(--serif); color: var(--gold); }
.plate-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 7.4; }
.plate-imgs > :first-child { grid-row: span 2; }
.plate-imgs.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 7; }
.plate-imgs.n2 > :first-child { grid-row: span 2; }
.plate-imgs.n2 > :nth-child(2) { grid-row: span 2; }
.plate-imgs a { position: relative; display: block; overflow: hidden; }
.plate-imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.plate-imgs a:hover img { transform: scale(1.04); }
.plate p { max-width: 62ch; margin-top: 16px; }
.plate.noimg .plate-imgs { display: none; }
@media (max-width: 900px) { .atlas { grid-template-columns: 1fr; } .atlas-index { position: static; display: none; } .plate-imgs { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .plate-imgs > :first-child { grid-column: span 2; grid-row: auto; } .plate-imgs.n2 > * { grid-row: auto; } .plate-imgs img { aspect-ratio: 16 / 9; } }

/* ---------------------------------------------------------------- galeri, mozaik, ışık kutusu */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gallery.big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery.mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; grid-auto-flow: dense; }
.gallery.mosaic a:nth-child(6n + 1) { grid-column: span 7; grid-row: span 3; }
.gallery.mosaic a:nth-child(6n + 2) { grid-column: span 5; grid-row: span 2; }
.gallery.mosaic a:nth-child(6n + 3) { grid-column: span 5; grid-row: span 2; }
.gallery.mosaic a:nth-child(6n + 4) { grid-column: span 4; grid-row: span 2; }
.gallery.mosaic a:nth-child(6n + 5) { grid-column: span 4; grid-row: span 2; }
.gallery.mosaic a:nth-child(6n + 6) { grid-column: span 4; grid-row: span 2; }
@media (max-width: 760px) { .gallery.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .gallery.mosaic a:nth-child(n) { grid-column: span 1; grid-row: span 1; } .gallery.mosaic a:nth-child(3n + 1) { grid-column: span 2; grid-row: span 2; } }
.gallery a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gallery.mosaic a { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.92); }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.05); filter: saturate(1.1); }
.gallery a::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(201, 164, 92, 0); transition: border-color .3s, inset .3s; }
.gallery a:hover::after, .gallery a:focus-visible::after { inset: 8px; border-color: rgba(236, 211, 154, .7); }
.gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font: italic 400 .92rem var(--serif); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gallery a span { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5, 4, 7, .97); display: none; align-items: center; justify-content: center; padding: 64px 76px; }
.lightbox.open { display: flex; animation: rise .3s var(--ease); }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; box-shadow: var(--shadow); }
.lightbox figcaption { color: var(--muted); margin-top: 14px; text-align: center; font: italic 400 1rem var(--serif); }
.lb-btn { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer; color: var(--gold-2); background: url("../img/ui/halka.webp") center / contain no-repeat; border: 0; }
.lb-btn:hover { filter: brightness(1.3); }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 64px 8px 84px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); } }

/* ---------------------------------------------------------------- fragman */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: visible; }
.video > img, .video video { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle, rgba(0, 0, 0, .1), rgba(0, 0, 0, .6)); border: 0; color: #fff; cursor: pointer; font: 500 .8rem var(--sans); letter-spacing: .3em; text-transform: uppercase; width: 100%; z-index: 1; }
.video .play i { width: 104px; height: 104px; display: grid; place-items: center; background: url("../img/ui/halka.webp") center / contain no-repeat; transition: transform .25s var(--ease), filter .25s; }
.video .play i svg { margin-left: 6px; filter: drop-shadow(0 0 8px rgba(255, 140, 60, .8)); }
.video .play:hover i { transform: scale(1.08); filter: brightness(1.25); }
.video-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- kraliçe bandı */
.queen { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 86vh; align-items: center;
  background: radial-gradient(60% 80% at 75% 55%, rgba(75, 42, 143, .55), transparent 70%), linear-gradient(180deg, var(--ink), #0a0612 30%, #0a0612 70%, var(--ink)); }
.queen > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 900px; object-fit: cover; -webkit-mask-image: radial-gradient(75% 75% at 55% 50%, #000 50%, transparent); mask-image: radial-gradient(75% 75% at 55% 50%, #000 50%, transparent); }
.queen .body { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding: 60px var(--gutter) 60px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.queen h2 { color: #e4d6ff; } .queen .kicker { color: var(--nifak); } .queen .kicker::before { border-color: var(--nifak); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 9px var(--nifak); }
@media (max-width: 860px) { .queen { grid-template-columns: 1fr; } .queen > img { grid-column: 1; max-height: 420px; } .queen .body { grid-row: 2; padding: 0 var(--gutter) 60px; } }

/* vitrin teaser (ana sayfa) */
.teaser { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.teaser > * { position: relative; overflow: hidden; background: rgba(15, 12, 19, .8); border: 1px solid var(--line-soft); padding: 22px; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .3s; }
.teaser > *:hover { border-color: var(--line); color: var(--text); }
.teaser h3 { font-size: 1.5rem; margin: 0 0 6px; }
.teaser p { color: var(--muted); font-size: .95rem; margin: 0; }
.teaser .t-sets { grid-column: span 7; }
.teaser .t-forge { grid-column: span 5; }
.teaser .t-comp { grid-column: span 5; }
.teaser .t-cost { grid-column: span 7; }
.helm-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; }
.helm-row figure { margin: 0; position: relative; }
.helm-row img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.helm-row figure::after { content: ""; position: absolute; inset: -2px; background: var(--frame) center / 100% 100% no-repeat; pointer-events: none; }
.helm-row figcaption { font: 500 .6rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--c); text-align: center; margin-top: 6px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; }
.duo figure { margin: 0; position: relative; }
.duo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.duo figcaption { position: absolute; left: 8px; bottom: 6px; font: 600 1.4rem var(--serif); color: var(--gold-3); text-shadow: 0 2px 8px #000; }
.mini-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; }
.mini-slots img { width: 100%; aspect-ratio: 1; object-fit: contain; background: url("../img/ui/yuva.webp") center / cover; padding: 6px; }
.cost-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; }
.cost-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 900px) { .teaser > * { grid-column: span 12 !important; } }

.race-col.ember { text-align: right; }
.race-col.ember ul.ornate { display: inline-block; text-align: left; }
@media (max-width: 640px) { .race-col.ember { text-align: left; } }

/* ön kayıt çağrısı */
.cta { position: relative; isolation: isolate; text-align: center; padding: clamp(110px, 16vw, 210px) 0; overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(7, 6, 10, .4), rgba(7, 6, 10, .92) 72%), linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.cta h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.cta p { max-width: 640px; margin: 0 auto 32px; font-size: 1.12rem; }
.cta .btn-row { justify-content: center; }

/* eski bileşenler (iç sayfalar) */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.feature:nth-child(even) > .figure { order: 2; }
.feature .k { font: 500 .74rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent, var(--gold)); margin: 0 0 12px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) > .figure { order: 0; } }
.map-card .media { aspect-ratio: 16 / 9; }
.map-card .lv { font: italic 400 1.1rem var(--serif); color: var(--gold-2); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--gold), var(--line), var(--ember)); }
.timeline li { position: relative; padding: 0 0 30px 48px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 15px; height: 15px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--ink); }
.timeline li.done::before { background: var(--gold); }
.timeline li.now::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 16px var(--ember); }
.timeline .when { font: 500 .7rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.post { border-top: 1px solid var(--line-soft); padding: 48px 0; }
.post:first-of-type { border-top: 0; padding-top: 0; }
.post time { font: 500 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.post h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 10px; }
.post .figure { margin: 20px 0 24px; }
.news-split { align-items: start; }
@media (min-width: 861px) { .news-split { grid-template-columns: 1.5fr 1fr; } .road { position: sticky; top: calc(var(--header-h) + 24px); } }

/* form */
.form { display: grid; gap: 22px; }
.field label, .field .label { display: block; font: 500 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.field .opt { color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input[type="email"], .field input[type="text"], .field select { width: 100%; min-height: 52px; padding: 12px 16px; font: 400 1rem var(--sans); color: var(--text); background: rgba(7, 6, 10, .8); border: 1px solid rgba(201, 164, 92, .3); border-radius: 0; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input:focus, .field select:focus { border-color: var(--gold-2); outline: none; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6), 0 0 0 3px rgba(236, 211, 154, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: .86rem; color: var(--dim); margin-top: 7px; }
.field .err { font-size: .88rem; color: var(--err); margin-top: 6px; }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.choice legend { font: 500 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; padding: 0; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid rgba(255, 255, 255, .14); cursor: pointer; font-size: .95rem; background: rgba(7, 6, 10, .6); }
.choice input { accent-color: var(--gold); width: 18px; height: 18px; }
.choice label:has(input:checked) { border-color: var(--gold); background: rgba(201, 164, 92, .08); }
.choice label.y:has(input:checked) { border-color: var(--ice); background: rgba(124, 198, 255, .08); }
.choice label.k:has(input:checked) { border-color: var(--ember); background: rgba(255, 106, 42, .08); }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border: 1px solid var(--line); background: rgba(201, 164, 92, .07); }
.form-status[data-kind="ok"] { border-color: var(--ok); background: rgba(127, 212, 154, .08); }
.form-status[data-kind="err"] { border-color: var(--err); background: rgba(255, 138, 122, .08); }
.form-status[data-kind="soon"] { border-color: var(--nifak); background: rgba(167, 123, 255, .08); }
.form-status:empty { display: none; }
.form fieldset[disabled] { opacity: .55; }
.donate-links { display: flex; flex-wrap: wrap; gap: 12px; }
.supporters { min-height: 120px; display: grid; place-items: center; text-align: center; border: 1px dashed var(--line); color: var(--muted); padding: 24px; }
.wall { background: rgba(15, 12, 19, .85); border: 1px solid var(--line-soft); overflow: hidden; }
.wall img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.wall .body { padding: 16px; }
.wall h3 { font-size: 1.2rem; margin-bottom: 12px; }
.wall .dl { display: flex; flex-wrap: wrap; gap: 4px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--text); }

/* ---------------------------------------------------------------- altbilgi */
.site-footer { position: relative; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(7, 6, 10, .6), #050407); padding: 80px 0 34px; color: var(--muted); font-size: .95rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 30px; transform: translate(-50%, -50%); background: url("../img/ui/ayrac.webp") center / contain no-repeat; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 120px; margin-bottom: 8px; }
.site-footer h2 { font: 500 .72rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); text-decoration: underline; }
.site-footer .soon { color: var(--dim); }
.foot-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: var(--dim); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- belirme */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
  .embers, .fog { display: none; }
}
@media print { .site-header, .site-footer, .hero-media, .btn, .embers, .fog { display: none !important; } body { background: #fff; color: #000; } body::before { display: none; } }

/* küçük ekran düzeltmeleri */
.page-hero > .wrap, .hero-inner { min-width: 0; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
  .wall .dl .btn { padding-left: 40px; padding-right: 40px; }
}
.page-hero .tabs { flex-wrap: wrap; overflow: visible; gap: 0; }
.page-hero .tabs a { padding: 10px 12px 10px 0; margin-right: 10px; }
@media (max-width: 640px) {
  .framed::after { inset: -8px; background-size: 46px auto, 46px auto, 46px auto, 46px auto; }
}
html { overflow-x: clip; }
.trio .card { background: none; border: 0; border-left: 1px solid var(--line); box-shadow: none; padding: 4px 0 4px 30px; }
.trio .card::before { content: ""; display: block; width: 46px; height: 46px; margin-bottom: 14px; background: url("../img/ui/arma-96.webp") center / contain no-repeat; opacity: .85; }
.trio .card h3 { font-size: 1.8rem; }
@media (max-width: 640px) { .qslot { width: 56px; height: 56px; } .qslots { gap: 6px; } }

.subname { margin: 8px 0 0; font: italic 400 1.1rem var(--serif); color: var(--gold); letter-spacing: .04em; }
[hidden] { display: none !important; }

/* kalite çerçeveleri (url, stil dosyasına göre çözülsün diye burada) */
.frame-gri { --frame: url("../img/ui/cerceve-gri.webp"); }
.frame-mavi { --frame: url("../img/ui/cerceve-mavi.webp"); }
.frame-mor { --frame: url("../img/ui/cerceve-mor.webp"); }
.frame-altin { --frame: url("../img/ui/cerceve-altin.webp"); }
.frame-kizil { --frame: url("../img/ui/cerceve-kizil.webp"); }
