/* =========================================================================
   Runner Division — ortak stil
   Palet logodan alındı: zeytin yeşili, koyu siyah, altın-bej, kemik beyazı.
   Animasyonlar yalnızca transform / opacity kullanır (akıcı, kasmaz).
   ========================================================================= */
/* Yazı tipleri projenin içinde (SIL Open Font License) — dış sunucuya istek yok */
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/saira-condensed-bold.woff2) format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/saira-condensed-extrabold.woff2) format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/saira-condensed-black.woff2) format('woff2'); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/saira-400.woff2) format('woff2'); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/saira-600.woff2) format('woff2'); }
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/saira-700.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-500.woff2) format('woff2'); }

:root {
  --bg: #12130c;
  --bg-2: #1b1c13;
  --bg-3: #15160f;
  --bg-4: #171810;
  --olive: #434731;
  --olive-2: #2a2c1d;
  --olive-3: #3a3b29;
  --gold: #d9c08a;
  --sand: #9e9470;
  --bone: #e4e1d7;
  --muted: #b5ae94;
  --label: #d6d0bc;
  --line: rgba(217, 192, 138, .18);
  --line-2: rgba(217, 192, 138, .35);
  --f-disp: 'Saira Condensed', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.2, .9, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--gold); }
a:hover { color: var(--bone); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--bg); }
input[type=range], input[type=checkbox], input[type=radio] { accent-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.seo-nav { display: none; }
.noscript { padding: 24px; color: var(--gold); }

/* ---------- typografi ---------- */
.mono { font-family: var(--f-mono); }
.disp { font-family: var(--f-disp); font-weight: 900; }
.kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: 4px; color: var(--sand); text-transform: uppercase; }
.h-xl {
  margin: 14px 0 0;
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .9;
  letter-spacing: 0;
}
.h-xl .gold, .gold { color: var(--gold); }
.outline { color: transparent; -webkit-text-stroke: 2px var(--gold); }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 460px; }

