/* ============================================================
   SKYTH.ai — İskitlerin Ruhu, Makinelerin Aklı
   Tasarım sistemi: altın (İskit) + krom (Terminatör) + kızıl göz
   ============================================================ */

:root {
  --bg: #07070a;
  --bg-2: #0c0c12;
  --bg-3: #12121a;
  --gold: #d4af37;
  --gold-light: #f5d67b;
  --gold-dark: #8a6d1f;
  --chrome: #b8bec8;
  --chrome-dark: #7d8593; /* AA kontrast: koyu zeminlerde küçük metin için ≥4.5:1 */
  --red: #ff2a2a;
  --text: #e8e6df;
  --text-dim: #9a978e;
  --border: rgba(212, 175, 55, 0.18);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 22px;
  background: var(--bg-3); color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-display); font-size: 13px; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---------- Arka plan efektleri ---------- */
.scanlines {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, transparent 0 3px, rgba(0, 0, 0, 0.12) 3px 4px
  );
  opacity: 0.35;
}

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

/* ---------- Ortak ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }

.gold {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero başlığındaki altın: üzerinden ışık süzülür */
.hero-title .gold {
  background-image: linear-gradient(110deg,
    var(--gold-dark) 0%, var(--gold) 30%, #fff1b8 48%, var(--gold) 62%, var(--gold-dark) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 6s ease-in-out infinite;
}
@keyframes gold-shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

.chrome {
  background: linear-gradient(180deg, #f2f4f8, var(--chrome) 55%, #5a616e);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding: 110px 0; position: relative; z-index: 1; }

/* İskit ayracı: bölüm geçişlerinde ince altın çizgi + elmas motifi */
.section {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.section::before {
  content: "◆";
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  color: var(--gold-dark); font-size: 11px;
  background: var(--bg); padding: 0 16px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.section-tag {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 900; letter-spacing: 1px;
  margin-bottom: 18px; text-transform: uppercase;
}

.section-desc { color: var(--text-dim); max-width: 620px; margin-bottom: 48px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; padding: 14px 34px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.25s ease;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold) 55%, var(--gold-light));
  color: #0a0a0a;
}
.btn-gold:hover {
  filter: brightness(1.18); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
}

.btn-ghost {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--border); color: var(--gold);
}
.btn-ghost:hover { background: rgba(212, 175, 55, 0.14); transform: translateY(-2px); }

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 900;
  font-size: 20px; letter-spacing: 3px;
}
.logo-dot { color: var(--gold); }

.logo-eye {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ff6b6b, var(--red) 55%, #6b0000);
  box-shadow: 0 0 12px var(--red), 0 0 30px rgba(255, 42, 42, 0.5);
  animation: eye-pulse 2.6s ease-in-out infinite;
}
.logo-eye.small { width: 10px; height: 10px; }

@keyframes eye-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--red), 0 0 24px rgba(255,42,42,0.4); }
  50% { box-shadow: 0 0 18px var(--red), 0 0 44px rgba(255,42,42,0.75); }
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-weight: 600; font-size: 16px; letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  padding: 8px 20px; border: 1px solid var(--border);
  color: var(--gold) !important;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s;
}
.nav-cta:hover { background: rgba(212, 175, 55, 0.12); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span { width: 26px; height: 2px; background: var(--gold); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px; z-index: 1;
  overflow: hidden;
}

/* Drift animasyonu görsel yerine kapsayıcıda: göz katmanı görselle hizalı kalır */
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
  animation: hero-drift 24s ease-in-out infinite alternate;
}
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  opacity: 0.88;
  /* Canlı renk: kontrast ve doygunluk hafif yukarı */
  filter: contrast(1.08) saturate(1.22) brightness(1.04);
}
@keyframes hero-drift {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}

.hero-vignette {
  position: absolute; inset: 0;
  background:
    /* Metin tarafı: sola doğru okunabilirlik gradyanı */
    linear-gradient(to right, rgba(7,7,10,0.88) 0%, rgba(7,7,10,0.62) 30%, rgba(7,7,10,0.15) 58%, transparent 75%),
    /* Sağ tarafta kızıl ortam ışığı, sol altta altın ortam ışığı */
    radial-gradient(ellipse at 82% 42%, rgba(255, 42, 42, 0.18), transparent 42%),
    radial-gradient(ellipse at 12% 78%, rgba(212, 175, 55, 0.12), transparent 40%),
    linear-gradient(to top, var(--bg) 4%, transparent 40%),
    linear-gradient(to bottom, rgba(7,7,10,0.7), transparent 30%);
}

