/* Chakil Games sitesi: koyu, oyunla aynı amber vurgu. Başlıklar Oswald (OFL, fonts/OFL.txt). */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}
:root {
  --bg: #0A111C;
  --bg2: #0F1828;
  --card: #121D2F;
  --text: #EAF0F7;
  --muted: #93A3B8;
  --accent: #4A9EFF;
  --warm: #F2A33A;
  --accent-ink: #06101F;
  --line: #1F2E45;
  --radius: 14px;
  --wide: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, .display {
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

/* Üst çubuk */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 17, 28, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-family: "Oswald", sans-serif; font-size: 21px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 4px; }
.langs button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 6px; padding: 3px 8px; font: inherit; font-size: 13px; cursor: pointer;
}
.langs button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }

/* Ana sayfa girişi */
.intro { padding: 96px 0 72px; text-align: center; }
.intro img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 18px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 10px; }
.intro h1 { font-size: clamp(40px, 7vw, 68px); margin: 0; letter-spacing: 0.03em; }
.intro p.lead { color: var(--muted); font-size: 19px; max-width: 620px; margin: 16px auto 0; }

section { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 30px; margin: 0; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }

/* Öne çıkan oyun kartı (ana sayfa) */
.feature {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; min-height: 420px;
  background: #000 center / cover no-repeat;
}
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 12, 21,0.96) 0%, rgba(7, 12, 21,0.82) 42%, rgba(7, 12, 21,0.15) 100%);
  transition: opacity .3s;
}
.feature .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover .bgimg { transform: scale(1.03); }
.feature .body { position: relative; z-index: 2; padding: 44px; max-width: 560px; }
.feature .icon { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 18px; }
.feature h3 { font-size: 40px; margin: 0 0 4px; text-transform: uppercase; }
.feature .tag { color: var(--accent); font-weight: 600; margin: 0 0 12px; }
.feature p { margin: 0 0 18px; color: #D3DCE8; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; border-radius: 10px; padding: 11px 20px; font-size: 16px;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.feature .btn { margin-top: 22px; }

/* Platform rozetleri */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.plat {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(18, 29, 47, 0.85);
  border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; color: var(--text);
}
.plat svg { width: 18px; height: 18px; flex: none; fill: currentColor; opacity: 0.9; }
.plat small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.plat.soon { border-color: rgba(242, 163, 58, 0.6); }
.plat.soon small { color: var(--warm); }

/* Hakkında + iletişim */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
.about > *, .grid3 > *, .platform-list > * { min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin: 0 0 10px; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.panel p { margin: 0 0 10px; color: #C9D3E0; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
.mail { font-size: 19px; font-weight: 600; }

/* Oyun sayfası */
.hero {
  position: relative; overflow: hidden; min-height: 78vh;
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 17, 28,0.88) 30%, rgba(10, 17, 28,0.35) 70%, rgba(10, 17, 28,0.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 56px; width: 100%; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(44px, 8vw, 84px); margin: 0; text-transform: uppercase; letter-spacing: 0.02em; }
.hero .tag { font-size: 21px; color: #DAE2EC; margin: 8px 0 22px; max-width: 640px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.story { max-width: 760px; font-size: 19px; color: #D0D9E5; }
.story p { margin: 0 0 14px; }
.story strong { color: var(--text); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .num { font-family: "Oswald", sans-serif; color: var(--accent); font-size: 15px; letter-spacing: 0.12em; }
.card h3 { font-size: 21px; margin: 6px 0 8px; text-transform: uppercase; letter-spacing: 0.03em; }
.card p { margin: 0; color: #C2CDDB; font-size: 16px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #000; aspect-ratio: 16 / 7.6; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (min-width: 861px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; }
  .gallery button:first-child { grid-row: span 2; aspect-ratio: auto; }
}
@media (max-width: 380px) { .brand span { font-size: 17px; } .brand img { width: 34px; height: 34px; } }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; border-radius: 8px; }

.platform-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform-list .card { display: flex; flex-direction: column; gap: 6px; }
.platform-list h3 { text-transform: none; letter-spacing: 0.01em; }
.platform-list .card svg { width: 30px; height: 30px; fill: var(--text); margin-bottom: 6px; }
.status { display: inline-block; align-self: flex-start; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.soon { color: #1A1206; background: var(--warm); border-color: var(--warm); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 14px; color: #C9D3E0; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .grid3, .platform-list { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .langs { margin-left: auto; }
  .intro { padding: 64px 0 40px; }
  .intro img { width: 140px; height: 140px; }
  .feature { min-height: 0; }
  .feature::before { background: linear-gradient(0deg, rgba(7, 12, 21,0.97) 30%, rgba(7, 12, 21,0.6) 100%); }
  .feature .body { padding: 28px 22px; }
  .feature h3 { font-size: 32px; }
  .grid3, .platform-list, .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .section-head h2 { font-size: 25px; }
  section { padding: 40px 0; }
}

/* Gizlilik sayfası */
.policy { max-width: 820px; margin: 0 auto; padding: 0 20px 20px; }
.policy h1 { font-size: 34px; margin: 40px 0 4px; text-transform: uppercase; }
.policy .date { color: var(--muted); margin: 0 0 24px; }
.policy h2 { font-size: 21px; margin: 30px 0 8px; }
.policy ul, .policy ol { padding-left: 22px; }
.policy li { margin: 4px 0; }
.policy table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.policy th { background: var(--card); }

/* Seçilmeyen diller gizli (lang.js) */
[data-hide] { display: none !important; }