/* ---------- layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { position: relative; padding: 96px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page { position: relative; overflow: hidden; }

/* ---------- butonlar ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 0; background: var(--gold); color: var(--bg);
  font-family: var(--f-disp); font-weight: 800; font-size: 19px; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform .2s var(--ease), filter .2s;
  overflow: hidden;
}
.btn:hover { color: var(--bg); transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40px;
  background: rgba(255, 255, 255, .22); transform: translateX(-150%) skewX(-20deg);
  animation: rd-shine 3.4s ease-in-out infinite;
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--sand); background: transparent; color: var(--bone);
  font-family: var(--f-disp); font-weight: 700; font-size: 19px; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-dark { background: var(--bg); color: var(--gold); clip-path: none; }
.btn-dark::after { background: rgba(217, 192, 138, .14); }
.btn-dark:hover { color: var(--gold); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn[disabled], .btn-ghost[disabled] { opacity: .35; pointer-events: none; }
.chip {
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-2); background: transparent; color: var(--bone);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip[aria-pressed='true'] { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad);
  background: rgba(18, 19, 12, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--bone); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--bone); }
.brand img { width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--f-disp); font-weight: 900; font-size: 23px; letter-spacing: 2px; white-space: nowrap; }
.brand-tag { margin-top: 5px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 3px; color: var(--sand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--f-disp); font-weight: 700; font-size: 17px; letter-spacing: 2px; }
.nav a { color: var(--bone); text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold); }
.nav-cta {
  padding: 12px 20px !important; background: var(--gold); color: var(--bg) !important;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.menu-btn {
  display: none; width: 48px; height: 48px; flex: 0 0 auto;
  border: 1px solid var(--line-2); background: transparent; position: relative;
}
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--gold); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--pad) 40px;
  background: var(--bg);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .4;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.mobile-menu a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--line);
  color: var(--bone); text-decoration: none;
  font-family: var(--f-disp); font-weight: 900; font-size: 34px; letter-spacing: 2px;
}
.mobile-menu a span { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--sand); letter-spacing: 2px; }
.mobile-menu a[aria-current='page'] { color: var(--gold); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 44px var(--pad) 110px;
  border-top: 1px solid var(--line);
}
.site-footer .f-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.site-footer .f-brand img { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.site-footer .f-copy { font-family: var(--f-mono); font-size: 12px; color: var(--sand); letter-spacing: 1px; }
.f-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-family: var(--f-disp); font-weight: 700; letter-spacing: 2px; }
.f-links a { color: var(--bone); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.f-links a:hover { color: var(--gold); }
.f-btn { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--sand); font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; }
.f-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- müzik çubuğu ---------- */
.music {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 6px 6px 6px 14px;
  background: rgba(18, 19, 12, .95); border: 1px solid rgba(217, 192, 138, .5);
}
.music-eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; width: 21px; flex: 0 0 auto; }
.music-eq span { display: block; width: 3px; height: 18px; background: var(--gold); transform: scaleY(.15); transform-origin: bottom; }
.music.playing .music-eq span { animation: rd-eq .9s ease-in-out infinite; }
.music.playing .music-eq span:nth-child(2) { animation-delay: .2s; }
.music.playing .music-eq span:nth-child(3) { animation-delay: .4s; }
.music.playing .music-eq span:nth-child(4) { animation-delay: .1s; }
.music-txt { min-width: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; line-height: 1.4; }
.music-txt b { display: block; font-weight: 400; color: var(--sand); }
.music-txt span { display: block; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-btn { width: 44px; height: 44px; flex: 0 0 auto; border: 0; background: var(--gold); color: var(--bg); font-size: 15px; }
.music-btn[disabled] { opacity: .35; cursor: not-allowed; }
.music.music-none { display: none; }

/* ---------- sayfa geçişi (telsiz / radar / glitch) ---------- */
.pt { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.pt.hold { pointer-events: auto; animation: pt-in .22s ease-out both; }
.pt.go { animation: rd-pt-out 1.05s linear forwards; }
@keyframes pt-in { from { opacity: 0; } to { opacity: 1; } }
.pt-bg { position: absolute; inset: 0; background: var(--bg); border-bottom: 2px solid var(--gold); overflow: hidden; }
.pt.go .pt-bg { animation: rd-wipe .5s .55s cubic-bezier(.7, 0, .2, 1) forwards; }
.pt-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; }
.pt.go .pt-c { animation: rd-pt-fade .25s .45s ease-in forwards; }
.pt-radar { position: relative; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(217, 192, 138, .6); overflow: hidden; }
.pt-radar::before { content: ''; position: absolute; inset: 0; background: conic-gradient(rgba(217, 192, 138, .6), rgba(217, 192, 138, 0) 25%); animation: rd-spin 1.2s linear infinite; }
.pt-radar::after { content: ''; position: absolute; inset: 28px; border-radius: 50%; border: 1px solid rgba(217, 192, 138, .35); }
.pt-title { min-height: 1em; font-family: var(--f-disp); font-weight: 900; font-size: clamp(40px, 9vw, 64px); line-height: 1; letter-spacing: 3px; color: var(--gold); text-align: center; animation: rd-glitch-fast .6s steps(2) infinite; }
.pt-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.pt-bars span { display: block; width: 4px; height: 30px; background: var(--gold); transform-origin: 50% 100%; animation: rd-eq .5s ease-in-out infinite; }
.pt-bars span:nth-child(3n) { background: var(--bone); }
.pt-bars span:nth-child(2n) { animation-delay: -.17s; }
.pt-bars span:nth-child(3n+1) { animation-delay: -.33s; }
.pt-freq { font-family: var(--f-mono); font-size: 11px; letter-spacing: 3px; color: var(--sand); text-align: center; }
.pt-slice { position: absolute; left: 0; right: 0; height: 8px; background: rgba(217, 192, 138, .35); animation: rd-slice .8s steps(6) infinite; }

/* ---------- sniper dürbünü imleci ---------- */
@media (hover: hover) and (pointer: fine) {
  html.has-scope, html.has-scope * { cursor: none !important; }
  html.has-scope input:not([type]), html.has-scope input[type="text"], html.has-scope input[type="email"], html.has-scope input[type="tel"], html.has-scope input[type="search"], html.has-scope input[type="password"], html.has-scope input[type="number"], html.has-scope textarea { cursor: text !important; }
}
.scope { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.scope.on { opacity: 1; }
.scope.text { opacity: 0; }
.scope-ring { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid rgba(217, 192, 138, .9); box-shadow: 0 0 0 1px rgba(18, 19, 12, .55), inset 0 0 0 1px rgba(18, 19, 12, .4), inset 0 0 18px rgba(217, 192, 138, .12); transition: transform .25s var(--ease), border-color .25s; }
.scope-ticks { position: absolute; inset: 3px; border-radius: 50%; animation: rd-spin 14s linear infinite; }
.scope-ticks i { position: absolute; left: 50%; top: 0; width: 1px; height: 4px; margin-left: -.5px; background: rgba(217, 192, 138, .55); transform-origin: 50% 24px; }
.scope-ticks i:nth-child(6n+1) { height: 7px; background: var(--gold); }
.scope-x { position: absolute; left: 0; top: 0; transition: transform .25s var(--ease); }
.scope-x b { position: absolute; background: var(--gold); box-shadow: 0 0 0 1px rgba(18, 19, 12, .45); }
.scope-x .h { top: -.75px; height: 1.5px; width: 22px; }
.scope-x .h.l { left: -40px; } .scope-x .h.r { left: 18px; }
.scope-x .v { left: -.75px; width: 1.5px; height: 22px; }
.scope-x .v.t { top: -40px; } .scope-x .v.b { top: 18px; }
.scope-x .d { position: absolute; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: var(--bone); }
.scope-x .d1 { left: -10px; top: 0; } .scope-x .d2 { left: 10px; top: 0; } .scope-x .d3 { left: 0; top: 10px; } .scope-x .d4 { left: 0; top: 22px; }
.scope-dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #fff3cf; box-shadow: 0 0 6px rgba(217, 192, 138, .9); }
.scope-lock { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s, transform .25s var(--ease); transform: scale(1.5); }
.scope-lock s { position: absolute; width: 10px; height: 10px; border: 0 solid var(--gold); }
.scope-lock .c1 { left: -22px; top: -22px; border-left-width: 2px; border-top-width: 2px; }
.scope-lock .c2 { left: 12px; top: -22px; border-right-width: 2px; border-top-width: 2px; }
.scope-lock .c3 { left: -22px; top: 12px; border-left-width: 2px; border-bottom-width: 2px; }
.scope-lock .c4 { left: 12px; top: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.scope-read { position: absolute; left: 34px; top: 22px; font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; color: rgba(217, 192, 138, .75); white-space: nowrap; text-shadow: 0 0 3px var(--bg); }
.scope.lock .scope-ring { transform: scale(.72); border-color: #fff3cf; }
.scope.lock .scope-x { transform: rotate(45deg) scale(.8); }
.scope.lock .scope-lock { opacity: 1; transform: scale(1); }
.scope.lock .scope-read { color: var(--gold); }
.scope.fire .scope-ring { animation: scope-fire .28s ease-out; }
@keyframes scope-fire { 0% { box-shadow: 0 0 0 1px rgba(18, 19, 12, .55), 0 0 0 0 rgba(217, 192, 138, .7); } 100% { box-shadow: 0 0 0 1px rgba(18, 19, 12, .55), 0 0 0 16px rgba(217, 192, 138, 0); } }

/* ---------- ekran dışındaki animasyonlar durur (performans) ---------- */
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }

/* ---------- arka plan tarama çizgisi ---------- */
.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 40; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .14) 3px 4px); }