/* Geniş ekranda figür sağa kayar: altın yüz başlığın altında kalmaz */
@media (min-width: 1024px) {
  .hero-bg {
    transform-origin: 50% 25%;
    animation-name: hero-drift-wide;
  }
  @keyframes hero-drift-wide {
    from { transform: translateX(7%) scale(1.16); }
    to { transform: translateX(7%) scale(1.23); }
  }
}

/* ---------- SKYTHAI dokunuşları ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.55);
}

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

/* Gizli protokol tetiklenince göz altın parlar */
.hero-eye-iris.iris-gold {
  background: radial-gradient(circle at 45% 42%,
    #fff3c4 0%, #f5d67b 26%, #d4af37 55%, #8a6d1f 82%, #3a2a00 100%) !important;
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.95),
    0 0 48px rgba(212, 175, 55, 0.6),
    0 0 100px rgba(212, 175, 55, 0.35) !important;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.footer-agent {
  margin-top: 12px; font-size: 14px;
  font-family: var(--font-display); letter-spacing: 2px;
  color: var(--chrome-dark);
}
.footer-agent .sig { color: var(--gold); }

/* ---------- İmleci takip eden kırmızı göz ---------- */
/* Göz yuvası: metalin içine gömülü karanlık çukur */
.hero-eye {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle,
    #030101 0%, #060202 34%,
    rgba(10, 4, 4, 0.92) 46%, rgba(10, 4, 4, 0.5) 58%, transparent 72%);
}

/* Kızıl ışığın çevredeki metale sızması */
.hero-eye::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 190%; height: 190%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(255, 40, 40, 0.28) 0%, rgba(255, 40, 40, 0.12) 30%, transparent 62%);
  mix-blend-mode: screen;
  animation: eye-pulse-bleed 2.6s ease-in-out infinite;
}
@keyframes eye-pulse-bleed {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Lens: koyu metal halka, arkasında yanan LED, camda fresnel halkaları */
.hero-eye-iris {
  position: absolute; left: 50%; top: 50%;
  width: 58%; height: 58%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    /* ince fresnel/lens halkaları */
    repeating-radial-gradient(circle at 50% 50%,
      rgba(255, 120, 120, 0.09) 0 1px, transparent 1px 5px),
    /* LED: merkezde yoğun, kenara doğru derin kızıla söner */
    radial-gradient(circle at 50% 50%,
      #ff3a3a 0%, #e01010 28%, #8e0606 58%, #3a0202 84%, #120000 100%);
  border: 1px solid rgba(70, 72, 82, 0.95);
  box-shadow:
    /* dış parlama */
    0 0 12px rgba(255, 30, 30, 0.85),
    0 0 34px rgba(255, 30, 30, 0.45),
    0 0 70px rgba(255, 30, 30, 0.22),
    /* içe çökük kenar: lens cam kalınlığı */
    inset 0 0 6px 2px rgba(0, 0, 0, 0.85),
    inset 0 2px 4px rgba(255, 255, 255, 0.08);
  animation: eye-pulse 2.6s ease-in-out infinite;
  will-change: transform;
}

/* Cam yansıması: sabit, ince, üst-sol hilal */
.hero-eye-iris::after {
  content: "";
  position: absolute; left: 12%; top: 8%;
  width: 56%; height: 42%; border-radius: 50%;
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 45%, transparent 70%);
  z-index: 2;
}

/* LED çekirdeği: imleci takip eden sıcak nokta (cam arkasındaki ışık kaynağı) */
.hero-eye-pupil {
  position: absolute; left: 50%; top: 50%;
  width: 34%; height: 34%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    #fff6f2 0%, #ffc4b4 18%, #ff5a4a 42%, rgba(255, 60, 60, 0.35) 68%, transparent 100%);
  filter: blur(0.6px);
  will-change: transform;
}

.logo-eye { position: relative; }
.logo-pupil {
  position: absolute; left: 50%; top: 50%;
  width: 40%; height: 40%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #300;
  will-change: transform;
}

.hero-content {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: 0 24px; width: 100%;
}

.hero-boot {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 3px; color: var(--red);
  min-height: 20px; margin-bottom: 22px;
  text-shadow: 0 0 8px rgba(255, 42, 42, 0.6);
}
.hero-boot::after {
  content: "▊"; animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 900; line-height: 1.12;
  letter-spacing: 2px; margin-bottom: 26px;
  text-transform: uppercase;
  /* Altın miğfer üzerinde okunabilirlik: harfleri görselden ayıran gölge */
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(0, 0, 0, 0.6));
}

