/* =========================================================
   TENEZZÜL — Ana stil dosyası (tüm sayfalarda ortak)
   Tema: koyu siyah/gri zemin, bordo/kırmızı vurgu, cam efekti, parıltı
   ========================================================= */

/* ---------- 1. Tasarım değişkenleri (renk, yazı tipi, boşluk) ---------- */
:root {
  --bg: #07070a;               /* ana zemin: neredeyse siyah */
  --bg-2: #0e0e13;             /* ikinci zemin: koyu gri */
  --surface: rgba(22, 20, 26, 0.72); /* cam kart yüzeyi */
  --surface-solid: #141217;
  --line: rgba(255, 255, 255, 0.08);  /* ince çerçeve çizgisi */
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2eeee;             /* ana yazı: kırık beyaz */
  --muted: #a39a9d;            /* ikincil yazı */
  --dim: #6d6568;
  --blood: #8b0f1f;            /* bordo */
  --crimson: #c3162f;          /* koyu kırmızı */
  --ember: #ff3b4f;            /* parlak vurgu (glow) */
  --gold: #d8b27a;             /* küçük detaylar için soluk altın */
  --online: #3ddc84;
  --idle: #f5b83d;
  --dnd: #ef4353;
  --offline: #5c5558;

  --font-display: 'Cinzel', 'Times New Roman', serif;  /* logo ve büyük başlıklar */
  --font-ui: 'Rajdhani', 'Segoe UI', sans-serif;       /* menü, buton, etiket */
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif; /* düz metin */

  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Temel sıfırlama ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Tüm sayfaya çok hafif film grenli doku + kırmızı sis */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(139, 15, 31, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(139, 15, 31, 0.12), transparent 60%),
    var(--bg);
}

/* hidden niteliği, display tanımlı öğelerde de her zaman gizlesin */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }

/* Klavye kullanıcıları için görünür odak halkası */
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* Ekran okuyucular için gizli metin */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- 3. Butonlar ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--btn-bg);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 59, 79, 0.6); }

/* Ana buton: bordo degrade + parıltı */
.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--crimson), var(--blood));
  border-color: rgba(255, 59, 79, 0.5);
  box-shadow: 0 10px 30px -10px rgba(195, 22, 47, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 59, 79, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

/* Butonun üzerinden geçen ışık çizgisi */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Cam buton */
.btn-ghost { --btn-bg: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 4. Navbar (yapışkan üst menü) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
/* Sayfa kaydırılınca cam efektli arka plan gelir */
.nav.is-scrolled {
  background: rgba(8, 8, 11, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px -6px var(--ember); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.12em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.25s;
}
/* Menü öğesinin altındaki kırmızı çizgi */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

/* Mobil menü düğmesi (hamburger) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Hero (ana sayfa girişi) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
/* Arka plan savaş görseli, yavaşça yakınlaşır */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('/assets/hero-bg.jpg') center / cover no-repeat;
  filter: brightness(1.35) saturate(1.1);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
/* Görselin üzerine karartma ve kırmızı ışık */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(7, 7, 10, 0.35), rgba(7, 7, 10, 0.7) 80%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.45) 0%, rgba(7, 7, 10, 0) 35%, rgba(7, 7, 10, 0.25) 70%, var(--bg) 100%);
}
/* Yükselen kıvılcımlar (JS ile üretilir) */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px 2px rgba(255, 59, 79, 0.8);
  opacity: 0;
  animation: emberRise linear infinite;
}

.hero-content { padding: 60px 20px; max-width: 980px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-eyebrow::before,
.hero-eyebrow::after { content: ''; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-eyebrow::after { transform: scaleX(-1); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 13vw, 168px);
  letter-spacing: 0.06em;
  line-height: 1.1;
  padding-top: 0.08em; /* Ü harfinin noktaları kesilmesin */
  /* Metal görünümlü degrade yazı + üzerinden geçen kızıl parıltı */
  background:
    linear-gradient(110deg, transparent 42%, rgba(255, 190, 198, 0.95) 50%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #e9dfe1 45%, #8e7f83 100%);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(195, 22, 47, 0.45));
  animation: titleShine 7s ease-in-out infinite;
}

/* Parlayan lonca amblemi */
.hero-emblem {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 26px;
  border-radius: 50%;
  isolation: isolate;
  animation: float 6s ease-in-out infinite;
}
/* Dönen ışık halkası */
.hero-emblem::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 15%, var(--ember) 30%, transparent 45% 65%, var(--crimson) 80%, transparent 95%);
  animation: spin 5s linear infinite;
}
/* Arkadaki nabız gibi atan kırmızı ışık */
.hero-emblem::after {
  content: '';
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 79, 0.38), transparent 65%);
  animation: pulse 3.2s ease-in-out infinite;
}
.hero-emblem img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #0b0a0d;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.95);
}

