/* ==========================================================================
   MehburMC Launcher sitesi: ana stil dosyası
   Bölümler: 1) Fontlar  2) Tasarım değişkenleri  3) Temel  4) Arka plan
             5) Yerleşim  6) Bileşenler  7) Menü  8) Giriş  9) Alt bilgi
             10) Hareket azaltma
   ========================================================================== */

/* 1) Fontlar ---------------------------------------------------------------
   Dosyalar siteyle birlikte gelir (Google'a istek atılmaz).
   unicode-range: tarayıcı yalnızca sayfada geçen karakterlerin dosyasını indirir;
   Türkçe harfler (ğ, ş, İ) "latin-ext" dosyasındadır. */

/* Orbitron yalnızca latin içerir → sadece marka yazısında (MehburMC) kullanılır */
@font-face {
  font-family: "Orbitron";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2");
}

/* Rajdhani: başlıklar ve butonlar */
@font-face {
  font-family: "Rajdhani";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-500-normal.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;
}
@font-face {
  font-family: "Rajdhani";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-ext-500-normal.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: "Rajdhani";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-600-normal.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;
}
@font-face {
  font-family: "Rajdhani";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-ext-600-normal.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: "Rajdhani";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-700-normal.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;
}
@font-face {
  font-family: "Rajdhani";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rajdhani-latin-ext-700-normal.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;
}

/* Inter (değişken kalınlıklı): gövde metni */
@font-face {
  font-family: "Inter Variable";
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
/* Bu dosya küçültüldü (85 KB → 14 KB): yalnızca Latin Genişletilmiş-A (U+0100–017F) harflerini
   içerir; Türkçe ğ, ş, İ buradadır (ı ile Œ/œ yukarıdaki temel dosyada). Diğer nadir harfler
   sistem yazı tipiyle gösterilir. */
@font-face {
  font-family: "Inter Variable";
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-017F;
}

/* 2) Tasarım değişkenleri ----------------------------------------------------
   Renkler launcher'ın kendi temasıyla (src/styles/tokens.css) birebir aynıdır. */
:root {
  color-scheme: dark;

  --bg: #05070a;
  --surface-1: #0b1117;
  --surface-2: #101a22;
  --surface-3: #162430;
  --border: #1c2b37;
  --text: #e6f1f5;
  --text-muted: #8fa3ae;

  --accent: #00f0ff; /* neon cyan */
  --accent-2: #00b8d4; /* koyu cyan */
  --accent-glow: #7df9ff; /* açık parlama tonu */
  --accent-rgb: 0 240 255; /* parlama gölgeleri için RGB hali */
  --on-accent: #021a1d; /* cyan zemin üstündeki yazı rengi */

  --success: #00ffa3;
  --warn: #ffb800;
  --danger: #ff3b5c;

  --font-body: "Inter Variable", "Segoe UI", system-ui, sans-serif;
  --font-display: "Rajdhani", "Inter Variable", "Segoe UI", sans-serif;
  --font-brand: "Orbitron", "Rajdhani", sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --container: 1160px;
  --gutter: 16px;
  --nav-h: 68px;
  --section-space: clamp(3.5rem, 7vw, 5.5rem);

  /* Neon parlama gölgeleri */
  --glow-sm: 0 0 0 1px rgb(var(--accent-rgb) / 0.55), 0 0 16px rgb(var(--accent-rgb) / 0.22);
  --glow-md: 0 0 0 1px rgb(var(--accent-rgb) / 0.8), 0 0 24px rgb(var(--accent-rgb) / 0.45);
  --glow-lg: 0 0 0 1px rgb(var(--accent-rgb) / 1), 0 0 38px rgb(var(--accent-rgb) / 0.65);
}

/* 3) Temel ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 12px); /* menünün altına saklanmasın */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  isolation: isolate; /* arka plan katmanları içerikle karışmasın */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgb(var(--accent-rgb) / 0.35);
  color: #fff;
}

