/* canerergun.com: açık, sıcak tonlu kişisel site teması */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --sand: #f3ece1;
  --text: #2b2520;
  --muted: #6f655c;
  --line: #e8dfd2;
  --accent: #c0532c;
  --accent-dark: #9c3f1d;
  --teal: #1f7a78;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 28px rgba(60, 40, 20, .08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #e08a3c);
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  padding: 6px 10px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--sand); }
.nav .lang { border: 1px solid var(--line); font-weight: 600; font-size: 13px; margin-left: 6px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 6vw, 56px); margin: 0 0 16px; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0; }

/* Sections */
section { padding: 32px 0; }
.section-title { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }

/* App card */
.app-card {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(60,40,20,.06), 0 16px 40px rgba(60,40,20,.12); }
.app-card .cover { background: #3a2a1c center / cover no-repeat; min-height: 260px; }
.app-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.app-head h3 { margin: 0; font-size: 22px; }
.app-head p { margin: 0; color: var(--muted); font-size: 15px; }
.app-card .more { margin-top: auto; color: var(--accent); font-weight: 600; }

/* Pills, buttons */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--sand); color: var(--muted); font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
}
.btn:hover { background: #000; color: #fff; }
.btn[aria-disabled="true"] { background: var(--sand); color: var(--muted); pointer-events: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--sand); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* About / contact */
.contact { background: var(--sand); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact h2 { margin: 0 0 4px; font-size: 22px; }
.contact p { margin: 0; color: var(--muted); }

/* Game page */
.game-hero { padding: 40px 0 8px; }
.banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1024 / 500; background: #3a2a1c; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.game-title { display: flex; align-items: center; gap: 18px; margin: 28px 0 12px; }
.game-title .app-icon { width: 88px; height: 88px; border-radius: 22px; }
.game-title h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 44px); margin: 0; }
.game-title p { margin: 2px 0 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
}
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.shots img { border-radius: 16px; box-shadow: var(--shadow); scroll-snap-align: start; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; height: auto; }

/* Legal pages */
.doc { padding: 56px 0 32px; }
.doc h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 40px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc ul { padding-left: 22px; }
.muted { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 24px; }
  .lead { font-size: 18px; }
  .app-card { grid-template-columns: 1fr; }
  .app-card .cover { min-height: 0; aspect-ratio: 1024 / 500; }
  .nav a:not(.lang) { display: none; }
  .nav a.keep { display: inline-block; }
}
