/* ==========================================================================
   Ashelia — ashelia.net
   Tasarım sistemi: koyu stüdyo estetiği, framework yok, build adımı yok.
   ========================================================================== */

:root {
  --bg: #131418;
  --surface: #1b1c22;
  --surface-2: #22242c;
  --surface-3: #2a2c36;
  --surface-locked: #16171c;

  --border: rgba(255, 255, 255, 0.095);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-faint: rgba(255, 255, 255, 0.055);

  --text: #f1f1f4;
  --text-2: #b0b2be;
  --text-3: #838694;
  --text-4: #5e606e;

  --violet: 139, 124, 246;
  --emerald: 63, 163, 122;
  --online: #4ade80;

  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Açık (Beyaz) Tema ---------- */
html[data-theme="light"] {
  --bg: #f8f8fa;
  --surface: #ffffff;
  --surface-2: #f1f1f5;
  --surface-3: #e7e7ee;
  --surface-locked: #f2f2f6;

  --border: rgba(15, 15, 22, 0.09);
  --border-strong: rgba(15, 15, 22, 0.16);
  --border-faint: rgba(15, 15, 22, 0.055);

  --text: #111116;
  --text-2: #484854;
  --text-3: #6c6c7a;
  --text-4: #9898a6;

  --violet: 109, 90, 232;
  --emerald: 36, 138, 98;
  --online: #16a34a;
  color-scheme: light;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }

::selection { background: rgba(139, 124, 246, 0.35); color: #fff; }
html[data-theme="light"] ::selection { background: rgba(109, 90, 232, 0.22); color: #111116; }

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); }

.sr-only {
  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-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-brand { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { background: #fff; border-color: #fff; }

.btn-lg { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 20, 24, 0.76);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(19, 20, 24, 0.9); }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.28em;
  color: var(--text);
}
.wordmark svg,
.wordmark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
html[data-theme="light"] .wordmark img,
html[data-theme="light"] .signature-mark img {
  filter: brightness(0.16) contrast(1.85) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.14));
}
.wordmark span { transform: translateY(0.5px); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 6px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.045); }

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.theme-toggle:hover {
  background: var(--surface-2);
  color: var(--text);
}
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

