/* munogames.com — tek stil dosyası. Marka: lime #BFF904, mürekkep #060B11, sarı nokta #FDD504
   (marketing/brand/muno/README.md). Memoria: Ege turkuazı ve mermer. Düzen grand.gs'ten
   esinlenir: marka renginde üst şerit, karakterli büyük görsel, Hakkımızda, Oyunlarımız. */
:root {
  --lime: #bff904;
  --ink: #060b11;
  --dot: #fdd504;
  --paper: #ffffff;
  --soft: #f4f6ef;
  --muted: #4f5660;
  --line: #e4e6dc;
  --card: #ffffff;
  --sea-1: #3ec7d8;
  --sea-2: #bdf0f2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1016;
    --soft: #101820;
    --ink: #eef2e6;
    --muted: #a7afa0;
    --line: #253039;
    --card: #121a22;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; }

/* Dil: html[data-show] hangi dilin görüneceğini söyler (betik yoksa ikisi de görünür) */
html[data-show='en'] [data-lang='tr'],
html[data-show='tr'] [data-lang='en'] { display: none; }

/* — Üst şerit (marka rengi) — */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--lime);
  color: #060b11;
  padding: 14px clamp(16px, 5vw, 56px);
}
.bar-logo img { display: block; width: 116px; height: auto; }
.bar-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font: 600 17px Fredoka, system-ui, sans-serif; letter-spacing: 0.04em; }
.bar-nav a { text-decoration: none; }
.bar-nav a:hover { text-decoration: underline; }
.lang-switch {
  font: 600 14px Fredoka, system-ui, sans-serif;
  background: #060b11;
  color: var(--lime);
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}
@media (max-width: 560px) {
  .bar-nav { font-size: 15px; gap: 12px; }
  .bar-logo img { width: 92px; }
}

/* — Büyük görsel: oyunun ana sahnesi (scripts/content/site-hero-art.mjs) — */
.hero { position: relative; background: #7fdde6; line-height: 0; }
.hero img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: cover; object-position: center 40%; }

/* — Bölümler — */
.block { max-width: 1040px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) 16px; }
.block h2 {
  font: 700 clamp(30px, 4.5vw, 44px)/1.15 Fredoka, system-ui, sans-serif;
  margin: 0 0 20px;
  text-align: center;
}
.block h2::after {
  /* logodaki sarı nokta */
  content: '';
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px var(--ink);
}
.about { max-width: 760px; text-align: center; }
.about p { font-size: 18px; color: var(--muted); }

.games { background: var(--soft); max-width: none; }
.game-row {
  max-width: 1040px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.games-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.games-intro p { font-size: 18px; color: var(--muted); }
.game-text { text-align: center; }
.game-text .game-icon { margin: 0 auto 14px; }
.game-icon { border-radius: 26px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); display: block; margin-bottom: 14px; }
.game-text h3 { font: 700 clamp(30px, 4vw, 40px)/1.1 Fredoka, system-ui, sans-serif; margin: 0 0 12px; }
.lead { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.store-soon {
  display: inline-block;
  margin: 12px 0 0;
  font: 600 16px Fredoka, system-ui, sans-serif;
  background: #060b11;
  color: #fff;
  padding: 11px 20px;
  border-radius: 12px;
}

/* Telefon: gerçekçi çerçeve (metal kenar, ince siyah çerçeve, çentik, yan tuşlar) */
.phones { display: flex; justify-content: center; }
.device {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.3;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #e9eaec 0%, #9a9da3 22%, #f4f5f6 48%, #84878d 76%, #d7d9dc 100%);
  box-shadow: 0 30px 60px rgba(6, 20, 30, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 4px #0b0c0e;
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.device-island {
  position: absolute;
  top: 2.6%;
  left: 50%;
  width: 30%;
  height: 3.6%;
  transform: translateX(-50%);
  background: #050506;
  border-radius: 999px;
}
.device-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #8a8d92, #c9cbce); }
.device-btn-a { left: -3px; top: 17%; height: 6%; }
.device-btn-b { left: -3px; top: 26%; height: 10%; }
.device-btn-c { right: -3px; top: 24%; height: 14%; }

@media (max-width: 760px) {
  .game-row { grid-template-columns: 1fr; }
}

.contact { text-align: center; max-width: 680px; }
.contact p { color: var(--muted); font-size: 18px; }
.mail {
  display: inline-block;
  margin-top: 8px;
  font: 600 22px Fredoka, system-ui, sans-serif;
  background: var(--lime);
  color: #060b11;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 14px;
  box-shadow: 0 0 0 2px #060b11;
}
.mail:hover { transform: translateY(-1px); }

/* — Alt bilgi — */
.foot { background: #060b11; color: #d7dccf; text-align: center; padding: 36px 16px 44px; }
.foot img { filter: invert(1) hue-rotate(180deg) brightness(1.4); width: 96px; height: auto; }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 8px; font: 600 16px Fredoka, system-ui, sans-serif; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 0; font-size: 13px; color: #8f978a; }

/* — Belge sayfaları (gizlilik, koşullar, hesap silme) — */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.doc .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.doc .top img { width: 120px; height: auto; background: var(--lime); border-radius: 12px; padding: 8px 12px; }
.doc h1 { font: 700 30px/1.2 Fredoka, system-ui, sans-serif; margin: 0 0 4px; }
.doc h2 { font: 600 21px Fredoka, system-ui, sans-serif; margin: 32px 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0; }
.doc nav { margin: 12px 0 0; font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { border-top: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
@media (max-width: 600px) {
  .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; }
  .doc tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .doc th, .doc td { border: 0; padding: 2px 0; }
  .doc tr:first-child { display: none; }
}