/* Kaydırma çubuğu (Chromium tabanlı tarayıcılar) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

/* Ekran okuyucular için görünmez ama okunabilir metin */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Klavye kullanıcıları için "içeriğe geç" bağlantısı */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 12px;
}

/* 4) Arka plan --------------------------------------------------------------
   Logodaki soluk altıgen deseni + üstte hafif cyan ışık. Sabit durur, sayfa kayar. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cg fill='none' stroke='%237df9ff' stroke-opacity='0.07' stroke-width='0.6'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 168px 300px;
  background-position: center top;
  /* Desen kenarlara doğru kaybolur, ortada belirgin kalır */
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 85%);
}

body::after {
  background:
    radial-gradient(ellipse 60% 40% at 50% -5%, rgb(var(--accent-rgb) / 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgb(var(--accent-rgb) / 0.05), transparent 70%);
}

/* 5) Yerleşim --------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

main {
  flex: 1;
}

.section {
  padding-block: var(--section-space);
}

/* Bölüm başlığı: büyük harf + altında parlayan çizgi */
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.35em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.7);
}
.section-title.is-centered::after {
  margin-inline: auto;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.is-centered {
  text-align: center;
  margin-inline: auto;
}

/* 6) Bileşenler -------------------------------------------------------------- */

/* Butonlar */
.btn {
  --btn-pad-y: 0.7rem;
  --btn-pad-x: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: 44px; /* parmakla dokunmaya uygun yükseklik */
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}
.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--glow-md);
}
.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: var(--glow-lg);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgb(var(--accent-rgb) / 0.04);
  color: var(--accent);
  border-color: rgb(var(--accent-rgb) / 0.55);
}
.btn-ghost:hover {
  background: rgb(var(--accent-rgb) / 0.1);
  box-shadow: var(--glow-sm);
  transform: translateY(-1px);
}

.btn-lg {
  --btn-pad-y: 1rem;
  --btn-pad-x: 2rem;
  font-size: 1.25rem;
}

/* Kart: yarı saydam yüzey, üstüne gelince neon çerçeve */
.card {
  background: rgb(11 17 23 / 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  border-color: rgb(var(--accent-rgb) / 0.5);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

/* Küçük etiket (ör. "Yapım aşamasında", sürüm numarası) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  border-radius: 999px;
}

.neon-text {
  color: var(--accent);
  text-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.55);
}

/* İkonlar: sayfa başındaki <svg> içindeki çizimler <use> ile buraya çağrılır */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.flip {
  transform: scaleX(-1);
}

/* Metin içi bağlantı */
.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgb(var(--accent-rgb) / 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.text-link:hover {
  text-decoration-color: var(--accent);
}

code {
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 7) Menü (navbar) ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}
/* Sayfa kaydırılınca menünün arkası koyulaşır ve bulanıklaşır */
.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(5 7 10 / 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.45));
}
.brand-name {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand-name span {
  color: var(--accent);
  text-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.6);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
/* Üstüne gelince altta parlayan çizgi */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.8);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Dil düğmesi (TR / EN): köşeli kutu, eş genişlikli yazı, seçili dil düz cyan zemin.
   (m07-site'taki düğmeyle aynı yapı; yazı tipi bilgisayarda hazır olanlardan seçilir) */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-1);
}
.lang-switch button {
  min-width: 38px;
  min-height: 32px;
  padding: 0 8px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.lang-switch button:hover {
  color: var(--text);
}
.lang-switch button[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
}

/* Hamburger butonu: yalnızca dar ekranlarda görünür */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
/* Açıkken üç çizgi "X" şekline döner */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* JavaScript çalışmıyorsa menü açık kalır; çalışıyorsa açılır panel olur */
  .js .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgb(5 7 10 / 0.985);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;
  }
  .js .site-header.is-open .nav-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after {
    display: none;
  }

  .nav-menu .lang-switch {
    align-self: flex-start;
  }

  .nav-menu .btn {
    width: 100%;
  }

  html:not(.js) .site-header {
    position: static;
    height: auto;
  }
  html:not(.js) .nav {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }
  html:not(.js) .nav-toggle {
    display: none;
  }
}

