/* Moonpebble Studios — site stili. Yazı tipi siteyle birlikte sunulur (dışarıya istek yok). */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-latin-ext.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: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-latin.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;
}

:root {
  --bg: #0e1430;
  --surface: #161d42;
  --surface-2: #1d2552;
  --text: #f4eedf;
  --muted: #a9abc6;
  --accent: #ffd98a;
  --accent-ink: #2a1f05;
  --line: rgba(244, 238, 223, 0.14);
  --radius: 24px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { text-decoration: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* Üst menü */
.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wrap); margin: 0 auto; padding: 22px 24px;
}
.site-header.over {
  position: absolute; top: 0; left: 0; right: 0; max-width: none;
  padding: 22px 32px;
  background: linear-gradient(180deg, rgba(8, 12, 32, 0.55), rgba(8, 12, 32, 0));
}
.site-header .brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 10px rgba(6, 10, 30, 0.55)); }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a {
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.site-header nav a:hover { opacity: 1; color: var(--accent); }

/* Büyük açılış görseli */
.hero { position: relative; background: #0a0f26; overflow: hidden; }
.hero img { width: 100%; height: auto; max-height: 94vh; object-fit: cover; object-position: left bottom; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7%;
  background: linear-gradient(180deg, rgba(14, 20, 48, 0), var(--bg));
  pointer-events: none;
}
.hero .hero-cta {
  position: absolute; z-index: 2; right: 4%; bottom: 7%;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  background: var(--text); color: #10162f; text-decoration: none;
  font-weight: 900; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn.gold { background: var(--accent); color: var(--accent-ink); }
.btn.ghost {
  background: rgba(14, 20, 48, 0.55); color: var(--text);
  border: 1px solid rgba(244, 238, 223, 0.35); backdrop-filter: blur(6px);
  cursor: default;
}
.btn.ghost:hover { transform: none; }

/* Bölüm başlıkları */
.section { padding-block: 64px 24px; }
.eyebrow {
  margin: 0 0 18px; font-size: 14px; font-weight: 900; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
h1, h2, h3 { line-height: 1.15; }
.display { font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; letter-spacing: -0.01em; margin: 0 0 18px; }

/* Oyun kartları */
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.game-card { text-decoration: none; color: var(--text); display: block; }
.game-card .art {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3 / 4; background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.game-card .art img { width: 100%; height: 100%; object-fit: cover; }
.game-card:hover .art {
  transform: translateY(-6px); border-color: rgba(255, 217, 138, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.game-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 6px 0; }
.game-card .name { font-weight: 900; font-size: 20px; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.pill.gold { color: var(--accent); border-color: rgba(255, 217, 138, 0.4); }

.placeholder .art {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(70% 60% at 50% 45%, #232c5e 0%, var(--surface) 70%);
  text-align: center; padding: 24px;
}
.placeholder .art img { width: 28%; height: auto; object-fit: contain; opacity: 0.9; }
.placeholder .art p { margin: 0; color: var(--muted); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; }
.placeholder:hover .art { transform: none; box-shadow: none; border-color: var(--line); }

/* Stüdyo tanıtımı */
.about {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px;
}
.about p { color: #ddd8c8; margin: 0 0 14px; }
.about .social { display: flex; flex-wrap: wrap; gap: 10px; }
.about .social a {
  text-decoration: none; color: var(--text); font-weight: 800; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
}
.about .social a:hover { border-color: var(--accent); color: var(--accent); }

/* Oyun sayfası */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.intro .lead { font-size: 20px; color: #e4dfcf; margin: 0 0 16px; }
.facts { display: grid; gap: 22px; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 800; font-size: 18px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img { width: 100%; height: auto; }

/* Yazı sayfaları (gizlilik, destek) */
.doc { max-width: 820px; margin: 0 auto; padding: 24px 24px 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; margin: 18px 0 6px; }
.doc .date { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 36px 0 8px; }
.doc h3 { font-size: 18px; font-weight: 800; margin: 22px 0 6px; }
.doc p, .doc li { color: #e2dccb; }
.doc ul { padding-left: 22px; }
.lang-switch a { margin-right: 16px; font-weight: 800; }
hr.split { border: 0; border-top: 1px solid var(--line); margin: 56px 0 20px; }
.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 22px; margin: 18px 0;
}

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; }
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 40px; color: var(--muted); font-size: 14px;
}
.site-footer img { height: 34px; width: auto; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; font-weight: 700; white-space: nowrap; display: inline-block; line-height: 2; }
.site-footer a:hover { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px 24px; }
.notfound img { width: 120px; }
.notfound h1 { font-size: 40px; font-weight: 900; margin: 10px 0 0; }
.notfound p { color: var(--muted); margin: 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header, .site-header.over { padding: 16px; }
  .site-header .brand img { height: 34px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 13px; }
  .hero img { max-height: none; }
  .hero .hero-cta { position: static; justify-content: center; padding: 18px 16px 4px; background: var(--bg); }
  .hero::after { display: none; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .wrap { padding-inline: 16px; }
  .section { padding-block: 44px 16px; }
  .game-grid { gap: 16px; }
  .game-card .meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .game-card .name { font-size: 16px; }
  .about { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .doc { padding: 16px 16px 32px; }
}
@media (max-width: 420px) {
  .site-header nav a.hide-sm { display: none; }
}

/* Dil seçimi (EN | TR) */
.site-header nav { align-items: center; }
.site-header .lang {
  display: inline-flex; border: 1px solid rgba(244, 238, 223, 0.35); border-radius: 999px; overflow: hidden;
  background: rgba(14, 20, 48, 0.35); backdrop-filter: blur(6px);
}
.site-header .lang a { padding: 4px 11px; font-size: 13px; letter-spacing: 0.08em; opacity: 0.75; }
.site-header .lang a.on { background: var(--text); color: #10162f; opacity: 1; text-shadow: none; }
.site-header .lang a:hover { opacity: 1; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
