/**
 * Genç Kitaplar Portalı - Yüksek Performanslı Stil Dosyası
 * Sıfır dış kütüphane bağımlılığı - Maksimum açılış hızı!
 */

:root {
  color-scheme: light dark;
  /* Renk Paleti (Genç Kitaplar Resmi Logo Renkleri) */
  --primary: #3871c1;        /* Logodaki Ana Mavi Tonu */
  --primary-hover: #2a5a9e;
  --primary-light: #eff6ff;
  --secondary: #6e9d1b;      /* Logodaki Canlı Zeytin / Fidan Yeşili */
  --secondary-hover: #587e14;
  --secondary-light: #f4f9eb;
  --accent: #f58610;         /* Logodaki Sıcak Turuncu Vurgu */
  --accent-light: #fff7ed;
  
  --dark: #0f172a;           /* Derin Slate */
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Tipografi */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  
  /* Gölgeler ve Yuvarlaklık */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-book: -4px 6px 16px rgba(15, 23, 42, 0.15), -1px 2px 4px rgba(15, 23, 42, 0.1);
  
  --container-max: 1200px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   GECE MODU (DARK THEME) TASARIM DEĞİŞKENLERİ
   ========================================================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --dark: #f8fafc;
  --dark-surface: #0b0f19;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --bg-page: #090d16;
  --bg-surface: #111827;
  --border: #1e293b;
  --border-light: #162032;

  --primary-light: rgba(56, 113, 193, 0.18);
  --secondary-light: rgba(110, 157, 27, 0.18);
  --accent-light: rgba(245, 134, 16, 0.18);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.55);
  --shadow-book: -4px 6px 16px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --dark: #f8fafc;
    --dark-surface: #0b0f19;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --bg-page: #090d16;
    --bg-surface: #111827;
    --border: #1e293b;
    --border-light: #162032;

    --primary-light: rgba(56, 113, 193, 0.18);
    --secondary-light: rgba(110, 157, 27, 0.18);
    --accent-light: rgba(245, 134, 16, 0.18);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.55);
    --shadow-book: -4px 6px 16px rgba(0, 0, 0, 0.6);
  }
}


/* Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Düzen Konteyneri */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Üst Menü (Header) */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.logo-text span {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search-form {
  position: relative;
}

.header-search-input {
  background: var(--border-light);
  border: 1px solid var(--border);
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-full);
  font-size: 13px;
  width: 220px;
  transition: var(--transition);
}

.header-search-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  width: 280px;
  box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.15);
}

.search-icon-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--dark);
}

/* Ana Sayfa Hero Bölümü */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e1065 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(to right, #ffffff, #fef3c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-search-box {
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-full);
  display: flex;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.hero-search-box input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: var(--radius-full);
  outline: none;
  color: var(--dark);
}

.hero-search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search-box button:hover {
  background: var(--primary-hover);
}

/* Bölüm Başlıkları */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--primary);
  border-radius: 3px;
}

.section-more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-more-link:hover {
  text-decoration: underline;
}

/* Kitap Kartları Izgarası */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.book-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #fed7aa;
}

.book-cover-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.48;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 14px;
  box-shadow: var(--shadow-book);
  position: relative;
}

.book-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover-wrap img {
  transform: scale(1.03);
}

.book-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.book-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.book-author {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-top: auto;
}

/* Yazı / Tahlil Kartları */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e2e8f0;
}

.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-author-byline {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* YouTube Video Kartları */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-thumb-wrap img {
  opacity: 1;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(220, 38, 38, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.video-card:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: #dc2626;
}

.video-body {
  padding: 16px;
}

.video-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-category-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Yazarlar Izgarası */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.author-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.author-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #e2e8f0;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.author-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* Kitap Detay Sayfası */
.book-detail-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.book-detail-sidebar {
  display: flex;
  flex-direction: column;
}

.book-detail-cover {
  width: 100%;
  aspect-ratio: 1 / 1.48;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-book);
  margin-bottom: 24px;
}

.book-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-meta-list {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.book-meta-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}

.book-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.book-meta-label {
  color: var(--text-muted);
  font-weight: 600;
}

.book-meta-val {
  font-weight: 700;
  color: var(--dark);
}

.btn-buy-book {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: block;
  box-shadow: var(--shadow-md);
}

.btn-buy-book:hover {
  background: var(--primary-hover);
}

.book-detail-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.book-detail-author {
  font-size: 16px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 20px;
}

.book-detail-author strong {
  color: var(--dark);
  font-weight: 700;
}

.book-summary-box {
  background: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.7;
  color: #78350f;
  margin-bottom: 28px;
}

.book-review-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 30px;
}