/* 8) Giriş bölümü (hero) -------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: var(--section-space);
  text-align: center;
}
.hero-logo {
  width: min(640px, 100%);
  margin: 0 auto 1.5rem;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.35;
  color: var(--text);
  max-width: 34ch;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Telefonda butonlar alt alta ve tam genişlikte */
@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-lg {
    --btn-pad-x: 1rem;
    font-size: 1.05rem;
  }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: -0.25rem auto 0;
}

/* Güven maddeleri: Reklam yok, Telemetri yok... */
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-list .icon {
  color: var(--accent);
}

/* Girişteki büyük ekran görüntüsü */
.hero-shot {
  max-width: 1040px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 6px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.35), rgb(var(--accent-rgb) / 0.04));
  box-shadow:
    0 0 60px rgb(var(--accent-rgb) / 0.18),
    0 30px 80px rgb(0 0 0 / 0.6);
}
.hero-shot img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 5px);
}

/* 8b) İçerik bölümleri ------------------------------------------------------------ */

/* Özellikler */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.feature h3 {
  font-size: 1.35rem;
  margin: 1rem 0 0.4rem;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08);
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
  border-radius: var(--radius);
  box-shadow: inset 0 0 12px rgb(var(--accent-rgb) / 0.12);
}
.feature-icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

