/* ═══════════════ West Client — tanıtım sitesi ("Rota") ═══════════════
   Düz yüzeyler, ince çizgiler; amber yalnızca asıl eylemde ve vurguda.
   Karşılamadaki piksel gökyüzü ve yükselen parçacıklar önceki sürümle birebir aynıdır. */
:root {
  --bg: #0a0b0e;
  --bg2: #0e0f13;
  --card: #14151a;
  --card2: #1b1c22;
  --line: rgb(255 255 255 / 0.08);
  --line2: rgb(255 255 255 / 0.14);
  --text: #eef0f3;
  --muted: #9aa0ad;
  --faint: #6b7080;
  --amber: #e8a25c;
  --amber2: #f4bd82;
  --blue: #6ea8d6;
  --green: #70c48e;
  --pink: #ec5a82;
  --radius: 14px;
  --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.amber { color: var(--amber); }
.center { text-align: center; }
.grad { background: linear-gradient(100deg, var(--amber2), var(--amber) 45%, var(--pink) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ───── Düğmeler ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--amber); color: #1a1008; }
.btn-primary:hover { background: var(--amber2); }
.btn-ghost { background: rgb(255 255 255 / .06); border: 1px solid var(--line2); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn svg { flex: none; }

/* ───── Üst menü ───── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgb(10 11 14 / .92); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b { color: var(--amber); font-weight: 600; margin-left: -4px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / .05); }
.nav .btn { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; background: rgb(255 255 255 / .06); margin-left: auto; }
@media (max-width: 980px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgb(10 11 14 / .98); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; }
  .nav.open .nav-links { transform: none; }
  .nav-links a { padding: 14px 8px; font-size: 17px; }
  .nav-burger { display: grid; }
  .nav .btn.nav-dl { display: none; }
}

/* ───── Karşılama (gökyüzü: dokunulmaz) ───── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 120px 0 60px; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, rgb(10 11 14 / .35) 60%, var(--bg) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.035em; max-width: 960px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: rgb(238 240 243 / .82); max-width: 700px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; color: rgb(238 240 243 / .6); font-size: 14px; font-weight: 600; }
.compass { width: 84px; height: 84px; animation: float 6s ease-in-out infinite; }
.compass .needle { transform-origin: 12px 12px; animation: needle 7s ease-in-out infinite; }
@keyframes needle { 0%,100% { transform: rotate(-35deg); } 20% { transform: rotate(-10deg); } 45% { transform: rotate(-48deg); } 70% { transform: rotate(-28deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(10 11 14 / .6); border: 1px solid var(--line2); font-size: 14px; font-weight: 600; color: rgb(238 240 243 / .9); }
.pill:hover { border-color: rgb(232 162 92 / .5); }
.pill .tag { padding: 3px 10px; border-radius: 999px; background: var(--amber); color: #1a1008; font-size: 12px; font-weight: 800; }

/* Uygulama penceresi */
.showcase { position: relative; z-index: 3; margin-top: -30px; }
.window { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #0d0e12; box-shadow: 0 40px 100px rgb(0 0 0 / .6); cursor: zoom-in; }
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ───── Bölümler ───── */
section { position: relative; }
.section { padding: 110px 0; }
.head { margin-bottom: 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; margin: 10px 0 14px; }
.sub { font-size: 18px; color: var(--muted); max-width: 640px; }
.center .sub { margin: 0 auto; }
.note { margin-top: 18px; font-size: 14px; color: var(--faint); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: rgb(238 240 243 / .88); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: rgb(232 162 92 / .14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a25c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 13px no-repeat; }

/* ───── Ashi sohbeti (canlandırma) ───── */
.chat { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 36px; height: 36px; border-radius: 9px; image-rendering: pixelated; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { font-size: 12.5px; color: var(--muted); }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 380px; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
.msg.me { align-self: flex-end; background: var(--amber); color: #1a1008; border-bottom-right-radius: 4px; font-weight: 600; }
.msg.ai { align-self: flex-start; background: var(--card2); border-bottom-left-radius: 4px; }
.msg.typing { color: var(--muted); }
.msg.typing i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: currentColor; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.acts { align-self: flex-start; width: 86%; list-style: none; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgb(112 196 142 / .08); border: 1px solid rgb(112 196 142 / .22); display: flex; flex-direction: column; gap: 4px; animation: pop .35s; }
.acts li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; opacity: 0; animation: pop .3s forwards; }
.acts li::before { content: "✓"; color: var(--green); font-weight: 800; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }

/* ───── Kolaylıklar (bento) ───── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.tile:hover { border-color: var(--line2); }
.tile.wide { grid-column: span 2; }
.tile .ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgb(232 162 92 / .12); color: var(--amber); font-size: 20px; font-weight: 700; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--muted); font-size: 15px; }
.mini-server { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; }
.mini-server .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(112 196 142 / .2); }
.mini-server i { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.mini-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.mini-bars i { flex: 1; border-radius: 4px; background: rgb(255 255 255 / .1); }
.mini-bars i.hl { background: var(--amber); }
.mini-code { margin-top: auto; align-self: flex-start; padding: 8px 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-weight: 800; letter-spacing: .2em; font-size: 18px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* ───── Oyunun içi ───── */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery figure { margin: 0; }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: #0d0e12; cursor: zoom-in; }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.frame:hover img { transform: scale(1.015); }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.gallery figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ───── Launcher turu ───── */
.tour { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tour-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tour-tabs button { height: 38px; padding: 0 16px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .15s, color .15s; }
.tour-tabs button.on { background: var(--card2); color: var(--text); box-shadow: inset 0 -2px 0 var(--amber); }
.tour .window { width: 100%; }
.tour-cap { color: var(--muted); text-align: center; max-width: 620px; min-height: 52px; }

/* ───── Suçlu avı ───── */
.hunt { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.hunt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hunt-head img { width: 44px; height: 44px; image-rendering: pixelated; border-radius: 10px; }
.hunt-bubble { flex: 1; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--card2); font-size: 14.5px; min-height: 44px; transition: opacity .3s; }
.mods { display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; }
.mod { aspect-ratio: 1; border-radius: 4px; background: #2a2c36; transition: background .5s, transform .5s, opacity .5s; }
.mod.lib { background: #3a4a62; }
.mod.on { background: var(--amber); }
.mod.out { opacity: .18; transform: scale(.7); }
.mod.bad { background: var(--pink); transform: scale(1.25); }
.hunt-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.hunt-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hunt-progress { height: 6px; border-radius: 3px; background: #22242d; margin-top: 16px; overflow: hidden; }
.hunt-progress i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .6s; }

/* ───── Geri kalan ───── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 24px 22px 24px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ───── İndir ───── */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; text-align: left; }
.dl { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.dl.me { border-color: rgb(232 162 92 / .55); }
.dl.me::after { content: "Senin sistemin"; position: absolute; top: -11px; right: 18px; padding: 2px 10px; border-radius: 999px; background: var(--amber); color: #1a1008; font-size: 12px; font-weight: 800; }
.dl .os { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .06); }
.dl h3 { font-size: 21px; }
.dl .btn { width: 100%; margin-top: auto; }
.dl:not(.me) .btn-primary { background: rgb(255 255 255 / .08); color: var(--text); border: 1px solid var(--line2); }
.dl:not(.me) .btn-primary:hover { background: var(--amber); color: #1a1008; }
.dl .alt { font-size: 14px; color: var(--muted); text-align: center; }
.dl .alt a { color: var(--amber); font-weight: 700; }
.safety { margin-top: 24px; padding: 18px 22px; border-radius: 12px; background: rgb(110 168 214 / .07); border: 1px solid rgb(110 168 214 / .2); display: flex; gap: 14px; align-items: flex-start; color: rgb(238 240 243 / .85); font-size: 15px; }
.safety svg { flex: none; color: var(--blue); margin-top: 2px; }
@media (max-width: 900px) { .downloads { grid-template-columns: 1fr; } }

/* ───── SSS ───── */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.q { border-radius: 12px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.q summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16.5px; display: flex; align-items: center; gap: 12px; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--amber); transition: transform .25s; }
.q[open] summary::after { transform: rotate(45deg); }
.q .a { padding: 0 20px 18px; color: rgb(238 240 243 / .8); }
.q .a p + p { margin-top: 10px; }

/* ───── Kapanış ───── */
.cta-final { margin: 20px auto 110px; padding: 64px 36px; border-radius: 22px; text-align: center; border: 1px solid var(--line2); background: radial-gradient(600px 260px at 50% 0%, rgb(232 162 92 / .16), transparent 70%), var(--card); }
.cta-final h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.cta-final p { color: var(--muted); margin: 14px auto 26px; max-width: 520px; font-size: 18px; }

footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.foot a { display: block; padding: 4px 0; transition: color .15s; }
.foot a:hover { color: var(--amber); }
.legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(0 0 0 / .9); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.on { display: grid; animation: fade .25s; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 10px; }
@keyframes fade { from { opacity: 0; } }

/* ───── Kaydırınca beliren öğeler ───── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-30px); }
.reveal.right { transform: translateX(30px); }
.reveal.zoom { transform: scale(.96); }
.reveal.in.left, .reveal.in.right, .reveal.in.zoom { transform: none; }

/* ───── Yükselen parçacıklar (dokunulmaz) ───── */
.motes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.motes i { position: absolute; bottom: -10px; width: 4px; height: 4px; background: var(--amber); box-shadow: 0 0 10px var(--amber); opacity: 0; animation: rise linear infinite; }
.motes i:nth-child(3n) { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
@keyframes rise { 10% { opacity: .55; } 90% { opacity: .3; } 100% { transform: translateY(-110vh) translateX(40px); opacity: 0; } }
main, footer, .nav { position: relative; z-index: 1; }
.nav { position: fixed; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01s !important; }
  .compass, .compass .needle, .msg, .acts, .acts li { animation: none !important; opacity: 1 !important; }
}
html, body { overflow-x: clip; }
@media (max-width: 960px) { .reveal.left, .reveal.right { transform: translateY(24px); } }