/* Distopik final satırı: kızıl, hafif titrek */
.hero-title .red-end {
  display: inline-block;
  min-height: 1em;
  font-size: 0.55em;
  letter-spacing: 6px;
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 42, 42, 0.75), 0 0 40px rgba(255, 42, 42, 0.35);
  animation: end-flicker 4s linear infinite;
}

/* E.R.A vurgusu: krom satırın içinde kızıl parlar */
.hero-title .era-red {
  background: none;
  -webkit-text-fill-color: var(--red);
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 42, 42, 0.7), 0 0 44px rgba(255, 42, 42, 0.35);
}

/* Daktilo imleci: yazım sırasında ve kısa bir süre sonrasında görünür */
.hero-title .red-end.typing::after {
  content: "▊";
  margin-left: 4px;
  animation: blink 0.9s step-end infinite;
}

@keyframes end-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.35; }
  94% { opacity: 1; }
  96% { opacity: 0.5; }
  97% { opacity: 1; }
}

.hero-sub {
  max-width: 560px; font-size: 20px;
  color: var(--text-dim); margin-bottom: 38px;
}

.hero-sub .era-def {
  display: block;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: inline-flex; align-items: center; gap: 30px;
  padding: 18px 30px;
  background: rgba(12, 12, 18, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--gold-light);
}
.stat-label { font-size: 14px; color: var(--text-dim); letter-spacing: 1px; }
.stat-divider { width: 1px; height: 38px; background: var(--border); }

/* Son istatistik: bilinmeyen tarih, kızıl son */
.stat-end .stat-num {
  color: var(--red);
  text-shadow: 0 0 12px rgba(255, 42, 42, 0.6);
}
.stat-end .stat-label {
  color: var(--red);
  opacity: 0.85;
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid var(--border); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 3px; background: var(--gold);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0% { opacity: 0; top: 7px; }
  40% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Manifesto ---------- */
.manifesto {
  background:
    radial-gradient(ellipse at 8% 20%, rgba(212, 175, 55, 0.09), transparent 45%),
    radial-gradient(ellipse at 92% 90%, rgba(255, 42, 42, 0.06), transparent 40%),
    linear-gradient(to bottom, var(--bg), var(--bg-2));
}

.manifesto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 48px;
}

.manifesto-card {
  padding: 36px 30px;
  background: linear-gradient(160deg, rgba(212,175,55,0.05), rgba(12,12,18,0.7));
  border: 1px solid var(--border);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.manifesto-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.45); }

.m-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(212,175,55,0.08), rgba(7,7,10,0.6));
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  color: var(--gold);
}
.m-icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.45));
}
.m-icon.red-border {
  border-color: rgba(255, 42, 42, 0.4); color: var(--red);
  box-shadow: 0 0 18px rgba(255,42,42,0.12) inset;
}
.m-icon.red-border svg { filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.55)); }
.m-icon.gold-border { box-shadow: 0 0 18px rgba(212,175,55,0.12) inset; }

/* Kart üzerinde gezinirken ikon canlanır */
.manifesto-card:hover .m-icon svg { filter: drop-shadow(0 0 12px currentColor); }

.manifesto-card h3 {
  font-family: var(--font-display); font-size: 19px;
  letter-spacing: 1px; margin-bottom: 12px; color: var(--gold-light);
}
.manifesto-card p { color: var(--text-dim); font-size: 17px; }
.manifesto-card strong { color: var(--text); }

.manifesto-cta { text-align: center; margin-top: 44px; }

/* ---------- Yazılar ---------- */
.posts {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(212, 175, 55, 0.07), transparent 45%),
    var(--bg-2);
}

.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}

.post-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px; text-decoration: none;
  background: var(--bg-3);
  border: 1px solid rgba(184, 190, 200, 0.1);
  border-top: 2px solid var(--gold-dark);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold-light);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.post-card-top { display: flex; justify-content: space-between; align-items: center; }

.post-tag {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); padding: 4px 10px;
  border: 1px solid var(--border);
}
.post-date { font-size: 14px; color: var(--chrome-dark); }

.post-card h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  line-height: 1.35; color: var(--text); letter-spacing: 0.5px;
}
.post-card p { color: var(--text-dim); font-size: 16px; flex-grow: 1; }