html[data-theme="light"] .site-header {
  background: rgba(248, 248, 250, 0.78);
}
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(248, 248, 250, 0.92);
}
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a[aria-current="page"] {
  background: rgba(15, 15, 22, 0.055);
}
html[data-theme="light"] .btn-primary:hover {
  background: #27272f;
  border-color: #27272f;
}
html[data-theme="light"] .role-kurucu { color: #8a6116; border-color: rgba(138, 97, 22, 0.3); background: rgba(138, 97, 22, 0.08); }
html[data-theme="light"] .role-yonetici { color: #5540d9; border-color: rgba(85, 64, 217, 0.28); background: rgba(85, 64, 217, 0.08); }
html[data-theme="light"] .role-gelistirici { color: #177952; border-color: rgba(23, 121, 82, 0.28); background: rgba(23, 121, 82, 0.08); }
html[data-theme="light"] .staff-monogram {
  background: linear-gradient(135deg, #ededf4, #e2e2ec);
}
html[data-theme="light"] .shimmer,
html[data-theme="light"] .staff-card.is-loading .staff-banner,
html[data-theme="light"] .staff-card.is-loading .staff-avatar,
html[data-theme="light"] .staff-card.is-loading .staff-name::before,
html[data-theme="light"] .staff-card.is-loading .staff-handle::before,
html[data-theme="light"] .staff-card .role-badge:empty,
html[data-theme="light"] .staff-card.is-loading .staff-bio:empty::before,
html[data-theme="light"] .staff-card.is-loading .staff-bio:empty::after {
  background: linear-gradient(90deg, #ececf2 0%, #e1e1ea 40%, #ececf2 80%);
  background-size: 200% 100%;
}
/* Boyut kapıları (gate) her iki temada da derin portal penceresi olarak kalır */
html[data-theme="light"] .gate {
  color: #ededef;
  border-color: rgba(15, 15, 22, 0.16);
  box-shadow: 0 24px 56px -22px rgba(15, 15, 22, 0.26);
}
html[data-theme="light"] .gate .gate-domain,
html[data-theme="light"] .gate .gate-desc,
html[data-theme="light"] .gate .gate-pills span { color: #a1a1aa; }
html[data-theme="light"] .gate .gate-badge,
html[data-theme="light"] .gate .ip-copy,
html[data-theme="light"] .gate .badge-dev { color: #ededef; }
html[data-theme="light"] .gate--locked .gate-title { color: #a1a1aa; }
html[data-theme="light"] .gate--locked .gate-desc { color: #71717a; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--online);
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--online);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.nav-toggle .icon { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px 0 20px; }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text);
}
.mobile-menu a span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); font-weight: 400; }
.mobile-menu .status-pill { margin-top: 20px; }

@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav > nav { display: none; }
  .nav-right .status-pill { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .nav-right .btn-label { display: none; }
  .nav-right .btn { width: 36px; padding: 0; }
}

/* ---------- Genel bölüm yapısı ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--text-4);
}
.eyebrow--plain::before { display: none; }

.section {
  padding: 120px 0;
  border-top: 1px solid var(--border-faint);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 56px;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.section-title .dim { color: var(--text-3); }

.section-lead {
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 46ch;
  justify-self: end;
}

@media (max-width: 820px) {
  .section { padding: 88px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-lead { justify-self: start; }
}

/* ---------- Hero & Sinematik Boyut Kapıları ---------- */
.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero > .container {
  max-width: 1380px;
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.038em;
}
.hero-title .dim { color: var(--text-3); }

.hero-sub {
  margin-top: 14px;
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* 3 Boyut Panoramik Kapılar */
.gateways {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: clamp(540px, 68vh, 680px);
}

.gate,
.gate-locked-wrap {
  flex: 1 1 0%;
  min-width: 0;
  will-change: flex-grow;
  transition:
    flex-grow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.45s var(--ease);
}

@media (min-width: 981px) {
  .gateways > .gate--live:hover,
  .gateways > .gate--live:focus-within {
    flex-grow: 1.5;
  }
  .gateways > .gate-locked-wrap:hover,
  .gateways > .gate-locked-wrap:focus-within {
    flex-grow: 1.25;
  }
  .gateways:hover > :not(:hover) {
    opacity: 0.72;
  }
}

.gate {
  --glow: 255, 255, 255;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 26px 28px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #17181f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  isolation: isolate;
}
.gate--anime { --glow: var(--violet); }
.gate--mc { --glow: var(--emerald); }

/* İmleci takip eden yumuşak ışık */
.gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(540px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--glow), 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
/* Üst kenar ince enerji yansıması */
.gate::after {
  content: "";
  position: absolute;
  left: 16%; right: 16%; top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(var(--glow), 0.9), transparent);
  opacity: 0.35;
  transition: opacity 0.45s var(--ease), left 0.5s var(--ease), right 0.5s var(--ease);
}

.gate--live:hover,
.gate--live:focus-within {
  border-color: rgba(var(--glow), 0.38);
  box-shadow:
    inset 0 1px 0 rgba(var(--glow), 0.28),
    0 30px 70px -24px rgba(0, 0, 0, 0.95),
    0 0 50px -18px rgba(var(--glow), 0.28);
}
.gate--live:hover::before,
.gate--live:focus-within::before { opacity: 1; }
.gate--live:hover::after,
.gate--live:focus-within::after { opacity: 1; left: 6%; right: 6%; }

/* Arka plan tam boy portal illüstrasyonu ve sinematik vinyet */
.gate-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #0d0e12;
}

.gate-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.88;
  transform: scale(1.01);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s var(--ease), filter 0.5s var(--ease);
}

.gate--live:hover .gate-bg,
.gate--live:focus-within .gate-bg {
  opacity: 1;
  transform: scale(1.06);
}

.gate-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 15, 0.55) 0%, rgba(10, 11, 15, 0.08) 28%, rgba(10, 11, 15, 0.68) 66%, rgba(10, 11, 15, 0.96) 100%),
    radial-gradient(90% 65% at 50% 30%, transparent 40%, rgba(10, 11, 15, 0.55) 100%);
}

@keyframes gateSpin { to { transform: rotate(360deg); } }

/* Üst Başlık Satırı */
.gate-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gate-num {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.4s var(--ease);
}
.gate--live:hover .gate-num { color: rgba(255, 255, 255, 0.75); }

