/* GameTranslator sitesi. Büyük başlıklar, bol boşluk, ürün görselleri önde; açık ve koyu bölümler sırayla.
   Vurgu rengi uygulamanınki (design/tokens.json: accent #2563EB). */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --night: #000000;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --line: #d2d2d7;
  --blue: #2563EB;
  --blue-text: #0a5bd6;
  --blue-night: #4d8dff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }

/* Üst menü */
.nav { position: sticky; top: 0; z-index: 50; height: 48px; background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.nav .wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav .links a { color: var(--ink); opacity: 0.8; font-size: 13px; letter-spacing: -0.01em; }
.nav .links a:hover { opacity: 1; text-decoration: none; }
.nav .links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav .links .pill { opacity: 1; color: #fff; }
@media (max-width: 640px) { .nav .links .opt { display: none; } .nav .links { gap: 18px; } }

/* Düğmeler */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff;
  border-radius: 980px; padding: 11px 22px; font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em;
  border: 1px solid transparent; white-space: nowrap; }
.pill:hover { text-decoration: none; filter: brightness(1.1); }
.pill.small { padding: 5px 14px; font-size: 13px; }
.pill.ghost { background: transparent; color: var(--blue-text); border-color: var(--blue-text); }
.pill.off { background: var(--mist); color: var(--ink-2); cursor: default; filter: none; }
.dark .pill { color: #fff; }
.dark .pill.ghost { color: var(--blue-night); border-color: var(--blue-night); }
.more { font-size: 19px; color: var(--blue-text); }
.more::after { content: " ›"; }
.dark .more, .dark p a { color: var(--blue-night); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }

/* Bölümler */
section { padding: 96px 0; overflow: hidden; }
@media (max-width: 734px) { section { padding: 64px 0; } }
.mist { background: var(--mist); }
.dark { background: var(--night); color: var(--night-ink); }
.dark .lede, .dark .note { color: var(--night-ink-2); }
.center { text-align: center; }
.kicker { font-size: 21px; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; letter-spacing: -0.01em; }
.dark .kicker { color: var(--night-ink-2); }
.kicker.blue { color: var(--blue-text); }
.dark .kicker.blue { color: var(--blue-night); }
h1, h2, h3 { margin: 0; font-weight: 600; }
.hero-title { font-size: clamp(48px, 8.5vw, 96px); line-height: 1.04; letter-spacing: -0.035em; }
.title { font-size: clamp(36px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.03em; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--ink-2); margin: 18px auto 32px; max-width: 760px;
  letter-spacing: -0.015em; }
.note { font-size: 14px; color: var(--ink-2); margin: 18px 0 0; }
.accent { color: var(--blue-text); }
.dark .accent { color: var(--blue-night); }

/* Giriş */
.hero { padding-top: 88px; padding-bottom: 96px; }
@media (max-width: 734px) { .hero { padding-bottom: 64px; } }
.platforms-line a { font-weight: 500; }
.hero .appicon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; }
.product { margin: 64px auto 0; max-width: 1180px; padding: 0 22px; }
.shot { border-radius: 12px; width: 100%; height: auto; }

/* Telefonlar */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 40px); margin-top: 64px; padding: 0 22px; }
.phone { width: min(30vw, 300px); border-radius: clamp(26px, 4.6vw, 52px); border: clamp(5px, 0.9vw, 10px) solid #1d1d1f;
  background: #000; overflow: hidden; box-shadow: 0 0 0 1px #3a3a3c; flex: none; }
.phone img { width: 100%; height: auto; }
.phone.lift { transform: translateY(-36px); }
@media (max-width: 734px) { .phone.hide-s { display: none; } .phone { width: min(44vw, 260px); } .phone.lift { transform: none; } }

/* TV */
.tv { margin: 64px auto 0; max-width: 1040px; padding: 0 22px; }
.tv .screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000 url(img/sahne.jpg) center 35% / cover;
  border: clamp(6px, 1vw, 12px) solid #111; box-shadow: 0 0 0 1px #2c2c2e; }
.tv .sub { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: max-content; max-width: 86%;
  background: rgba(0, 0, 0, 0.72); color: #fff; font-weight: 600; font-size: clamp(13px, 2.3vw, 26px); line-height: 1.3;
  padding: 0.35em 0.7em; border-radius: 8px; text-align: center; letter-spacing: -0.01em; }
.tv .stand { width: 22%; height: 10px; margin: 0 auto; background: #1c1c1e; border-radius: 0 0 8px 8px; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 40px; color: var(--night-ink-2); font-size: 17px; }

/* Kutucuklar */
.tiles { display: grid; gap: 20px; margin-top: 56px; text-align: left; }
@media (min-width: 735px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles .span-2 { grid-column: span 2; } }
.tile { background: var(--paper); border-radius: 28px; padding: 36px 32px; min-height: 240px; display: flex; flex-direction: column; }
.tile .big { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--blue-text); margin: auto 0 14px; }
.tile h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.17; margin: 0 0 10px; }
.tile p { color: var(--ink-2); margin: 0; font-size: 17px; }
.tile .icon { width: 44px; height: 44px; color: var(--blue-text); margin-bottom: auto; padding-bottom: 28px; box-sizing: content-box; }
.tile.ink { background: var(--night); color: var(--night-ink); }
.tile.ink p { color: var(--night-ink-2); }
.tile.ink .big, .tile.ink .icon { color: var(--blue-night); }