/* "Kuruluş 2009 ◆ 17 Yıllık Aile" satırı */
.hero-since {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-since span { color: var(--text); }
.hero-since i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 12px;
  vertical-align: middle;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  transform: rotate(45deg);
}
.hero-tagline {
  margin: 22px auto 40px;
  max-width: 560px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
}
.hero-tagline strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Hero altındaki istatistik şeridi: tek parça cam bar, aralarında ince ayraçlar */
.hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 20, 26, 0.7), rgba(10, 10, 13, 0.7));
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.stat {
  position: relative;
  min-width: 150px;
  padding: 20px 30px;
}
/* Ayraç: önünde görünür bir kutu olan her kutunun solunda (gizli canlı sayaçlar sayılmaz) */
.stat:not([hidden]) ~ .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.stat-value { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 30px; line-height: 1; }
.stat-label { display: block; margin-top: 6px; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stat-live .stat-value { color: var(--online); text-shadow: 0 0 16px rgba(61, 220, 132, 0.5); }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  transform: translateX(-50%);
}
.scroll-hint::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--ember);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- 6. Bölüm başlıkları ---------- */
.section { position: relative; padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(14, 14, 19, 0.8) 15%, rgba(14, 14, 19, 0.8) 85%, transparent); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ember);
}
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.03em;
}
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
/* Ortalanmış başlıkların altında parlayan ince çizgi */
.section-head.center::after {
  content: '';
  display: block;
  width: 140px;
  height: 2px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  box-shadow: 0 0 14px var(--ember);
}

/* ---------- Kayan slogan bandı ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid rgba(255, 59, 79, 0.18);
  background: linear-gradient(90deg, rgba(139, 15, 31, 0.3), rgba(14, 14, 19, 0.92) 30%, rgba(14, 14, 19, 0.92) 70%, rgba(139, 15, 31, 0.3));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.2em;
  color: rgba(242, 238, 238, 0.9);
  white-space: nowrap;
}
/* Her ikinci kelime sadece dış çizgi (outline) olarak yazılır */
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 238, 0.55); }
/* Kelimeler arasındaki parlayan elmas */
.marquee-track span::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  transform: rotate(45deg);
}

/* ---------- 7. Cam kart (tüm kartların temeli) ---------- */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 79, 0.35);
  box-shadow: 0 24px 60px -30px rgba(195, 22, 47, 0.6);
}
/* Fareyi takip eden kızıl ışık (konumu JS ile --mx / --my olarak verilir) */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 59, 79, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover::after { opacity: 1; }
.card h3 { font-family: var(--font-ui); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.card p { margin-top: 10px; color: var(--muted); }
.card-index {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ember);
  letter-spacing: 0.15em;
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 8. Hakkımızda ---------- */
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-paragraphs { margin-top: 24px; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: var(--muted); font-size: 17px; }
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.02);
}
/* Görselin arkasındaki kırmızı çerçeve kayması */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid rgba(195, 22, 47, 0.5);
  border-radius: var(--radius-lg);
}
.values { margin-top: 64px; }

/* Görselin üzerindeki yüzen cam rozetler (Kuruluş 2009 / 17+ Yıllık Aile) */
.about-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(12, 11, 15, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.95), 0 0 32px -12px var(--ember);
  animation: float 6s ease-in-out infinite;
}
.about-badge b { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; color: #fff; }
.about-badge > span { margin-top: 6px; font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember); }
.about-badge-top { top: -24px; left: -24px; }
.about-badge-bottom { right: -14px; bottom: 34px; animation-delay: -3s; }