.book-quotes-box {
  background: var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
}

.book-quotes-box h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--dark);
}

.book-quote-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: #475569;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 16px;
}

/* Okuma Odaklı Makale Detayı (Medium tarzı temiz tipografi) */
.article-reading-container {
  max-width: 760px;
  margin: 40px auto 60px;
  background: #fff;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.article-reading-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 18px;
}

.article-reading-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-reading-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
}

.article-reading-content p {
  margin-bottom: 22px;
}

.article-reading-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 28px 0;
  font-style: italic;
  font-family: var(--font-serif);
  background: var(--bg-page);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Video Oynatıcı Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
}

.video-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Alt Bilgi (Footer) */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.institutional-logos {
  display: flex;
  gap: 16px;
  align-items: center;
}

.inst-badge {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
}

/* Mobil Uyum (Responsive) */
@media (max-width: 992px) {
  .book-detail-wrapper {
    grid-template-columns: 1fr;
  }
  .book-detail-sidebar {
    max-width: 320px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .article-reading-container {
    padding: 24px 18px;
  }
}

/* =========================================================
   YENİ EKLENEN BİLEŞENLER (BANNER, STATS, TABS, PLAYLIST)
   ========================================================= */

.site-main-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 1. Banner Slider (Container Genişliğinde & Minimal) */
.banner-section {
  padding-top: 24px;
  margin-bottom: 8px;
}

.banner-slider-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  background: #1e293b;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
}

.banner-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

/* YouTube Abone Ol Butonu */
.btn-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc2626;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  white-space: nowrap;
}

.btn-yt-subscribe:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  color: #ffffff;
}

.banner-slide-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 40px;
  color: #fff;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 100%);
  border-radius: var(--radius-md);
  margin-left: 5%;
}

.banner-slide-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
}

.banner-slide-desc {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.banner-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.banner-slide-btn:hover {
  background: var(--primary-hover);
  transform: translateX(4px);
}

.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
}

.banner-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.banner-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 6px;
}