/* ---------- kaydırınca beliren ---------- */
.rv { opacity: 0; transform: perspective(900px) translateY(60px) rotateX(16deg); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- HUD köşeleri ---------- */
.hud-c { position: absolute; width: 28px; height: 28px; border: 0 solid var(--gold); pointer-events: none; }
.hud-c.tl { left: 16px; top: 16px; border-left-width: 2px; border-top-width: 2px; }
.hud-c.tr { right: 16px; top: 16px; border-right-width: 2px; border-top-width: 2px; }
.hud-c.bl { left: 16px; bottom: 16px; border-left-width: 2px; border-bottom-width: 2px; }
.hud-c.br { right: 16px; bottom: 16px; border-right-width: 2px; border-bottom-width: 2px; }

/* ---------- form elemanları ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--label); min-width: 0; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 0;
  color: var(--bone); font-size: 16px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  -webkit-appearance: none; appearance: none;
}
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
select.input {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.input::placeholder { color: #8f886f; opacity: 1; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 192, 138, .22), 0 0 24px rgba(217, 192, 138, .14); }
.input.err { border-color: #e0a35c; box-shadow: 0 0 0 3px rgba(224, 163, 92, .2); }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px;
  border: 1px solid rgba(217, 192, 138, .25); cursor: pointer; font-size: 15px; color: var(--bone);
  transition: border-color .2s, transform .2s, background .2s;
}
.opt:hover { border-color: var(--gold); transform: translateX(4px); }
.opt input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--gold); margin: 0; }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(217, 192, 138, .08); }
.f-err { font-size: 13px; color: #e8b878; }

/* ---------- ortak animasyonlar ---------- */
@keyframes rd-spin { to { transform: rotate(360deg); } }
@keyframes rd-spin-r { to { transform: rotate(-360deg); } }
@keyframes rd-eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes rd-shine { 0% { transform: translateX(-150%) skewX(-20deg); } 60%, 100% { transform: translateX(600%) skewX(-20deg); } }
@keyframes rd-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
@keyframes rd-pt-out { 0%, 95% { visibility: visible; } 100% { visibility: hidden; } }
@keyframes rd-wipe { to { transform: translateY(-101%); } }
@keyframes rd-pt-fade { to { opacity: 0; transform: scale(1.3); } }
@keyframes rd-slice { 0%, 100% { transform: translateX(-110%); } 5% { transform: translateX(110%); } }
@keyframes rd-glitch-fast { 0%, 100% { transform: none; } 20% { transform: translateX(6px) skewX(-10deg); } 24% { transform: translateX(-5px); } 28% { transform: none; } 62% { transform: translateX(3px) skewX(6deg); } 65% { transform: none; } }
@keyframes rd-glitch { 0%, 90%, 100% { transform: none; opacity: 1; } 91% { transform: translateX(5px) skewX(-8deg); opacity: .8; } 93% { transform: translateX(-4px); } 95% { transform: translateX(2px) skewX(5deg); } 97% { transform: none; } }
@keyframes rd-drop { 0% { transform: translateY(-80px) rotateX(70deg) scale(1.1); opacity: 0; } 60% { transform: translateY(8px) rotateX(-6deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes rd-rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rd-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes rd-floor { from { transform: translateY(0); } to { transform: translateY(80px); } }
@keyframes rd-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rd-marq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes rd-bb { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: .85; } 100% { transform: translate3d(-120px, -900px, 0); opacity: 0; } }
@keyframes rd-cube { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.glitch { display: inline-block; animation: rd-glitch 4s infinite; }
.blink { animation: rd-blink 1.1s steps(1) infinite; }
.drop-in { animation: rd-drop .9s .35s var(--ease) both; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 640px) {
  .site-header { padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 19px; letter-spacing: 1.5px; }
  .brand-tag { font-size: 9px; letter-spacing: 2px; }
  .section { padding: 64px 0; }
  .btn, .btn-ghost { font-size: 17px; padding: 0 22px; }
  .music { left: 12px; bottom: 12px; gap: 8px; padding: 4px 4px 4px 10px; }
  .music-txt { display: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 17px; }
  .brand-tag { display: none; }
}

/* ---------- hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Karargâh bağlantısı ve sponsor rozeti ---------- */
.nav .nav-hq { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-2); font-size: 14px; color: var(--sand); }
.nav .nav-hq::after { display: none; }
.nav .nav-hq:hover { border-color: var(--gold); color: var(--gold); }
.mobile-menu .m-hq { border-style: dashed; color: var(--sand); }
.f-sp { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border: 1px solid var(--line-2); text-decoration: none; transition: border-color .25s, transform .25s; }
.f-sp:hover { border-color: var(--gold); transform: translateY(-2px); }
.f-sp span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; color: var(--sand); }
.f-sp b { font-family: var(--f-disp); font-weight: 800; font-size: 17px; letter-spacing: 1.5px; color: var(--gold); }
@media (max-width: 1360px) { .nav { gap: 20px; font-size: 16px; letter-spacing: 1.5px; } }
@media (max-width: 1200px) { .nav { gap: 16px; font-size: 15px; } .nav .nav-hq { padding: 6px 9px; } }

/* =========================================================================
   Tasarım: arka plan temaları — ziyaretçi seçer, bu tarayıcıda saklanır (boot.js uygular)
   ========================================================================= */
html[data-bg="ranger"] { --bg: #262b20; --bg-2: #2f3528; --bg-3: #2a2f23; --bg-4: #2c3225; }
html[data-bg="topo"] { --bg: #1f2318; --bg-2: #272c1f; --bg-3: #23271b; --bg-4: #25291d; }
html[data-bg="camo"] { --bg: #1b1f15; --bg-2: #252a1d; --bg-3: #21251a; --bg-4: #23271b; }
html[data-bg="night"] { --bg: #14160e; --bg-2: #20241a; --bg-3: #1a1d14; --bg-4: #1c1f15; }
html[data-bg] body { background: var(--bg); transition: background-color .6s; }
html[data-bg] body::before, html[data-bg] body::after { content: ''; position: fixed; z-index: -1; pointer-events: none; }
/* düz ranger green: yalnızca hafif köşe gölgesi */
html[data-bg="ranger"] body::after { inset: 0; background: radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(10, 12, 7, .55)); }
/* topografik harita: çizgiler yavaşça kayar, üstünde gezinen harita ışığı */
html[data-bg="topo"] body::before { top: -600px; left: -600px; right: 0; bottom: 0; background: url(../img/bg-topo.svg) 0 0 / 600px 600px repeat; animation: bg-drift 150s linear infinite; will-change: transform; }
html[data-bg="topo"] body::after { inset: -20%; background: radial-gradient(38% 32% at 50% 50%, rgba(217, 192, 138, .10), transparent 70%); animation: bg-lamp 26s ease-in-out infinite alternate; }
/* kamuflaj: soluk woodland, çok yavaş akar */
html[data-bg="camo"] body::before { top: -600px; left: -600px; right: 0; bottom: 0; background: url(../img/bg-camo.svg) 0 0 / 600px 600px repeat; opacity: .34; animation: bg-drift 240s linear infinite reverse; will-change: transform; }
html[data-bg="camo"] body::after { inset: 0; background: radial-gradient(120% 90% at 50% 35%, transparent 45%, rgba(10, 12, 7, .7)); }
/* gece operasyonu: ilerleyen taktik ızgara + tarayan projektör */
html[data-bg="night"] body::before { top: -64px; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(0deg, rgba(217, 192, 138, .05) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, rgba(217, 192, 138, .05) 0 1px, transparent 1px 64px); animation: bg-grid 7s linear infinite; will-change: transform; }
html[data-bg="night"] body { background: radial-gradient(70% 900px at 50% -120px, rgba(67, 71, 49, .85), transparent 70%) no-repeat, var(--bg); }
html[data-bg="night"] body::after { top: 0; bottom: 0; left: 0; width: 45vw; background: linear-gradient(100deg, transparent 10%, rgba(217, 192, 138, .065) 50%, transparent 90%); animation: bg-sweep 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes bg-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(600px, 600px, 0); } }
@keyframes bg-lamp { 0% { transform: translate3d(-18%, -10%, 0); } 50% { transform: translate3d(12%, 8%, 0); } 100% { transform: translate3d(20%, -12%, 0); } }
@keyframes bg-grid { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 64px, 0); } }
@keyframes bg-sweep { from { transform: translate3d(-50vw, 0, 0) skewX(-8deg); } to { transform: translate3d(110vw, 0, 0) skewX(-8deg); } }
@media (prefers-reduced-motion: reduce) { html[data-bg] body::before, html[data-bg] body::after { animation: none !important; } }

/* seçici */
.tz { position: fixed; right: 16px; bottom: 16px; z-index: 51; font-family: var(--f-mono); }
.tz-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(217, 192, 138, .5); background: rgba(18, 19, 12, .95); color: var(--gold); font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.5px; }
.tz-btn:hover, .tz.open .tz-btn { border-color: var(--gold); }
.tz-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--gold); background: conic-gradient(#12130c 0 25%, #262b20 0 50%, #434731 0 75%, #d9c08a 0); }
.tz-panel { position: absolute; right: 0; bottom: 54px; width: min(340px, calc(100vw - 32px)); padding: 16px; background: rgba(18, 19, 12, .97); border: 1px solid var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.tz-panel[hidden] { display: none; }
.tz-h { margin: 0 0 12px; font-family: var(--f-disp); font-weight: 900; font-size: 22px; letter-spacing: 1px; color: var(--bone); }
.tz-h small { display: block; margin-top: 2px; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: 1.5px; color: var(--sand); }
.tz-list { display: grid; gap: 8px; }
.tz-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); background: transparent; color: var(--label); text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; transition: border-color .2s, background .2s; }
.tz-opt:hover { border-color: var(--line-2); background: rgba(217, 192, 138, .05); }
.tz-opt[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(217, 192, 138, .08); }
.tz-opt b { display: block; font-family: var(--f-disp); font-weight: 800; font-size: 16px; letter-spacing: 1px; color: inherit; }
.tz-sw { width: 64px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line-2); background-color: #12130c; }
.tz-sw[data-v="ranger"] { background: radial-gradient(120% 90% at 50% 30%, transparent 50%, rgba(10, 12, 7, .5)), #262b20; }
.tz-sw[data-v="topo"] { background: url(../img/bg-topo.svg) 0 0 / 180px 180px, #1f2318; }
.tz-sw[data-v="camo"] { background: linear-gradient(rgba(27, 31, 21, .62), rgba(27, 31, 21, .62)), url(../img/bg-camo.svg) 0 0 / 150px 150px; }
.tz-sw[data-v="night"] { background: radial-gradient(70% 90% at 50% -10%, rgba(67, 71, 49, .9), transparent 70%), repeating-linear-gradient(0deg, rgba(217, 192, 138, .08) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(217, 192, 138, .08) 0 1px, transparent 1px 10px), #14160e; }
@media (max-width: 640px) {
  .tz-btn span { display: none; }
  .tz-btn { width: 44px; padding: 0; justify-content: center; }
}