/* ---------- 9. Lonca: sekmeler + zaman çizelgesi ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.25s;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected='true'],
.tab[aria-pressed='true'] {
  color: var(--text);
  border-color: rgba(255, 59, 79, 0.6);
  background: linear-gradient(135deg, rgba(195, 22, 47, 0.35), rgba(139, 15, 31, 0.2));
  box-shadow: 0 0 24px -8px var(--ember);
}
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp 0.5s var(--ease); }

/* Tarihçe zaman çizelgesi */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--ember), rgba(195, 22, 47, 0.1));
}
.timeline .card::before {
  content: '';
  position: absolute;
  left: -34px; top: 34px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--ember);
  box-shadow: 0 0 14px var(--ember);
}
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--ember); }

/* Savaş kartları */
.war { display: flex; flex-direction: column; gap: 6px; }
.war-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.war-vs { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.2em; color: var(--dim); text-transform: uppercase; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge-win { color: var(--online); border-color: rgba(61, 220, 132, 0.4); background: rgba(61, 220, 132, 0.08); }
.badge-loss { color: var(--dnd); border-color: rgba(239, 67, 83, 0.4); background: rgba(239, 67, 83, 0.08); }
.badge-draw { color: var(--idle); border-color: rgba(245, 184, 61, 0.4); background: rgba(245, 184, 61, 0.08); }
.meta-line { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }

/* ---------- 10. Galeri ---------- */
.gallery-filters { justify-content: center; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: saturate(0.85); }
.gallery-item:hover { border-color: rgba(255, 59, 79, 0.45); box-shadow: 0 20px 50px -24px rgba(195, 22, 47, 0.7); }
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { transform: none; opacity: 1; }
.gallery-caption strong { display: block; font-family: var(--font-ui); font-size: 18px; letter-spacing: 0.04em; }
.gallery-caption span { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; color: var(--ember); text-transform: uppercase; }

/* Lightbox (tam ekran görsel) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 60px 70px;
  background: rgba(4, 4, 6, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img {
  max-height: 78vh;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 1), 0 0 0 1px var(--line-strong);
  animation: zoomIn 0.4s var(--ease);
}
.lightbox figcaption { margin-top: 18px; font-family: var(--font-ui); font-size: 18px; letter-spacing: 0.08em; color: var(--muted); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 22px;
  transition: background 0.25s, border-color 0.25s;
}
.lb-btn:hover { background: rgba(195, 22, 47, 0.4); border-color: var(--ember); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- 11. Discord bölümü ---------- */
.discord-cta {
  position: relative;
  padding: 90px 40px;
  border: 1px solid rgba(255, 59, 79, 0.25);
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(195, 22, 47, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(20, 18, 23, 0.9), rgba(10, 10, 13, 0.95));
}
/* Arkada dönen ışık halkası */
.discord-cta::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 65%, rgba(255, 59, 79, 0.75) 80%, transparent 92%);
  animation: spin 12s linear infinite;
}
.discord-cta::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 27px;
  background: linear-gradient(180deg, rgba(16, 15, 19, 0.96), rgba(9, 9, 12, 0.98));
}
.discord-icon { width: 72px; height: 72px; margin: 0 auto 24px; color: var(--ember); filter: drop-shadow(0 0 20px rgba(255, 59, 79, 0.6)); }
.discord-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 6vw, 72px); letter-spacing: 0.05em; }
.discord-sub { max-width: 560px; margin: 16px auto 36px; font-size: 18px; color: var(--muted); }
.discord-live { display: flex; justify-content: center; gap: 28px; margin-top: 32px; font-family: var(--font-ui); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; font-size: 14px; }
.discord-live b { color: var(--text); font-size: 18px; }

/* ---------- 12. Alt bilgi (footer) ---------- */
.footer { position: relative; overflow: hidden; padding: 90px 0 40px; border-top: 1px solid var(--line); background: rgba(5, 5, 7, 0.8); }
/* Arkadaki dev, sadece dış çizgili TENEZZÜL yazısı */
.footer .footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -0.3em;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 17vw, 250px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.footer-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { color: var(--dim); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--font-ui); letter-spacing: 0.12em; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- 13. Yardımcılar ---------- */
.empty {
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--offline); }
.status-dot.online { background: var(--online); box-shadow: 0 0 10px var(--online); }
.status-dot.idle { background: var(--idle); box-shadow: 0 0 10px var(--idle); }
.status-dot.dnd { background: var(--dnd); box-shadow: 0 0 10px var(--dnd); }