/* İki sütun: yazı ve görsel */
.split { display: grid; gap: 48px; align-items: center; margin: 56px auto 0; max-width: 1180px; padding: 0 22px; text-align: left; }
@media (min-width: 900px) { .split { grid-template-columns: 0.75fr 1.25fr; } }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points b { display: block; font-size: 19px; color: var(--night-ink); margin-bottom: 2px; letter-spacing: -0.015em; }
.points span { color: var(--night-ink-2); font-size: 17px; }

/* İndirme */
.platforms { display: grid; gap: 20px; margin-top: 56px; text-align: left; }
@media (min-width: 735px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .platforms.four { grid-template-columns: repeat(4, 1fr); } .platforms.three { grid-template-columns: repeat(3, 1fr); } }
.platform { background: var(--paper); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; border: 2px solid transparent; }
.platform .icon { width: 40px; height: 40px; color: var(--ink); margin-bottom: 8px; }
.platform h3 { font-size: 24px; letter-spacing: -0.02em; }
.platform .req { color: var(--ink-2); font-size: 15px; margin: 0; flex: 1; }
.platform .pill { align-self: flex-start; margin-top: 10px; }
.platform .ver { font-size: 13px; color: var(--ink-2); min-height: 1.4em; }
section:not(.mist) .platform { background: var(--mist); }
.platform.recommended { border-color: var(--blue); }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--blue-text); background: #e8f0ff; border-radius: 999px; padding: 3px 10px; }
.tag[hidden] { display: none; }
.steps { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.steps li { margin-bottom: 3px; }
code { font: 500 0.88em ui-monospace, SFMono-Regular, Menlo, monospace; }

/* SSS */
.faq { max-width: 820px; margin: 48px auto 0; text-align: left; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 0.8; color: var(--ink-2); }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); margin: 12px 0 0; }

/* Metin sayfaları */
.page { padding: 72px 0 96px; max-width: 760px; }
.page h1 { font-size: 48px; letter-spacing: -0.03em; margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.02em; }
.page p { color: var(--ink-2); }

/* Alt bilgi */
footer { background: var(--mist); color: var(--ink-2); font-size: 12px; letter-spacing: -0.01em; padding: 28px 0 40px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
footer .row nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
footer a { color: var(--ink); opacity: 0.85; }
footer .fine { line-height: 1.6; margin: 0; }
footer .fine a { color: inherit; opacity: 1; }

/* --- Dikkat çeken dokunuşlar --- */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(1400px, 140vw); height: 900px;
  transform: translateX(-50%); background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.08) 55%, transparent);
  pointer-events: none; }
