/* ==========================================================================
   FF8 ROLEPLAY — WEB SİTESİ
   Tasarım: FF8 afiş tasarımı × qb-uicore "Midnight Platinum · Ultra"
   - Zemin, cam paneller, bevel kenarlar, platin metal ve bildirimler
     qb-uicore/html/core.css + notify.css token'larıyla birebir aynıdır.
   - Marka vurgusu logonun kırmızısı; başlıklar Anton afiş fontu.
   - qb-uicore kuralı korunur: blur yok (header hariç), cam hissi
     gradyan + iç ışık + kenar parlamasıyla kurulur.
   - CSP gereği satır içi style="" yok; gecikme vb. değerleri app.js ayarlar.
   ========================================================================== */

/* ---------- yerel fontlar (Google Fonts kopyası, latin + latin-ext) ---------- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/Anton-latin-ext-0.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/Anton-latin-1.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/Inter-latin-ext-2.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/Inter-latin-3.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/JetBrainsMono-latin-ext-4.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/JetBrainsMono-latin-5.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* --- qb-uicore: gece mavisi mürekkep --- */
  --qb-ink-950: #03060E;
  --qb-ink-900: #060B18;
  --qb-ink-850: #080E1E;
  --qb-ink-800: #0B1224;
  --qb-ink-700: #101A32;
  --qb-ink-600: #16223F;
  --qb-ink-500: #1E2C50;

  /* --- qb-uicore: platin --- */
  --qb-plat-050: #FBFCFE;
  --qb-plat-100: #EEF2F7;
  --qb-plat-200: #DCE3EC;
  --qb-plat-300: #C9D1DC;
  --qb-plat-400: #AEB8C7;
  --qb-plat-500: #8E9AAB;

  --qb-metal: linear-gradient(135deg, #FBFCFE 0%, #EEF2F7 18%, #C9D1DC 48%, #A2ADBD 72%, #8E9AAB 100%);
  --qb-metal-soft: linear-gradient(135deg, #DCE3EC 0%, #C0CAD8 46%, #8A97A9 100%);
  --qb-metal-dark: linear-gradient(135deg, #2A3550 0%, #1A2338 48%, #101728 100%);
  --qb-metal-h: linear-gradient(90deg, #8E9AAB 0%, #EEF2F7 35%, #FBFCFE 50%, #DCE3EC 62%, #8E9AAB 100%);

  /* --- qb-uicore: şeffaf cam (blur yok) --- */
  --qb-glass-bg: linear-gradient(140deg, rgba(30, 45, 82, 0.62) 0%, rgba(13, 22, 44, 0.52) 45%, rgba(6, 11, 24, 0.46) 100%);
  --qb-glass-border: rgba(255, 255, 255, 0.14);
  --qb-glass-hi: rgba(255, 255, 255, 0.32);
  --qb-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20),
                     inset 0 0 0 1px rgba(255, 255, 255, 0.05),
                     inset 0 -18px 40px -30px rgba(255, 255, 255, 0.10),
                     0 24px 60px -22px rgba(0, 0, 0, 0.78),
                     0 2px 10px -4px rgba(0, 0, 0, 0.55),
                     0 0 0 1px rgba(2, 5, 12, 0.38);
  --qb-sheen: linear-gradient(160deg, rgba(46, 66, 110, 0.50) 0%, rgba(20, 32, 62, 0.28) 34%, rgba(6, 11, 24, 0) 78%);

  /* --- qb-uicore: hairline derinlik --- */
  --qb-edge-light: rgba(238, 242, 247, 0.24);
  --qb-edge-light-hi: rgba(238, 242, 247, 0.44);
  --qb-edge-dark: rgba(2, 5, 12, 0.78);
  --qb-bg-inset: rgba(3, 6, 14, 0.66);

  /* --- qb-uicore: durum renkleri --- */
  --qb-success: #8FD9B6;
  --qb-success-bg: rgba(24, 58, 46, 0.55);
  --qb-info: #A9C4E8;

  /* --- site --- */
  --bg: var(--qb-ink-950);
  --bg-2: var(--qb-ink-900);
  --bg-3: var(--qb-ink-800);
  --line: rgba(238, 242, 247, 0.10);
  --line-2: rgba(238, 242, 247, 0.18);

  --text: #F2F6FB;
  --muted: rgba(242, 246, 251, 0.68);
  /* küçük yazılarda okunabilirlik (WCAG AA'ya yakın): 0.36 -> 0.5 */
  --faint: rgba(242, 246, 251, 0.5);

  --red: #E3141B;
  --red-hi: #FF3036;
  --red-deep: #6E080C;
  --red-glow: rgba(227, 20, 27, 0.45);
  --red-rgb: 227, 20, 27;

  --green: var(--qb-success);
  --discord: #5865F2;

  --f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'Cascadia Mono', 'Consolas', monospace;

  --r-sm: 7px;
  --r: 11px;
  --r-lg: 15px;
  --r-xl: 20px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.18, 1.32, 0.38, 1);
  --wrap: 1280px;
  --header-h: 72px;
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  scrollbar-color: #2A3550 var(--bg);
  /* dekoratif taşmalar (güneş, eğik bant) yatay kaydırma yaratmasın; clip, sticky'yi bozmaz */
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 700px at 100% 0%, rgba(30, 44, 80, 0.30), transparent 60%),
    radial-gradient(900px 700px at 0% 45%, rgba(22, 34, 63, 0.30), transparent 60%);
  background-attachment: fixed;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background-image: var(--qb-metal-dark); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background-image: var(--qb-metal-soft); }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* qb-kbd: platin tuş kapağı */
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--qb-ink-900);
  background-image: var(--qb-metal);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(2, 5, 12, 0.5);
  border-bottom: 2px solid rgba(2, 5, 12, 0.62);
  border-radius: var(--r-sm);
  vertical-align: middle;
}

:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.red { color: var(--red); }

/* ikonlar: assets/icons.svg sprite'ı (<svg class="i"><use href="…#ad"/></svg>) */
.i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.i--fill { stroke: none; }

