/* Kül Nöbeti / Ash Vigil web sitesi. Renkler oyunun arayüzünden
   (src/data/uiTheme.ts). Yazı tipleri site/fonts/ içinde; dışarıya istek yok. */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cinzel-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --ground: #0A0C12;
  --panel: rgba(20, 23, 34, 0.94);
  --edge: rgba(255, 200, 140, 0.18);
  --text: #F3ECDD;
  --text-2: #CFC7B8;
  --text-3: #B9B2A4;
  --ember: #FF8A3D;
  --ember-light: #FFB25C;
  --gold: #E9B95A;
  --font-title: 'Cinzel', Georgia, serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--ground);
  background-image: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255, 138, 61, 0.13), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); margin: 2.25rem 0 0.75rem; color: var(--gold); }
h3 { font-size: 1.08rem; font-weight: 600; margin: 1.75rem 0 0.4rem; color: var(--ember-light); }

p, li { color: var(--text-2); }
p { margin: 0 0 1rem; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--ember-light); text-underline-offset: 0.18em; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Üst şerit */
.top {
  border-bottom: 1px solid var(--edge);
}
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--gold); }
.top nav { display: flex; gap: 16px; }
.top nav a {
  display: inline-block;
  padding: 9px 0;
  line-height: 26px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ember-light); }

main { padding: 2rem 0 3rem; }

/* Ana sayfa */
.hero { text-align: center; padding-top: 1rem; }
.hero img {
  display: block;
  width: min(240px, 62vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 0 28px rgba(255, 138, 61, 0.35));
}
.hero h1 { font-size: clamp(2rem, 10vw, 3.1rem); margin-bottom: 0.1rem; }
.hero .alt {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.hero .pitch { font-size: 1.05rem; color: var(--text); margin: 0 auto 0.6rem; max-width: 34rem; }
.hero .pitch + .pitch { color: var(--text-2); }
.soon {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 138, 61, 0.38);
  border-radius: 14px;
  background: rgba(255, 138, 61, 0.08);
  color: var(--text);
  font-weight: 600;
}
.soon span { display: block; font-weight: 400; color: var(--text-2); font-size: 0.95rem; }

/* Kartlar ve SSS */
.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 0 0 1rem;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-top: 0; }
.mail { font-size: 1.1rem; font-weight: 600; }

.langs, .doc .langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.langs a {
  display: inline-block;
  padding: 0 16px;
  line-height: 42px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.langs a:hover { border-color: rgba(255, 138, 61, 0.5); color: var(--ember-light); }

.lead { color: var(--text); font-size: 1.05rem; }
.doc section { scroll-margin-top: 1rem; }
.doc section + section { margin-top: 3rem; padding-top: 0.5rem; border-top: 1px solid var(--edge); }
.doc ol, .doc ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.doc li { margin: 0.2rem 0; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--edge); padding: 1.25rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.foot a { display: inline-block; padding: 9px 0; line-height: 26px; color: var(--text-2); }
.foot small { color: var(--text-3); font-size: 0.85rem; margin-right: auto; }

.center { text-align: center; }

.langs-center { justify-content: center; }