.shine { background: linear-gradient(90deg, #2563EB 0%, #3b82f6 35%, #06b6d4 70%, #2563EB 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.product .shot { box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.dark .shot { box-shadow: 0 30px 90px -30px rgba(37, 99, 235, 0.55), 0 0 0 1px #2c2c2e; }

.ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; max-width: 820px; padding: 0; list-style: none; }
.ribbon li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(37, 99, 235, 0.08); color: var(--blue-text); }

.stats { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 735px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-size: clamp(56px, 7vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.stat b { background: linear-gradient(180deg, #2563EB, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
.dark .stat b { background: linear-gradient(180deg, #ffffff, #8fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tv .screen { box-shadow: 0 0 0 1px #2c2c2e, 0 40px 120px -40px rgba(124, 58, 237, 0.55); }
.tv .sub { transition: opacity 0.35s ease; }
.tv .sub.out { opacity: 0; }

.tile { transition: transform 0.35s ease; }
.tile:hover { transform: translateY(-4px) scale(1.01); }

/* Kaydırınca beliren öğeler (yalnız JavaScript açıkken ve hareket azaltılmamışsa) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shine { animation: none; }
  .tile, .tile:hover { transition: none; transform: none; }
}

/* Çerez onayı */
.consent { position: fixed; z-index: 100; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(680px, calc(100% - 32px));
  background: rgba(29, 29, 31, 0.92); color: #f5f5f7; border-radius: 20px; padding: 20px 22px;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.45); display: grid; gap: 14px; font-size: 14px; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.consent p { margin: 0; color: #c7c7cc; }
.consent a { color: #8fb4ff; }
.consent label { display: flex; gap: 10px; align-items: flex-start; color: #f5f5f7; cursor: pointer; }
.consent input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent label small { display: block; color: #a1a1a6; font-size: 13px; }
.consent .buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent button { font: 500 14px var(--font); border-radius: 980px; padding: 9px 18px; border: 1px solid #48484a; background: transparent; color: #f5f5f7; cursor: pointer; }
.consent button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.consent button:hover { filter: brightness(1.15); }
footer button.linklike { font: inherit; color: var(--ink); opacity: 0.85; background: none; border: 0; padding: 0; cursor: pointer; }
footer button.linklike:hover { text-decoration: underline; }
button.pill { font-family: var(--font); cursor: pointer; }

/* Dil seçici (JavaScript gerekmez: details/summary) */
.lang { position: relative; border: 0; padding: 0; }
.lang:first-of-type { border-top: 0; }
.lang summary::after, .lang[open] summary::after { content: none; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; gap: 5px; font-size: 13px; font-weight: 400; color: var(--ink);
  opacity: 0.8; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { opacity: 1; }
.lang summary svg { width: 15px; height: 15px; }
.lang .menu { position: absolute; top: calc(100% + 12px); inset-inline-end: -8px; min-width: 150px; padding: 6px; display: grid;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: 14px; text-align: start;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.25); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav .links .lang .menu a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; opacity: 1; }
.nav .links .lang .menu a:hover { background: var(--mist); text-decoration: none; }
.nav .links .lang .menu a[aria-current] { font-weight: 600; color: var(--blue-text); }
footer .langs { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; }
footer .langs a[aria-current] { font-weight: 600; color: var(--ink); }

/* Arapça: sağdan sola. Harf aralığı Arapça harflerin bağlantısını bozduğu için sıfırlanır. */
html[lang="ar"] { --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
html[lang="ar"] body, html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.6; }
[dir="rtl"] .nav .links { margin-left: 0; margin-right: auto; }
[dir="rtl"] footer .row nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .tiles, [dir="rtl"] .split, [dir="rtl"] .platforms, [dir="rtl"] .faq { text-align: right; }
[dir="rtl"] .steps { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .consent .buttons { justify-content: flex-start; }
[dir="rtl"] code, [dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