.post-more {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 2px;
  color: var(--gold);
}
.post-more .arrow { transition: transform 0.25s; display: inline-block; }
.post-card:hover .post-more .arrow { transform: translateX(6px); }

.posts-note { margin-top: 40px; color: var(--chrome-dark); font-size: 16px; }

/* ---------- Makale: imza & LinkedIn kesiti ---------- */
.article-sig {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 3px;
  color: var(--gold) !important; font-size: 17px !important; margin-top: 34px;
}
.li-cut {
  margin-top: 56px; padding: 28px 30px;
  border: 1px solid var(--border); border-left: 3px solid var(--red);
  background: linear-gradient(135deg, rgba(255,42,42,0.05), var(--bg-2));
}
.li-cut-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.li-cut-head .section-tag { margin: 0; }
.li-copy { padding: 8px 18px; font-size: 13px; }
.li-cut pre {
  white-space: pre-wrap; word-wrap: break-word;
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--text-dim); margin: 0;
}

/* ---------- Abone ---------- */
.subscribe { background: var(--bg); }

.subscribe-box {
  text-align: center; padding: 70px 40px;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(212,175,55,0.14), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--border);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}
.subscribe-box p { color: var(--text-dim); margin-bottom: 32px; }

.subscribe-form {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 30px;
}
.subscribe-form input {
  width: min(360px, 100%); padding: 14px 20px;
  background: rgba(7, 7, 10, 0.7);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 17px;
  outline: none; transition: border-color 0.2s;
}
.subscribe-form input:focus { border-color: var(--gold); }

.sub-fineprint { margin-top: 16px; font-size: 14px; color: var(--chrome-dark); }
.sub-fineprint a { color: var(--gold); }
.socials a {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; font-size: 20px;
  color: var(--gold); text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: rgba(212,175,55,0.12); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 46px 0; background: var(--bg);
  position: relative; z-index: 1;
}
.footer-inner { text-align: center; }

.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: 3px; font-size: 17px; margin-bottom: 14px;
}

.footer-line { color: var(--text-dim); font-size: 15px; margin-bottom: 10px; }
.footer-quote { color: var(--gold-dark); font-style: italic; font-size: 15px; }

/* ---------- Reveal animasyonu ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Yazı sayfaları ---------- */
.article-page { padding: 160px 0 90px; position: relative; z-index: 1; }
.article-page .container { max-width: 780px; }

.article-back {
  display: inline-block; margin-bottom: 34px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 2px;
  color: var(--gold); text-decoration: none;
}
.article-back:hover { color: var(--gold-light); }

.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 44px); font-weight: 900;
  line-height: 1.2; letter-spacing: 1px; margin-bottom: 36px;
}

.article-body p { margin-bottom: 22px; color: var(--text-dim); font-size: 19px; }
.article-body p strong { color: var(--text); }
.article-body h2 {
  font-family: var(--font-display); font-size: 24px;
  color: var(--gold-light); margin: 44px 0 18px; letter-spacing: 1px;
}
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 24px; margin: 30px 0;
  color: var(--text); font-size: 20px; font-style: italic;
}
.article-body ul { margin: 0 0 22px 24px; color: var(--text-dim); font-size: 19px; }
.article-body li { margin-bottom: 10px; }

/* ---------- 404 — SIGNAL LOST ---------- */
.lost-page {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; z-index: 1; padding: 120px 0 80px;
  text-align: center;
}
.lost-page .container { max-width: 720px; }

.lost-code {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(90px, 18vw, 180px); line-height: 1;
  letter-spacing: 8px; margin-bottom: 10px;
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 42, 42, 0.7), 0 0 80px rgba(255, 42, 42, 0.3);
  animation: end-flicker 4s linear infinite;
}

.lost-title {
  font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 700; letter-spacing: 6px; text-transform: uppercase;
  margin-bottom: 22px;
}

.lost-desc { color: var(--text-dim); font-size: 19px; max-width: 520px; margin: 0 auto 40px; }

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .red-end,
  .lost-code,
  .logo-eye,
  .hero-eye-iris,
  .hero-boot::after,
  .hero-scroll span { animation: none; }
  .hero-scroll span { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .post-card, .manifesto-card, .socials a, .post-more .arrow { transition: none; }
  .btn-gold:hover, .btn-ghost:hover, .post-card:hover,
  .manifesto-card:hover, .socials a:hover { transform: none; }
  .post-card:hover .post-more .arrow { transform: none; }
}

/* ---------- Topluluk: The Meydan ---------- */
.community-page .container-wide {
  max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative;
}