/* 2. Stats Bar (Sayaç Bandı) */
.stats-bar-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.stat-icon.books { background: #ffedd5; color: #9a3412; }
.stat-icon.videos { background: #fee2e2; color: #dc2626; }
.stat-icon.youth { background: #e0e7ff; color: #4338ca; }
.stat-icon.authors { background: #fef3c7; color: #b45309; }

.stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 3. Kategori Sekmeleri (Category Tabs - Minimal & Bar Olmadan Saran) */
.cat-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  align-items: center;
  overflow: visible;
}

.cat-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.cat-tab-btn:hover {
  border-color: #cbd5e1;
  color: var(--dark);
  background: #f8fafc;
}

.cat-tab-btn.active {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
  box-shadow: none;
}

/* 4. Video Oynatıcı & Çalma Listesi (Referans Sitedeki Gibi) */
.video-playlist-section {
  background: #0f172a;
  color: #fff;
  padding: 60px 0;
}

.video-playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  border-bottom: 1px solid #334155;
  padding-bottom: 16px;
}

.video-playlist-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-playlist-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 24px;
  background: #ef4444;
  border-radius: 3px;
}

.video-playlist-wrap {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 24px;
  background: #1e293b;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-main-player {
  display: flex;
  flex-direction: column;
}

.video-main-iframe-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-main-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-main-info {
  padding: 20px 24px;
  background: #1e293b;
}

.video-main-category {
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.video-main-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.video-main-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

.video-playlist-sidebar {
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-left: 1px solid #334155;
}

.video-playlist-sidebar-top {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-playlist-items {
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
}

.video-playlist-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.video-playlist-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.video-playlist-item.active {
  background: rgba(239, 68, 68, 0.15);
  border-left: 4px solid #ef4444;
}

.video-item-thumb {
  width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}

.video-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.video-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.video-playlist-item.active .video-item-title {
  color: #fff;
  font-weight: 700;
}

.video-item-meta {
  font-size: 11px;
  color: #94a3b8;
}

/* 5. Genç Kalemler Yazar Kartları (Minimalist & Sade) */
.young-writers-section {
  background: #fafaf9;
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.young-writers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.young-writer-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.young-writer-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.young-writer-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
}

.young-writer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.young-writer-name a {
  color: inherit;
  text-decoration: none;
}

.young-writer-name a:hover {
  color: var(--primary);
}

.btn-writer-profile {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.15s ease;
  margin-top: auto;
}

.btn-writer-profile:hover {
  background: var(--primary);
  color: #fff;
}
  display: inline-block;
  transition: var(--transition);
}

.btn-writer-profile:hover {
  background: var(--primary);
  color: #fff;
}

/* Mobil Uyumluluk Güncellemeleri */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-playlist-wrap {
    grid-template-columns: 1fr;
  }
  .video-playlist-sidebar {
    border-left: none;
    border-top: 1px solid #334155;
  }
  .video-playlist-items {
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  /* Sayaç Bandı Mobilde İkişerli Yan Yana */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .stat-card {
    padding: 12px 10px;
    gap: 10px;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: var(--radius-sm);
  }
  .stat-number {
    font-size: 18px;
    white-space: nowrap;
  }
  .stat-label {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Banner Boyutu Mobilde Orantılı */
  .banner-slider-wrap {
    height: 220px;
    border-radius: var(--radius-md);
  }

  /* Kategori Butonları Mobilde Düzenli */
  .cat-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }
  .cat-tab-btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Kitap Kartları Mobilde 2 Sütun */
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .book-card {
    padding: 12px;
  }
  .book-title {
    font-size: 13px;
    height: 36px;
    line-height: 1.35;
  }
  .book-author {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Video Çalma Listesi Mobilde Metin Taşmalarını Önleme */
  .video-playlist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .video-playlist-title {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .video-item-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .video-main-title {
    font-size: 17px;
    line-height: 1.35;
  }

  /* Başlıkların 2. Satıra Kötü Kırılmasını Önleme */
  .section-title {
    font-size: 20px;
  }
  .section-header {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   GLOBAL MODERN BUTTONS & CONTROLS (TÜM RAW/TARAYICI BUTONLARINI KALDIRMA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(56, 113, 193, 0.25);
}

.btn-primary:hover {
  background: #2b5ea3;
  border-color: #2b5ea3;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(56, 113, 193, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border-color: #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  color: var(--primary);
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #de7306;
  border-color: #de7306;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 9999px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 9999px;
}

/* ==========================================================================
   KATEGORİ İÇİ SAYFALAMA (MODERN LİTERARY PİLL PAGINATION)
   ========================================================================== */
.cat-pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 10px 0;
}

.cat-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.cat-page-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(56, 113, 193, 0.28);
  transform: translateY(-2px);
}

.cat-page-btn:active {
  transform: translateY(0);
}

.cat-page-btn svg {
  transition: transform 0.2s ease;
}

.cat-page-btn.cat-page-prev:hover svg {
  transform: translateX(-3px);
}

.cat-page-btn.cat-page-next:hover svg {
  transform: translateX(3px);
}

.cat-page-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.2px;
}

.cat-page-indicator strong {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   GENEL SAYFALAMA LİNKLERİ (kitaplar.php, yazilar.php)
   ========================================================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.page-pill-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.page-pill-link.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(56, 113, 193, 0.3);
}

/* ==========================================================================
   YARIŞMALAR SAYFASI - PINTEREST TARZI 2 SÜTUN MASONRY DÜZENİ
   ========================================================================== */
.yarismalar-masonry {
  column-count: 2;
  column-gap: 32px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .yarismalar-masonry {
    column-count: 1;
    column-gap: 0;
  }
}

.yarisma-poster-card {
  break-inside: avoid;
  margin-bottom: 32px;
  display: block;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  text-decoration: none;
  position: relative;
}

.yarisma-poster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.yarisma-poster-img-wrap {
  width: 100%;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.yarisma-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.yarisma-poster-card:hover .yarisma-poster-img {
  transform: scale(1.02);
}

.yarisma-poster-body {
  padding: 24px 26px 26px;
  background: #ffffff;
}

.yarisma-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.yarisma-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.yarisma-poster-card:hover .yarisma-title {
  color: var(--primary);
}

.yarisma-excerpt {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 18px;
}

.yarisma-footer-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.yarisma-footer-action svg {
  transition: transform 0.2s ease;
}

.yarisma-poster-card:hover .yarisma-footer-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   EDİTÖRYAL & STATİK SAYFA TASARIMI (HAKKIMIZDA, SAYFALAR, YAZI DETAYLARI)
   ========================================================================== */
/* ==========================================================================
   ALT SAYFA ORTAK BİLEŞENLERİ (SUBPAGE COMMON COMPONENTS)
   ========================================================================== */
.subpage-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.subpage-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.subpage-header p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* Yazar Profil Detay Kartı */
.author-profile-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.author-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  background: var(--bg-page);
  flex-shrink: 0;
}

.author-profile-info {
  flex: 1;
  min-width: 280px;
}

.author-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.author-profile-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.young-writer-badge {
  background: #fef3c7;
  color: #b45309;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.author-profile-era {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.author-profile-bio {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 18px;
}

.author-profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.author-profile-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.author-profile-link-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Kitap Detay İnceleme & Kütüphane Kutuları */
.book-review-box {
  line-height: 1.75;
  color: var(--text-main);
  font-size: 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.book-library-badge {
  background: #f8fafc;
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* İletişim & Arama Kartları */
.contact-card, .contact-form-card {
  background: var(--bg-surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-card h2, .contact-form-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.contact-form-control:focus {
  border-color: var(--primary);
}

.no-results-card {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.no-results-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.no-results-card p {
  color: var(--text-muted);
  font-size: 14px;
}


.page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #edf4fc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 0;
}

.page-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.page-hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

.page-breadcrumbs {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.page-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
  color: var(--primary);
}

.page-breadcrumbs span.sep {
  color: #cbd5e1;
}

.page-breadcrumbs span.current {
  color: var(--dark);
  font-weight: 600;
}

.editorial-container {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px 52px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  line-height: 1.9;
  color: #334155;
  font-size: 16.5px;
}

@media (max-width: 768px) {
  .editorial-container {
    padding: 26px 20px;
    border-radius: 12px;
    font-size: 15.5px;
  }
  /* ==========================================================================
   ALT SAYFA ORTAK BİLEŞENLERİ (SUBPAGE COMMON COMPONENTS)
   ========================================================================== */
.subpage-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.subpage-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.subpage-header p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* Yazar Profil Detay Kartı */
.author-profile-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.author-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  background: var(--bg-page);
  flex-shrink: 0;
}

.author-profile-info {
  flex: 1;
  min-width: 280px;
}

.author-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.author-profile-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.young-writer-badge {
  background: #fef3c7;
  color: #b45309;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.author-profile-era {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.author-profile-bio {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 18px;
}

.author-profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.author-profile-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.author-profile-link-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Kitap Detay İnceleme & Kütüphane Kutuları */
.book-review-box {
  line-height: 1.75;
  color: var(--text-main);
  font-size: 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.book-library-badge {
  background: #f8fafc;
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* İletişim & Arama Kartları */
.contact-card, .contact-form-card {
  background: var(--bg-surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-card h2, .contact-form-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.contact-form-control:focus {
  border-color: var(--primary);
}

.no-results-card {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.no-results-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.no-results-card p {
  color: var(--text-muted);
  font-size: 14px;
}


.page-hero {
    padding: 30px 0;
  }
  .page-hero-title {
    font-size: 25px;
  }
}

.editorial-container h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.editorial-container h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.editorial-container p {
  margin-bottom: 20px;
}

.editorial-container ul, .editorial-container ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.editorial-container li {
  margin-bottom: 10px;
}

.editorial-container blockquote {
  border-left: 4px solid var(--primary);
  background: #f8fafc;
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #475569;
}

.editorial-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
  display: block;
}

/* =========================================================
   BENZER KİTAP TANITIMLARI IZGARASI (ÖZEL KURAL)
   - Masaüstü: 5 Kitap Yan Yana (Ekran daralsa da aşağıya inmez)
   - Tablet & Mobil: 3 Kitap Yan Yana (İkinci satıra inmez)
   ========================================================= */
.similar-books-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.similar-books-grid .book-card {
  min-width: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
}

.similar-books-grid .book-cover-wrap {
  margin-bottom: 10px;
}

.similar-books-grid .book-title {
  font-size: 13.5px;
  line-height: 1.3;
  height: 35px;
  margin-bottom: 4px;
}

.similar-books-grid .book-author {
  font-size: 11.5px;
  margin-bottom: 6px;
}

/* Tablet ve Mobil Boyutları (<= 991px) */
@media (max-width: 991px) {
  .similar-books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* 4. ve 5. kitap önerilerini gizle; tam 3 kitap yan yana kalsın */
  .similar-books-grid .book-card:nth-child(n+4) {
    display: none !important;
  }

  .similar-books-grid .book-card {
    padding: 10px 8px;
    border-radius: var(--radius-md);
  }

  .similar-books-grid .book-title {
    font-size: 12px;
    height: 32px;
  }

  .similar-books-grid .book-author {
    font-size: 11px;
    margin-bottom: 4px;
  }
}

/* Telefonlar (<= 500px) */
@media (max-width: 500px) {
  .similar-books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .similar-books-grid .book-card {
    padding: 8px 6px;
    border-radius: 8px;
  }

  .similar-books-grid .book-cover-wrap {
    margin-bottom: 6px;
    border-radius: 6px;
  }

  .similar-books-grid .book-badge {
    font-size: 8.5px;
    padding: 1px 4px;
    top: 4px;
    left: 4px;
  }

  .similar-books-grid .book-title {
    font-size: 10.5px;
    height: 28px;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .similar-books-grid .book-author {
    font-size: 9.5px;
    margin-bottom: 4px;
  }

  .similar-books-grid .book-card > div:last-child {
    font-size: 9px !important;
  }
}




/* =========================================================
   GECE / GÜNDÜZ MODU BUTONU VE DETAYLI BİLEŞEN UYARLAMALARI
   ========================================================= */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  margin-left: 6px;
}

.theme-toggle-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: scale(1.06);
}

/* Güneş / Ay Simgesi Gösterimi */
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: inline-block; }
:root:not([data-theme="dark"]) .theme-icon-sun { display: none; }
:root:not([data-theme="dark"]) .theme-icon-moon { display: inline-block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-icon-moon { display: none; }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .theme-icon-sun { display: inline-block; }
}

/* ==========================================================================
   GECE MODU (DARK THEME) STİLLERİ & KUSURSUZ OKUNABİLİRLİK (WCAG AA/AAA)
   ========================================================================== */
[data-theme="dark"] .site-header {
  background: rgba(17, 24, 39, 0.95);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .header-search-input {
  background: #1f2937;
  border-color: #374151;
  color: #f1f5f9;
}

/* Alt Sayfa Başlık Bandı (Kitaplar, Yazarlar, Arama, İletişim) */
[data-theme="dark"] .subpage-header {
  background: var(--bg-surface);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .subpage-header h1 {
  color: #f8fafc;
}

[data-theme="dark"] .subpage-header p {
  color: #94a3b8;
}

/* Page Hero Gece Modu (Yarışmalar, Yazılar, Hakkımızda, Sayfalar) */
[data-theme="dark"] .page-hero {
  background: linear-gradient(135deg, #111827 0%, #090d16 100%);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .page-hero-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .page-hero-subtitle {
  color: #94a3b8 !important;
}

[data-theme="dark"] .page-breadcrumbs {
  color: #94a3b8 !important;
}

[data-theme="dark"] .page-breadcrumbs a {
  color: #94a3b8 !important;
}

[data-theme="dark"] .page-breadcrumbs a:hover {
  color: var(--primary) !important;
}

[data-theme="dark"] .page-breadcrumbs span.sep {
  color: #475569 !important;
}

[data-theme="dark"] .page-breadcrumbs span.current {
  color: #f1f5f9 !important;
}

/* Sayaç Bandı (Stats Bar) Gece Modu */
[data-theme="dark"] .stats-bar-section {
  background: var(--bg-surface);
  border-bottom-color: var(--border);
  box-shadow: none;
}

[data-theme="dark"] .stat-card {
  background: #0b0f19;
  border-color: var(--border);
}

[data-theme="dark"] .stat-card:hover {
  border-color: #334155;
}

[data-theme="dark"] .stat-num {
  color: #f8fafc;
}

[data-theme="dark"] .stat-label {
  color: var(--text-muted);
}

/* Kitap Tanıtımları Kategori Butonları */
[data-theme="dark"] .cat-tab-btn {
  background: #111827;
  color: #cbd5e1;
  border-color: #1e293b;
}

[data-theme="dark"] .cat-tab-btn:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #334155;
}

[data-theme="dark"] .cat-tab-btn.active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

/* Kategori İçi Sayfalama Butonları */
[data-theme="dark"] .cat-page-btn {
  background: #111827;
  color: #f1f5f9;
  border-color: #1e293b;
}

[data-theme="dark"] .cat-page-btn:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

[data-theme="dark"] .cat-page-indicator {
  background: #111827;
  border-color: #1e293b;
  color: #94a3b8;
}

/* Genç Kalemlerimiz / Yazarlar Gece Modu */
[data-theme="dark"] .young-writers-section {
  background: #0b0f19;
  border-color: var(--border);
}

[data-theme="dark"] .young-writer-card {
  background: var(--bg-surface) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .young-writer-card:hover {
  border-color: #334155 !important;
}

[data-theme="dark"] .young-writer-avatar {
  border-color: #1e293b;
  background: #090d16;
}

[data-theme="dark"] .young-writer-name {
  color: #f8fafc !important;
}

[data-theme="dark"] .young-writer-name a {
  color: #f8fafc !important;
}

[data-theme="dark"] .young-writer-title {
  color: #60a5fa !important;
}

[data-theme="dark"] .young-writer-bio {
  color: #94a3b8 !important;
}

[data-theme="dark"] .young-writer-social a {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .btn-writer-profile {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .btn-writer-profile:hover {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

/* Yazar Tekil Profil Detayı Gece Modu */
[data-theme="dark"] .author-profile-card {
  background: var(--bg-surface);
  border-color: var(--border);
}

[data-theme="dark"] .author-profile-avatar {
  border-color: #1e293b;
  background: #090d16;
}

[data-theme="dark"] .author-profile-name {
  color: #f8fafc;
}

[data-theme="dark"] .author-profile-bio {
  color: #cbd5e1;
}

[data-theme="dark"] .young-writer-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

[data-theme="dark"] .author-profile-link-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

/* Yarışmalar Sayfası Gece Modu */
[data-theme="dark"] .yarisma-poster-card {
  background: var(--bg-surface);
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .yarisma-poster-card:hover {
  border-color: #334155;
}

[data-theme="dark"] .yarisma-poster-img-wrap {
  background: #090d16;
}

[data-theme="dark"] .yarisma-poster-body {
  background: var(--bg-surface);
}

[data-theme="dark"] .yarisma-title {
  color: #f8fafc;
}

[data-theme="dark"] .yarisma-excerpt {
  color: #94a3b8;
}

[data-theme="dark"] .yarisma-footer-action {
  color: #60a5fa;
}

/* Kitap Detay Kutuları Gece Modu */
[data-theme="dark"] .book-detail-wrapper {
  background: var(--bg-surface);
  border-color: var(--border);
}

[data-theme="dark"] .book-meta-list {
  background: #0b0f19;
}

[data-theme="dark"] .book-meta-item {
  border-bottom-color: #1e293b;
}

[data-theme="dark"] .book-meta-label {
  color: #94a3b8;
}

[data-theme="dark"] .book-meta-val {
  color: #f8fafc;
}

[data-theme="dark"] .book-detail-content h1 {
  color: #f8fafc;
}

[data-theme="dark"] .book-detail-author {
  color: #94a3b8;
}

[data-theme="dark"] .book-detail-author strong {
  color: #f8fafc;
}

[data-theme="dark"] .book-summary-box {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .book-summary-box strong {
  color: #f8fafc !important;
}

[data-theme="dark"] .book-summary-box div {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .book-review-box,
[data-theme="dark"] .book-review-text > div {
  background: #111827 !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .book-library-badge {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .book-quotes-box {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .book-quotes-box h3 {
  color: #f8fafc !important;
}

[data-theme="dark"] .book-quote-item {
  color: #cbd5e1 !important;
}

/* Editöryal & Statik Sayfalar (Hakkımızda, Sayfa, Yazı Detay) */
[data-theme="dark"] .editorial-container {
  background: var(--bg-surface) !important;
  border-color: var(--border) !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .editorial-container h1,
[data-theme="dark"] .editorial-container h2,
[data-theme="dark"] .editorial-container h3,
[data-theme="dark"] .editorial-container h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .editorial-container p,
[data-theme="dark"] .editorial-container li {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .editorial-container strong,
[data-theme="dark"] .editorial-container b {
  color: #f8fafc !important;
}

[data-theme="dark"] .editorial-container blockquote {
  background: #0b0f19 !important;
  color: #cbd5e1 !important;
  border-left-color: var(--primary) !important;
}

[data-theme="dark"] .editorial-container hr {
  border-color: #1e293b !important;
}

/* İletişim & Arama Sayfaları Gece Modu */
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form-card {
  background: var(--bg-surface);
  border-color: var(--border);
}

[data-theme="dark"] .contact-card h2,
[data-theme="dark"] .contact-form-card h2 {
  color: #f8fafc;
}

[data-theme="dark"] .contact-form-control {
  background: #0b0f19;
  border-color: #1e293b;
  color: #f8fafc;
}

[data-theme="dark"] .no-results-card {
  background: var(--bg-surface);
  border-color: var(--border);
}

[data-theme="dark"] .no-results-card h3 {
  color: #f8fafc;
}

[data-theme="dark"] .no-results-card p {
  color: #94a3b8;
}

/* Kategori Hapları Gece Modu */
[data-theme="dark"] .category-pill {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

[data-theme="dark"] .category-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Footer Gece Modu */
[data-theme="dark"] .site-footer {
  background: #070a10;
  border-top: 1px solid #1e293b;
}

/* Sistem Tercihine Göre Fallback Kuralları */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom-color: var(--border);
  }
  :root:not([data-theme="light"]) .subpage-header {
    background: var(--bg-surface);
    border-bottom-color: var(--border);
  }
  :root:not([data-theme="light"]) .subpage-header h1 {
    color: #f8fafc;
  }
  :root:not([data-theme="light"]) .page-hero {
    background: linear-gradient(135deg, #111827 0%, #090d16 100%);
    border-bottom-color: var(--border);
  }
  :root:not([data-theme="light"]) .page-hero-title {
    color: #f8fafc !important;
  }
  :root:not([data-theme="light"]) .page-hero-subtitle {
    color: #94a3b8 !important;
  }
  :root:not([data-theme="light"]) .page-breadcrumbs {
    color: #94a3b8 !important;
  }
  :root:not([data-theme="light"]) .page-breadcrumbs a {
    color: #94a3b8 !important;
  }
  :root:not([data-theme="light"]) .page-breadcrumbs span.current {
    color: #f1f5f9 !important;
  }
  :root:not([data-theme="light"]) .stats-bar-section {
    background: var(--bg-surface);
    border-bottom-color: var(--border);
  }
  :root:not([data-theme="light"]) .cat-tab-btn {
    background: #111827;
    color: #cbd5e1;
    border-color: #1e293b;
  }
  :root:not([data-theme="light"]) .cat-tab-btn.active {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
  }
  :root:not([data-theme="light"]) .young-writer-card {
    background: var(--bg-surface) !important;
    border-color: var(--border) !important;
  }
  :root:not([data-theme="light"]) .young-writer-name {
    color: #f8fafc !important;
  }
  :root:not([data-theme="light"]) .btn-writer-profile {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
  }
  :root:not([data-theme="light"]) .yarisma-poster-card {
    background: var(--bg-surface);
    border-color: var(--border);
  }
  :root:not([data-theme="light"]) .yarisma-title {
    color: #f8fafc;
  }
  :root:not([data-theme="light"]) .editorial-container {
    background: var(--bg-surface) !important;
    border-color: var(--border) !important;
    color: #cbd5e1 !important;
  }
  :root:not([data-theme="light"]) .site-footer {
    background: #070a10;
    border-top: 1px solid #1e293b;
  }
}


/* Hakkımızda & Tahlil Ek Bileşenleri */
.about-info-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 36px;
  border: 1.5px dashed #cbd5e1;
}

.about-info-box h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.about-info-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

[data-theme="dark"] .about-info-box {
  background: #0b0f19;
  border-color: #1e293b;
}

[data-theme="dark"] .about-info-box h4 {
  color: #f8fafc;
}

[data-theme="dark"] .about-info-box p {
  color: #cbd5e1;
}

.related-book-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

[data-theme="dark"] .related-book-card {
  background: #0b0f19;
  border-color: #1e293b;
  border-left-color: var(--primary);
}

[data-theme="dark"] .related-book-card h4 a {
  color: #f8fafc !important;
}


[data-theme="dark"] .page-pill-link {
  background: #111827 !important;
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .page-pill-link:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .page-pill-link.active {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

/* ============================================================
   DİNAMİK ALINTI BANDI (HER YENİLEMEDE YENİ CÜMLE - MİNİMAL)
   ============================================================ */
.home-quote-section {
  padding: 24px 0 6px;
}

.home-quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.4) 0%, rgba(255, 237, 213, 0.35) 50%, rgba(254, 242, 242, 0.45) 100%);
  border: 1px solid rgba(234, 88, 12, 0.16);
  border-left: 5px solid var(--primary, #ea580c);
  border-radius: var(--radius-lg, 12px);
  padding: 20px 28px 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(234, 88, 12, 0.04);
  transition: var(--transition, all 0.2s ease);
}

.home-quote-card:hover {
  box-shadow: 0 6px 20px -3px rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.28);
}

.quote-bg-icon {
  position: absolute;
  right: 24px;
  bottom: -22px;
  font-size: 110px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(234, 88, 12, 0.06);
  pointer-events: none;
  user-select: none;
  font-weight: 900;
}

.quote-body-wrap {
  position: relative;
  z-index: 1;
}

.quote-content-text {
  margin: 0 0 10px 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: #1e293b;
  font-weight: 500;
  font-style: italic;
  font-family: inherit;
}

.quote-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.quote-author-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quote-author-line {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--primary, #ea580c);
  border-radius: 2px;
}

.quote-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary, #ea580c);
  letter-spacing: 0.3px;
}

.quote-book-title {
  font-size: 13.5px;
  color: #64748b;
  font-style: normal;
}

/* Dark Mode Uyum */
[data-theme="dark"] .home-quote-card,
:root:not([data-theme="light"]) .home-quote-card {
  background: #111827;
  border-color: #1e293b;
  border-left-color: #f97316;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .home-quote-card:hover,
:root:not([data-theme="light"]) .home-quote-card:hover {
  border-color: #334155;
  border-left-color: #ea580c;
}

[data-theme="dark"] .quote-bg-icon,
:root:not([data-theme="light"]) .quote-bg-icon {
  color: rgba(249, 115, 22, 0.05);
}

[data-theme="dark"] .quote-content-text,
:root:not([data-theme="light"]) .quote-content-text {
  color: #f1f5f9;
}

[data-theme="dark"] .quote-author-name,
:root:not([data-theme="light"]) .quote-author-name {
  color: #fb923c;
}

[data-theme="dark"] .quote-book-title,
:root:not([data-theme="light"]) .quote-book-title {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .home-quote-card {
    padding: 16px 18px 14px;
  }
  .quote-content-text {
    font-size: 15px;
    line-height: 1.55;
  }
  .quote-author-name {
    font-size: 13.5px;
  }
}