/* erişilebilirlik yardımcıları */
.sr-only, .sr-defs {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: var(--r);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

.inline-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.inline-link:hover { color: #fff; }

/* platin metal yazı (qb-text-metal) */
.metal {
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* qb-noise film greni */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ==========================================================================
   qb-uicore CAM YÜZEYİ — tüm panellerin ortak kalıbı
   ========================================================================== */
.glass,
.city__detail,
.quiz,
.member,
.connect,
.day,
.jobs,
.toast {
  position: relative;
  background-color: transparent;
  background-image: var(--qb-glass-bg);
  border: 1px solid var(--qb-glass-border);
  box-shadow: var(--qb-glass-shadow);
}

/* üst kenardaki platin parlama çizgisi */
.city__detail::after,
.quiz::after,
.member::after,
.connect::after,
.day::after,
.jobs::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, rgba(238, 242, 247, 0) 0%, rgba(238, 242, 247, 0.5) 50%, rgba(238, 242, 247, 0) 100%);
  pointer-events: none;
}

/* kaydırınca belirme */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
/* JS çalışmazsa içerik gizli kalmasın */
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   BUTONLAR — qb-btn mimarisi, kırmızı marka rengi
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.22s var(--ease), opacity 0.22s;
}
/* qb-btn üst ışık çizgisi */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.985); opacity: 0.92; }
.btn:disabled { opacity: 0.45; pointer-events: none; }

