/* Voidlancer tanıtım sitesi. Palet oyunun kendisinden: boşluk laciverti zemin, oyuncu cyan'ı, yırtık/düşman magentası,
   ekrandaki tek birincil eylem amber (hangar "Kobalt Dok" kuralı). Yazı tipleri oyunla aynı (Chakra Petch, Exo 2, Oxanium). */
@font-face { font-family: "Chakra Petch"; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/chakra-petch-latin-ext-700-italic.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: "Chakra Petch"; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/chakra-petch-latin-700-italic.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: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/chakra-petch-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: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/chakra-petch-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: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/exo-2-latin-ext-400-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: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/exo-2-latin-400-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: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/exo-2-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: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/exo-2-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: "Oxanium"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/oxanium-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; }
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/oxanium-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; }

:root {
  --void: #010d26;      /* simge görselinin zemin rengi: gemi sayfaya dikişsiz oturur */
  --deep: #05153a;
  --panel: #0a1f4e;
  --line: #1f3878;
  --ink: #eaf1ff;
  --mute: #a3b3de;
  --cyan: #62e4ff;
  --magenta: #ff4fc3;
  --amber: #ffb02e;
  --display: "Chakra Petch", "Trebuchet MS", sans-serif;
  --body: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Oxanium", "Chakra Petch", sans-serif;
  --gut: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #1a1000; padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 600; }
.skip:focus { left: 8px; }

/* Üst çubuk */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); }
.top.solid { background: rgba(1, 13, 38, .9); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font: italic 700 1.25rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav-link { color: var(--mute); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-link:hover { color: var(--ink); }
.btn { display: inline-block; background: var(--amber); color: #1a1000; font: 600 .95rem/1 var(--display); padding: 11px 18px; border-radius: 10px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn:hover { background: #ffc35c; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang a { padding: 6px 9px; font: 700 .8rem/1 var(--num); color: var(--mute); text-decoration: none; }
.lang a[aria-current] { background: var(--panel); color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 84px; overflow: hidden; isolation: isolate; }
.stars { position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 40px 60px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 180px 140px, #cfe4ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 300px 30px, #9bdcff 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 230px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 250px 280px, #ffd0f0 50%, transparent 51%),
    radial-gradient(2px 2px at 350px 200px, #fff 50%, transparent 51%);
  background-size: 400px 320px; opacity: .55; animation: drift 90s linear infinite; }
.stars::after { content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 70px 110px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 210px 50px, #b6c9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 130px 190px, #fff 50%, transparent 51%);
  background-size: 260px 240px; opacity: .5; animation: drift 180s linear infinite; }
/* Oyun yatay kayar: yıldızlar da sağdan sola akar. Kaydırma tam bir döşeme boyu, dikiş görünmez. */
@keyframes drift { to { background-position: -400px 0; } }
.stars::after { animation-name: drift-far; }
@keyframes drift-far { to { background-position: -260px 0; } }

.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 3vw, 40px); flex: 1; }
.hero-copy { position: relative; z-index: 1; }
.wordmark { width: max-content; max-width: none; font: italic 700 clamp(2.5rem, 11.5vw, 3.6rem)/.95 var(--display); letter-spacing: .02em; text-transform: uppercase; background: linear-gradient(100deg, #fff 10%, #c8f4ff 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(98, 228, 255, .42)); margin-left: -.04em; padding-right: .12em; white-space: nowrap; }
.tagline { font: italic 700 clamp(1.05rem, 2.2vw, 1.5rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--magenta); margin-top: .5em; text-shadow: 0 0 18px rgba(255, 79, 195, .45); }
.hero h1 { font: 600 clamp(1.3rem, 2.3vw, 1.75rem)/1.3 var(--display); margin-top: 1.5em; max-width: 24ch; text-wrap: balance; }
.sub { color: var(--mute); margin-top: .9em; max-width: 46ch; }
.note { color: var(--mute); font-size: .9rem; margin-top: 1.1em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7em; }
.badge { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 14px; background: #000; color: #fff; border: 1px solid #5d6a8f; border-radius: 12px; text-decoration: none; }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge small { display: block; font-size: .68rem; line-height: 1.1; opacity: .85; }
.badge b { display: block; font: 600 1.15rem/1.15 var(--body); }
.badge .soon { position: absolute; top: -9px; right: -8px; background: var(--magenta); color: #2a0020; font: 700 .7rem/1 var(--num); font-style: normal; padding: 4px 7px; border-radius: 6px; }
a.badge:hover { border-color: #fff; }

/* Motor ışıması: geminin arkasında (sol alt) nabız atan cyan hale, görselin kendi alevini canlandırır. */
.hero-ship::before { content: ""; position: absolute; left: 4%; bottom: 2%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 228, 255, .5), transparent 70%); mix-blend-mode: screen; animation: thrust 1.6s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes thrust { 0%, 100% { opacity: .35; transform: scale(.92); } 45% { opacity: .8; transform: scale(1.05); } 60% { opacity: .55; } }
.hero-ship { position: relative; justify-self: end; width: min(100%, 660px); margin-right: calc(var(--gut) * -0.6); }
.hero-ship img { width: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); animation: arrive 1.1s cubic-bezier(.16, .8, .3, 1) both, hover 7s ease-in-out 1.1s infinite; }
/* Tek sahnelenmiş an: gemi burnunun baktığı yöne (sağ üst) doğru yırtıktan çıkar, sonra hafifçe süzülür. */
@keyframes arrive { from { opacity: 0; transform: translate(-16%, 16%) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes hover { 50% { transform: translate(.8%, -1.2%); } }

.hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(18px, 4vw, 54px); padding: 16px var(--gut) 22px; margin-top: 12px; }
.hud div { display: flex; align-items: baseline; gap: 8px; flex-direction: row-reverse; }
.hud dt { font: 600 .85rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.hud dd { font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1 var(--num); color: var(--ink); }

/* Yırtık */
.rift { display: block; width: 100%; height: clamp(34px, 5vw, 60px); margin-block: -6px; overflow: visible; }
.rift path { fill: none; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.rift-glow { stroke: var(--magenta); stroke-width: 9; opacity: .32; filter: blur(5px); }
.rift-core { stroke: #ffc4ec; stroke-width: 1.6; filter: drop-shadow(0 0 5px var(--magenta)); animation: crackle 5.5s steps(1, end) infinite; }
.rift-glow { animation: surge 5.5s ease-in-out infinite; }
/* Yırtık canlı: çoğu zaman sakin, arada bir çatırdar (düzenli nabız değil, elektrik gibi düzensiz). */
@keyframes crackle { 0%, 61%, 65%, 68%, 100% { opacity: 1; } 62% { opacity: .25; } 64% { opacity: .6; } 66% { opacity: .15; } 92% { opacity: .5; } 93% { opacity: 1; } }
@keyframes surge { 0%, 58%, 76%, 100% { opacity: .32; stroke-width: 9; } 67% { opacity: .75; stroke-width: 16; } }

/* Mini uçuş şeridi */
.fly { padding-bottom: 0; }
.fly-stage { position: relative; margin-top: 34px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 31, 78, .55), rgba(1, 13, 38, .2) 30%, rgba(1, 13, 38, .2) 70%, rgba(10, 31, 78, .55)); }
#fly-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 480; max-width: 1600px; margin-inline: auto; touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; }
.fly-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font: 600 .95rem/1 var(--display); color: var(--ink); background: rgba(1, 13, 38, .78); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
#fly-canvas.used + .fly-hint { opacity: 0; }

/* Bölümler */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec h2 { font: italic 700 clamp(1.9rem, 4.6vw, 3.3rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; max-width: 18ch; text-wrap: balance; }
.lead { color: var(--mute); max-width: 62ch; margin-top: 1.1em; font-size: 1.1rem; }
.sec h3 { font: 600 1.2rem/1.25 var(--display); }
.fine { color: var(--mute); font-size: .85rem; margin-top: 1.2em; }

/* Ekran görüntüsü şeridi: oyun gibi yana kayar */
.strip { display: flex; gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(var(--gut), calc((100vw - 1180px) / 2 + var(--gut))) 18px; scrollbar-color: var(--line) transparent; }
.shot { flex: none; width: min(82vw, 640px); scroll-snap-align: center; }
.screen { border: 2px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .9), 0 0 0 6px rgba(10, 31, 78, .55); }
.screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; padding: 16px 6px 0; }
.stage { font: 700 .95rem/1.2 var(--num); color: var(--cyan); }
.shot b { font: 600 1.15rem/1.2 var(--display); }
.rule { grid-column: 1 / -1; color: var(--mute); font-size: .98rem; max-width: 52ch; }

/* Cephanelik */
.sec-arsenal { background: linear-gradient(180deg, transparent, var(--deep) 18%, var(--deep) 82%, transparent); }
.arsenal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.point { margin-top: 2em; max-width: 50ch; }
.point p, .mode p, .fair p { color: var(--mute); margin-top: .45em; }
.rack { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: clamp(20px, 3vw, 32px); position: sticky; top: 96px; }
.rack-title { font: 600 1rem/1.2 var(--display); color: var(--mute); }
.rack ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rack li { font: 600 .92rem/1 var(--display); padding: 9px 12px; border-radius: 8px; background: rgba(98, 228, 255, .08); border: 1px solid rgba(98, 228, 255, .28); color: #d6f6ff; }
.rack li:nth-child(3n) { background: rgba(255, 176, 46, .08); border-color: rgba(255, 176, 46, .3); color: #ffe2ae; }
.rack-more { margin-top: 16px; color: var(--mute); font-size: .95rem; }

/* Ustalık */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 48px) clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.mode { border-top: 2px solid var(--line); padding-top: 16px; }
.fair { margin-top: clamp(40px, 6vw, 72px); padding: clamp(20px, 3vw, 32px); border-left: 3px solid var(--cyan); background: linear-gradient(90deg, rgba(98, 228, 255, .07), transparent 70%); max-width: 760px; }

/* İndirme */
.cta { text-align: center; background: radial-gradient(60% 90% at 50% 100%, rgba(255, 79, 195, .16), transparent 70%); border-block: 1px solid var(--line); }
.cta h2, .cta .lead { margin-inline: auto; }
.cta .stores { justify-content: center; }

/* SSS */
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: .6em; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 600 1.12rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.5rem/1 var(--num); color: var(--cyan); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--mute); padding: 0 0 22px; max-width: 64ch; }

/* Alt bilgi */
.footer { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); }
.footer-in { display: grid; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer nav a { color: var(--ink); }

@media (min-width: 861px) { .wordmark { font-size: clamp(3.4rem, 6.6vw, 6.2rem); } }
@media (max-width: 860px) {
  .nav-link { display: none; }
  .hero { padding-top: 72px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-ship { order: -1; justify-self: center; width: min(86vw, 440px); margin: -4vw 0 -9vw; }
  .arsenal { grid-template-columns: 1fr; }
  .rack { position: static; }
  #fly-canvas { aspect-ratio: 16 / 9; }
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  #fly-canvas { aspect-ratio: 3 / 2; }
  .modes { grid-template-columns: 1fr; }
  .btn { padding: 10px 13px; }
  .top-in { gap: 10px; }
  .top nav { gap: 10px; }
  .badge { flex: 1 1 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars, .stars::after, .hero-ship img, .hero-ship::before, .rift-core, .rift-glow { animation: none; }
}
