/* Nitro Rivals tanıtım sitesi.
   Harici yazı tipi ya da kaynak yok: yalnızca sistem yazı tipleri ve yerel görseller. */

:root {
  --bg: #07090f;
  --bg-alt: #0b0f19;
  --panel: #121827;
  --panel-2: #171f31;
  --line: rgba(255, 255, 255, .09);
  --text: #e9edf5;
  --muted: #9ba7bd;
  --orange: #ff6a1a;      /* nitro turuncusu */
  --amber: #ffb224;
  --blue: #27b4ff;        /* neon mavi */
  --varkan: #e23a2e;      /* ulus rengi: kızıl */
  --selenya: #2f86ff;     /* ulus rengi: mavi */
  --radius: 14px;
  --wrap: 1180px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow-wrap { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #000; padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 22px; min-height: 62px; }
.brand { display: inline-flex; gap: 7px; font-weight: 900; font-style: italic; letter-spacing: .04em; font-size: 20px; text-decoration: none; white-space: nowrap; }
.brand-n { color: var(--orange); }
.brand-r { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover, .nav a.is-here { color: #fff; background: rgba(255, 255, 255, .07); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.lang button {
  font: 700 13px/1 var(--sans); letter-spacing: .06em; color: var(--muted);
  background: transparent; border: 0; padding: 9px 12px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--orange); color: #120600; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; padding: 11px 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.menu-btn span + span { margin-top: 6px; }

/* ---------- Kahraman alanı ---------- */
.hero { position: relative; isolation: isolate; padding: 84px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, .55) 0%, rgba(7, 9, 15, .35) 35%, var(--bg) 96%),
    linear-gradient(100deg, rgba(7, 9, 15, .92) 0%, rgba(7, 9, 15, .55) 45%, rgba(7, 9, 15, .1) 100%),
    url("../img/yaris-aksiyon.jpg") center / cover no-repeat;
}
/* Hız çizgileri */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(100deg, transparent 0 140px, rgba(255, 106, 26, .05) 140px 142px, transparent 142px 320px, rgba(39, 180, 255, .05) 320px 322px);
}
.hero-in { padding-bottom: 54px; max-width: var(--wrap); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(255, 178, 36, .35); background: rgba(255, 178, 36, .08);
  padding: 6px 12px; border-radius: 999px;
}
.logo {
  margin-top: 22px;
  font-size: clamp(54px, 12vw, 148px); line-height: .88; font-weight: 900; font-style: italic;
  letter-spacing: -.01em; text-transform: uppercase;
}
.logo span { display: block; }
.logo-n {
  background: linear-gradient(180deg, #ffd27a 0%, var(--orange) 55%, #c93a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(255, 106, 26, .45));
}
.logo-r {
  color: #fff; padding-left: .5em;
  text-shadow: 0 0 34px rgba(39, 180, 255, .55), 3px 3px 0 rgba(226, 58, 46, .9);
}
.slogan {
  margin-top: 26px; font-size: clamp(22px, 3.4vw, 34px); font-weight: 800; font-style: italic;
  letter-spacing: .01em;
}
.lead { margin-top: 14px; max-width: 620px; color: #cdd5e3; font-size: clamp(17px, 1.6vw, 19px); }
.lead.narrow { max-width: 760px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 26px; border-radius: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: .01em; text-decoration: none;
  transform: skewX(-8deg); transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn .btn-label { display: inline-block; transform: skewX(8deg); }
.btn-steam { background: linear-gradient(180deg, #ff8a2b, var(--orange)); color: #160700; box-shadow: 0 10px 34px rgba(255, 106, 26, .35); }
.btn-discord { background: rgba(39, 180, 255, .12); color: #d8f1ff; border: 1px solid rgba(39, 180, 255, .6); }
.btn:hover { transform: skewX(-8deg) translateY(-2px); filter: brightness(1.08); }
.btn.is-disabled {
  background: rgba(255, 255, 255, .06); color: #8791a6; border: 1px dashed rgba(255, 255, 255, .22);
  box-shadow: none; cursor: not-allowed; filter: none;
}
.btn.is-disabled:hover { transform: skewX(-8deg); }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats li { background: rgba(13, 17, 27, .88); padding: 18px 12px; text-align: center; }
.stats b { display: block; font-size: clamp(28px, 4vw, 42px); line-height: 1; font-weight: 900; font-style: italic; color: var(--orange); }
.stats li:nth-child(even) b { color: var(--blue); }
.stats span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bölümler ---------- */
.sec { padding: 92px 0; }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.kicker::before { content: ""; display: inline-block; width: 34px; height: 3px; margin-right: 12px; vertical-align: middle; background: linear-gradient(90deg, var(--orange), var(--blue)); transform: skewX(-20deg); }
h2 { margin-top: 10px; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.005em; }
.sub { margin-top: 64px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; font-style: italic; text-transform: uppercase; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* Kartlar */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-top: 40px; }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 26, .5); }
.card .num { font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: .1em; color: var(--orange); }
.card:nth-child(even) .num { color: var(--blue); }
.card h3 { margin-top: 8px; font-size: 21px; font-weight: 800; }
.card p { margin-top: 10px; color: #b9c3d6; font-size: 16px; }

/* Skiller */
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.skills li {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.skills kbd {
  grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center;
  font: 900 20px/1 var(--sans); color: #fff; background: #0a0d15;
  border: 1px solid rgba(255, 255, 255, .22); border-bottom-width: 4px; border-radius: 9px;
}
.skills b { font-size: 16px; }
.skills span { font-size: 14px; color: var(--muted); line-height: 1.35; }

/* Fragman */
.video { position: relative; margin-top: 36px; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff;
  background: #05070c center / cover no-repeat;   /* kareyi site.js yazar (CONFIG.trailerPoster) */
  font: 800 20px/1.2 var(--sans); display: grid; place-items: center; gap: 12px; align-content: center;
}
.video-play::before {
  content: ""; width: 86px; height: 86px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23160700' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 46px no-repeat;
  box-shadow: 0 0 0 10px rgba(255, 106, 26, .22);
}

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 40px; }
.shot {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: #000; color: #fff; text-decoration: none; cursor: zoom-in;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); }
.shot .cap {
  position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; font-size: 14px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

/* Büyük görüntü penceresi */
.lb {
  position: fixed; inset: 0; z-index: 200; background: rgba(3, 4, 8, .94);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 16px 8px;
}
.lb-fig { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; border-radius: 10px; box-shadow: 0 20px 80px rgba(0, 0, 0, .8); }
.lb-fig figcaption { color: #dfe6f2; font-size: 16px; text-align: center; }
.lb button { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--line); cursor: pointer; font: 400 34px/1 var(--sans); }
.lb button:hover { background: var(--orange); color: #160700; }
.lb-nav { width: 48px; height: 72px; border-radius: 10px; justify-self: center; }
.lb-x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; z-index: 1; }
body.lb-open { overflow: hidden; }

/* Kipler */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.mode { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 24px; }
.mode:nth-child(even) { border-top-color: var(--blue); }
.mode h3 { font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.mode p { margin-top: 10px; color: #b9c3d6; font-size: 16px; }

/* Lig merdiveni */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; align-items: end; }
.lg { --c: #c08a5a; background: var(--panel); border: 1px solid var(--line); border-bottom: 4px solid var(--c); border-radius: 12px; padding: 18px 16px; display: grid; gap: 6px; }
.lg-n { font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.lg b { font-size: 16px; line-height: 1.3; }
.lg > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.4; }
.lg-1 { --c: #c98654; }
.lg-2 { --c: #c4ccd8; padding-top: 30px; }
.lg-3 { --c: #ffc93a; padding-top: 42px; }
.lg-4 { --c: #6fe0ff; padding-top: 54px; }
.lg-5 { --c: #ff5f8a; padding-top: 66px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 26px; margin-top: 28px; }
.rules li, .ticks li { position: relative; padding-left: 26px; color: #c4cddd; font-size: 16px; }
.rules li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 4px; background: var(--orange); transform: skewX(-25deg); }

/* Pilot Şehri */
.city { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 28px; align-items: start; }
.city .lead { margin-top: 0; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li::before { background: var(--blue); }
.story { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--amber); background: rgba(255, 178, 36, .06); border-radius: 0 12px 12px 0; color: #d7dcea; font-style: italic; font-size: 16px; }
.city-pics { display: grid; gap: 14px; }
.city-pics img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }

/* Uluslar */
.nations { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 28px; }
.nation { --c: var(--varkan); display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; height: 100%;
  background: var(--panel); border: 1px solid var(--c);   /* color-mix desteklemeyen tarayıcılar için */
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, var(--panel)), var(--panel) 70%);
  border-color: color-mix(in srgb, var(--c) 55%, transparent); border-radius: var(--radius); padding: 18px; }
.nation.selenya { --c: var(--selenya); }
.nation img { width: 150px; aspect-ratio: 6 / 13; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.nation h4 { font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: .04em; color: var(--c); }
.n-full { font-weight: 700; }
.n-motto { margin-top: 6px; font-style: italic; color: var(--amber); font-size: 15px; }
.nation p:last-child { margin-top: 10px; color: #c4cddd; font-size: 15.5px; }
.vs { font-size: 30px; font-weight: 900; font-style: italic; color: #fff; text-shadow: -2px 0 var(--varkan), 2px 0 var(--selenya); }

/* Araç sınıfları */
.classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 36px; }
.cls { --c: #b3b8c2; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cls img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.cls-body { position: relative; padding: 18px 20px 22px; border-top: 3px solid var(--c); }
.badge {
  display: inline-grid; place-items: center; min-width: 46px; height: 34px; padding: 0 10px;
  font-weight: 900; font-style: italic; font-size: 19px; color: #0a0d15; background: var(--c);
  border-radius: 7px; transform: skewX(-10deg);
}
.cls .badge { position: absolute; right: 18px; top: -19px; }
.cls h3 { font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--c); }
.lvl { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.names { margin-top: 10px; font-weight: 700; }
.cls-body p:last-child { margin-top: 6px; color: #b9c3d6; font-size: 15.5px; }
.cls-d { --c: #b3b8c2; }
.cls-c { --c: #59e673; }
.cls-b { --c: #4d9bff; }
.cls-a { --c: #b06bff; }
.cls-s { --c: #ff8c26; }
.cls-sp { --c: #ffd140; }
.special { margin-top: 26px; color: #c4cddd; }
.badge-x { --c: #35d6c8; font-size: 15px; height: 30px; margin-right: 8px; }

/* SSS */
.faq { margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq:first-of-type { margin-top: 32px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--orange); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 20px 20px; color: #c4cddd; }

/* Kapanış çağrısı */
.band { padding: 84px 0; text-align: center; background:
  radial-gradient(60% 120% at 15% 50%, rgba(226, 58, 46, .28), transparent 70%),
  radial-gradient(60% 120% at 85% 50%, rgba(47, 134, 255, .28), transparent 70%), var(--bg); }
.band h2 { margin-top: 0; }
.band p { margin-top: 12px; color: #c4cddd; }
.band .cta { justify-content: center; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.foot-in > div:nth-child(2) { text-align: right; }
.foot .fine { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; }
.brand-foot { font-size: 18px; margin-bottom: 6px; }
.foot a { color: #cfe9ff; }
.foot-links { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.foot-links a.is-disabled { color: #6f7a90; text-decoration: none; cursor: default; }

/* Kaydırınca belirme (yalnızca JS açıkken; hareket azaltma tercihine uyar) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .card, .btn { transition: none; }
}

/* ---------- Dar ekranlar ---------- */
@media print {
  .js .reveal { opacity: 1; transform: none; }
  .top, .lb { display: none; }
}

@media (max-width: 1000px) {
  .modes { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: 1fr; }
  .lg-2, .lg-3, .lg-4, .lg-5 { padding-top: 18px; }
  .city { grid-template-columns: 1fr; }
  .nations { grid-template-columns: 1fr; }
  .vs { text-align: center; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 14px;
    background: rgba(7, 9, 15, .97); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 6px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .top-in { gap: 12px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .sec { padding: 64px 0; }
  .hero { padding-top: 54px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .narrow-wrap { width: calc(100% - 32px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nation { grid-template-columns: 96px 1fr; gap: 14px; }
  .nation img { width: 96px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-in > div:nth-child(2) { text-align: left; }
  .foot-links { justify-content: flex-start; }
  .lb { grid-template-columns: 44px 1fr 44px; padding: 10px 4px; }
  .lb-nav { width: 38px; height: 56px; font-size: 26px; }
  .gallery { grid-template-columns: 1fr; }
}
