:root {
  --gold: #D2821A;
  --gold-light: #E5A84D;
  --gold-dim: #D1A456;
  --cream: #1A1A1A;
  --cream-dark: #333333;
  --ink: #FBF9F6;
  --ink-mid: #FFFFFF;
  --ink-light: #F2EFE9;
  --rust: #C0392B;
  --sage: #27AE60;
  --deep-blue: #2980B9;
  --text-body: #4A4A4A;
  --text-muted: #8A8A8A;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(251,249,246,0.95) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(251,249,246,0.9);
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-issue {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ===== HERO / COVER ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--ink-mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px;
  position: relative;
  z-index: 2;
}
.hero-right {
  position: relative;
  background: var(--ink-light);
  overflow: hidden;
}
.hero-right-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(210, 130, 26, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 80%, rgba(192, 57, 43, 0.15) 0%, transparent 70%);
}
.hero-ornament {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Animated Philosophical Symbol */
.phi-symbol {
  width: 400px;
  height: 400px;
  font-size: 320px;
  font-family: 'Inter', sans-serif;
  position: absolute;
  animation: phi-float 8s ease-in-out infinite;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@keyframes phi-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(210, 130, 26, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 130, 26, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-timeline {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.timeline-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  transition: background 0.3s;
  cursor: pointer;
}
.timeline-dot:hover, .timeline-dot.active { background: var(--gold); }
.timeline-line {
  width: 1px; height: 24px;
  background: var(--gold-dim);
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-tag::before {
  content: '';
  width: 48px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title span {
  display: block;
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 56px;
  max-width: 380px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.hero-divider {
  width: 1px; height: 32px;
  background: var(--gold-dim);
}
.hero-scroll {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 32px;
  background: var(--gold-dim);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== CONTENTS SECTION ===== */
.toc-section {
  background: var(--gold);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.toc-section::before {
  content: 'İÇİNDEKİLER';
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 200px;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
}
.toc-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.toc-label {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--cream);
}
.toc-label em {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: var(--text-muted);
}
.toc-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.toc-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  text-decoration: none;
  color: var(--cream);
  transition: all 0.3s;
  position: relative;
}
.toc-item:hover {
  padding-left: 16px;
}
.toc-item:hover .toc-num { color: var(--cream); }
.toc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: color 0.3s;
}
.toc-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.toc-page {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  opacity: 0.4;
}

/* ===== CHAPTER HEADERS ===== */
.chapter-header {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 120px 64px 80px;
  position: relative;
  overflow: hidden;
}
.chapter-header.antik { background: linear-gradient(135deg, #FBF9F6 0%, #F2EFE9 100%); }
.chapter-header.modern { background: linear-gradient(135deg, #FDFDFD 0%, #F0F4F8 100%); }
.chapter-header.yuzyil19 { background: linear-gradient(135deg, #FFF6F6 0%, #FDF0F0 100%); }
.chapter-header.yuzyil20 { background: linear-gradient(135deg, #F0F4F8 0%, #E6EDF2 100%); }
.chapter-header.turk { background: linear-gradient(135deg, #F4FAF6 0%, #E9F2ED 100%); }

.chapter-num {
  font-family: 'Inter', sans-serif;
  font-size: 240px;
  font-weight: 900;
  position: absolute;
  right: 64px;
  will-change: transform;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.chapter-content { position: relative; z-index: 2; }
.chapter-roman {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.chapter-roman::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.chapter-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
}
.chapter-era {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-body);
  margin-top: 16px;
}

/* ===== PHILOSOPHER CARDS ===== */
.philosophers-grid {
  padding: 0 64px 120px;
  background: var(--ink);
}

.philosopher-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.philosopher-card:nth-child(even) { direction: rtl; }
.philosopher-card:nth-child(even) > * { direction: ltr; }

.phil-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}
.phil-visual-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Philosopher visual themes */
.theme-parmenides { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-herakleitos { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-sokrates { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-platon { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-aristoteles { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-descartes { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-kant { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-nietzsche { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-sartre { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-kucuradi { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }
.theme-topcu { background: radial-gradient(ellipse 70% 80% at 50% 50%, #FFFFFF 0%, #F2EFE9 100%); }

.phil-glyph {
  width: 350px;
  height: 350px;
  font-family: 'Inter', sans-serif;
  font-size: 280px;
  font-weight: 900;
  will-change: transform;
  position: absolute;
  user-select: none;
  animation: glyph-breathe 6s ease-in-out infinite;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@keyframes glyph-breathe {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 0.7; }
  50% { transform: scale(1.05) rotate(3deg); opacity: 1; }
}

.phil-circle {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(210, 130, 26, 0.4);
  position: absolute;
  animation: circle-rotate 20s linear infinite;
}
.phil-circle::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 
    0 0 10px #FFFFFF,
    0 0 20px var(--gold-light),
    0 0 40px var(--gold);
}
@keyframes circle-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.phil-circle-2 {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(210, 130, 26, 0.3);
  position: absolute;
  animation: circle-rotate 14s linear infinite reverse;
}
.phil-circle-3 {
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1.5px dashed rgba(210, 130, 26, 0.25);
  position: absolute;
  animation: circle-rotate 30s linear infinite;
}

.phil-dates {
  position: absolute;
  bottom: 48px;
  left: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
}

.phil-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink-mid);
  position: relative;
  box-shadow: -20px 0 40px rgba(0,0,0,0.03);
  z-index: 2;
}
.phil-content::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
}

.phil-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.phil-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
}
.phil-period {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 40px;
}
.phil-body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 48px;
}
.phil-body p { margin-bottom: 16px; }

.phil-quote-block {
  padding: 32px 40px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.05);
  position: relative;
  margin-top: auto;
}
.phil-quote-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.phil-quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
}

/* ===== FULL-WIDTH QUOTE BREAKS ===== */
.quote-break {
  padding: 100px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.quote-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.03), transparent);
}
.qb-line {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
}
.qb-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 48px;
}
.qb-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== CLOSING ===== */
.closing {
  background: var(--ink-mid);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.closing-content { position: relative; z-index: 2; max-width: 720px; }
.closing-ornament {
  font-family: 'Inter', sans-serif;
  font-size: 120px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 48px;
  display: block;
  animation: phi-float 8s ease-in-out infinite;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.closing-title {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 24px;
}
.closing-title span { color: var(--gold); font-style: italic; }
.closing-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 64px;
}
.closing-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.closing-sig-line { width: 60px; height: 1px; background: var(--gold-dim); }
.closing-sig-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 48px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.footer-brand a {
  color: var(--gold);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}
.footer-brand a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.footer-brand a:hover {
  color: var(--gold-light);
}
.footer-brand a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.footer-brand small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
}
.footer-logo {
  font-size: 15px;
  width: 10em;
  height: auto;
  display: inline-block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SOKRATES SPECIAL (eksik içerik için) ===== */
.sokrates-special {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink-mid);
  position: relative;
  box-shadow: -20px 0 40px rgba(0,0,0,0.03);
  z-index: 2;
}
.missing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--rust);
  border: 1px solid var(--rust);
  padding: 6px 14px;
  margin-bottom: 32px;
  width: fit-content;
}

/* ===== GOLDEN SEPARATOR ===== */
.gold-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
}
.gold-sep-thick {
  width: 100%;
  height: 3px;
  background: var(--gold);
}

/* ===== SPECIAL MARQUEE ===== */
.marquee-section {
  overflow: hidden;
  background: var(--gold);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.4;
}

/* ===== STAT BLOCK ===== */
.stats-section {
  background: var(--ink-light);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px;
  border-right: 1px solid rgba(201,168,76,0.1);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 12px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 999;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hide cursor on touch devices */
@media (pointer: coarse), (max-width: 900px) {
  .cursor, .cursor-follower { display: none !important; }
}

/* Mobile */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .mobile-menu-btn { display: flex; }
  .nav-issue { display: none; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh; /* backdrop-filter parent issue fix */
    width: 100vw;
    background: rgba(251,249,246,0.98); /* Light background */
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 60px;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 950;
    overflow-y: auto;
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { 
    font-size: 24px; 
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.1em;
  }
  .nav-links a.active {
    color: var(--gold);
    transform: scale(1.1);
  }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 100px 32px 60px; }
  .hero-title { font-size: 48px; }
  .toc-inner { grid-template-columns: 1fr; padding: 0 32px; gap: 40px; }
  .toc-label { font-size: 48px; }
  .toc-item {
    grid-template-columns: 32px 1fr;
    gap: 8px 16px;
    padding: 16px 0;
  }
  .toc-page {
    grid-column: 2;
    margin-top: 4px;
  }
  .philosophers-grid { padding: 0 24px 80px; }
  .philosopher-card { grid-template-columns: 1fr; direction: ltr !important; }
  .phil-visual { min-height: 300px; }
  .phil-glyph { font-size: 140px; }
  .phil-circle { width: 140px; height: 140px; }
  .phil-circle-2 { width: 100px; height: 100px; }
  .phil-circle-3 { width: 180px; height: 180px; }
  .phil-name { font-size: 32px; }
  .phil-content { padding: 48px 24px; }
  .phil-content::before { display: none; }
  .phil-quote-block { padding: 24px; }
  .chapter-header { padding: 80px 24px 60px; }
  .chapter-title { font-size: 40px; }
  .chapter-num { font-size: 120px; right: -20px; opacity: 0.3; }
  .stats-section { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .stat-item { padding: 24px; }
  .stat-item:nth-child(even) { border-right: none; }
  .stats-section .stat-item:last-child { grid-column: span 2; border-right: none; }
  .closing { padding: 80px 24px; }
  .closing-title { font-size: 40px; }
  footer { flex-direction: column; gap: 24px; text-align: center; padding: 48px 24px; }
  .quote-break { padding: 60px 24px; }
  .qb-text { font-size: 24px; margin-bottom: 32px; }
}

/* ===== TAB SYSTEM ===== */
.tab-content {
  display: none;
  opacity: 0;
}

.tab-content.active {
  display: block;
  opacity: 1;
  animation: fadeInTab 0.6s ease forwards;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links a.active {
  color: var(--gold);
}

/* Adjust top padding for tab content so it doesn't overlap with fixed nav */
.tab-content:not(#tab-home) {
  padding-top: 80px;
}

/* ═══════════════════════════════════════════════
   ADMİN SİSTEMİ STİLLERİ
═══════════════════════════════════════════════ */

/* ─── Login Overlay ─── */
.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}
.admin-overlay.active { display: flex; }
.admin-login-box {
  background: #1A1612;
  border: 1px solid rgba(210,130,26,0.25);
  border-radius: 20px;
  padding: 48px 40px;
  width: 400px;
  max-width: 90vw;
  text-align: center;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.admin-login-close {
  position: absolute; top: 16px; right: 20px;
  color: #8A7A65; font-size: 18px; cursor: pointer;
  transition: color 0.2s;
}
.admin-login-close:hover { color: #fff; }
.admin-login-icon {
  font-family: 'Inter', sans-serif;
  font-size: 56px; color: var(--gold);
  margin-bottom: 12px;
}
.admin-login-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px; color: #F5F0E8; margin-bottom: 6px;
}
.admin-login-sub {
  font-size: 13px; color: #8A7A65; margin-bottom: 32px;
}
.admin-field { margin-bottom: 14px; text-align: left; }
.admin-field label {
  display: block; font-size: 11px; color: #8A7A65;
  letter-spacing: 0.06em; margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.admin-field input {
  width: 100%; padding: 12px 16px;
  background: #0D0B08; border: 1px solid rgba(210,130,26,0.2);
  border-radius: 10px; color: #F5F0E8; font-size: 14px;
  outline: none; transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.admin-field input:focus { border-color: var(--gold); }
.admin-login-btn {
  width: 100%; padding: 13px; margin-top: 8px;
  background: var(--gold); color: #0D0B08;
  border: none; border-radius: 10px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.admin-login-btn:hover { opacity: 0.85; }
.admin-login-error {
  color: #e53e3e; font-size: 13px; margin-top: 12px; display: none;
}

/* ─── Floating Admin Bar ─── */
.admin-bar {
  display: none;
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 90000;
  background: rgba(13,11,8,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(210,130,26,0.3);
  border-radius: 16px;
  padding: 10px 20px;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.admin-bar.active { display: flex; }
.admin-bar-left { display: flex; align-items: center; gap: 10px; }
.admin-bar-icon {
  font-family: 'Inter', sans-serif;
  font-size: 20px; color: var(--gold);
}
.admin-bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.1em;
}
.admin-bar-right { display: flex; gap: 8px; }
.admin-bar-btn {
  padding: 8px 18px; border: none; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.admin-bar-btn.save {
  background: var(--gold); color: #0D0B08;
}
.admin-bar-btn.save:hover { opacity: 0.85; }
.admin-bar-btn.exit {
  background: transparent; color: #8A7A65;
  border: 1px solid rgba(210,130,26,0.2);
}
.admin-bar-btn.exit:hover { border-color: #e53e3e; color: #e53e3e; }

/* ─── Inline Edit Mode ─── */
body.admin-mode [data-editable] {
  position: relative;
  cursor: text;
  transition: outline 0.2s, box-shadow 0.2s;
  border-radius: 4px;
}
body.admin-mode [data-editable]:hover {
  outline: 2px dashed rgba(210,130,26,0.4);
  outline-offset: 4px;
}
body.admin-mode [data-editable]:focus,
body.admin-mode [data-editable][contenteditable="true"] {
  outline: 2px solid var(--gold) !important;
  outline-offset: 4px;
  box-shadow: 0 0 20px rgba(210,130,26,0.15);
}
body.admin-mode [data-editable].edited {
  outline: 2px solid #38a169 !important;
  outline-offset: 4px;
}
body.admin-mode [data-editable]::after {
  content: '✎';
  position: absolute;
  top: -8px; right: -8px;
  background: var(--gold);
  color: #0D0B08;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
body.admin-mode [data-editable]:hover::after { opacity: 1; }

/* ─── Toast ─── */
.admin-toast {
  position: fixed;
  bottom: 80px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 99999;
  background: #38a169; color: #fff;
  padding: 12px 24px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.admin-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.admin-toast.error { background: #e53e3e; }

/* ─── Admin Element Toolbar ─── */
.admin-element-toolbar {
  position: absolute;
  z-index: 999999;
  background: #1A1612;
  border: 1px solid rgba(210,130,26,0.3);
  border-radius: 8px;
  padding: 6px 12px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.admin-element-toolbar input[type="color"] {
  width: 24px; height: 24px;
  padding: 0; border: none; border-radius: 4px;
  cursor: pointer; background: transparent;
}
.admin-element-toolbar input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.admin-element-toolbar input[type="color"]::-webkit-color-swatch { border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; }
.admin-element-toolbar button {
  background: transparent; color: #F5F0E8;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px; width: 28px; height: 28px;
  cursor: pointer; font-family: 'JetBrains Mono', monospace;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.admin-element-toolbar button:hover { background: rgba(255,255,255,0.1); }
#tb-drag {
  font-size: 16px; user-select: none;
  padding: 4px; border-radius: 4px;
}
#tb-drag:hover { background: rgba(255,255,255,0.1); }