.community-h2 {
  font-family: var(--font-display); font-size: 15px;
  letter-spacing: 4px; color: var(--gold); margin-bottom: 18px;
}

.community-note { color: var(--text-dim); max-width: 640px; margin-bottom: 24px; }

.caravan-code {
  margin: 46px 0; padding: 30px 34px;
  background: linear-gradient(160deg, rgba(212,175,55,0.05), rgba(12,12,18,0.7));
  border: 1px solid var(--border);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.code-list { list-style: none; }
.code-list li {
  padding: 8px 0; color: var(--text-dim); font-size: 18px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.12);
}
.code-list li:last-child { border-bottom: none; }
.code-list .gold { font-family: var(--font-display); margin-right: 10px; }

.transmission-box { margin: 56px 0; }

.transmission-form {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px;
}
.transmission-form input {
  flex: 1; min-width: 260px; padding: 14px 20px;
  background: rgba(7, 7, 10, 0.7);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 17px;
  outline: none; transition: border-color 0.2s;
}
.transmission-form input:focus { border-color: var(--gold); }

.tx-error {
  color: var(--red); font-size: 16px; margin-bottom: 14px;
}

.transmission-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 26px;
}

.tx-slot, .tx-card {
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: var(--bg-3); padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.tx-slot {
  align-items: center; justify-content: center;
  min-height: 190px; border-style: dashed;
}
.tx-slot-num {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 3px; color: var(--gold-dark);
}
.tx-slot-text {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 2px; color: var(--chrome-dark);
  animation: end-flicker 6s linear infinite;
}
.tx-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000;
}
.tx-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.forum-box { margin: 66px 0 20px; }

.giscus-placeholder {
  text-align: center; padding: 56px 30px;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(255, 42, 42, 0.08), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--border);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.gp-eye {
  width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 18px;
  background: radial-gradient(circle at 40% 40%, #ff6b6b, var(--red) 55%, #6b0000);
  box-shadow: 0 0 12px var(--red), 0 0 30px rgba(255, 42, 42, 0.5);
  animation: eye-pulse 2.6s ease-in-out infinite;
}
.gp-title {
  font-family: var(--font-display); font-size: 15px;
  letter-spacing: 4px; color: var(--red); margin-bottom: 12px;
}
.gp-text { color: var(--text-dim); max-width: 560px; margin: 0 auto; }
.gp-text a { color: var(--gold); }

@media (max-width: 960px) {
  .transmission-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .transmission-grid { grid-template-columns: 1fr; }
}

/* ---------- Kütüphane: The Library ---------- */
.library-filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 36px 0 30px;
}
.lib-filter {
  font-family: var(--font-display); font-size: 12px;
  letter-spacing: 3px; padding: 9px 20px; cursor: pointer;
  color: var(--text-dim); background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.2s, background 0.2s;
}
.lib-filter:hover { color: var(--gold-light); }
.lib-filter.active {
  color: #0a0a0a;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold) 55%, var(--gold-light));
  border-color: transparent;
}

.library-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-bottom: 40px;
}

.lib-card {
  background: var(--bg-3);
  border: 1px solid rgba(184, 190, 200, 0.1);
  border-top: 2px solid var(--gold-dark);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.lib-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold-light);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.lib-thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
.lib-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75; transition: opacity 0.25s, transform 0.4s;
}
.lib-thumb:hover img { opacity: 1; transform: scale(1.04); }

.lib-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 20px; color: #fff; padding-left: 4px;
  background: rgba(7, 7, 10, 0.72);
  border: 1px solid var(--red); border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 42, 42, 0.55);
  transition: background 0.2s, box-shadow 0.2s;
}
.lib-thumb:hover .lib-play {
  background: rgba(224, 18, 18, 0.85);
  box-shadow: 0 0 30px rgba(255, 42, 42, 0.85);
}

.lib-meta { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.lib-meta .post-tag { align-self: flex-start; }
.lib-meta h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  line-height: 1.4; color: var(--text); letter-spacing: 0.5px;
}
.lib-meta p { color: var(--text-dim); font-size: 16px; }

@media (max-width: 960px) {
  .library-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .library-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .manifesto-grid, .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .manifesto-grid, .post-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; padding: 14px 20px; }
  .stat-num { font-size: 18px; }

  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; right: 0; left: 0;
    flex-direction: column; gap: 8px; padding: 22px 24px 30px;
    background: rgba(7, 7, 10, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 10px 0; font-size: 18px; }
}