/* Fotoğraf galerisi */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.shot-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.1rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(transparent, rgb(5 7 10 / 0.92));
}
.shot:hover {
  border-color: rgb(var(--accent-rgb) / 0.6);
  box-shadow: var(--glow-sm);
}
.shot:hover img {
  transform: scale(1.03);
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Büyük görüntü penceresi (lightbox) */
.lightbox {
  width: min(1200px, 100vw - 2 * var(--gutter));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
/* Pencere açıkken arkadaki sayfa kaymasın */
.no-scroll {
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgb(2 4 6 / 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox-figure {
  margin: 0;
}
.lightbox-img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.4);
  box-shadow: 0 0 50px rgb(var(--accent-rgb) / 0.2);
  background: var(--bg);
}
.lightbox-caption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--text);
  background: rgb(11 17 23 / 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.lightbox-btn:hover {
  color: var(--accent);
  border-color: rgb(var(--accent-rgb) / 0.6);
  box-shadow: var(--glow-sm);
}
.lightbox-close {
  top: -58px;
  right: 0;
}
.lightbox-prev,
.lightbox-next {
  top: calc(50% - 40px);
}
.lightbox-prev {
  left: -23px;
}
.lightbox-next {
  right: -23px;
}
@media (max-width: 700px) {
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: -60px;
  }
  .lightbox-prev {
    left: 0;
  }
  .lightbox-next {
    right: 0;
  }
  .lightbox-caption {
    padding-inline: 56px;
  }
}

/* İndirme penceresi (modal) */
.modal {
  width: min(1040px, 100vw - 2 * var(--gutter));
  max-width: none;
  max-height: calc(100vh - 2 * var(--gutter));
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgb(var(--accent-rgb) / 0.1), transparent 70%),
    var(--surface-1);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 60px rgb(var(--accent-rgb) / 0.15),
    0 30px 80px rgb(0 0 0 / 0.7);
  overflow-y: auto;
}
.modal::backdrop {
  background: rgb(2 4 6 / 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modal-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2em;
}
.modal-sub {
  margin: 0;
  color: var(--text-muted);
}
.modal-close {
  position: static;
  flex-shrink: 0;
}
.modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.dl-options {
  display: grid;
  /* Üç seçenek (.exe / .deb / .apk): geniş ekranda yan yana, daralınca alta geçer */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.dl-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dl-option {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: rgb(5 7 10 / 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
/* Henüz dosyası olmayan seçenek (macOS) gizli kalır; display:flex [hidden]'ı ezmesin */
.dl-option[hidden] {
  display: none;
}
/* Ziyaretçinin sistemine uyan seçenek öne çıkar */
.dl-option.is-recommended {
  order: -1;
  border-color: rgb(var(--accent-rgb) / 0.6);
  box-shadow: var(--glow-sm);
}
.dl-option h3 {
  margin: 0;
  font-size: 1.45rem;
}
.dl-option .req-head {
  margin-bottom: 0.75rem;
}
.dl-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dl-badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  padding: 0.15rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.6);
}
.dl-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dl-file code {
  word-break: break-all;
}
.dl-btn {
  margin-top: auto;
  width: 100%;
}

/* Linux kurulum komutu */
.dl-cmd {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dl-cmd p {
  margin-bottom: 0.5rem;
}
.cmd-box {
  display: flex;
  flex-wrap: wrap; /* dar sütunda Kopyala butonu komutun altına iner */
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cmd-box code {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.35rem 0.25rem;
  background: none;
  border: 0;
  color: var(--accent-glow);
  word-break: break-all;
}
.copy-btn {
  flex-shrink: 0;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08);
  border: 1px solid rgb(var(--accent-rgb) / 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.copy-btn:hover {
  background: rgb(var(--accent-rgb) / 0.16);
}
.copy-btn.is-done {
  color: var(--success);
  border-color: rgb(0 255 163 / 0.5);
}

/* Bilgi notu (uyarının cyan tonu). ".notice" kuralı dosyada daha aşağıda olduğu için
   iki sınıflı seçici kullanılır, yoksa sarı uyarı rengi bunu ezer. */
.notice.notice-info {
  margin-bottom: 1.25rem;
  background: rgb(var(--accent-rgb) / 0.06);
  border-color: rgb(var(--accent-rgb) / 0.35);
}
.notice.notice-info .icon {
  color: var(--accent);
}
.notice[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .dl-options {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* "Senin sistemin" etiketi üstteki karta değmesin */
  }
}

/* Hakkında */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
}
.spec-card h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-list {
  margin: 0;
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.spec-list div:last-child {
  border-bottom: 0;
}
.spec-list dt {
  color: var(--text-muted);
}
.spec-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.sub-title {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sistem gereksinimleri */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.req-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.req-head h4 {
  margin: 0;
  font-size: 1.45rem;
}

/* Tik işaretli liste */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}
.check-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.62rem;
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 3px rgb(var(--accent-rgb) / 0.7));
}

@media (max-width: 800px) {
  .about-grid,
  .req-grid {
    grid-template-columns: 1fr;
  }
}

/* SSS (tıklayınca açılan sorular) */
.container-narrow {
  width: min(820px, 100% - 2 * var(--gutter));
}
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.faq {
  background: rgb(11 17 23 / 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.faq[open] {
  border-color: rgb(var(--accent-rgb) / 0.45);
  box-shadow: var(--glow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
/* Sağdaki ok: açılınca aşağı döner */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.25rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.faq[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--accent);
}
.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
}
.faq-body p {
  margin: 0;
}

/* Kaynak kod paneli */
.source-panel {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgb(var(--accent-rgb) / 0.1), transparent 70%),
    rgb(11 17 23 / 0.85);
}
.source-panel:hover {
  transform: none; /* büyük panel yerinden oynamasın */
}
.source-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 58ch;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}
.source-art {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.source-art .icon {
  width: min(180px, 100%);
  height: auto;
  aspect-ratio: 1;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 18px rgb(var(--accent-rgb) / 0.55));
  opacity: 0.85;
}

/* Uyarı kutusu */
.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  background: rgb(255 184 0 / 0.06);
  border: 1px solid rgb(255 184 0 / 0.35);
  border-radius: var(--radius);
}
.notice .icon {
  color: var(--warn);
  margin-top: 0.1rem;
}

@media (max-width: 800px) {
  .source-panel {
    grid-template-columns: 1fr;
  }
  .source-art {
    display: none;
  }
  .source-actions .btn {
    flex: 1 1 100%;
  }
}

/* Sayfa sonu çağrısı */
.cta {
  padding-block: var(--section-space);
  text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgb(var(--accent-rgb) / 0.14), transparent 70%);
}
.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3em;
}
.cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
@media (max-width: 520px) {
  .cta .btn {
    width: 100%;
  }
}

