/* turuncgames.com · Turunç Games sitesi
   Renkler ve yazı tipi: docs/marka/README.md */
@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fonts/Fredoka-turkce.woff') format('woff'); /* Fredoka + kodla eklenen ğ Ğ ş Ş İ (tools/site-font-turkce.js) */
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+011E-011F, U+0130-0131, U+0152-0153, U+015E-015F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0306-0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Diğer Latin harfleri (Ł, Š, Ž…; Google Fonts latin-ext parçası, OFL). Fredoka'da ğ ş İ yok: onlar üstteki dosyada. */
@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fonts/Fredoka-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-011D, U+0120-012F, U+0132-015D, U+0160-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --or: #FF7A1A;
  --or2: #FF9A3C;
  --or-soft: #FFE9D6;
  --leaf: #2BC46B;
  --ink: #1B1D33;
  --ink2: #4A4D66;
  --muted: #7A7D93;
  --cream: #FFF8F1;
  --line: #F1E4D6;
  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(27, 29, 51, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* ---------- üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 241, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; font-weight: 500; color: var(--ink2); font-size: 16.5px; }
.nav nav a:hover { color: var(--or); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--or); color: #fff !important; text-decoration: none;
  font-weight: 600; font-size: 17px; padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 6px 0 #D9580B, 0 14px 30px -10px rgba(255, 122, 26, .7);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #D9580B, 0 18px 34px -10px rgba(255, 122, 26, .75); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #D9580B; }