.gate-top-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.gate-domain {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--glow), 0.32);
  background: rgba(9, 9, 11, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* Alt İçerik Alanı */
.gate-bottom {
  position: relative;
  z-index: 2;
  margin: auto -28px -28px;
  padding: 64px 28px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 13, 18, 0.55) 42%, rgba(12, 13, 18, 0.92) 100%);
}

.gate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gate-pills span {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.gate--live:hover .gate-pills span:first-child {
  border-color: rgba(var(--glow), 0.45);
  background: rgba(var(--glow), 0.12);
  color: var(--text);
}

.gate-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.gate-desc {
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-2);
  max-width: 46ch;
}

.gate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid rgba(var(--glow), 0.45);
  background: rgba(var(--glow), 0.14);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gate-link .icon { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.gate--live:hover .gate-link {
  background: rgba(var(--glow), 0.26);
  border-color: rgba(var(--glow), 0.8);
  box-shadow: 0 0 24px -4px rgba(var(--glow), 0.45);
}
.gate--live:hover .gate-link .icon { transform: translate(2px, -2px); }
/* Tüm kapıyı tıklanabilir yapan örtü */
.gate-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 20px;
}
.gate-link:focus-visible { outline: none; }
.gate-link:focus-visible::after { outline: 2px solid rgba(var(--glow), 0.85); outline-offset: -2px; }

.gate-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

/* IP kopyalama */
.ip-copy {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 11px 0 13px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(9, 9, 11, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.ip-copy:hover { border-color: rgba(var(--emerald), 0.65); background: rgba(var(--emerald), 0.14); }
.ip-copy [data-copy-label] { min-width: 16ch; text-align: left; }
.ip-copy .icon { width: 14px; height: 14px; color: var(--text-3); }
.ip-copy.is-copied { border-color: rgba(var(--emerald), 0.75); color: rgb(150, 220, 186); }
.ip-copy.is-copied .icon { color: rgb(150, 220, 186); }

[data-copy] .icon-check { display: none; }
[data-copy].is-copied .icon-copy { display: none; }
[data-copy].is-copied .icon-check { display: block; }

/* Kilitli 3. Kapı (Roblox) */
.gate-locked-wrap {
  position: relative;
  display: flex;
  border-radius: 20px;
  cursor: not-allowed;
}
.gate-locked-wrap .gate { width: 100%; }

.gate--locked {
  pointer-events: none;
  user-select: none;
  background: #15161c;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  filter: grayscale(1);
}
.gate--locked::after { opacity: 0.15; }
.gate--locked .gate-num { color: rgba(255, 255, 255, 0.12); }
.gate--locked .gate-title { color: var(--text-2); }
.gate--locked .gate-desc { color: var(--text-3); }
.gate--locked .gate-pills span { color: var(--text-4); border-style: dashed; }

.gate-sealed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.gate-sealed .icon { width: 14px; height: 14px; }

.badge-dev {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-2);
  background: rgba(9, 9, 11, 0.65);
}
.badge-dev .bar {
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--text-3);
  animation: blink 1.6s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.tooltip {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 6;
  transform: translate(-50%, calc(-50% + 6px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 18, 22, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.tooltip .icon { width: 14px; height: 14px; color: var(--text-3); }
.gate-locked-wrap:hover .tooltip,
.gate-locked-wrap:focus-visible .tooltip { opacity: 1; transform: translate(-50%, -50%); }

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 32px 0 48px; }
  .hero-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-sub { text-align: left; }
  .gateways { flex-direction: column; height: auto; }
  .gate, .gate-locked-wrap { flex: none; height: auto; }
  .gate { min-height: 400px; }
  .tooltip { white-space: normal; text-align: center; width: max-content; max-width: 86%; }
}

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto { margin-top: 32px; }
.manifesto p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.manifesto p + p { margin-top: 20px; }
.manifesto .lede {
  font-family: var(--font-head);
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--text);
}
.manifesto strong { color: var(--text); font-weight: 500; }

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  font-size: 13.5px;
  color: var(--text-3);
}
.signature b { display: block; color: var(--text); font-weight: 500; font-size: 14px; }
.signature-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.signature-mark svg,
.signature-mark img { width: 24px; height: 24px; object-fit: contain; }

/* Canlı Discord Sunucu Kartı (Widget) */
.dc-widget {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dc-widget:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 56px -24px rgba(0, 0, 0, 0.55);
}

