/* ==========================================================================
   BLACK NOVA ONLINE - web sitesi ("Kokpit" teması: lacivert uzay + camgöbeği vurgu + köşe işaretçili paneller)
   Bootstrap KULLANILMAZ; tüm bileşenler burada. CSP: satır içi stil yok (genişlikler data-pct + JS ile).
   ========================================================================== */

@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("../fonts/Rajdhani-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("../fonts/Rajdhani-Bold.ttf") format("truetype"); }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/IBMPlexSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "PlexMono"; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype"); }

:root {
    --bg: #02050c;
    --bg2: #040a16;
    --panel: rgba(8, 17, 32, .74);
    --panel-solid: #08111f;
    --line: rgba(64, 160, 220, .26);
    --line-strong: rgba(64, 200, 255, .55);
    --accent: #3fd0ff;
    --accent-dim: #1a7fae;
    --accent-glow: rgba(63, 208, 255, .35);
    --gold: #ffb84d;
    --red: #ff5d6c;
    --green: #4fe3a8;
    --violet: #a78bfa;
    --text: #e8f3ff;
    --dim: #93a9bf;
    --dimmer: #62798f;
    --radius: 6px;
    --head: "Rajdhani", "Segoe UI", sans-serif;
    --body: "Plex", "Segoe UI", system-ui, sans-serif;
    --mono: "PlexMono", Consolas, monospace;
    --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16.5px; line-height: 1.7;
    overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
img, video, canvas, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #9be4ff; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: .06em; }
h3 { font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; }
h4 { font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.ico { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
::selection { background: var(--accent); color: #02121c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

#starfield { position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%; pointer-events: none; }
.nebula-layer {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(60% 50% at 12% 8%, rgba(32, 110, 190, .26), transparent 70%),
        radial-gradient(50% 45% at 92% 30%, rgba(120, 50, 180, .16), transparent 70%),
        radial-gradient(60% 50% at 50% 110%, rgba(20, 90, 140, .22), transparent 70%);
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #02121c; padding: 8px 14px; z-index: 200; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.stack > * + * { margin-top: 1rem; }

/* ---------------------------------------------------------------- üst menü */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
    background: linear-gradient(180deg, rgba(2, 6, 14, .88), rgba(2, 6, 14, .55)); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(3, 8, 18, .92); }
.site-header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; letter-spacing: .14em; font-size: 1.35rem; color: var(--text); white-space: nowrap; }
.brand:hover { color: #fff; }
.brand__mark { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255,140,20,.35)); }
.brand b { color: var(--accent); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__group > button {
    background: none; border: 0; color: var(--dim); font: 600 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
    padding: 12px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; position: relative; transition: color .2s;
}
.nav > a:hover, .nav__group > button:hover, .nav__group:focus-within > button, .nav a.is-active, .nav__group.is-active > button { color: var(--text); }
.nav a.is-active::after, .nav__group.is-active > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.nav__group { position: relative; }
.nav__group .ico { width: .8em; height: .8em; transition: transform .2s; }
.nav__menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: rgba(5, 12, 24, .97); border: 1px solid var(--line);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.nav__menu::before { content: ""; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .ico, .nav__group.is-open .ico { transform: rotate(180deg); }
.nav__menu a { display: block; padding: 10px 14px; color: var(--dim); font-weight: 500; border-radius: 3px; }
.nav__menu a:hover, .nav__menu a.is-active { background: rgba(63, 208, 255, .1); color: var(--text); }
.nav__menu small { display: block; color: var(--dimmer); font-size: .8rem; }
.header-end { display: flex; align-items: center; gap: 12px; }
.status-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px;
    font: 600 .8rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: rgba(5, 12, 24, .6); white-space: nowrap;
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.status-pill.is-online { color: var(--green); border-color: rgba(79, 227, 168, .4); }
.status-pill.is-online i { background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 46px; height: 46px; border-radius: 4px; cursor: pointer; margin-left: auto; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-weight: 500; }
.user-chip b { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- düğmeler */
.btn {
    --c1: #2fb8ee; --c2: #1673a0;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border: 0; cursor: pointer; position: relative;
    font: 700 1.05rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #02131d;
    background: linear-gradient(180deg, var(--c1), var(--c2));
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: transform .2s, filter .2s; text-decoration: none;
}
.btn:hover { color: #02131d; filter: brightness(1.15) drop-shadow(0 0 14px var(--accent-glow)); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: rgba(63, 208, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { color: #fff; background: rgba(63, 208, 255, .16); }
.btn--gold { --c1: #ffc866; --c2: #d78a1d; }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--lg { padding: 18px 40px; font-size: 1.2rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; pointer-events: none; }
.btn .ico { width: 1.15em; height: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------------------------------------------------------------- bölüm iskeleti */
main { flex: 1; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(5, 14, 28, .72) 12%, rgba(5, 14, 28, .72) 88%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .95rem/1 var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 38px; height: 2px; background: linear-gradient(270deg, var(--accent), transparent); }
.lead { font-size: 1.22rem; color: #c3d6e8; line-height: 1.65; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* köşe işaretçili çerçeve */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; transition: .25s; z-index: 2; }
.frame::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.frame::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.frame:hover::before, .frame:hover::after { width: 30px; height: 30px; }

.card {
    position: relative; background: var(--panel); border: 1px solid var(--line); padding: 28px; backdrop-filter: blur(6px);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card--hover:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 30px rgba(63, 208, 255, .08); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(63, 208, 255, .08); color: var(--accent); margin-bottom: 18px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.icon-box .ico { width: 26px; height: 26px; }
.icon-box--gold { color: var(--gold); border-color: rgba(255, 184, 77, .5); background: rgba(255, 184, 77, .08); }
.icon-box--red { color: var(--red); border-color: rgba(255, 93, 108, .5); background: rgba(255, 93, 108, .08); }
.tag { display: inline-block; padding: 3px 10px; font: 600 .78rem/1.5 var(--head); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--accent); background: rgba(63, 208, 255, .07); }
.tag--gold { color: var(--gold); border-color: rgba(255, 184, 77, .5); background: rgba(255, 184, 77, .08); }
.tag--red { color: var(--red); border-color: rgba(255, 93, 108, .5); background: rgba(255, 93, 108, .08); }
.tag--green { color: var(--green); border-color: rgba(79, 227, 168, .5); background: rgba(79, 227, 168, .08); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .55em; color: #c3d6e8; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border: 2px solid var(--accent); transform: rotate(45deg) scale(.7); box-shadow: 0 0 8px var(--accent-glow); }

/* ---------------------------------------------------------------- KAHRAMAN (ana sayfa) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 150px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -6% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 5, 12, .55) 0%, rgba(2, 5, 12, .2) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(2, 5, 12, .85) 0%, rgba(2, 5, 12, .15) 70%); }
.hero__in { max-width: 760px; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 18px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.4rem); letter-spacing: .06em; text-transform: uppercase; line-height: .92; margin-bottom: .2em; text-shadow: 0 0 40px rgba(63, 208, 255, .25); }
.hero h1 span { display: block; background: linear-gradient(90deg, #7fdcff, var(--accent), #3b9bff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(63, 208, 255, .35)); }
.hero .lead { max-width: 600px; font-size: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__scroll { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); color: var(--dim); font: 600 .78rem/1 var(--head); letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: linear-gradient(180deg, transparent, rgba(2, 6, 14, .92)); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.stats__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(2rem, 4vw, 2.9rem)/1 var(--head); color: #fff; text-shadow: 0 0 18px var(--accent-glow); }
.stat span { font: 600 .82rem/1.3 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(4, 10, 20, .8); padding: 16px 0; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; font: 700 1.3rem/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--dimmer); }
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__track span::after { content: "◆"; color: var(--accent-dim); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- IRK ŞERİDİ */
.races { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.race { position: relative; min-height: 560px; display: flex; align-items: flex-end; padding: 44px; overflow: hidden; isolation: isolate; }
.race__bg { position: absolute; inset: 0; z-index: -2; }
.race__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.race:hover .race__bg img { transform: scale(1.06); }
.race::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 5, 12, .15), rgba(2, 5, 12, .94) 82%); }
.race--human { border-right: 1px solid var(--line); }
.race h3 { font-size: 2.2rem; margin-bottom: .2em; }
.race--human h3 { color: var(--accent); }
.race--alien h3 { color: var(--green); }
.race p { max-width: 460px; color: #c8d9e8; }
.race ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------------------------------------------------------------- bölünmüş (görsel + yazı) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.split__media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); z-index: -1; }
.split--rev .split__media::after { inset: 14px 14px -14px -14px; }

/* ---------------------------------------------------------------- sekmeler */
.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tabs__nav button { background: none; border: 0; color: var(--dim); font: 700 1.1rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 14px 24px; cursor: pointer; position: relative; transition: color .2s; }
.tabs__nav button:hover { color: var(--text); }
.tabs__nav button.is-active { color: var(--accent); }
.tabs__nav button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- istatistik çubukları */
.bars { display: grid; gap: 14px; margin: 22px 0; }
.bar { display: grid; grid-template-columns: 90px 1fr 56px; align-items: center; gap: 14px; }
.bar label { font: 600 .95rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bar__track { height: 10px; background: rgba(255, 255, 255, .06); position: relative; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.bar__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); box-shadow: 0 0 12px var(--accent-glow); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar--gold .bar__fill { background: linear-gradient(90deg, #b9741a, var(--gold)); }
.bar--green .bar__fill { background: linear-gradient(90deg, #1d8f66, var(--green)); }
.bar--red .bar__fill { background: linear-gradient(90deg, #a53441, var(--red)); }
.bar output { font: 600 1rem/1 var(--mono); text-align: right; color: var(--text); }

/* ---------------------------------------------------------------- gemi kartları / harita kartları */
.ship-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ship-panel__img img { width: 100%; border: 1px solid var(--line); }
.ship-panel h3 { font-size: 2rem; margin-bottom: .1em; }
.ship-panel .role { color: var(--accent); font: 600 1rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.map-card { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--line); isolation: isolate; transition: border-color .3s, transform .3s; }
.map-card:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.map-card:hover img { transform: scale(1.08); }
.map-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 5, 12, 0) 20%, rgba(2, 5, 12, .95)); }
.map-card__body { padding: 26px; }
.map-card h3 { margin-bottom: .1em; font-size: 1.6rem; }
.map-card small { display: block; color: var(--accent); font: 600 .85rem/1.4 var(--head); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.map-card p { color: #c3d6e8; font-size: .96rem; margin: 0; }
.map-no { position: absolute; top: 16px; right: 20px; font: 700 4rem/1 var(--head); color: rgba(255, 255, 255, .12); }

/* ---------------------------------------------------------------- dron sahnesi */
.drone-stage { position: relative; background: radial-gradient(60% 70% at 50% 45%, rgba(63, 208, 255, .14), transparent 70%); border: 1px solid var(--line); padding: 20px; }
.drone-stage img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.drone-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 20px 0; }
.drone-spec div { background: var(--panel-solid); padding: 14px 10px; text-align: center; }
.drone-spec b { display: block; font: 700 1.7rem/1 var(--head); color: #fff; }
.drone-spec span { font: 600 .74rem/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------------------------------------------------------------- tablo */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table.t { width: 100%; border-collapse: collapse; min-width: 560px; }
table.t th { font: 700 .9rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-strong); background: rgba(63, 208, 255, .05); }
table.t td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: #c3d6e8; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: rgba(63, 208, 255, .04); }
kbd { font: 500 .9rem/1 var(--mono); padding: 5px 9px; border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 4px; background: rgba(63, 208, 255, .07); color: var(--text); white-space: nowrap; display: inline-block; margin: 2px 0; }

/* ---------------------------------------------------------------- haber kartları */
.news-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; color: var(--text); }
.news-card:hover { transform: translateY(-5px); border-color: var(--line-strong); color: var(--text); }
.news-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: #050c18; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.news-card:hover .news-card__img img { transform: scale(1.07); }
.news-card__img.contain img { object-fit: contain; padding: 8px; }
.news-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.news-card__meta { display: flex; align-items: center; gap: 12px; color: var(--dimmer); font-size: .86rem; }
.news-card h3 { margin: 0; font-size: 1.25rem; text-transform: none; letter-spacing: .02em; }
.news-card p { color: var(--dim); font-size: .95rem; margin: 0; flex: 1; }
.article { padding-top: 24px; }
.article__hero { aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--line); margin-bottom: 36px; background: #050c18; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__hero.contain img { object-fit: contain; }
.article p { font-size: 1.1rem; color: #cfdeed; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--dimmer); font-size: .9rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--dim); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: var(--dimmer); }

/* ---------------------------------------------------------------- galeri */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { background: rgba(63, 208, 255, .05); color: var(--dim); border: 1px solid var(--line); padding: 10px 22px; font: 700 .95rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active { color: #02131d; background: var(--accent); border-color: var(--accent); }
.gallery { columns: 3 320px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; cursor: zoom-in; overflow: hidden; border: 1px solid var(--line); background: #050c18; }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; transition: transform .6s ease, filter .3s; }
.gallery figure:hover img { transform: scale(1.05); filter: brightness(1.1); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(2, 5, 12, .92)); font: 600 .95rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(1, 3, 8, .94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; animation: fadeUp .25s ease; }
.lightbox img { max-width: min(1500px, 100%); max-height: 86vh; border: 1px solid var(--line-strong); box-shadow: 0 0 80px rgba(63, 208, 255, .15); }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--dim); font: 600 1rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.lightbox button { position: absolute; background: rgba(5, 12, 24, .8); border: 1px solid var(--line-strong); color: var(--text); width: 48px; height: 48px; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--accent); color: #02131d; }
.lightbox__x { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%) rotate(-90deg); }

/* ---------------------------------------------------------------- video */
.video-card { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; background: #000; }
.video-card img, .video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(2, 5, 12, .7), rgba(2, 5, 12, .15)); border: 0; cursor: pointer; color: #fff; width: 100%; }
.video-card__play span { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--accent); background: rgba(63, 208, 255, .15); box-shadow: 0 0 40px var(--accent-glow); transition: transform .25s; }
.video-card__play:hover span { transform: scale(1.1); }
.video-card__play .ico { width: 38px; height: 38px; fill: currentColor; margin-left: 6px; }
.video-card__cap { position: absolute; left: 22px; bottom: 18px; font: 700 1.2rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 10px #000; pointer-events: none; }

/* ---------------------------------------------------------------- SSS (details) */
.faq-group { margin-bottom: 44px; }
.faq-group h3 { color: var(--accent); margin-bottom: 14px; }
details.faq { border: 1px solid var(--line); background: var(--panel); margin-bottom: 10px; transition: border-color .2s; }
details.faq[open] { border-color: var(--line-strong); }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 1.18rem/1.3 var(--head); letter-spacing: .04em; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--mono); color: var(--accent); transition: transform .25s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq .faq__a { padding: 0 22px 20px; color: #c3d6e8; }

/* ---------------------------------------------------------------- adımlar */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: s; position: relative; padding: 32px 26px 26px; background: var(--panel); border: 1px solid var(--line); }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: -18px; left: 20px; font: 700 2.4rem/1 var(--head); color: var(--accent); background: var(--bg); padding: 0 12px; text-shadow: 0 0 16px var(--accent-glow); }
.step h3 { font-size: 1.3rem; }
.req { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.req dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; }
.req dt { color: var(--dim); font: 600 .9rem/1.5 var(--head); letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.req dd { margin: 0; color: var(--text); }

/* ---------------------------------------------------------------- CTA bandı */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(60px, 8vw, 110px) 0; text-align: center; border-block: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(2, 5, 12, .6) 30%, rgba(2, 5, 12, .6) 70%, var(--bg)); }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band .hero__cta { justify-content: center; }

/* ---------------------------------------------------------------- alt sayfa kahramanı */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 70px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 5, 12, .15), var(--bg) 96%), linear-gradient(90deg, rgba(2, 5, 12, .82), rgba(2, 5, 12, .05) 75%); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; margin-bottom: .25em; }
.page-hero .lead { max-width: 680px; margin: 0; }

/* ---------------------------------------------------------------- formlar (hesap) */
.auth { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 60px; position: relative; isolation: isolate; }
.auth__bg { position: absolute; inset: 0; z-index: -2; }
.auth__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 40%, rgba(2, 5, 12, .35), rgba(2, 5, 12, .95)); }
.auth-card { width: min(480px, 100% - 32px); padding: 38px; background: rgba(5, 12, 24, .88); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.auth-card--wide { width: min(760px, 100% - 32px); }
.auth-card h1 { font-size: 2.3rem; text-transform: uppercase; margin-bottom: .15em; }
.field { margin-bottom: 20px; }
.field label, .form-label { display: block; font: 600 .95rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.form-control {
    width: 100%; background: rgba(2, 8, 18, .8); border: 1px solid var(--line); color: var(--text); padding: 14px 16px; font: 500 1rem/1.3 var(--body);
    transition: border-color .2s, box-shadow .2s; border-radius: 0;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63, 208, 255, .15), inset 0 0 14px rgba(63, 208, 255, .06); }
.form-text { color: var(--dimmer); font-size: .86rem; margin-top: 6px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; color: #c3d6e8; }
.form-check-input { appearance: none; width: 20px; height: 20px; margin-top: 3px; border: 1px solid var(--line-strong); background: rgba(2, 8, 18, .8); cursor: pointer; flex: 0 0 auto; position: relative; }
.form-check-input:checked { background: var(--accent); }
.form-check-input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #02131d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form-check-label { cursor: pointer; }
.text-danger, .field-validation-error, .validation-summary-errors { color: #ff8f99 !important; font-size: .9rem; }
.validation-summary-errors ul { list-style: none; padding: 0; margin: 0 0 16px; }
.alert { padding: 14px 18px; border: 1px solid var(--line); margin-bottom: 20px; }
.alert-success { border-color: rgba(79, 227, 168, .5); background: rgba(79, 227, 168, .1); color: #b9f5dc; }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 24px 0 0; border: 1px solid var(--line); }
.dl dt, .dl dd { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.dl dt { background: rgba(63, 208, 255, .05); color: var(--dim); font: 600 .9rem/1.6 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.dl dt:last-of-type, .dl dd:last-of-type { border-bottom: 0; }

/* ---------------------------------------------------------------- altbilgi */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 8, 18, .6), rgba(2, 5, 12, .97)); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--dim); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { color: var(--dimmer); max-width: 340px; margin-top: 16px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; color: var(--dimmer); font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(5, 12, 24, .9); border: 1px solid var(--line-strong); color: var(--accent); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #02131d; }
.to-top .ico { transform: rotate(180deg); }

/* ---------------------------------------------------------------- kaydırma animasyonu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; } .reveal--d2 { transition-delay: .2s; } .reveal--d3 { transition-delay: .3s; } .reveal--d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- duyarlı */
@media (max-width: 1100px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav > a, .nav__group > button { padding: 12px 10px; font-size: .95rem; }
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .header-end .status-pill { display: none; }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 40px;
        background: rgba(2, 6, 14, .98); overflow-y: auto; transform: translateX(100%); transition: transform .3s; border-top: 1px solid var(--line);
    }
    .nav.is-open { transform: none; }
    .nav > a, .nav__group > button { padding: 18px 4px; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.15rem; justify-content: space-between; }
    .nav a.is-active::after, .nav__group.is-active > button::after { display: none; }
    .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: transparent; padding: 4px 0 12px 16px; }
    .nav__menu::before { display: none; }
    .nav__group.is-open .nav__menu { display: block; }
    .nav__group:hover .nav__menu { display: none; }
    .nav__group.is-open:hover .nav__menu { display: block; }
    .header-end { margin-left: 0; flex-direction: column; align-items: stretch; width: 100%; }
    .split, .split--rev, .ship-panel, .req { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 0; }
    .races { grid-template-columns: 1fr; }
    .race { min-height: 440px; }
    .grid--3 { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .stats__in { grid-template-columns: repeat(3, 1fr); }
    .stat:nth-child(n+4) { display: none; }
    .stat:nth-child(3) { border-right: 0; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .container { width: calc(100% - 32px); }
    .hero { padding-bottom: 130px; }
    .hero__scroll { display: none; }
    .bar { grid-template-columns: 72px 1fr 44px; gap: 10px; }
    .drone-spec { grid-template-columns: repeat(2, 1fr); }
    .dl { grid-template-columns: 1fr; }
    .dl dt { border-bottom: 0; padding-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 26px 20px; }
    .stats__in { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { display: none; }
    .stat:nth-child(2) { border-right: 0; }
    .lightbox { padding: 12px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; }
    .lightbox__prev { left: 18px; transform: rotate(90deg); }
    .lightbox__next { right: 18px; transform: rotate(-90deg); }
}
.gap-top { margin-top: 24px; }
.header-form { margin: 0; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; color: var(--accent); }
.prose p, .prose li { color: #cfdeed; }

.race-logo{display:block;margin:0 0 10px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(0,214,255,.35))}

/* canli oyuncu sayaci (ana sayfa kahraman alani) */
.hero__live { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; font-size: 15px; color: var(--muted, #8796a5); letter-spacing: .02em; }
.hero__live b { font-family: var(--font-display, inherit); font-size: 22px; color: var(--text, #e4ebf2); margin-right: 6px; }
.hero__live i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--red, #ef4444); box-shadow: 0 0 8px var(--red, #ef4444); vertical-align: middle; }
.hero__live.is-online i { background: var(--green, #4fe3a8); box-shadow: 0 0 10px var(--green, #4fe3a8); animation: pulse 2s infinite; }