.btn.ghost { background: #fff; color: var(--ink) !important; box-shadow: 0 6px 0 var(--line), 0 14px 30px -14px rgba(27, 29, 51, .25); }
.btn.ghost:hover { box-shadow: 0 8px 0 var(--line), 0 18px 34px -14px rgba(27, 29, 51, .3); }
.btn.small { padding: 9px 16px; font-size: 15px; box-shadow: 0 4px 0 #D9580B; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- giriş ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: 14.5px; font-weight: 500; color: var(--ink2);
}
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); display: inline-block; position: relative; }
.pill i::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; margin: 18px 0 18px; font-weight: 700; letter-spacing: -1.5px; }
h1 .hl { color: var(--or); position: relative; white-space: nowrap; }
h1 .hl::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .16em;
  background: var(--or-soft); border-radius: 99px; z-index: -1;
}
.hero p.lead { font-size: 20px; color: var(--ink2); max-width: 520px; margin: 0 0 30px; font-weight: 400; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-art { position: relative; height: 520px; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(2px); opacity: .9;
}
.blob.b1 { width: 420px; height: 420px; right: 30px; top: 40px; background: radial-gradient(circle at 35% 35%, #FFE3C7, #FFD2A8 60%, transparent 70%); }
.mark-big { position: absolute; width: 300px; height: 300px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mark-big .h-left { animation: sol 3.2s ease-in-out infinite; transform-origin: center; }
.mark-big .h-right { animation: sag 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes sol { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, -4px); } }
@keyframes sag { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(7px, 4px); } }
.float {
  position: absolute; width: 210px; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 5px solid #fff; background: #fff;
  animation: float 6s ease-in-out infinite;
}
.float img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.float.f1 { left: 0; top: 30px; transform: rotate(-7deg); animation-delay: -1s; }
.float.f2 { right: 0; top: 150px; transform: rotate(6deg); animation-delay: -3s; }
.float.f3 { left: 40px; bottom: 30px; transform: rotate(4deg); animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- bölümler ---------- */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.kicker { color: var(--or); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
h2 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; margin: 8px 0 12px; letter-spacing: -.8px; }
.sec-head p { color: var(--ink2); margin: 0; font-size: 19px; }

/* oyunlar */
.games { background: #fff; border-radius: 48px 48px 0 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.game {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.game:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game .cover { position: relative; aspect-ratio: 16 / 9; background: var(--or-soft); }
.game .cover img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px; background: rgba(27, 29, 51, .86); color: #fff;
  font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em;
}
.game .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game h3 { margin: 0; font-size: 23px; }
.game p { margin: 0; color: var(--ink2); font-size: 16.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { font-size: 13px; font-weight: 500; color: var(--ink2); background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.stores { display: flex; gap: 8px; margin-top: 10px; }
.store {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  border: 1.5px dashed #E3D3C2; border-radius: 12px; padding: 8px 6px;
}
.store svg { width: 16px; height: 16px; }
.more-games { text-align: center; color: var(--muted); margin-top: 34px; font-size: 16.5px; }

/* biz */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-art { background: #fff; border-radius: 40px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: var(--shadow); }
.about-art img { width: 58%; }
.about-art .name { position: absolute; font-weight: 700; font-size: 20px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 14px; }
.about-art .n1 { left: 8%; bottom: 14%; transform: rotate(-6deg); }
.about-art .n2 { right: 8%; top: 14%; transform: rotate(5deg); background: var(--or); }
.about h2 { text-align: left; }
.about p { color: var(--ink2); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.value b { display: block; font-size: 18px; margin-bottom: 4px; }
.value span { color: var(--ink2); font-size: 15.5px; line-height: 1.45; display: block; }
.value .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--or-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--or); }
.value .ic svg { width: 22px; height: 22px; }

/* takip et şeridi */
.band { padding: 0 0 100px; }
.band .box {
  background: var(--or); color: #fff; border-radius: 40px; padding: 56px 60px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.band .box::after {
  content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  background: url('/assets/brand/isaret-beyaz.svg') center / contain no-repeat; opacity: .14; transform: rotate(-14deg);
}
.band h2 { color: #fff; margin: 0 0 8px; }
.band p { margin: 0; font-size: 19px; color: #FFE9D6; max-width: 560px; }
.band .btn { background: #fff; color: var(--ink) !important; box-shadow: 0 6px 0 #D9580B; position: relative; z-index: 1; }

/* alt bilgi */
footer { background: var(--ink); color: #C9CBDA; padding: 54px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; align-items: flex-start; }
footer img { height: 34px; width: auto; }
footer .links { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: #fff; text-decoration: none; font-weight: 500; }
footer a:hover { color: var(--or2); }
footer small { display: block; width: 100%; color: #8E91A8; font-size: 14.5px; margin-top: 10px; }

/* yazı sayfaları (gizlilik, destek) */
.doc { padding: 60px 0 90px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); }
.doc h2 { font-size: 26px; margin: 38px 0 8px; letter-spacing: -.2px; }
.doc p, .doc li { color: var(--ink2); }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
.doc details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
.doc summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.doc details p { margin: 10px 0 2px; }
.doc a { color: var(--or); font-weight: 500; }

/* görününce yumuşakça gelsin */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .mark-big .h-left, .mark-big .h-right { animation: none; }
}

/* ---------- telefon ve tablet ---------- */
@media (max-width: 960px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero-art { height: 400px; }
  .mark-big { width: 220px; height: 220px; }
  .float { width: 170px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .about-art { max-width: 420px; margin: 0 auto; }
  .band .box { grid-template-columns: 1fr; padding: 40px 30px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 16px 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav.open nav { display: flex; }
  .menu-btn { display: block; }
  .grid, .values { grid-template-columns: 1fr; }
  .hero-art { height: 330px; }
  .float { width: 140px; border-width: 4px; }
  .float.f3 { display: none; }
  section { padding: 64px 0; }
  .games { border-radius: 32px 32px 0 0; }
}

/* yayındaki oyun: mağaza düğmeleri çalışır */
.store.live { border-style: solid; border-color: var(--ink); background: var(--ink); color: #fff; text-decoration: none; transition: transform .15s; }
.store.live:hover { transform: translateY(-2px); }
.badge.live { background: var(--leaf); }

/* ===== 2. sürüm: oyun vitrinleri (her oyun büyük, kendi renginde) ===== */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: kay 28s linear infinite; font-weight: 700; font-size: 22px; letter-spacing: .5px; white-space: nowrap; }
.marquee-track i { width: 14px; height: 14px; border-radius: 50%; background: var(--or); display: inline-block; flex: none; }
.marquee-track i:nth-of-type(even) { background: var(--or2); }
@keyframes kay { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.games { background: #fff; border-radius: 0; padding-top: 110px; }
.shows { display: flex; flex-direction: column; gap: 34px; }
.show {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center;
  padding: 34px; border-radius: 34px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gc) 16%, #fff), color-mix(in srgb, var(--gc) 6%, #fff));
  border: 1px solid color-mix(in srgb, var(--gc) 22%, #fff);
}
.show:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.show:nth-child(even) .show-gorsel { order: 2; }
.show-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--gc) 70%, #000); transform: rotate(-1.2deg); transition: transform .35s ease; background: #fff; }
.show:nth-child(even) .show-media { transform: rotate(1.2deg); }
.show:hover .show-media { transform: rotate(0) scale(1.015); }
.show-media img, .show-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.show-num { font-weight: 700; font-size: 15px; letter-spacing: .14em; color: color-mix(in srgb, var(--gc) 70%, #000); }
.show h3 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 6px 0 12px; letter-spacing: -.6px; }
.show p { color: var(--ink2); margin: 0 0 14px; font-size: 18px; }
.show .tag { background: rgba(255,255,255,.75); }
.show .stores { margin-top: 18px; gap: 10px; flex-wrap: wrap; }
.show .store {
  flex: 0 0 auto; justify-content: flex-start; padding: 9px 16px; min-width: 150px; border-radius: 14px;
  background: rgba(255,255,255,.6); border: 1.5px dashed color-mix(in srgb, var(--gc) 40%, #ccc); color: var(--ink2);
}
.show .store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 16px; font-weight: 600; }
.show .store small { font-size: 11px; font-weight: 500; opacity: .75; letter-spacing: .02em; }
.show .store.live { background: var(--ink); border: 1.5px solid var(--ink); color: #fff; }
.show .store.live svg { width: 20px; height: 20px; }
.sec-head h2 { margin-bottom: 0; }

footer .links { align-items: center; }
footer .ig { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; }
footer .ig svg { width: 20px; height: 20px; }
.about { padding-top: 110px; }

@media (max-width: 960px) {
  .show, .show:nth-child(even) { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .show:nth-child(even) .show-gorsel { order: 0; }
}
@media (max-width: 680px) {
  .marquee-track { font-size: 18px; gap: 20px; }
  .show { border-radius: 26px; }
  .show .store { min-width: 0; flex: 1; }
}

/* Tarayıcıda dene: telefon çerçevesinde oyun */
.btn.try { margin-top: 16px; border: 0; cursor: pointer; font-family: inherit; }
.demo { position: fixed; inset: 0; z-index: 100; background: rgba(15, 16, 30, .72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; animation: belir .2s ease; }
@keyframes belir { from { opacity: 0; } to { opacity: 1; } }
.demo-phone { width: min(390px, 92vw); height: min(844px, 88vh); aspect-ratio: 390 / 844; border-radius: 44px; background: #111; padding: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.demo-phone.land { width: min(844px, 92vw); height: min(390px, 80vh); aspect-ratio: 844 / 390; }
.demo-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #000; }
.demo-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* Eğik şerit sayfayı yana taşırmasın (sticky menüyü bozmadan) */
html, body { overflow-x: clip; }

/* ===== 3. sürüm: dil seçici, tıklanan oyunlar, şeritteki tır, turunç sürprizi ===== */

/* Dil seçilene kadar sayfa bir an gizli kalır (İngilizce yazı görünüp değişmesin). Betik çalışmazsa 1,2 sn sonra yine açılır. */
html.i18n-bekle body { visibility: hidden; animation: i18n-ac 0s 1.2s forwards; }
@keyframes i18n-ac { to { visibility: visible; } }

/* üst menü: bağlantılar sağda, en sağda dil düğmesi */
.nav .wrap { gap: 22px; }
.nav nav { order: 1; margin-left: auto; }
.dil { order: 2; position: relative; }
.menu-btn { order: 3; }
.dil-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink2);
  font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: .04em; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.dil-btn:hover, .dil.acik .dil-btn { border-color: var(--or2); color: var(--ink); }
.dil-btn svg { width: 19px; height: 19px; flex: none; }
.dil-btn svg.ok { width: 14px; height: 14px; transition: transform .2s; }
.dil.acik .dil-btn svg.ok { transform: rotate(180deg); }
.dil-liste {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: none;
  list-style: none; margin: 0; padding: 6px; min-width: 200px; max-height: min(70vh, 520px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.dil.acik .dil-liste { display: block; animation: belir .15s ease; }
.dil-liste button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; border: 0; border-radius: 12px; background: none; color: var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer;
}
.dil-liste button:hover, .dil-liste button:focus-visible { background: var(--or-soft); outline: none; }
.dil-liste button[aria-checked="true"] { color: var(--or); font-weight: 600; }
.dil-liste small { color: var(--muted); font-size: 12px; letter-spacing: .08em; font-weight: 600; }
@media (max-width: 680px) {
  .nav .wrap { gap: 10px; }
  .nav nav { margin-left: 0; }
  .dil { margin-left: auto; }
  .dil-btn { height: 38px; padding: 0 10px; }
}

/* giriş: kapaklar tıklanır, üzerine gelince oyunun adı çıkar */
a.float { display: block; text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s; }
a.float:hover, a.float:focus-visible { transform: rotate(0deg) scale(1.07); z-index: 3; box-shadow: 0 26px 60px -18px rgba(27, 29, 51, .45); outline: none; }
a.float .ad {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 11px; border-radius: 999px;
  background: rgba(27, 29, 51, .86); color: #fff; font-weight: 600; font-size: 13.5px; line-height: 1.3;
  opacity: 0; translate: 0 6px; transition: opacity .2s, translate .2s;
}
a.float:hover .ad, a.float:focus-visible .ad { opacity: 1; translate: 0 0; }
@media (hover: none) { a.float .ad { opacity: 1; translate: 0 0; } }

/* büyük turunç: dokununca iki yarım ayrılır, suyu sıçrar */
.mark-big { pointer-events: none; }
.mark-big g { pointer-events: auto; cursor: pointer; transform-box: fill-box; }
.mark-big.patla .h-left { animation: sol-patla .85s cubic-bezier(.3, 1.4, .5, 1); }
.mark-big.patla .h-right { animation: sag-patla .85s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes sol-patla { 0% { transform: none; } 28% { transform: translate(-34px, -10px) rotate(-14deg); } 100% { transform: none; } }
@keyframes sag-patla { 0% { transform: none; } 28% { transform: translate(34px, 10px) rotate(14deg); } 100% { transform: none; } }
.damla { position: fixed; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--or2); pointer-events: none; z-index: 60; }

/* kayan şerit: eğik bant + üstünde sürülen tır */
.serit { position: relative; z-index: 2; transform: rotate(-1.5deg); margin: -10px -20px 0; }
.marquee-track a { color: inherit; text-decoration: none; transition: color .15s; }
.marquee-track a:hover { color: var(--or2); }
.marquee:has(a:hover) .marquee-track { animation-play-state: paused; }
.serit.suruyor .marquee-track a { pointer-events: none; }
.marquee-track i { transition: transform .15s, opacity .15s; }
.marquee-track i.alindi { transform: scale(0); opacity: 0; }
.marquee-track i.geri { animation: nokta-geri .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes nokta-geri { from { transform: scale(0); } to { transform: scale(1); } }

.tir {
  position: absolute; left: 0; top: calc(50% - 33px); width: 132px; height: 66px; z-index: 3;
  padding: 0; border: 0; background: none; cursor: grab; touch-action: none; user-select: none;
  -webkit-tap-highlight-color: transparent; will-change: transform; transform: translate(40px, 0);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .3));
}
.tir svg { display: block; width: 100%; height: 100%; overflow: visible; animation: rolanti 1.6s ease-in-out infinite; }
.tir svg.zipla { animation: zipla .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rolanti { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes zipla { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px); } }
.tir:focus-visible { outline: 3px solid var(--or2); outline-offset: 4px; border-radius: 12px; }
.serit.suruyor .tir { cursor: grabbing; }
.tir .teker { transform-box: fill-box; transform-origin: center; }
.tir .kt { animation: kt .35s cubic-bezier(.3, 1.7, .5, 1); transform-box: fill-box; transform-origin: center; }
@keyframes kt { from { transform: scale(0); } to { transform: scale(1); } }

.tir-balon {
  position: absolute; left: 0; top: calc(50% - 33px - 46px); z-index: 4;
  padding: 7px 15px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(27, 29, 51, .45);
  opacity: 0; scale: .7; pointer-events: none; transition: opacity .2s, scale .3s cubic-bezier(.3, 1.6, .5, 1);
}
.tir-balon::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; border-bottom: 0; }
.tir-balon.acik { opacity: 1; scale: 1; pointer-events: auto; }
.tir-balon:empty { display: none; }
.tir-balon a { color: var(--or); text-decoration: none; }
.tir-balon a:hover { text-decoration: underline; }
.duman { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .6); pointer-events: none; z-index: 2; }
.ucan-turunc { position: fixed; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--or); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .12); pointer-events: none; z-index: 60; }
@media (max-width: 680px) {
  .tir { width: 100px; height: 50px; top: calc(50% - 25px); }
  .tir-balon { top: calc(50% - 25px - 44px); font-size: 14px; }
}

/* bir oyuna gidince vitrini bir an parlasın */
.show { scroll-margin-top: 96px; }
.show.vurgu { animation: vurgu 1.5s ease-out; }
@keyframes vurgu {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gc) 55%, transparent); }
  25% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--gc) 35%, transparent); }
  100% { box-shadow: 0 0 0 26px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .tir svg { animation: none; }
  .show.vurgu { animation: none; }
}

/* kapaklar turuncun önünde dursun (oyun adı yazısı kesilmesin) */
.float { z-index: 2; }
.mark-big { z-index: 1; }

/* Japonca / Korece başlık: kelime ortasından bölünmesin, biraz küçük */
html:lang(ja) .hero h1, html:lang(ko) .hero h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: 0; line-height: 1.18; word-break: keep-all; }
html:lang(ja) h2, html:lang(ko) h2 { letter-spacing: 0; word-break: keep-all; }

/* ===== 4. sürüm: girişte tır zemini, vitrinde küçük telefonda klip, her oyunun oyuncağı ===== */

/* vitrin: kapak + yanında küçük telefonda dönen oynanış klibi */
.show-gorsel { position: relative; }
.mini-tel {
  position: absolute; right: -16px; bottom: -28px; z-index: 2; width: 27%; aspect-ratio: 390 / 844;
  padding: 5px; border: 0; border-radius: 22px; background: #15162A; cursor: zoom-in;
  box-shadow: 0 18px 40px -12px rgba(27, 29, 51, .55), inset 0 0 0 2px #2C2E48;
  transform: rotate(5deg); transition: transform .25s cubic-bezier(.3, 1.5, .5, 1);
}
.mini-tel video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 17px; background: #EEE; }
.mini-tel:hover, .mini-tel:focus-visible { transform: rotate(0deg) scale(1.05); outline: none; }
.mini-tel.yatay { width: 44%; aspect-ratio: 844 / 390; border-radius: 18px; bottom: -24px; }
.mini-tel.yatay video { border-radius: 13px; }
.demo-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.demo-phone.land video { border-radius: 26px; }
@media (max-width: 680px) {
  .show-gorsel { margin-bottom: 16px; }
  .mini-tel { width: 30%; right: -6px; bottom: -22px; padding: 4px; border-radius: 16px; }
  .mini-tel video { border-radius: 12px; }
  .mini-tel.yatay { width: 48%; border-radius: 13px; }
  .mini-tel.yatay video { border-radius: 9px; }
}

/* her oyunun oyuncağı: vitrinin sağ üst köşesinde, dokununca oyundan bir an */
.show-text { position: relative; }
.oyuncak {
  position: absolute; top: -6px; right: -4px; width: 68px; height: 68px; padding: 0; border: 0; background: none;
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent;
  animation: oy-salla 3.4s ease-in-out infinite;
}
.oyuncak svg { display: block; width: 100%; height: 100%; overflow: visible; }
.oyuncak:focus-visible { outline: 3px solid var(--gc); outline-offset: 2px; border-radius: 14px; }
@keyframes oy-salla { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes oy-zipla { 0%, 100% { transform: none; } 40% { transform: translateY(-9px); } }
@keyframes oy-titre { 0%, 100% { transform: none; } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
.oy-balon {
  position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); z-index: 3;
  padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--ink); white-space: nowrap;
  font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: 0 8px 18px -8px rgba(27, 29, 51, .45);
  pointer-events: none; animation: oy-balon 1.5s ease forwards;
}
.oy-balon.iyi { color: #1E9E55; }
@keyframes oy-balon { 0% { opacity: 0; translate: 0 6px; } 15% { opacity: 1; translate: 0 0; } 80% { opacity: 1; } 100% { opacity: 0; translate: 0 -8px; } }

/* Loading Dock: koli istifi */
.oy-kutu .palet { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 6px; border-radius: 2px; background: #C98B4E; box-shadow: 0 3px 0 #9C6A39; }
.oy-kutu i { position: absolute; width: 30px; height: 13px; border-radius: 3px; background: var(--k); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16); animation: kutu-in .35s cubic-bezier(.3, 1.6, .5, 1); }
.oy-kutu i::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: rgba(255, 255, 255, .55); }
@keyframes kutu-in { from { transform: translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.oy-kutu.gitti i { transition: transform .7s ease-in, opacity .7s; transform: translateX(70px) rotate(8deg); opacity: 0; }
.oy-kutu:not(:has(i))::before { content: ""; position: absolute; left: 26px; bottom: 12px; width: 16px; height: 11px; border-radius: 3px; border: 2px dashed rgba(27, 29, 51, .25); }

/* Pour Lab: basılı tutunca dolan bardak */
.oy-bardak { cursor: grab; }
.oy-bardak:active { cursor: grabbing; }
.oy-bardak.mutlu svg { animation: oy-zipla .5s cubic-bezier(.3, 1.6, .5, 1); }
.oy-bardak.tasti svg { animation: oy-titre .4s; }
.oy-bardak.tasti::before, .oy-bardak.tasti::after {
  content: ""; position: absolute; top: 6px; width: 6px; height: 8px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: #4EA8FF; animation: su-dus .7s ease-in forwards;
}
.oy-bardak.tasti::before { left: 13px; }
.oy-bardak.tasti::after { right: 13px; animation-delay: .08s; }
@keyframes su-dus { from { transform: translateY(0); opacity: 1; } to { transform: translateY(48px); opacity: 0; } }

/* Scrap Snap: kırmızı mıknatıs sadece kırmızı somunları çeker */
.oy-miknatis .som { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.oy-miknatis.cekti .s1 { transform: translate(-4px, -9px) rotate(30deg); }
.oy-miknatis.cekti .s2 { transform: translate(4px, -9px) rotate(-30deg); transition-delay: .06s; }
.oy-miknatis.cekti .s3 { animation: oy-titre .35s .1s; }

/* Wriggle Home: tırtıl kıvrılarak elmasına girer */
.oy-tirtil .govde { transform-box: view-box; transform-origin: 51px 45px; }
.oy-tirtil .b1, .oy-tirtil .b2, .oy-tirtil .b3, .oy-tirtil .bas { transform-box: fill-box; }
.oy-tirtil.gidiyor .govde { animation: tirtil-git 1.5s ease-in forwards; }
.oy-tirtil.gidiyor .b1, .oy-tirtil.gidiyor .b2, .oy-tirtil.gidiyor .b3, .oy-tirtil.gidiyor .bas { animation: tirtil-dalga .26s ease-in-out infinite alternate; }
.oy-tirtil.gidiyor .b2 { animation-delay: .08s; }
.oy-tirtil.gidiyor .b3 { animation-delay: .16s; }
.oy-tirtil.gidiyor .bas { animation-delay: .24s; }
.oy-tirtil.gidiyor .elma { transform-box: fill-box; transform-origin: 50% 100%; animation: elma-zipla .4s 1.25s; }
.oy-tirtil.donuyor .govde { animation: tirtil-don .6s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes tirtil-git { 0% { transform: none; opacity: 1; } 72% { transform: translateX(12px); opacity: 1; } 100% { transform: translateX(14px) scale(.15); opacity: 0; } }
@keyframes tirtil-dalga { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes tirtil-don { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes elma-zipla { 0%, 100% { transform: none; } 50% { transform: scale(1.18, .86); } }

/* Slime Path: her dokunuşta bir kat iner, sonuncusu patlar */
.oy-slime { --slime: #FF5A5F; --olcek: 1; }
.oy-slime .jole-renk { fill: var(--slime); transition: fill .2s; }
.oy-slime .jole { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--olcek)); transition: transform .25s; }
.oy-slime.ezil .jole { animation: slime-ezil .35s cubic-bezier(.3, 1.6, .5, 1); }
.oy-slime.patladi .jole { transform: scale(0); transition: transform .12s ease-in; }
.oy-slime.geldi .jole { animation: slime-gel .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes slime-ezil { 0% { transform: scale(calc(var(--olcek) * 1.25), calc(var(--olcek) * .7)); } 100% { transform: scale(var(--olcek)); } }
@keyframes slime-gel { from { transform: translateY(18px) scale(.2); } to { transform: scale(1); } }
.oy-damla { position: absolute; left: 50%; top: 62%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; pointer-events: none; }

@media (max-width: 680px) {
  .oyuncak { width: 58px; height: 58px; top: -4px; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .oyuncak { animation: none; }
}

/* ===== 5. sürüm: beyaz şerit (Furkan denemek istedi), kapaklar turuncun etrafında ===== */

/* kayan şerit beyaz, yazılar koyu; tır yine şeridin üstünde */
.marquee { background: #fff; color: var(--ink); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); box-shadow: 0 14px 34px -22px rgba(27, 29, 51, .35); }
.marquee-track a:hover { color: var(--or); }
.serit .tir { filter: drop-shadow(0 3px 2px rgba(27, 29, 51, .22)); }
.serit .duman { background: rgba(27, 29, 51, .16); }

/* giriş: büyük turunç önde ve açıkta; kapaklar etrafında (ikisi üst köşelerde, biri altta ortada) */
.hero-art { --fw: 180px; }
.mark-big { z-index: 2; }
.float { z-index: 1; width: var(--fw); }
.float.f1 { left: 0; top: 0; }
.float.f2 { right: 0; top: 0; }
.float.f3 { left: calc(50% - var(--fw) / 2); bottom: 0; }
@media (max-width: 960px) {
  .hero-art { --fw: 170px; }
}
@media (max-width: 680px) {
  .hero-art { --fw: 118px; height: 350px; }
  .float.f3 { display: block; }
  .mark-big { width: 200px; height: 200px; }
  .float { border-width: 3px; border-radius: 14px; }
  a.float .ad { font-size: 11.5px; padding: 3px 8px; left: 5px; bottom: 5px; }
}

/* Convoy Yard: dokununca mavi bariyer kalkar, tır geçip gider, sonra yenisi gelir */
.oy-bariyer .kol { transform-box: view-box; transform-origin: 55.5px 35.5px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.oy-bariyer.acik .kol { transform: rotate(78deg); }
.oy-bariyer .kamyon { transition: transform .75s ease-in, opacity .75s; }
.oy-bariyer.gitti .kamyon { transform: translateX(70px); opacity: 0; }
.oy-bariyer.geride .kamyon { transform: translateX(-34px); opacity: 0; transition: none; }

/* Peel Reveal: çıkartma köşesinden soyulur, altından altın para parlar */
.oy-etiket { perspective: 220px; }
.oy-etiket .altin, .oy-etiket .cikartma { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; }
.oy-etiket .altin svg, .oy-etiket .cikartma svg { display: block; width: 100%; height: 100%; }
.oy-etiket .cikartma { transform-origin: 0 0; filter: drop-shadow(0 2px 2px rgba(27, 29, 51, .2)); transition: transform .6s cubic-bezier(.4, 0, .6, 1), opacity .35s .3s; }
.oy-etiket.soyuldu .cikartma { transform: rotate3d(1, -1, 0, 155deg); opacity: 0; }
.oy-etiket.soyuldu .altin { animation: altin-parla .7s .3s; }
@keyframes altin-parla { 0%, 100% { transform: none; filter: none; } 45% { transform: scale(1.15) rotate(-8deg); filter: drop-shadow(0 0 6px rgba(255, 210, 80, .9)); } }

/* Loading Dock kapağı (3B resim, içi oynatılamaz): çok yavaş kayma + tırın üstünde aralıklı parıltı */
#loading-dock .show-media img { animation: ld-kayma 16s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes ld-kayma { from { transform: scale(1); } to { transform: scale(1.045) translate(-1%, -.6%); } }
#loading-dock .show-media::before, #loading-dock .show-media::after {
  content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 230, 140, .9)); animation: ld-parilti 4.5s ease-in-out infinite;
}
#loading-dock .show-media::before { left: 55%; top: 50%; }
#loading-dock .show-media::after { left: 63%; top: 61%; width: 15px; height: 15px; animation-delay: .35s; }
@keyframes ld-parilti { 0%, 62%, 86%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 72% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) {
  #loading-dock .show-media img, #loading-dock .show-media::before, #loading-dock .show-media::after { animation: none; }
}

/* resim kapağın bulanık başlığının üstüne oturan keskin başlık (Loading Dock) */
.show-media .kapak-baslik { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ===== 7. sürüm (2026-11-23): giriş derli toplu =====
   Furkan (telefondan): "portakal aşağıda duruyor, oyunlarımız çok aşağıda". 6. sürümün üst üste binen
   telefon kuralları yerine tek düzen: başlık, yazı, düğme; hemen altında ortada turunç, iki yanında
   birer oyun kapağı (aynı hizada); ardından Oyunlarımız bölümü ilk ekranın içinde başlar. */
.hero .wrap > div:first-child { position: relative; z-index: 3; } /* yazı ve düğme arkadaki dairenin önünde */
.hero { padding-bottom: 56px; }
.games { padding-top: 64px; }
@media (max-width: 680px) {
  /* üst menü biraz daha ince */
  .nav .wrap { height: 62px; }
  .brand img { height: 32px; }
  .nav nav { top: 62px; }

  .hero { padding: 16px 0 18px; }
  .hero .wrap { gap: 18px; }
  .hero h1 { font-size: clamp(30px, 8.8vw, 40px); margin: 0 0 10px; letter-spacing: -1px; }
  .hero p.lead { font-size: 15.5px; line-height: 1.5; margin: 0 0 16px; }
  .hero .btn { padding: 11px 22px; font-size: 16px; }

  /* --mk: turuncun boyu, --fw: kapak genişliği. Turunç ortada, kapaklar iki kenarda, dikeyde ortalı. */
  .hero-art { --fw: clamp(86px, 24vw, 108px); --mk: clamp(140px, 39vw, 164px); height: var(--mk); }
  .mark-big { width: var(--mk); height: var(--mk); left: 50%; top: 0; bottom: auto; transform: translateX(-50%); }
  .blob.b1 { width: calc(var(--mk) + 16px); height: calc(var(--mk) + 16px); left: 50%; top: -8px; right: auto; bottom: auto; margin: 0 0 0 calc(var(--mk) / -2 - 8px); }
  .float { border-width: 3px; border-radius: 14px; }
  .float.f1 { left: 0; top: calc(50% - var(--fw) * .28 - 12px); }
  .float.f2 { right: 0; top: calc(50% - var(--fw) * .28 + 10px); }
  .float.f3 { display: none; }

  .games { padding-top: 40px; }
  .games .sec-head { margin-bottom: 26px; }
}
/* masaüstünde başlık biraz daha sakin (resmî görünüm); her dilde ikinci satır tek satıra sığsın */
.hero h1 { font-size: clamp(44px, 5.4vw, 68px); }
/* Hakkımızda: telefonda logo kutusu küçük kalıyordu ve "kurucu ortak" etiketleri turuncu örtüyordu */
@media (max-width: 960px) {
  .about-art { width: 100%; max-width: 420px; }
}
@media (max-width: 680px) {
  .about-art { max-width: 300px; border-radius: 30px; }
  .about-art .name { font-size: 15px; padding: 6px 12px; border-radius: 11px; }
  .about-art .n1 { left: 5%; bottom: 8%; }
  .about-art .n2 { right: 5%; top: 8%; }
}
/* başlıklar satırlara dengeli bölünsün: "Öğrenmesi kolay, bırakması / zor" yerine "Öğrenmesi kolay, / bırakması zor" */
h1, h2 { text-wrap: balance; }

/* ===== 8. sürüm (2026-11-24): girişte üç çıkış oyunu; oyun adı resmin altında =====
   Furkan: "Loading Dock yazısı görselin resmini kapatmış; orada 3 oyun olsun (Loading Dock, Convoy Yard, Pour Lab)".
   Ad artık resmin üstünde değil, beyaz çerçevenin içinde resmin altında; telefonda ve bilgisayarda hep görünür. */
a.float .ad {
  position: static; display: block; opacity: 1; translate: none; transition: none;
  background: #fff; color: var(--ink); border-radius: 0; text-align: center;
  font-weight: 600; font-size: 14px; line-height: 1.2; padding: 7px 6px 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.float:hover .ad, a.float:focus-visible .ad { color: var(--or); }
.float.f3 { bottom: -26px; } /* bilgisayarda alttaki kapak turuncun sağ yarısına değmesin */
.float img { display: block; border-radius: 12px; }
@media (max-width: 680px) {
  /* turunç üstte ortada; iki kapak iki yanında, üçüncüsü turuncun altında ortada (masaüstündeki üçgen düzenin küçüğü) */
  .hero-art { --fw: clamp(94px, 27vw, 116px); --mk: clamp(130px, 37vw, 156px); height: calc(var(--mk) * .98 + var(--fw) * .5625 + 32px); }
  .mark-big { top: 0; }
  .blob.b1 { top: -8px; }
  .float { border-width: 3px; border-radius: 13px; }
  .float img { border-radius: 10px; }
  a.float .ad { font-size: 11.5px; padding: 5px 4px 2px; }
  .float.f1 { left: 0; top: calc(var(--mk) * .2); }
  .float.f2 { right: 0; top: calc(var(--mk) * .32); }
  .float.f3 { display: block; left: calc(50% - var(--fw) / 2); top: calc(var(--mk) * .98); bottom: auto; } /* turuncun sağ yarısı daha aşağıda bitiyor */
}
/* arkadaki açık daire her ekranda turuncun tam arkasında (tablette sağa kaymıştı) */
@media (min-width: 681px) {
  .blob.b1 { left: 50%; top: 50%; right: auto; bottom: auto; margin: 0; transform: translate(-50%, -50%); }
}
@media (min-width: 681px) and (max-width: 960px) {
  .hero-art { height: 440px; }
  .blob.b1 { width: 330px; height: 330px; }
}