/* Açma/kapama anahtarı (üyeler sayfası "Sadece online" ve admin paneli) */
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.1em; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { position: relative; flex-shrink: 0; width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-strong); transition: background 0.25s; }
.switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform 0.3s var(--ease), background 0.25s; }
.switch input:checked + .switch-track { background: rgba(61, 220, 132, 0.25); border-color: rgba(61, 220, 132, 0.5); }
.switch input:checked + .switch-track::after { transform: translateX(18px); background: var(--online); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--ember); outline-offset: 3px; }

/* Kaydırınca beliren öğeler (JS "is-visible" sınıfı ekler) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Sayfanın üstündeki okuma ilerleme çubuğu (JS ekler) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blood), var(--ember));
  box-shadow: 0 0 10px var(--ember);
  pointer-events: none;
}

/* Tüm sayfaya çok hafif film greni (sinematik doku) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- 13b. v1.3 görsel iyileştirmeler ---------- */

/* Yazı seçme rengi ve özel kaydırma çubuğu */
::selection { background: rgba(195, 22, 47, 0.55); color: #fff; }
html { scrollbar-color: var(--blood) var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 2px solid var(--bg); border-radius: 10px; background: linear-gradient(180deg, var(--crimson), var(--blood)); }

/* Açılış ekranı: amblem + isim belirir, ~2 saniyede kendiliğinden kaybolur (JS gerekmez) */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 50%, #1a0a0f, var(--bg) 70%);
  animation: introOut 0.7s var(--ease) 1.9s forwards;
  pointer-events: none;
}
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 59, 79, 0.5), 0 0 60px -6px var(--ember);
  animation: introEmblem 1.1s var(--ease) both;
}
.intro-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 54px);
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* harf aralığı yüzünden kayan ortalamayı düzeltir */
  color: #fff;
  animation: introName 1.2s var(--ease) 0.25s both;
}
.intro-line {
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  box-shadow: 0 0 14px var(--ember);
  transform-origin: center;
  animation: introLine 0.9s var(--ease) 0.6s both;
}
.intro-since {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  animation: fadeUp 0.8s var(--ease) 0.9s both;
}
/* Oturumda ikinci kez açılırsa JS bu sınıfı ekler, giriş gösterilmez */
.intro.is-skipped { display: none; }

/* Hero parçaları giriş ekranından sonra sırayla yukarı kayarak gelir */
/* --intro: giriş ekranının süresi (atlanırsa kısalır), --d: her parçanın sıra gecikmesi */
:root { --intro: 2s; }
.no-intro { --intro: 0.1s; }
.hero-content > * { animation: heroIn 1s var(--ease) calc(var(--intro) + var(--d, 0s)) both; }
.hero-content > :nth-child(2) { --d: 0.1s; }
.hero-content > :nth-child(3) { --d: 0.2s; }
.hero-content > :nth-child(4) { --d: 0.35s; }
.hero-content > :nth-child(5) { --d: 0.45s; }
.hero-content > :nth-child(6) { --d: 0.55s; }
.hero-content > :nth-child(7) { --d: 0.7s; }
/* Amblem girişte kayar, sonra sürekli süzülür; başlık girişte kayar, sonra parıltı geçer */
.hero-content > .hero-emblem { animation: heroIn 1s var(--ease) var(--intro) both, float 6s ease-in-out calc(var(--intro) + 1s) infinite; }
.hero-content > .hero-title { animation: heroIn 1s var(--ease) calc(var(--intro) + var(--d)) both, titleShine 7s ease-in-out calc(var(--intro) + 1s) infinite; }

/* Hero'nun dört köşesinde ince altın süs çerçeve */
.hero-frame { position: absolute; inset: calc(var(--nav-h) + 24px) 28px 28px; z-index: -1; pointer-events: none; }
.hero-frame i { position: absolute; width: 64px; height: 64px; border: 0 solid rgba(216, 178, 122, 0.45); }
.hero-frame i::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216, 178, 122, 0.7);
  transform: rotate(45deg);
}
.hero-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hero-frame i:nth-child(1)::after { top: -4px; left: -4px; }
.hero-frame i:nth-child(2)::after { top: -4px; right: -4px; }
.hero-frame i:nth-child(3)::after { bottom: -4px; left: -4px; }
.hero-frame i:nth-child(4)::after { bottom: -4px; right: -4px; }

