@font-face { font-family: T; src: url(/fonts/BodyXPTitle.ttf); font-display: swap; }
@font-face { font-family: B; src: url(/fonts/BodyXPText.ttf); font-display: swap; }
:root { --bg: #140c06; --card: #f1e0b8; --ink: #3a2414; --muted: #6b4f33; --gold: #f6d27a; --edge: #b8862f; --light: #f3e4c2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--light); font-family: B, Georgia, serif; font-size: 18px; line-height: 1.55; }
a { color: var(--gold); }
img { max-width: 100%; }
/* Kale sahnesi bütün sayfanın arkasında sabit durur (iOS'ta da çalışsın diye sabit bir katman olarak) */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url(/img/hero.jpg) center 82% / cover; image-rendering: pixelated; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,6,.45), rgba(20,12,6,.2) 40%, rgba(20,12,6,.6)); }
body { background: transparent; }
html { background: var(--bg); }
.hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 16px; }
.hero > * { position: relative; }
section { background: rgba(20,12,6,.55); backdrop-filter: blur(2px); border-radius: 16px; margin-bottom: 24px !important; }
section h2 { margin-top: 0; }
.logo { width: 128px; height: 128px; border-radius: 28px; border: 4px solid #d9a441; image-rendering: pixelated; box-shadow: 0 10px 30px #000; }
h1, h2, h3 { font-family: T, Georgia, serif; font-weight: normal; color: var(--gold); text-shadow: 3px 3px 0 #2a1606; line-height: 1.15; }
.hero h1 { font-size: clamp(44px, 9vw, 84px); margin: 18px 0 6px;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 -2px 0 #000, 0 2px 0 #000, -2px 0 0 #000, 2px 0 0 #000, 5px 5px 0 #2a1606; }
.hero p { font-size: clamp(18px, 3vw, 24px); max-width: 640px; margin: 0 auto;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px rgba(0,0,0,.8); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.badge { padding: 12px 22px; border: 2px solid #d9a441; border-radius: 12px; background: rgba(20,12,6,.75); color: var(--light); text-decoration: none; font-family: T, serif; }
.lang { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lang a { margin-left: 10px; text-decoration: none; font-family: T, serif; }
section { max-width: 1040px; margin: 0 auto; padding: 40px 16px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.shots img { border-radius: 18px; border: 2px solid var(--edge); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); color: var(--ink); border: 3px solid #5a3410; border-radius: 10px; padding: 18px 20px; box-shadow: inset 0 0 0 2px var(--edge); }
.card h3 { margin: 0 0 6px; font-size: 22px; color: #5a3410; text-shadow: none; }
.doc { background: var(--card); color: var(--ink); max-width: 820px; margin: 32px auto; padding: 28px clamp(16px, 4vw, 44px); border-radius: 10px; border: 3px solid #5a3410; }
.doc h1, .doc h2 { color: #5a3410; text-shadow: none; }
.doc a { color: #8a4b0f; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc td, .doc th { border: 1px solid #c9a86a; padding: 6px 8px; text-align: left; vertical-align: top; }
.top { display: flex; align-items: center; gap: 12px; max-width: 820px; margin: 24px auto 0; padding: 0 16px; text-decoration: none; }
.top img { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; }
.top span { font-family: T, serif; font-size: 28px; color: var(--gold); }
footer { text-align: center; padding: 32px 16px 48px; color: #e8d6b0; font-size: 15px; text-shadow: 0 2px 6px #000; }
footer a { margin: 0 8px; }
.code { font-family: T, serif; font-size: 40px; letter-spacing: 6px; color: var(--gold); background: rgba(20,12,6,.8); border: 2px solid #d9a441; border-radius: 12px; padding: 10px 22px; display: inline-block; margin: 18px 0; }