/* 9) Alt bilgi (footer) -------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgb(5 7 10 / 0.85);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}

.footer-brand .brand {
  margin-bottom: 0.75rem;
}
.footer-brand p {
  max-width: 40ch;
  margin: 0;
}

.footer-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.footer-bottom p {
  margin: 0 0 0.35rem;
}
.footer-legal {
  opacity: 0.75;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* 10) Hareket azaltma ------------------------------------------------------------
   İşletim sisteminde "animasyonları azalt" açıksa geçişler ve kaydırma sakinleşir. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 11) 404 sayfası ------------------------------------------------------------------
   Minecraft havası: bloklardan "404", void'e düşen bloklar, oyun içi sohbet satırı.
   Çizimler özgündür; oyuna ait görsel kullanılmaz. */
.nf {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
}
.nf-inner {
  max-width: 760px;
}

/* Bloklardan "404": --px bir bloğun boyu */
.pixel-404 {
  --px: clamp(9px, 2.6vw, 20px);
  display: flex;
  justify-content: center;
  gap: calc(var(--px) * 1.4);
  margin-bottom: 2.25rem;
}
.pixel-digit {
  display: grid;
  grid-template-columns: repeat(5, var(--px));
  grid-auto-rows: var(--px);
  gap: 3px;
}
/* Her blok: üst-sol açık, alt-sağ koyu kenar = hacimli küp görünümü */
.px {
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent-glow), var(--accent) 45%, var(--accent-2));
  box-shadow:
    inset 2px 2px 0 rgb(255 255 255 / 0.35),
    inset -2px -2px 0 rgb(0 60 70 / 0.55),
    0 0 12px rgb(var(--accent-rgb) / 0.45);
  animation: px-drop 0.6s cubic-bezier(0.3, 1.35, 0.5, 1) backwards;
}
@keyframes px-drop {
  from {
    transform: translateY(-45vh);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: none;
  }
}
/* JavaScript yoksa bloklar çizilemez: düz yazıyla göster */
html:not(.js) .pixel-404::before {
  content: "404";
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 24px rgb(var(--accent-rgb) / 0.6);
}

.nf-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4em;
}
.nf-text {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Oyun içi sohbet satırı */
.chat-log {
  max-width: 600px;
  margin: 1.75rem auto 0;
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  background: rgb(0 0 0 / 0.55);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.chat-log p {
  margin: 0;
}
.chat-tag {
  color: var(--accent);
  font-weight: 600;
}
.chat-log code {
  padding: 0;
  font-size: 1em;
  color: var(--warn);
  background: none;
  border: 0;
  word-break: break-all;
}

.nf-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Void'e düşen bloklar (arka plan) */
.void {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fall-block {
  position: absolute;
  top: -12vh;
  width: var(--size);
  height: var(--size);
  border-radius: 2px;
  box-shadow:
    inset 2px 2px 0 rgb(255 255 255 / 0.18),
    inset -2px -2px 0 rgb(0 0 0 / 0.35);
  opacity: 0;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.fall-block.is-cyan {
  background: rgb(var(--accent-rgb) / 0.55);
}
.fall-block.is-teal {
  background: var(--accent-2);
}
.fall-block.is-stone {
  background: #3a4650;
}
.fall-block.is-dark {
  background: #1c2731;
}
/* Yukarıdan girer, dönerek düşer, aşağıda void'de kaybolur */
@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.55;
  }
  75% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(125vh) rotate(var(--spin));
    opacity: 0;
  }
}