/* Fare hareketiyle hafifçe kayan hero arka planı (JS --px / --py verir) */
.hero-bg { inset: -30px; translate: var(--px, 0) var(--py, 0); transition: translate 0.6s var(--ease); }

/* Değer kartları: ikonlu madalyon */
.value-card { text-align: left; }
.value-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 59, 79, 0.4);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(195, 22, 47, 0.3), rgba(139, 15, 31, 0.08));
  color: var(--ember);
  box-shadow: 0 0 28px -10px var(--ember), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.08); box-shadow: 0 0 40px -6px var(--ember), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
/* Kartın üst kenarında hoverda parlayan çizgi */
.value-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.value-card:hover::before { opacity: 1; }

/* Savaş kartı: "TENEZZÜL VS Rakip" başlığı */
.war-vs b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--blood));
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 16px -4px var(--ember);
}
.war h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; }

/* Yukarı çık butonu (JS ekler) */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 59, 79, 0.45);
  border-radius: 14px;
  background: rgba(14, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.9), 0 0 24px -10px var(--ember);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), background 0.25s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: linear-gradient(135deg, var(--crimson), var(--blood)); }
.to-top svg { width: 20px; height: 20px; }

/* Tarihçe: masaüstünde ortadan akan, sağlı sollu zaman çizelgesi */
@media (min-width: 901px) {
  .timeline { padding-left: 0; gap: 0; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline .card { width: calc(50% - 48px); }
  .timeline .card:nth-child(odd) { justify-self: start; text-align: right; }
  .timeline .card:nth-child(even) { justify-self: end; }
  /* Kartlar birbirine hafifçe geçer, böylece zikzak akış oluşur */
  .timeline .card:nth-child(n + 2) { margin-top: -40px; }
  .timeline .card:nth-child(odd)::before { left: auto; right: -56px; }
  .timeline .card:nth-child(even)::before { left: -56px; }
  .timeline-year { font-size: 34px; }
}

/* ---------- 14. Animasyonlar ---------- */
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes introEmblem { from { opacity: 0; transform: scale(0.6) rotate(-20deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introName { from { opacity: 0; letter-spacing: 0.8em; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes introLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes titleShine { 0%, 15% { background-position: 150% 0, 0 0; } 65%, 100% { background-position: -50% 0, 0 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes emberRise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--drift, 30px), -105vh) scale(0.3); opacity: 0; }
}
@keyframes scrollDot { 0%, 100% { transform: translate(-50%, 0); opacity: 1; } 60% { transform: translate(-50%, 14px); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hareket azaltma tercihi olan kullanıcılar için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
  :root { --intro: 0s; }
}

/* ---------- 15. Duyarlı tasarım (tablet ve mobil) ---------- */
@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-toggle { display: block; }
  /* Mobil menü: sağdan açılan cam panel */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 24px;
    background: rgba(8, 8, 11, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .nav.is-open { background: rgba(8, 8, 11, 0.97); }
  .nav.is-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 16px; }

  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  /* Tek sütunda rozetler görselin içinde kalsın (ekran dışına taşmasın) */
  .about-badge-top { top: 16px; left: 16px; }
  .about-badge-bottom { right: 16px; bottom: 16px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 90px 0; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; grid-row: auto; }
  .hero-actions .btn { width: 100%; }
  /* Mobilde istatistikler 2 sütunlu ızgara */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .stat { min-width: 0; padding: 16px 12px; box-shadow: inset -1px -1px 0 var(--line); }
  .stat:not([hidden]) ~ .stat::before { display: none; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-emblem { width: 96px; height: 96px; margin-bottom: 20px; }
  .hero-since { font-size: 12px; letter-spacing: 0.2em; }
  .about-badge { padding: 12px 16px; }
  .about-badge b { font-size: 26px; }
  .discord-cta { padding: 64px 22px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .section-head { margin-bottom: 40px; }
  /* Mobilde süs çerçeve daha küçük ve kenara yakın */
  .hero-frame { inset: calc(var(--nav-h) + 10px) 10px 10px; }
  .hero-frame i { width: 34px; height: 34px; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* Kısa ekranlarda "aşağı kaydır" ikonu istatistiklerle çakışmasın */
@media (max-height: 950px) {
  .scroll-hint { display: none; }
}

/* Masaüstünde mobil menü butonunu gizle */
.nav-mobile-cta { display: none; }
