:root {
  --bg: #07061a;
  --bg2: #0f0c2b;
  --ink: #ece9ff;
  --muted: #a8a3d6;
  --line: rgba(160, 150, 255, .22);
  --accent: #9b7bff;
  --accent2: #36e6ff;
  --gold: #e8be6e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent2); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: auto; }
.lang button {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px;
}
.lang button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
.hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
.hero img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,26,.1) 0%, rgba(7,6,26,.85) 100%); }
.hero .copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
h1 { margin: 0 0 6px; font-size: clamp(30px, 6vw, 52px); line-height: 1.1; }
.tag { margin: 0; color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); }
.badge {
  display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--ink); font-size: 14px; background: rgba(155,123,255,.15);
}
section { padding: 44px 0 4px; }
h2 { font-size: 24px; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 22px 0 6px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 15px; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 44px; }
footer nav a { margin-right: 16px; }
[data-lang] { display: none; }
html[data-active="tr"] [data-lang="tr"], html[data-active="en"] [data-lang="en"] { display: revert; }

/* Canli demo */
.demo { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-top: 16px; }
.demo .row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.demo label { display: block; font-size: 13px; color: var(--muted); }
.demo select {
  width: 100%; margin-top: 4px; padding: 10px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 15px;
}
.demo button.go {
  margin-top: 14px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--accent);
  background: rgba(155,123,255,.2); color: var(--ink); font: inherit; cursor: pointer;
}
.demo button.go[disabled] { opacity: .6; cursor: wait; }
.demo .status { margin-top: 10px; font-size: 14px; color: var(--muted); }
.demo .out { margin-top: 16px; display: none; }
.demo .out.on { display: block; }
.demo .out h3 { margin-top: 0; color: var(--gold); }
.demo .out .label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.demo .out p { margin: 0; }
.demo .out .frame { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.demo .chip { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.demo .chip.live { border-color: var(--accent2); color: var(--accent2); }

/* Oyundan gercek ekranlar: 3:5 cerceve (telefon dikey oranina yakin), konsept gorsellerden ayri */
.hero2 { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; margin-top: 8px; }
.hero2 .copy p.lead { margin: 14px 0 0; color: var(--muted); font-size: 17px; max-width: 34em; }
.hero2 .frame { max-width: 320px; justify-self: center; width: 100%; box-shadow: 0 20px 60px rgba(120, 90, 255, .22); }
.hero2 .frame, .shot .frame { aspect-ratio: 3 / 5; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #05040f; position: relative; }
.hero2 .frame img, .shot .frame img, .shot .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); margin-top: 16px; }
.shot { margin: 0; }
.shot figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.clips { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; max-width: 700px; }
.srcnote { margin-top: 14px; font-size: 14px; color: var(--muted); }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--bg2); }
.callout p { margin: 0; color: var(--ink); font-size: 16px; }
@media (max-width: 720px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2 .frame { max-width: 280px; }
}

/* Karma'ya sor (web demosu): .demo stillerini yeniden kullanir */
.ask textarea {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; min-height: 84px;
}
.ask .count { text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ask .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask .chipbtn {
  background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 13.5px; cursor: pointer;
}
.ask .chipbtn:hover { border-color: var(--accent); color: var(--ink); }
.ask .out .source { font-size: 13.5px; color: var(--muted); margin: 2px 0; }
.ask .note { margin: 12px 0 0; }

/* Yasal sayfalar */
.legal { padding-top: 28px; }
.legal h1 { font-size: clamp(26px, 5vw, 38px); }
.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p, .legal li { color: #d6d2f2; }
.legal .meta { color: var(--muted); font-size: 14px; }