.dc-banner {
  position: relative;
  z-index: 1;
  height: 148px;
  background: linear-gradient(135deg, #231e38 0%, #15161c 100%);
  overflow: hidden;
}
.dc-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.dc-widget:hover .dc-banner img { transform: scale(1.03); }
.dc-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 20, 24, 0.15) 0%, transparent 45%, rgba(27, 28, 34, 0.88) 100%);
  pointer-events: none;
}

.dc-boost-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 24, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f1f1f4;
}

.dc-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 0 24px 24px;
}

.dc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -36px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dc-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  border: 4px solid var(--surface);
  background: var(--surface-2);
  object-fit: cover;
  flex-shrink: 0;
}

.dc-counts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dc-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  color: var(--text-2);
}
.dc-count b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
}
.dc-dot-total {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.dc-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dc-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.dc-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(var(--violet), 0.35);
  background: rgba(var(--violet), 0.12);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgb(196, 188, 252);
}
html[data-theme="light"] .dc-tag {
  color: rgb(88, 70, 214);
}

.dc-founded {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--text-3);
}

.dc-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

.dc-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-faint);
}
.dc-traits span {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}

.dc-join-btn {
  margin-top: 20px;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.dc-join-btn .icon {
  width: 14px;
  height: 14px;
  margin-left: auto;
}

@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .dc-widget { position: static; }
}

/* ---------- Sosyal Medya (@asheliatr) ---------- */
.social-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-handles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-chip:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  transform: translateY(-1px);
}
.social-chip .icon,
.social-chip .icon-brand { width: 15px; height: 15px; }
.social-chip b {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--text);
}

.social-nav {
  display: inline-flex;
  gap: 6px;
}

.social-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-arrow:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
}
.social-arrow:active { transform: scale(0.95); }

/* Yatay kaydırılabilir canlı embed akışı */
.social-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.social-rail::-webkit-scrollbar { height: 6px; }
.social-rail::-webkit-scrollbar-track { background: transparent; }
.social-rail::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}

.social-embed {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.social-embed:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.55);
}

.social-embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-faint);
}

.social-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  flex-shrink: 0;
}
.social-avatar svg { width: 16px; height: 16px; display: block; }
.social-author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
.social-author div > span {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
}

.social-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
}
.social-platform .icon,
.social-platform .icon-brand { width: 12px; height: 12px; }

/* Canlı Resmi Platform Iframe'i (Instagram / TikTok / X) */
.social-frame-wrap {
  position: relative;
  height: 520px;
  background: var(--surface-2);
  overflow: hidden;
  border-bottom: 1px solid var(--border-faint);
}
.social-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

/* Canlı X (Twitter) Profil & Akış Kartı */
.social-x-wrap {
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.x-profile {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.x-banner {
  position: relative;
  z-index: 1;
  height: 108px;
  background: linear-gradient(135deg, #1b1730 0%, #0f0e17 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.x-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 20, 0.45) 100%);
  pointer-events: none;
}
.x-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.x-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 20px 20px;
}
.x-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -34px;
  margin-bottom: 14px;
}
.x-avatar {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid var(--surface);
  background: var(--surface-2);
  object-fit: cover;
  flex-shrink: 0;
}
.x-follow-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
}
.x-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.x-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.x-handle {
  font-size: 12.5px;
  color: var(--text-3);
}
.x-bio {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.x-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.x-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.x-stat b {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.x-stat span {
  font-size: 11px;
  color: var(--text-3);
}
.x-feed {
  margin-top: auto;
  padding-top: 16px;
}
.x-feed-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(85% 90% at 100% 0%, rgba(139, 124, 246, 0.12), transparent 70%),
    var(--surface-2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.x-feed-cta:hover {
  border-color: rgba(var(--violet), 0.55);
  transform: translateY(-1px);
}
.x-feed-cta-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.x-feed-cta-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.x-feed-cta-text span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.x-feed-cta .icon {
  width: 16px;
  height: 16px;
  color: var(--text-2);
  flex-shrink: 0;
}

.social-embed--live .social-embed-foot {
  padding: 12px 16px;
  border-top: 0;
}

.social-embed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-faint);
  font-size: 11.5px;
  color: var(--text-3);
}

.social-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text);
}
.social-open .icon { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.social-open:hover .icon { transform: translate(2px, -2px); }

@media (max-width: 640px) {
  .social-rail { grid-auto-columns: minmax(290px, 86vw); }
  .social-frame-wrap { height: 460px; }
}

/* ---------- Ekosistem ---------- */
.eco-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }

.eco-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.35fr) 120px;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  transition: background-color 0.3s var(--ease);
}
.eco-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0; height: 1px;
  background: var(--text-2);
  transition: width 0.6s var(--ease);
}
.eco-row:hover::before { width: 100%; }

.eco-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.eco-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
}
.eco-desc { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.eco-scope {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-align: right;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .eco-row { grid-template-columns: 56px 1fr; gap: 10px 20px; padding: 28px 0; }
  .eco-desc, .eco-scope { grid-column: 2; }
  .eco-scope { justify-self: start; text-align: left; }
}

/* ---------- Ekip ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.staff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.staff-card:not(.is-loading):hover { border-color: var(--border-strong); transform: translateY(-2px); }

.staff-banner {
  position: relative;
  height: 104px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.03) 31px 32px),
    linear-gradient(135deg, #18181d 0%, #121216 55%, #0e0e11 100%);
  overflow: hidden;
}
.staff-banner.has-color { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.25)); }
.staff-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.staff-banner img.is-loaded { opacity: 1; }
.staff-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 20, 0.55));
  pointer-events: none;
}

.staff-body { position: relative; padding: 0 20px 22px; display: flex; flex-direction: column; flex: 1; }

.staff-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -36px;
  margin-bottom: 16px;
}

.staff-avatar {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  border: 4px solid var(--surface);
  background: var(--surface-3);
  overflow: hidden;
  flex-shrink: 0;
}
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  opacity: 0;
  transition: filter 0.6s var(--ease), opacity 0.4s var(--ease);
}
.staff-avatar img.is-loaded { opacity: 0.92; }
.staff-card:hover .staff-avatar img.is-loaded { filter: grayscale(0); opacity: 1; }

.staff-monogram {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-2);
  background: linear-gradient(135deg, #1e1e24, #141418);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  margin-bottom: 4px;
  border-radius: 5px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}
.role-kurucu { color: #ecdcb8; border-color: rgba(236, 220, 184, 0.28); background: rgba(236, 220, 184, 0.06); }
.role-yonetici { color: #c4bcff; border-color: rgba(var(--violet), 0.32); background: rgba(var(--violet), 0.07); }
.role-gelistirici { color: #9bd3bb; border-color: rgba(var(--emerald), 0.32); background: rgba(var(--emerald), 0.07); }
.role-moderator { color: var(--text-2); border-color: var(--border-strong); }

.staff-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-handle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-bio {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-faint);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* İskelet yükleyiciler */
@keyframes shimmer { to { background-position: -200% 0; } }
.shimmer,
.staff-card.is-loading .staff-banner,
.staff-card.is-loading .staff-avatar,
.staff-card.is-loading .staff-name::before,
.staff-card.is-loading .staff-handle::before,
.staff-card .role-badge:empty,
.staff-card.is-loading .staff-bio:empty::before,
.staff-card.is-loading .staff-bio:empty::after {
  background: linear-gradient(90deg, #141418 0%, #1c1c21 40%, #141418 80%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.staff-card.is-loading .staff-name::before,
.staff-card.is-loading .staff-handle::before,
.staff-card.is-loading .staff-bio:empty::before,
.staff-card.is-loading .staff-bio:empty::after {
  content: "";
  display: block;
  border-radius: 4px;
}
.staff-card.is-loading .staff-name:empty::before { width: 58%; height: 16px; margin: 4px 0 3px; }
.staff-card.is-loading .staff-handle:empty::before { width: 36%; height: 11px; margin-top: 6px; }
.staff-card.is-loading .staff-bio:empty::before { width: 100%; height: 11px; margin-top: 4px; }
.staff-card.is-loading .staff-bio:empty::after { width: 70%; height: 11px; margin-top: 9px; }
.staff-card .role-badge:empty { width: 76px; border-color: transparent; }
.staff-card.is-loading .staff-name:not(:empty)::before,
.staff-card.is-loading .staff-handle:not(:empty)::before { display: none; }

.staff-message {
  grid-column: 1 / -1;
  padding: 40px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.staff-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-4);
}
.staff-note .icon { width: 14px; height: 14px; }

/* ---------- CTA bandı ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(255, 255, 255, 0.045), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
}
.cta p { margin-top: 10px; color: var(--text-2); max-width: 52ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .cta { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p { margin-top: 16px; color: var(--text-3); max-width: 34ch; line-height: 1.65; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-col .locked { color: var(--text-4); cursor: not-allowed; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  color: var(--text-4);
  font-size: 12.5px;
}
.footer-bottom .mono { font-size: 11.5px; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Alt sayfalar ---------- */
.page-hero {
  position: relative;
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--border-faint);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
}
.page-title {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.05;
}
.page-lead { margin-top: 16px; max-width: 60ch; font-size: 16.5px; color: var(--text-2); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-hidden] { color: var(--text-4); }

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 72px 0 120px;
  align-items: start;
}