.btn--red {
  color: #fff;
  background: linear-gradient(180deg, #F0262C 0%, #E3141B 55%, #B80E14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(2, 5, 12, 0.5);
  border-bottom: 2px solid rgba(2, 5, 12, 0.6);
  box-shadow: 0 12px 30px -12px var(--red-glow);
}
.btn--red:hover { background: linear-gradient(180deg, #FF3A40 0%, #F0262C 55%, #C81117 100%); box-shadow: 0 16px 40px -12px rgba(255, 48, 54, 0.6); }

/* parlama bandı */
.btn--red::after,
.btn--metal::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: translate3d(-180%, 0, 0) rotate(18deg);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn--red:hover::after,
.btn--metal:hover::after { transform: translate3d(320%, 0, 0) rotate(18deg); }

/* qb-btn--metal: platin */
.btn--metal {
  color: var(--qb-ink-900);
  background-image: var(--qb-metal);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.48);
  border-right: 1px solid rgba(2, 5, 12, 0.55);
  border-bottom: 2px solid rgba(2, 5, 12, 0.55);
  box-shadow: 0 10px 28px -12px rgba(201, 209, 220, 0.4);
}
.btn--metal::before { display: none; }

/* qb-btn: koyu bevel */
.btn--ghost {
  color: var(--text);
  background-color: var(--qb-ink-800);
  background-image: linear-gradient(180deg, rgba(46, 63, 100, 0.55) 0%, rgba(12, 20, 40, 0.35) 100%);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  box-shadow: 0 6px 16px -10px rgba(2, 5, 12, 0.8);
}
.btn--ghost:hover { border-top-color: var(--qb-edge-light-hi); }

.btn--discord {
  color: #fff;
  background: linear-gradient(180deg, #6F7BF7, #5865F2);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 10px 30px -12px rgba(88, 101, 242, 0.7);
}

.btn--sm { height: 38px; padding: 0 16px; font-size: 0.85rem; border-radius: var(--r-sm); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 1rem; border-radius: var(--r-lg); }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.link svg { width: 15px; height: 15px; color: var(--red); transition: transform 0.25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* qb-tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  background-color: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: 999px;
}
.tag--red { color: #fff; background: var(--red); border-color: rgba(255, 255, 255, 0.3) rgba(2, 5, 12, 0.5) rgba(2, 5, 12, 0.5) rgba(255, 255, 255, 0.2); }
.tag--metal { color: var(--qb-ink-900); background-color: transparent; background-image: var(--qb-metal-soft); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  flex: 0 0 auto;
}
.is-online .dot { background: var(--green); animation: ping 2s infinite; }
.is-offline .dot { background: var(--red); }
.is-unknown .dot { background: #E7A93B; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(143, 217, 182, 0.55); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(143, 217, 182, 0); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-solid {
  background: rgba(3, 6, 14, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}

.header__inner { display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 44px; height: 44px; }
.brand__text {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand__text em {
  font-style: normal;
  margin-left: 6px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  vertical-align: middle;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* qb-uicore segment menüsü */
.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav a {
  position: relative;
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--text);
  background: linear-gradient(180deg, rgba(46, 63, 100, 0.7), rgba(16, 26, 50, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 var(--red), 0 4px 12px -6px rgba(0, 0, 0, 0.8);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.status-chip.is-online { color: var(--text); }

/* bakım bandı (config.news.maintenance) */
.maint {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: #FFE9C2;
  background: linear-gradient(90deg, rgba(120, 72, 6, 0.95), rgba(150, 92, 10, 0.95));
  border-bottom: 1px solid rgba(255, 206, 120, 0.35);
}
.maint .i { color: #FFC56B; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: var(--r);
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 22px; }
.burger.is-open span:first-child { top: 18px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 18px; transform: rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) 24px 28px;
  background-color: var(--bg);
  background-image: var(--qb-sheen);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__nav { display: flex; flex-direction: column; overflow-y: auto; counter-reset: drawer; }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
/* numaralar CSS sayacıyla: gizli link (ör. boş galeri) numarayı kaydırmaz */
.drawer__nav a:not([hidden]) { counter-increment: drawer; }
.drawer__nav a::before { content: counter(drawer, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.8rem; color: var(--red); }
.drawer.is-open .drawer__nav a { transform: none; opacity: 1; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 30ms; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 60ms; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 90ms; }
.drawer.is-open .drawer__nav a:nth-child(5) { transition-delay: 120ms; }
.drawer.is-open .drawer__nav a:nth-child(6) { transition-delay: 150ms; }
.drawer.is-open .drawer__nav a:nth-child(7) { transition-delay: 180ms; }
.drawer.is-open .drawer__nav a:nth-child(n+8) { transition-delay: 210ms; }
.drawer__actions { display: grid; gap: 10px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100vh, 980px);
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 140px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 72% 55%, rgba(var(--red-rgb), 0.26), transparent 70%),
    radial-gradient(50% 60% at 5% 10%, rgba(30, 44, 80, 0.55), transparent 70%),
    linear-gradient(180deg, var(--qb-ink-950) 0%, #0A0812 55%, var(--qb-ink-950) 100%);
}

/* perspektif ızgara (qb-uicore) */
.hero__glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 242, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 247, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 30% 40%, #000 20%, transparent 75%);
}

/* çizgili kırmızı güneş */
.hero__sun {
  position: absolute;
  right: 6%;
  bottom: 110px;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF4A3D 0%, #E3141B 45%, #6E080C 100%);
  opacity: 0.55;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 58%, transparent 58% 100%), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 22px, 100% 50%;
  -webkit-mask-position: 0 100%, 0 0;
  -webkit-mask-repeat: repeat-y, no-repeat;
  -webkit-mask-composite: source-over;
  mask-image: repeating-linear-gradient(180deg, #000 0 58%, transparent 58% 100%), linear-gradient(#000, #000);
  mask-size: 100% 22px, 100% 50%;
  mask-position: 0 100%, 0 0;
  mask-repeat: repeat-y, no-repeat;
  mask-composite: add;
}

.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 210px;
}
.hero__skyline path { fill: #02040A; stroke: rgba(201, 209, 220, 0.08); stroke-width: 1; }

.hero__palm { position: absolute; bottom: 60px; color: #02040A; height: 420px; width: auto; }
.hero__palm--l { left: -30px; transform: scaleX(-1); height: 360px; }
.hero__palm--r { right: 2%; bottom: 90px; height: 480px; }

.hero__bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

/* oyun içi görüntü / video (config.hero). Yazının okunması için koyu perde. */
.hero__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__media:empty { display: none; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.92) 0%, rgba(3, 6, 14, 0.72) 45%, rgba(3, 6, 14, 0.35) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.4) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
/* görüntü varken çizim sahnesi geri çekilir */
.hero.has-media .hero__sun,
.hero.has-media .hero__palm,
.hero.has-media .hero__skyline { display: none; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
.hero__inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 10px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--qb-plat-300);
  background: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: 999px;
}
.eyebrow__bar { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title > span:first-child {
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--qb-plat-200);
}
.hero__title .red { text-shadow: 0 0 60px rgba(var(--red-rgb), 0.45); }

/* dönen kelime */
.rotator {
  display: block;
  overflow: hidden;
  padding-top: 0.14em;
  margin-top: -0.14em;
}
.rotator__word { display: inline-block; }
.rotator__word.is-leaving { animation: wordOut 0.38s var(--ease) forwards; }
.rotator__word.is-entering { animation: wordIn 0.6s var(--ease) both; }
@keyframes wordOut { to { transform: translateY(-105%); opacity: 0; } }
@keyframes wordIn { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__lead {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

/* bağlantı satırı (qb-panel) */
.connect {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.connect__label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(3, 6, 14, 0.4);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.connect__ip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  text-align: left;
  transition: background-color 0.2s;
}
.connect__ip:hover { background: rgba(255, 255, 255, 0.04); }
.connect__ip code {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  color: var(--qb-plat-100);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connect__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--qb-ink-900);
  background-image: var(--qb-metal-soft);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.connect__copy .i { width: 14px; height: 14px; }
.connect__copy.is-done { background-image: none; background-color: var(--green); }

/* logo amblemi */
.hero__mark {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: translate 0.4s var(--ease);
}
.mark-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(238, 242, 247, 0.14);
  animation: spin 60s linear infinite;
}
.mark-ring::before, .mark-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.mark-ring::before { top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; background: var(--red); box-shadow: 0 0 16px var(--red); }
.mark-ring::after { bottom: 14%; right: 4%; width: 6px; height: 6px; background-image: var(--qb-metal); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__mark picture { display: contents; }
.mark-logo {
  position: relative;
  width: 88%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(var(--red-rgb), 0.35));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.hero__scroll i { position: relative; width: 60px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: sweep 2.2s var(--ease) infinite;
}
@keyframes sweep { to { transform: translateX(100%); } }

/* ==========================================================================
   TICKER
   ========================================================================== */
/* eğik bant, kendi kabının içinde kırpılır: sayfayı yana taşırmaz */
.ticker-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -50px;
  padding: 30px 0 40px;
}
.ticker {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F0262C, #C81117);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(2, 5, 12, 0.6);
  transform: rotate(-1.5deg);
  margin: 0 -24px;
  box-shadow: 0 20px 50px -20px var(--red-glow);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 36s linear infinite;
}
.ticker__track span {
  font-family: var(--f-display);
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.ticker__track b { color: rgba(3, 6, 14, 0.55); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 80px;
  padding-bottom: 20px;
}
.stat {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat:nth-child(odd) strong { background-image: linear-gradient(180deg, #FF4A3D, #E3141B 60%, #A80D12); }
.stat span { font-size: 0.92rem; font-weight: 700; line-height: 1.3; padding-bottom: 4px; }
.stat em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.82rem; }

/* ==========================================================================
   BÖLÜM BAŞLIKLARI
   ========================================================================== */
.section { position: relative; padding: 120px 0; }
.section--alt {
  background-color: rgba(6, 11, 24, 0.7);
  background-image: linear-gradient(180deg, rgba(30, 45, 82, 0.16), rgba(6, 11, 24, 0) 40%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr minmax(0, 360px);
  align-items: end;
  gap: 28px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* başlık altı platin ray */
.sec-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(var(--red-rgb), 0));
}
.sec-head__num {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}
.sec-head__kicker {
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.sec-head__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 0.06em;
}
.sec-head__sub { color: var(--muted); font-size: 0.96rem; }

.more { margin-top: 28px; }

/* ==========================================================================
   PANEL — qb cam kartı (nabız, rehber, katalog)
   ========================================================================== */
.panel {
  position: relative;
  padding: 26px;
  border-radius: var(--r-xl);
  background-image: var(--qb-glass-bg);
  border: 1px solid var(--qb-glass-border);
  box-shadow: var(--qb-glass-shadow);
  overflow: hidden;
  min-width: 0;
}
.panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(238, 242, 247, 0) 0%, rgba(238, 242, 247, 0.5) 50%, rgba(238, 242, 247, 0) 100%);
  pointer-events: none;
}
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel__kicker {
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-hi);
}
.panel__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0 4px;
  font-size: 0.92rem;
  color: var(--muted);
  list-style: none;
}
.empty .i { margin-top: 2px; color: var(--faint); }

/* ==========================================================================
   01 ŞEHRİN NABZI
   ========================================================================== */
.pulse {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pulse__chart, .pulse__news { grid-column: span 2; }

/* canlı durum */
.live__state {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}
.live__state .dot { width: 14px; height: 14px; }
.is-unknown .dot { background: #E7A93B; }
.live__count { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; color: var(--muted); font-weight: 600; }
.live__count strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.meter { height: 8px; margin-bottom: 12px; background: var(--qb-bg-inset); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.meter i {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--red-rgb), 0.55), var(--red-hi));
  box-shadow: 0 0 12px rgba(var(--red-rgb), 0.7);
  border-radius: 99px;
  transition: width 0.8s var(--ease);
}
.live__updated { min-height: 1.2em; font-family: var(--f-mono); font-size: 0.74rem; color: var(--faint); }
.live__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* en kalabalık saatler grafiği (24 sütun, Türkiye saati) */
.chart {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  height: 170px;
  padding-bottom: 22px;
  position: relative;
}
.chart::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: var(--line-2);
}
.chart__col { position: relative; display: flex; align-items: flex-end; height: 100%; }
.chart__bar {
  width: 100%;
  height: var(--h, 0%);
  min-height: 3px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, rgba(var(--red-rgb), 0.85), rgba(var(--red-rgb), 0.22));
  transition: height 0.9s var(--ease);
}
.chart__col.is-empty .chart__bar { background: var(--line); }
.chart__col.is-peak .chart__bar { background: linear-gradient(180deg, #FF4A3D, var(--red)); box-shadow: 0 0 16px rgba(var(--red-rgb), 0.7); }
.chart__col.is-now .chart__bar { outline: 1px solid var(--qb-plat-200); outline-offset: 2px; }
.chart__col span {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--faint);
}
.chart.is-waiting .chart__bar { height: var(--h); background: rgba(238, 242, 247, 0.06); }
.chart__note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.chart__note strong { color: var(--text); }

/* haber akışı */
.feed { list-style: none; }
.feed__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.feed__item:first-child { border-top: 0; padding-top: 4px; }
.feed__meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.feed__date { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.feed__tag--guncelleme { color: #CFE0FF; }
.feed__tag--duyuru { color: #fff; background: rgba(var(--red-rgb), 0.35); }
.feed__tag--etkinlik { color: #FFE2B0; }
.feed__title { font-size: 1.04rem; font-weight: 800; line-height: 1.35; margin-bottom: 6px; }
.feed__text {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
.feed__item.is-open .feed__text { display: block; }
.feed__more { margin-top: 6px; font-size: 0.82rem; font-weight: 700; color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.feed__list { margin-top: 4px; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
.feed__list li::marker { color: var(--red); }

/* etkinlikler */
.events { list-style: none; }
.events__item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.events__item:first-child { border-top: 0; padding-top: 4px; }
.events__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 62px;
  background: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: var(--r);
}
.events__day strong { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.events__day span { font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hi); }
.events__item h4 { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.events__when { display: block; margin: 2px 0 6px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }
.events__when b { color: var(--red-hi); font-weight: 700; }
.events__item p { font-size: 0.88rem; color: var(--muted); }

/* ==========================================================================
   01 ŞEHİR
   ========================================================================== */
.city {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.city__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }

.city__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 20px 4px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s, padding 0.35s var(--ease);
}
.city__item b {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--faint);
  transition: color 0.25s;
}
.city__item span {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.city__item svg { width: 22px; height: 22px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.3s var(--ease); color: var(--red); }
.city__item:hover { color: var(--text); padding-left: 12px; }
.city__item.is-active { color: var(--text); padding-left: 12px; }
.city__item.is-active span {
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.city__item.is-active b { color: var(--red); }
.city__item.is-active svg { opacity: 1; transform: none; }
/* qb-nf rayı */
.city__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(var(--red-rgb), 0.35), rgba(var(--red-rgb), 1) 42%, rgba(var(--red-rgb), 0.55));
  box-shadow: 0 0 12px rgba(var(--red-rgb), 0.7);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}
.city__item.is-active::before { transform: scaleY(1); }

.city__detail {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  padding: 40px;
  border-radius: var(--r-xl);
}
.city__detail::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), 0.22), rgba(var(--red-rgb), 0.06) 60%, transparent);
  pointer-events: none;
}

.detail { position: relative; animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.detail__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }

/* qb-nf ikon kovanı, kırmızı */
.detail__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFE1E2;
  background: linear-gradient(150deg, rgba(var(--red-rgb), 0.45) 0%, rgba(var(--red-rgb), 0.15) 60%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(var(--red-rgb), 0.5);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 15px -3px rgba(var(--red-rgb), 0.7),
    0 0 26px -5px rgba(var(--red-rgb), 0.6);
}
.detail__icon svg { width: 26px; height: 26px; }

.detail h3 {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}
.detail > p { margin-bottom: 26px; color: var(--muted); }

.detail ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.detail li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(3, 6, 14, 0.78);
}
.detail li::before { content: ''; width: 6px; height: 6px; background: var(--red); flex: 0 0 auto; transform: rotate(45deg); box-shadow: 0 0 8px rgba(var(--red-rgb), 0.7); }

.detail__stats { display: flex; gap: 12px; flex-wrap: wrap; }
.detail__stats div {
  display: flex;
  flex-direction: column;
  min-width: 120px;
  padding: 12px 16px;
  background: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: var(--r);
}
.detail__stats strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.detail__stats span {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   02 24 SAAT
   ========================================================================== */
.day {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: var(--qb-ink-950);
  background-image: none;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.day__item {
  position: relative;
  padding: 0 28px 32px;
  border-left: 1px solid var(--line);
}
.day__item:first-child { border-left: 0; }

.day__sky {
  position: relative;
  height: 150px;
  margin: 0 -28px 26px;
  overflow: hidden;
  background: var(--sky);
}
/* şehir silueti (kart zeminiyle aynı renk) */
.day__sky::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' preserveAspectRatio='none'%3E%3Cpath fill='%2303060E' d='M0 60V40h10V30h8v12h12V20h6v-6h8v6h6v26h10V34h14v10h8V24h10v20h12V36h8v-8h10v24h10V30h6V18h8v12h6v30h12V40h10v20z'/%3E%3C/svg%3E") repeat-x bottom / 220px 44px;
}

.day__orb {
  position: absolute;
  left: 50%;
  width: var(--orb-size, 46px);
  height: var(--orb-size, 46px);
  margin-left: calc(var(--orb-size, 46px) / -2);
  bottom: var(--orb-y, 30px);
  border-radius: 50%;
  background: var(--orb);
  box-shadow: 0 0 40px 6px var(--orb-glow);
  transition: transform 0.8s var(--ease);
}
.day__item:hover .day__orb { transform: translateY(-10px); }

.day__item--1 { --sky: linear-gradient(180deg, #1E1630 0%, #A63A2C 65%, #F2864A 100%); --orb: #FFD08A; --orb-glow: rgba(255, 170, 90, 0.55); --orb-y: 26px; }
.day__item--2 { --sky: linear-gradient(180deg, #1E2C50 0%, #8E9AAB 100%); --orb: #FFF4D6; --orb-glow: rgba(255, 244, 214, 0.6); --orb-y: 82px; --orb-size: 38px; }
.day__item--3 { --sky: linear-gradient(180deg, #120A1C 0%, #6E080C 55%, #E3141B 100%); --orb: #FF6A3D; --orb-glow: rgba(227, 20, 27, 0.7); --orb-y: 8px; --orb-size: 64px; }
.day__item--4 {
  --sky: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 55%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 12% 70%, rgba(255,255,255,.5), transparent), linear-gradient(180deg, #03060E 0%, #16223F 100%);
  --orb: radial-gradient(circle at 65% 35%, transparent 0 40%, #EEF2F7 41%);
  --orb-glow: rgba(201, 209, 220, 0.25);
  --orb-y: 78px;
  --orb-size: 34px;
}

.day__time {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.day__time strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.day__item h3 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 800; }
.day__item p { font-size: 0.92rem; color: var(--muted); }

/* ==========================================================================
   03 MESLEKLER
   ========================================================================== */
.jobs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--line);
  background-image: none;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.job {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 170px;
  padding: 20px;
  background-color: var(--qb-ink-900);
  background-image: var(--qb-sheen);
  overflow: hidden;
  transition: background-color 0.3s;
}
.job::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(var(--red-rgb), 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.job:hover { background-color: var(--qb-ink-700); }
.job:hover::after { transform: scaleX(1); }
.job svg { width: 28px; height: 28px; color: var(--qb-plat-400); transition: color 0.3s, transform 0.4s var(--ease); }
.job:hover svg { color: var(--red-hi); transform: translateY(-3px); }
.job h3 { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.job span {
  display: block;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ==========================================================================
   04 KARELER
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}

.filters--gallery { width: fit-content; max-width: 100%; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  overflow: hidden;
  border-radius: var(--r-xl);
  cursor: zoom-in;
  background: var(--bg-3);
  border: 1px solid var(--qb-glass-border);
  box-shadow: var(--qb-glass-shadow);
}
.shot--wide { grid-column: span 2; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.8);
  transform: scale(1.04);
  transition: filter 0.7s var(--ease), transform 1.2s var(--ease);
}
/* kırmızı-lacivert duotone */
.shot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(var(--red-rgb), 0.55), rgba(16, 26, 50, 0.6) 65%);
  mix-blend-mode: multiply;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 6, 14, 0.94));
  pointer-events: none;
}
.shot:hover img, .shot:focus-visible img { filter: none; transform: scale(1.08); }
.shot:hover::before, .shot:focus-visible::before { opacity: 0; }
.shot:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }

.shot__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: block; }
.shot__cap .tag { margin-bottom: 10px; }
.shot__title {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.shot__desc { display: block; margin-top: 4px; font-size: 0.88rem; color: rgba(242, 246, 251, 0.75); }

/* ==========================================================================
   05 KATIL
   ========================================================================== */
.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.steps { list-style: none; display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--f-display);
  font-size: 4.2rem;
  line-height: 0.85;
  background-image: linear-gradient(180deg, #FF4A3D, #E3141B 60%, #A80D12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-bottom: 6px; font-size: 1.2rem; font-weight: 800; }
.step p { margin-bottom: 14px; color: var(--muted); font-size: 0.95rem; }

/* ön test: qb-panel (başlık bandı + gövde) */
.quiz {
  padding: 0 0 26px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.quiz__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  background: rgba(3, 6, 14, 0.45);
  border-bottom: 1px solid var(--line);
}
.quiz__head h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quiz__q {
  position: relative;
  margin: 22px 26px 18px;
  padding: 14px 16px 14px 20px;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.quiz__q::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, rgba(var(--red-rgb), 0.35), rgba(var(--red-rgb), 1) 42%, rgba(var(--red-rgb), 0.55));
  box-shadow: 0 0 12px rgba(var(--red-rgb), 0.7);
}
.quiz__q em { color: var(--muted); }

.quiz__opts { display: grid; gap: 10px; padding: 0 26px; }
.quiz__opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 14px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(3, 6, 14, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s, transform 0.25s var(--ease);
}
.quiz__opt span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background-image: var(--qb-metal-dark);
  border: 1px solid var(--qb-edge-light);
  border-radius: 7px;
}
.quiz__opt:hover:not(:disabled) { color: var(--text); border-color: var(--line-2); transform: translateX(4px); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt.is-correct { color: var(--text); border-color: rgba(143, 217, 182, 0.55); background: var(--qb-success-bg); }
.quiz__opt.is-correct span { background: var(--green); color: var(--qb-ink-900); border-color: transparent; }
.quiz__opt.is-wrong { color: var(--text); border-color: rgba(var(--red-rgb), 0.6); background: rgba(var(--red-rgb), 0.12); }
.quiz__opt.is-wrong span { background: var(--red); border-color: transparent; }
.quiz__opt.is-dim { opacity: 0.4; }

.quiz__feedback {
  margin: 16px 26px 0;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: var(--r);
  animation: fadeUp 0.4s var(--ease) both;
}
.quiz__feedback.ok { background: var(--qb-success-bg); border: 1px solid rgba(143, 217, 182, 0.35); }
.quiz__feedback.bad { background: rgba(var(--red-rgb), 0.12); border: 1px solid rgba(var(--red-rgb), 0.4); }
.quiz__feedback b { display: block; margin-bottom: 4px; }
.quiz__feedback button { margin-top: 10px; font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* çok sorulu test: sayaç, ilerleme noktaları, kategori, sonuç */
.quiz__count {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.quiz__dots { display: flex; gap: 6px; padding: 16px 26px 0; }
.quiz__dots i {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background-color 0.3s;
}
.quiz__dots i.cur { background: var(--qb-plat-300); }
.quiz__dots i.ok { background: var(--green); }
.quiz__dots i.bad { background: var(--red); }
.quiz__q { animation: fadeUp 0.35s var(--ease) both; }
.quiz__cat {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hi);
}
.quiz__right { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--text); }
.quiz__feedback .quiz__next {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  background: rgba(3, 6, 14, 0.45);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
}
.quiz__feedback .quiz__next:hover { border-color: var(--qb-edge-light-hi); }
.quiz__result {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 22px 26px 0;
  animation: fadeUp 0.4s var(--ease) both;
}
.quiz__score { flex: 0 0 auto; display: flex; align-items: baseline; gap: 4px; }
.quiz__score strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 0.9;
  background-image: linear-gradient(180deg, #FF4A3D, #E3141B 60%, #A80D12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quiz__score span { font-family: var(--f-display); font-size: 1.6rem; color: var(--muted); }
.quiz__result h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.quiz__result p { font-size: 0.92rem; color: var(--muted); }
.quiz__missed { margin-top: 6px; }
.quiz__missed a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 26px 0; }

/* ==========================================================================
   06 KURALLAR
   ========================================================================== */
.rules-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

/* qb-input */
.search {
  flex: 0 1 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-top-color: var(--qb-edge-dark);
  border-radius: var(--r);
  transition: border-color 0.2s;
}
.search:focus-within { border-color: rgba(var(--red-rgb), 0.7); }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 0.92rem; color: var(--text); background: none; border: 0; outline: 0; }
.search input::placeholder { color: var(--faint); }

/* qb segment */
.filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filter {
  height: 34px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.filter:hover { color: var(--text); }
.filter.is-active {
  color: var(--qb-ink-900);
  background-image: var(--qb-metal);
  font-weight: 800;
}
.filter { white-space: nowrap; }
.filter small {
  margin-left: 4px;
  padding: 1px 6px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.filter.is-active small { color: var(--qb-ink-900); background: rgba(3, 6, 14, 0.15); }
/* arama yapılırken tüm kurallarda aranır; filtreler soluk görünür */
.filters.is-muted .filter { opacity: 0.45; }
.filters.is-muted .filter.is-active { background-image: none; color: var(--muted); }

.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.rule {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  align-content: start;
  padding: 22px 40px 22px 0;
  border-top: 1px solid var(--line);
  animation: fadeUp 0.4s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
/* her kuralın kendi bağlantısı (/#kural-sk-03) */
.rule__link {
  position: absolute;
  top: 18px;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  border-radius: var(--r-sm);
  opacity: 0.35;
  transition: opacity 0.2s, color 0.2s, background-color 0.2s;
}
.rule:hover .rule__link, .rule__link:focus-visible { opacity: 1; }
.rule__link:hover { color: var(--text); background: var(--qb-bg-inset); }
.rule__link .i { width: 16px; height: 16px; }
.rule.is-target { animation: ruleFlash 2.4s var(--ease) both; }
@keyframes ruleFlash {
  0%, 30% { background: rgba(var(--red-rgb), 0.16); box-shadow: -12px 0 0 rgba(var(--red-rgb), 0.16), 12px 0 0 rgba(var(--red-rgb), 0.16); }
  100% { background: transparent; box-shadow: none; }
}
.rule__num { grid-row: span 3; font-family: var(--f-mono); font-size: 0.8rem; font-weight: 700; color: var(--red); padding-top: 4px; }
.rule__cat { font-family: var(--f-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--qb-plat-500); }
.rule h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.rule p { color: var(--muted); font-size: 0.92rem; }
.rules__empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

/* ==========================================================================
   07 SSS
   ========================================================================== */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.sec-head--stack {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  grid-template-columns: auto 1fr;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.sec-head--stack::after { display: none; }
.sec-head--stack .sec-head__sub { grid-column: 1 / -1; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.2s;
}
.faq__q:hover { color: #fff; }

/* qb tuş kapağı */
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--text);
  background-image: var(--qb-metal-dark);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 2px solid var(--qb-edge-dark);
  border-radius: 9px;
  transition: transform 0.4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq__item.is-open .faq__icon { background-image: none; background-color: var(--red); border-color: rgba(255, 255, 255, 0.3) rgba(2, 5, 12, 0.5) rgba(2, 5, 12, 0.6) rgba(255, 255, 255, 0.2); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 52px 24px 0; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ==========================================================================
   08 EKİP
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.member {
  overflow: hidden;
  padding: 28px 24px 24px;
  border-radius: var(--r-xl);
  transition: transform 0.4s var(--ease);
}
.member:hover { transform: translateY(-4px); }
/* sol üstten sızan aura (qb-nf__aura) */
.member::before {
  content: '';
  position: absolute;
  top: -70px;
  left: -70px;
  width: 240px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), 0.22), rgba(var(--red-rgb), 0.08) 55%, transparent 88%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.member:hover::before { opacity: 1; }

.member__avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 2.2rem;
  color: #fff;
  background: linear-gradient(180deg, #F0262C, #B80E14);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(2, 5, 12, 0.55);
  border-radius: 16px;
  box-shadow: 0 12px 26px -12px var(--red-glow);
  overflow: hidden;
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
/* yüklenen profil görseli: koyu zemin, kesmeden sığdır */
.member__avatar--img {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--qb-bg-inset);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.member__avatar--img img { object-fit: contain; }
.member:hover .member__avatar--img { border-color: rgba(var(--red-rgb), 0.5); }

.member__bg {
  position: absolute;
  right: -10px;
  top: -24px;
  font-family: var(--f-display);
  font-size: 9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 247, 0.07);
  pointer-events: none;
  user-select: none;
}

.member h3 { position: relative; font-size: 1.2rem; font-weight: 800; }
.member p { position: relative; margin-bottom: 14px; font-size: 0.88rem; color: var(--muted); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 100%, rgba(var(--red-rgb), 0.38), transparent 70%),
    radial-gradient(40% 50% at 50% 0%, rgba(30, 44, 80, 0.4), transparent 70%),
    repeating-linear-gradient(90deg, rgba(238, 242, 247, 0.035) 0 1px, transparent 1px 80px);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__logo { width: 120px; margin-bottom: 18px; filter: drop-shadow(0 20px 40px rgba(var(--red-rgb), 0.35)); }
.cta h2 {
  margin-bottom: 36px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.cta h2 { background-image: var(--qb-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta h2 .red { -webkit-text-fill-color: var(--red); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); background: #02040A; overflow: hidden; }

.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { width: 72px; margin-bottom: 14px; }
.footer__brand p { max-width: 300px; color: var(--muted); font-size: 0.9rem; }

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 {
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__col a { font-size: 0.92rem; color: var(--muted); text-decoration: none; transition: color 0.2s, transform 0.2s var(--ease); }
.footer__col a:hover { color: var(--text); transform: translateX(3px); }

.footer__ip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-top-color: var(--qb-edge-dark);
  border-radius: var(--r);
  transition: border-color 0.2s;
}
.footer__ip:hover { border-color: rgba(var(--red-rgb), 0.6); }
.footer__ip code { font-family: var(--f-mono); font-size: 0.82rem; color: var(--qb-plat-100); }
.footer__ip .i { width: 16px; height: 16px; color: var(--muted); }

.footer__word {
  margin: 64px 0 24px;
  font-family: var(--f-display);
  font-size: clamp(4rem, 15.5vw, 15rem);
  line-height: 0.8;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 247, 0.09);
  user-select: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   İKON BUTONU (kapat, önceki/sonraki)
   ========================================================================== */
.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--qb-bg-inset);
  border-top: 1px solid var(--qb-edge-light);
  border-left: 1px solid var(--qb-edge-light);
  border-right: 1px solid var(--qb-edge-dark);
  border-bottom: 1px solid var(--qb-edge-dark);
  border-radius: var(--r);
  transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--text); border-top-color: var(--qb-edge-light-hi); }
.icon-btn .i { width: 20px; height: 20px; }

/* ==========================================================================
   LIGHTBOX (role=dialog; Esc kapatır, ← → gezinir, odak içeride kalır)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 24px 32px;
  background: rgba(2, 4, 10, 0.95);
  animation: fadeIn 0.25s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { flex: 1; max-width: 1200px; min-width: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r-xl); border: 1px solid var(--qb-glass-border); }
.lightbox figcaption { margin-top: 14px; font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav { flex: 0 0 auto; }
.lightbox.is-single .lightbox__nav { visibility: hidden; }

/* ==========================================================================
   BİLDİRİMLER — qb-uicore notify (.qb-nf) birebir
   ========================================================================== */
.toasts {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 20px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  --c-rgb: 214, 226, 245;
  --c-hi: #FBFCFE;

  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  padding: 13px 16px 14px 14px;
  overflow: hidden;
  isolation: isolate;
  background-color: rgba(6, 11, 24, 0.85);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 34px -14px rgba(var(--c-rgb), 0.32),
    0 24px 60px -22px rgba(0, 0, 0, 0.78),
    0 2px 10px -4px rgba(0, 0, 0, 0.55);
  transform: translate3d(118%, 0, 0);
  opacity: 0;
  pointer-events: auto;
}
.toast.is-in { animation: nfIn 480ms var(--ease-spring) forwards; }
.toast.is-out { animation: nfOut 260ms var(--ease) forwards; }
.toast--success { --c-rgb: 126, 226, 176; --c-hi: #D8F6E7; }
.toast--error { --c-rgb: 240, 110, 110; --c-hi: #FCE1E1; }
.toast--info { --c-rgb: 143, 183, 240; --c-hi: #E2EDFD; }

.toast__aura {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 230px;
  height: 190px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--c-rgb), 0.30), rgba(var(--c-rgb), 0.10) 54%, transparent 88%);
  pointer-events: none;
}
.toast__rail {
  position: relative;
  z-index: 2;
  flex: 0 0 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(var(--c-rgb), 0.35), rgba(var(--c-rgb), 1) 42%, rgba(var(--c-rgb), 0.55));
  box-shadow: 0 0 12px -1px rgba(var(--c-rgb), 0.75);
}
.toast__icon {
  position: relative;
  z-index: 2;
  flex: 0 0 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-hi);
  background: linear-gradient(150deg, rgba(var(--c-rgb), 0.30), rgba(var(--c-rgb), 0.10) 60%, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(var(--c-rgb), 0.36);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 22px -5px rgba(var(--c-rgb), 0.62);
}
.toast__icon svg { width: 17px; height: 17px; }
.toast__body { position: relative; z-index: 2; flex: 1; min-width: 0; align-self: center; }
.toast__title { font-size: 0.82rem; font-weight: 700; color: var(--c-hi); }
.toast__text { font-size: 0.86rem; line-height: 1.45; color: rgba(255, 255, 255, 0.84); }
.toast__bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  z-index: 3;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}
.toast__bar > i {
  display: block;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(var(--c-rgb), 0.45), rgba(var(--c-rgb), 1));
  animation: nfDrain linear forwards;
}
@keyframes nfIn {
  0% { transform: translate3d(118%, 0, 0) scale(0.92); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes nfOut {
  from { transform: none; opacity: 1; }
  to { transform: translate3d(118%, 0, 0) scale(0.94); opacity: 0; }
}
@keyframes nfDrain { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ==========================================================================
   ALT SAYFALAR — ortak başlık
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 44px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 80% at 85% 0%, rgba(var(--red-rgb), 0.22), transparent 70%),
    radial-gradient(40% 70% at 0% 20%, rgba(30, 44, 80, 0.5), transparent 70%);
}
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  background-image: var(--qb-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero h1 .red { -webkit-text-fill-color: var(--red); }
.page-hero__lead { max-width: 620px; margin-top: 18px; font-size: 1.05rem; color: var(--muted); }
.page-body { padding-bottom: 110px; }

/* ==========================================================================
   REHBER (/rehber)
   ========================================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - var(--header-h) - 48px); }
.toc .search { flex: none; }
/* menü ekrandan uzunsa kendi içinde kayar (sayfayı kaydırmaz) */
.toc__groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* kaydırma çalışır ama çubuk görünmez */
  scrollbar-width: none;
}
.toc__groups::-webkit-scrollbar { display: none; }
.toc__group { display: flex; flex-direction: column; gap: 2px; }
.toc__cat { margin: 0 0 6px 10px; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hi); }
.toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}
.toc__link .i { width: 16px; height: 16px; color: var(--faint); }
.toc__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc__link.is-active { color: var(--text); background: var(--qb-bg-inset); box-shadow: inset 2px 0 0 var(--red); }
.toc__link.is-active .i { color: var(--red-hi); }
.toc__link.is-dim { opacity: 0.35; }

.guide { margin-bottom: 16px; padding: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.guide__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.guide__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFE1E2;
  background: linear-gradient(150deg, rgba(var(--red-rgb), 0.45) 0%, rgba(var(--red-rgb), 0.15) 60%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(var(--red-rgb), 0.5);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 22px -6px rgba(var(--red-rgb), 0.6);
}
.guide__icon .i { width: 22px; height: 22px; }
/* büyük harfe çevrilmez: "FiveM", "LSPD" gibi adlar Türkçe kuralla "FİVEM" olmasın */
.guide__title { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1.05; letter-spacing: 0.01em; }
.guide__summary { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.guide__anchor { position: static; }
.guide__body { max-width: 760px; }
.guide__body h3 { margin: 24px 0 10px; font-size: 1.08rem; font-weight: 800; }
.guide__body h3:first-child { margin-top: 0; }
.guide__body p { margin-bottom: 12px; color: var(--muted); }
.guide__body strong { color: var(--text); }
.guide__body ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.guide__body ul li { margin-bottom: 6px; }
.guide__body ul li::marker { color: var(--red); }
.guide__steps { list-style: none; counter-reset: step; margin: 4px 0 16px; }
.guide__steps li { position: relative; counter-increment: step; margin-bottom: 12px; padding-left: 44px; color: var(--muted); min-height: 28px; }
.guide__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #F0262C, #B80E14);
  border-radius: 50%;
  box-shadow: 0 0 12px -2px rgba(var(--red-rgb), 0.7);
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(143, 183, 240, 0.08);
  border: 1px solid rgba(143, 183, 240, 0.25);
  border-radius: var(--r);
}
.callout .i { margin-top: 2px; color: var(--qb-info); }
.callout--warn { background: rgba(231, 169, 59, 0.08); border-color: rgba(231, 169, 59, 0.35); }
.callout--warn .i { color: #E7A93B; }
code {
  font-family: var(--f-mono);
  font-size: 0.86em;
  padding: 2px 7px;
  color: var(--qb-plat-100);
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.table-wrap { margin: 8px 0 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { padding: 10px 14px; text-align: left; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); background: var(--qb-bg-inset); white-space: nowrap; }
td { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); }
td:first-child { color: var(--text); font-weight: 700; }
.guide-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ==========================================================================
   ARAÇ KATALOĞU (/araclar)
   ========================================================================== */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.catalog-bar .search { flex: 1 1 260px; }
.select {
  height: 46px;
  padding: 0 40px 0 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--qb-bg-inset) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9D1DC' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line);
  border-top-color: var(--qb-edge-dark);
  border-radius: var(--r);
  appearance: none;
  cursor: pointer;
}
.select:focus-visible { border-color: rgba(var(--red-rgb), 0.7); }
.select option { background: var(--qb-ink-900); color: var(--text); }
.catalog-count { margin-left: auto; font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
/* duvar (masonry) düzeni: farklı uzunluktaki marka kartları boşluk bırakmadan sütunlara akar */
.catalog { columns: 3 320px; column-gap: 16px; }
.catalog > .empty { column-span: all; }
.make {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  overflow: hidden;
  background-image: var(--qb-glass-bg);
  border: 1px solid var(--qb-glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--qb-glass-shadow);
}
.make::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
  box-shadow: 0 0 12px rgba(var(--red-rgb), 0.7);
}
.make__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
  text-transform: uppercase;
  background: rgba(3, 6, 14, 0.35);
  border-bottom: 1px solid var(--line);
}
.make__name small {
  min-width: 28px;
  padding: 2px 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  background: var(--qb-bg-inset);
  border: 1px solid var(--line);
  border-radius: 99px;
}
.make__list { list-style: none; padding: 4px 0; }
.car {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 20px;
  font-size: 0.93rem;
  transition: background-color 0.2s;
}
.car + .car { border-top: 1px solid rgba(238, 242, 247, 0.06); }
.car:hover { background: rgba(255, 255, 255, 0.035); }
.car__name { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }

/* kategori: kalın etiket yerine renkli nokta + küçük yazı */
.cat-dot {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--faint);
}
.cat-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--qb-plat-500); }
.cat-dot--performans { color: #A9C4E8; }
.cat-dot--performans::before { background: #6F9BE0; box-shadow: 0 0 8px rgba(111, 155, 224, 0.6); }
.cat-dot--ultra-luks { color: #FF8A8E; }
.cat-dot--ultra-luks::before { background: var(--red-hi); box-shadow: 0 0 8px rgba(var(--red-rgb), 0.8); }
.filter .cat-dot { margin-right: 7px; font-size: 0; letter-spacing: 0; gap: 0; vertical-align: middle; }
.catalog-note { margin-top: 28px; font-size: 0.88rem; color: var(--faint); }

/* ==========================================================================
   404
   ========================================================================== */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound__code {
  font-family: var(--f-display);
  font-size: clamp(7rem, 26vw, 15rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}
.notfound h1 { margin: 12px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; }
.notfound p { max-width: 460px; margin: 0 auto 28px; color: var(--muted); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   DUYARLI
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .jobs { grid-template-columns: repeat(4, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse__chart, .pulse__news { grid-column: span 1; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mark { order: -1; justify-self: start; width: 150px; margin-bottom: -16px; }
  .mark-ring { display: none; }
  .hero__sun { width: 80vw; right: -20vw; opacity: 0.35; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head__sub { grid-column: 1 / -1; }
  .city { grid-template-columns: 1fr; gap: 28px; }
  .city__detail { position: static; padding: 28px; }
  .join { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .day { grid-template-columns: 1fr 1fr; }
  .day__item:nth-child(3) { border-left: 0; }
  .day__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .sec-head--stack { position: static; }
  .pulse { grid-template-columns: minmax(0, 1fr); }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; max-height: none; }
  .toc__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 20px; overflow: visible; padding-right: 0; }
  .rules-bar { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; }
  .filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 18px; }
  .status-chip, .header__actions .btn { display: none; }
  .brand__text em { display: none; }
  .hero { padding-bottom: 110px; }
  .hero__palm--l { display: none; }
  .hero__palm--r { height: 320px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__title .outline { -webkit-text-stroke-width: 1.5px; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.1em; }
  .connect { flex-wrap: wrap; }
  .connect__label { flex: 1 1 100%; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .connect__ip code { font-size: 0.8rem; }
  .panel { padding: 20px; }
  .live__state { font-size: 2rem; }
  .live__count strong { font-size: 3.6rem; }
  .chart { gap: 2px; height: 150px; }
  .chart__col:not(:nth-child(6n+1)) span { display: none; }
  .feed__item { grid-template-columns: 1fr; gap: 8px; }
  .page-hero { padding-top: calc(var(--header-h) + 44px); }
  .guide { padding: 22px 18px; }
  .guide__head { grid-template-columns: auto minmax(0, 1fr); }
  .guide__anchor { display: none; }
  .guide__title { font-size: 1.6rem; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .catalog-count { margin-left: 0; flex-basis: 100%; }
  .select { flex: 1 1 100%; }
  .feed__meta { flex-direction: row; align-items: center; }
  .panel__head { flex-wrap: wrap; }
  .ticker__track span { font-size: 1.25rem; }
  .stats { padding-top: 80px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section { padding: 80px 0; }
  .sec-head { gap: 16px; margin-bottom: 36px; }
  .city__item { grid-template-columns: 36px 1fr 20px; padding: 16px 0 16px 4px; }
  .city__item:hover, .city__item.is-active { padding-left: 10px; }
  .detail ul { grid-template-columns: 1fr; }
  .detail h3 { font-size: 2rem; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .job { min-height: 140px; }
  .day { grid-template-columns: 1fr; }
  .day__item { border-left: 0; padding: 0 20px 26px; }
  .day__item + .day__item { border-top: 1px solid var(--line); }
  .day__sky { height: 110px; margin: 0 -20px 20px; }
  .gallery { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
  .step { grid-template-columns: 52px 1fr; }
  .step__num { font-size: 3.2rem; }
  .quiz__head, .quiz__opts, .quiz__dots { padding-left: 18px; padding-right: 18px; }
  .quiz__q, .quiz__feedback, .quiz__result, .quiz__actions { margin-left: 18px; margin-right: 18px; }
  .quiz__result { flex-direction: column; align-items: flex-start; gap: 8px; }
  .faq__a p { padding-right: 0; }
  .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .member { padding: 20px 16px; }
  .member__avatar { width: 56px; height: 56px; font-size: 1.7rem; margin-bottom: 28px; }
  .member__avatar--img { width: 64px; height: 64px; margin-bottom: 20px; }
  .cta { padding: 100px 0; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .toasts { top: auto; bottom: 16px; right: 16px; }
  .lightbox { padding: 64px 8px 24px; gap: 6px; }
  .lightbox__nav { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