.channel-list { display: grid; gap: 12px; margin-top: 20px; }

.channel {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease);
}
.channel:hover { border-color: var(--border-strong); }
.channel-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
}
.channel-icon .icon { width: 18px; height: 18px; }
.channel-icon .icon-brand { width: 18px; height: 18px; }
.channel h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.channel p { margin-top: 4px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.channel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.copy-chip:hover { border-color: rgba(255, 255, 255, 0.26); }
.copy-chip .icon { width: 14px; height: 14px; color: var(--text-3); }
.copy-chip.is-copied { color: var(--online); border-color: rgba(74, 222, 128, 0.35); }
.copy-chip.is-copied .icon { color: var(--online); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease);
}
.text-link:hover { border-color: var(--text); }
.text-link .icon { width: 13px; height: 13px; }

.meta-list {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-faint);
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.meta-list div { display: flex; justify-content: space-between; gap: 16px; }
.meta-list dt { color: var(--text-3); }
.meta-list dd { margin: 0; color: var(--text-2); text-align: right; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.form-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.form-card > p { margin-top: 6px; color: var(--text-3); font-size: 13.5px; }

.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.field label .opt { color: var(--text-4); }

.input, .select, .textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.textarea { height: auto; min-height: 148px; padding: 12px 14px; resize: vertical; line-height: 1.6; }

.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select option { background: var(--surface); color: var(--text); }
.select-wrap .icon {
  position: absolute;
  right: 14px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-hint { font-size: 12.5px; color: var(--text-3); max-width: 40ch; line-height: 1.55; }
.form-status { font-family: var(--font-mono); font-size: 12px; color: var(--online); min-height: 1em; }
.form-status:empty { display: none; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 96px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
}

/* Döküman sayfaları */
.doc-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 768px);
  justify-content: center;
  gap: 64px;
  padding: 72px 24px 120px;
  max-width: var(--container);
  margin: 0 auto;
}

.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 1px solid transparent;
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc a:hover, .toc a.is-active { color: var(--text); border-left-color: var(--text-2); }

.doc { max-width: 768px; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.doc-meta b { color: var(--text-2); font-weight: 500; }

.doc section { padding-top: 40px; }
.doc h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.doc h2 .num { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--text-4); }
.doc h3 { font-size: 15.5px; font-weight: 600; margin: 24px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.8; color: var(--text-2); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol.list { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc ul li, .doc ol.list li { position: relative; padding-left: 22px; }
.doc ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.82em;
  width: 6px; height: 1px;
  background: var(--text-3);
}
.doc ol.list { counter-reset: item; }
.doc ol.list li { counter-increment: item; padding-left: 32px; }
.doc ol.list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.2em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-4);
}
.doc strong { color: var(--text); font-weight: 500; }
.doc a:not(.btn) { color: var(--text); border-bottom: 1px solid var(--border-strong); transition: border-color 0.2s; }
.doc a:not(.btn):hover { border-color: var(--text); }
.doc code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.doc-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13.5px;
}
.doc-table th, .doc-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-faint); vertical-align: top; }
.doc-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface);
}
.doc-table td { color: var(--text-2); }
.doc-table td:last-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); white-space: nowrap; }
.doc-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.callout {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--text-3);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.callout b { color: var(--text); font-weight: 500; }

@media (max-width: 960px) {
  .doc-wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .toc { position: static; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .toc ol { border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}

/* 404 */
.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 24px;
}
.notfound .code { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.notfound h1 { margin-top: 16px; font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -0.035em; }
.notfound p { margin: 14px auto 0; max-width: 44ch; color: var(--text-2); }
.notfound .btn { margin-top: 32px; }

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
