:root {
  --sl-ink: #12131a;
  --sl-muted: #5c6070;
  --sl-line: rgba(18, 19, 26, 0.1);
  --sl-soft: #f5f6f8;
  --sl-card: #ffffff;
  --sl-accent: #dc0078;
  --sl-primary: #3353a6;
  --sl-accent-soft: #fce1ee;
  --sl-radius: 18px;
  --sl-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--sl-font);
  color: var(--sl-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(220, 0, 120, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(51, 83, 166, 0.16), transparent 50%),
    linear-gradient(180deg, #f8f9fb 0%, var(--sl-soft) 45%, #eef0f5 100%);
	line-height: 1.55;
}

a { color: var(--sl-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 246, 248, 0.86);
  border-bottom: 1px solid var(--sl-line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.header-balance {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.header-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  color: var(--sl-ink);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(220, 0, 120, 0.08);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 18, 28, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 32px rgba(15, 18, 28, 0.18);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sl-line);
}

.nav-drawer-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--sl-ink);
}

.nav-drawer-close {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sl-muted);
  cursor: pointer;
}

.nav-drawer-close:hover,
.nav-drawer-close:focus-visible {
  color: var(--sl-accent);
  background: rgba(220, 0, 120, 0.08);
  outline: none;
}

.nav-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 10px 24px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer-link {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sl-ink);
  text-decoration: none;
}

.nav-drawer-link:hover {
  text-decoration: none;
  color: var(--sl-accent);
  background: rgba(220, 0, 120, 0.06);
}

.nav-drawer-link.is-active {
  color: var(--sl-accent);
  background: var(--sl-accent-soft);
}

body.nav-drawer-open {
  overflow: hidden;
}

.main-nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sl-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}

.main-nav-link:hover {
  color: var(--sl-accent);
  text-decoration: none;
  background: rgba(220, 0, 120, 0.06);
}

.main-nav-link.is-active {
  color: var(--sl-accent);
  background: var(--sl-accent-soft);
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--sl-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo:hover { text-decoration: none; color: var(--sl-accent); }

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.logo-text { line-height: 1.2; }

.lang-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.lang-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sl-muted);
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-link:hover {
  color: var(--sl-accent);
  text-decoration: none;
  background: rgba(220, 0, 120, 0.06);
}

.lang-link.is-active {
  color: var(--sl-accent);
  border-color: rgba(220, 0, 120, 0.28);
  background: var(--sl-accent-soft);
}

.site-nav { display: flex; gap: 14px; flex-wrap: wrap; }

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sl-muted);
  text-decoration: none;
}

.nav-link:hover { color: var(--sl-accent); }

.site-main { min-height: calc(100vh - 180px); }

.hero {
  padding: 72px 0 88px;
}

.home-split {
  padding: 48px 0 72px;
}

.home-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.home-hero .hero-brand { margin-top: 8px; }

.uyeler-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
}

.uyeler-grid > li { margin: 0; padding: 0; }

.uye-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #dde1ea;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(18, 19, 26, 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.uye-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(220, 0, 120, 0.28);
  text-decoration: none;
}

.uye-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.uye-avatar img.is-loaded {
  opacity: 1;
}

.home-latest {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.home-latest-empty {
  margin: 0;
  color: var(--sl-muted);
  font-size: 0.92rem;
}

.latest-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.latest-grid > li {
  margin: 0;
  padding: 0;
}

.latest-cover-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #dde1ea;
  cursor: pointer;
  aspect-ratio: 16 / 25;
  box-shadow: 0 4px 14px rgba(18, 19, 26, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.latest-cover-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(220, 0, 120, 0.18);
}

.latest-cover-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.latest-cover-btn img.is-loaded {
  opacity: 1;
}

/* Görsel yüklenirken shimmer placeholder */
.img-load {
  position: relative;
}

.img-load.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    #dde1ea 0%,
    #dde1ea 35%,
    #f0f2f7 50%,
    #dde1ea 65%,
    #dde1ea 100%
  );
  background-size: 200% 100%;
  animation: img-shimmer 1.1s ease-in-out infinite;
  pointer-events: none;
}

.uye-avatar.img-load.is-loading::before {
  border-radius: 50%;
}

.latest-cover-btn.img-load.is-loading::before,
.kitap-modal-cover.img-load.is-loading::before {
  border-radius: inherit;
}

.img-load.is-ready::before {
  display: none;
}

@keyframes img-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.kitap-modal-cover img {
  opacity: 0;
  transition: opacity .28s ease;
}

.kitap-modal-cover img.is-loaded {
  opacity: 1;
}

.latest-cover-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #d9deea, #f0f2f7);
}

body.modal-open { overflow: hidden; }

.kitap-modal[hidden] { display: none !important; }

.kitap-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.kitap-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 26, 0.48);
  backdrop-filter: blur(2px);
}

.kitap-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  padding: 22px;
}

.kitap-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--sl-soft);
  color: var(--sl-ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.kitap-modal-x:hover { background: var(--sl-accent-soft); color: var(--sl-accent); }

.kitap-modal-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
  padding-right: 28px;
}

.kitap-modal-cover img {
  width: 160px;
  aspect-ratio: 16 / 25;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #dde1ea;
}

.kitap-modal-info h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-brand {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.2;
  padding-bottom: 0.08em;
  background: linear-gradient(120deg, var(--sl-accent), var(--sl-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--sl-muted);
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--sl-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 0, 120, 0.28);
}

.btn-primary:hover { background: #c4006b; color: #fff; }

.btn-secondary {
  background: var(--sl-card);
  color: var(--sl-ink);
  border-color: var(--sl-line);
}

.btn-secondary:hover { border-color: rgba(51, 83, 166, 0.35); color: var(--sl-primary); }

.preview {
  padding: 40px 0 72px;
}

.preview > .wrap > .preview-grid {
  margin-bottom: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(18, 19, 26, 0.06);
}

.kitap-extra {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.kitap-stats,
.kitap-bolumler {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 22px 24px;
  box-shadow: 0 12px 40px rgba(18, 19, 26, 0.06);
}

.kitap-extra-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kitap-stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.kitap-stats-grid > li {
  margin: 0;
  padding: 14px 12px;
  border-radius: 12px;
  background: #f3f5f9;
  text-align: center;
}

.kitap-stat-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
  line-height: 1.2;
}

.kitap-stat-status {
  font-size: 0.95rem;
}

.kitap-stat-lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sl-muted);
}

.kitap-bolum-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.kitap-bolum-list > li {
  padding: 10px 0;
  border-bottom: 1px solid var(--sl-line);
  color: var(--sl-ink);
  font-weight: 600;
}

.kitap-bolum-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kitap-bolum-baslik {
  font-weight: 600;
}

.kitap-bolum-more {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sl-muted);
}

.kitap-bolum-empty {
  margin: 0;
  color: var(--sl-muted);
  font-size: 0.95rem;
}

.kitap-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.kitap-yazar {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kitap-yazar-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}

a.kitap-yazar-link:hover,
a.kitap-yazar-text:hover {
  text-decoration: none;
}

a.kitap-yazar-link:hover .kitap-yazar-user,
a.kitap-yazar-text:hover .kitap-yazar-user {
  color: var(--sl-accent);
}

.kitap-yazar-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #dde1ea;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(18, 19, 26, 0.16);
  padding: 0;
  display: block;
}

button.kitap-yazar-avatar {
  cursor: zoom-in;
  border: 2px solid #fff;
}

.kitap-yazar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.kitap-yazar-avatar img.is-loaded {
  opacity: 1;
}

.kitap-yazar-avatar-ph {
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sl-accent);
  background: var(--sl-accent-soft);
}

.kitap-yazar-avatar-bos {
  background: #e6e9f0;
  box-shadow: inset 0 0 0 1px rgba(18, 19, 26, 0.06);
}

.kitap-yazar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.kitap-yazar-user {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sl-primary);
  line-height: 1.2;
}

.kitap-yazar-ad {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sl-muted);
  line-height: 1.2;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

a.chip:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.chip-kategori {
  background: rgba(51, 83, 166, 0.12);
  color: var(--sl-primary);
  border-color: rgba(51, 83, 166, 0.22);
}

.chip-etiket {
  background: rgba(220, 0, 120, 0.1);
  color: var(--sl-accent);
  border-color: rgba(220, 0, 120, 0.2);
}

.chip-tur,
.chip-dil,
.chip-durum {
  background: #eef1f6;
  color: var(--sl-ink);
  border-color: var(--sl-line);
}

.kitap-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}

.kitap-bars {
  display: grid;
  gap: 12px;
}

.kitap-bar {
  display: grid;
  grid-template-columns: 88px 1fr 56px;
  gap: 10px;
  align-items: center;
}

.kitap-bar-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sl-muted);
}

.kitap-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e4e8f0;
  overflow: hidden;
}

.kitap-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  min-width: 0;
  transition: width .4s ease;
}

.kitap-bar-okuma { background: var(--sl-primary); }
.kitap-bar-begeni { background: var(--sl-accent); }
.kitap-bar-yorum { background: #7c8db5; }
.kitap-bar-kutup { background: #c5ccd9; }

.kitap-bar-num {
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
  color: var(--sl-ink);
}

.kitap-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.kitap-donut {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(18, 19, 26, 0.04);
}

.kitap-donut-hole {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  box-shadow: 0 4px 14px rgba(18, 19, 26, 0.08);
}

.kitap-donut-val {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.kitap-donut-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sl-muted);
}

.kitap-donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sl-muted);
}

.kitap-donut-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kitap-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.lg-okuma { background: var(--sl-primary); }
.lg-begeni { background: var(--sl-accent); }
.lg-yorum { background: #7c8db5; }
.lg-kutup { background: #c5ccd9; }

.meta-liste h1 {
  margin: 0 0 8px;
}

.meta-lead {
  margin: 0 0 22px;
  color: var(--sl-muted);
  max-width: 40rem;
}

.meta-chip-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-kitap-grid {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.meta-kitap-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.meta-kitap-card:hover {
  text-decoration: none;
}

.meta-kitap-cover {
  display: block;
  aspect-ratio: 16 / 25;
  border-radius: 10px;
  overflow: hidden;
  background: #dde1ea;
  box-shadow: 0 4px 14px rgba(18, 19, 26, 0.08);
}

.meta-kitap-cover.ph {
  background: linear-gradient(145deg, #d9deea, #f0f2f7);
}

.meta-kitap-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.meta-kitap-cover img.is-loaded {
  opacity: 1;
}

.meta-kitap-title {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sl-ink);
}

.profil-grid { grid-template-columns: 160px 1fr; }

.kitap-kapak {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 25;
  object-fit: cover;
  border-radius: 12px;
  background: #dde1ea;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.kitap-kapak.is-loaded {
  opacity: 1;
}

.kitap-kapak-wrap {
  display: inline-block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 25;
  border-radius: 12px;
  overflow: hidden;
  background: #dde1ea;
}

.kitap-kapak-wrap .kitap-kapak {
  max-width: none;
  width: 100%;
  height: 100%;
}

.kitap-kapak.placeholder {
  background: linear-gradient(145deg, #d9deea, #f0f2f7);
  opacity: 1;
}

.profil-foto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sl-accent-soft);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--sl-accent);
  opacity: 0;
  transition: opacity .28s ease;
}

.profil-foto.is-loaded,
.profil-foto.placeholder,
.profil-foto-bos {
  opacity: 1;
}

.profil-foto-bos {
  background: #e6e9f0;
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(18, 19, 26, 0.06);
}

.profil-foto-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #dde1ea;
}

.profil-foto-wrap .profil-foto {
  display: block;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sl-accent);
}

.preview-body h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.meta-line {
  margin: 0 0 8px;
  color: var(--sl-muted);
  font-weight: 600;
}

.meta-line.muted { font-weight: 500; font-size: 0.95rem; }

.aciklama {
  margin: 12px 0 22px;
  color: var(--sl-ink);
  max-width: 40rem;
}

.empty .wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 32px 24px;
}

.empty h1 { margin-top: 0; }

.back-link { margin-top: 22px; }

.site-footer {
  border-top: 1px solid var(--sl-line);
  padding: 28px 0 36px;
  color: var(--sl-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-brand {
  margin: 0 0 4px;
  font-weight: 800;
  color: var(--sl-ink);
}

.footer-note { margin: 0 0 12px; font-size: 0.92rem; }

.footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-langs {
  max-width: 100%;
}

.page-shell .wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 32px 24px;
}

.page-shell h1 { margin-top: 0; }

@media (max-width: 900px) {
  .kitap-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kitap-charts {
    grid-template-columns: 1fr;
  }
  .meta-kitap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .home-split { padding: 28px 0 56px; }
  .home-split-inner { grid-template-columns: 1fr; gap: 24px; }
  .uyeler-grid { max-width: none; gap: 8px; }
  .latest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .kitap-modal-body { grid-template-columns: 1fr; }
  .kitap-modal-cover { display: flex; justify-content: center; }
  .preview-grid,
  .profil-grid {
    grid-template-columns: 1fr;
  }
  .kitap-kapak { max-width: 180px; }
  .preview-media { display: flex; justify-content: center; }
  .kitap-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kitap-bar {
    grid-template-columns: 72px 1fr 48px;
    gap: 8px;
  }
  .meta-kitap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .header-balance {
    display: block;
    grid-column: 1;
  }
  .site-header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 56px;
    padding: 8px 0;
    gap: 0;
  }
  .logo {
    grid-column: 2;
    justify-self: center;
  }
  .header-side {
    grid-column: 3;
    justify-self: end;
    width: 44px;
  }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-inner { align-items: flex-start; }
  .profil-ozet-sayac { gap: 14px; }
  .profil-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.profil-foto-btn,
.kitap-kapak-btn,
.meta-kitap-cover.js-img-preview {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
}

.kitap-kapak-btn {
  max-width: 220px;
}

.kitap-yazar-avatar.js-img-preview {
  cursor: zoom-in;
}

.profil-rozet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--sl-primary);
  color: #fff;
  font-size: 0.55em;
  vertical-align: middle;
  margin-left: 4px;
}

.profil-bilgi-satir {
  margin: 0 0 12px;
  color: var(--sl-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.profil-ozet-sayac {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.profil-ozet-sayac li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 64px;
}

.profil-ozet-sayac strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.profil-ozet-sayac span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sl-muted);
}

.profil-stats-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.img-preview {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.img-preview[hidden] {
  display: none !important;
}

.img-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.78);
}

.img-preview-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sl-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.img-preview-stage {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 720px);
  max-height: 88vh;
}

.img-preview-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #111;
}

.page-policy .policy-card {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 28px 30px;
  box-shadow: 0 12px 40px rgba(18, 19, 26, 0.06);
}

.page-policy .sayfa-metni,
.page-policy .politika-metni {
  max-width: 46rem;
}

.page-policy .sayfa-metni .ozet {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sl-muted);
  line-height: 1.55;
}

.page-policy .sayfa-metni h2 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
}

.page-policy .sayfa-metni p,
.page-policy .sayfa-metni li {
  margin: 0.55rem 0;
  color: var(--sl-ink);
  line-height: 1.65;
}

.page-policy .sayfa-metni ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.page-policy .sayfa-metni .guncelleme {
  margin-top: 1.8rem;
  color: var(--sl-muted);
  font-size: 0.9rem;
}

/* Hakkımızda — profesyonel layout */
.about-page {
  padding-bottom: 72px;
}

.about-hero {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  overflow: hidden;
  margin-bottom: 36px;
  background: #1a1c24;
}

.about-hero-media {
  position: absolute;
  inset: 0;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
}

.about-hero-media img.is-loaded {
  opacity: 1;
}

.about-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(18, 19, 26, 0.15) 0%, rgba(18, 19, 26, 0.72) 58%, rgba(18, 19, 26, 0.88) 100%);
  padding: 48px 0 40px;
}

.about-hero-copy {
  color: #fff;
  max-width: 40rem;
}

.about-hero-copy .eyebrow {
  color: #ffb3d6;
}

.about-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-hero-lead {
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.about-hero-actions .cta-row {
  margin: 0;
}

.about-hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.about-hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.about-body {
  display: grid;
  gap: 28px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #dde1ea;
  box-shadow: 0 12px 36px rgba(18, 19, 26, 0.1);
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .28s ease;
}

.about-figure img.is-loaded {
  opacity: 1;
}

.about-figure figcaption {
  padding: 12px 16px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sl-muted);
  background: rgba(255, 255, 255, 0.92);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-pillar {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--sl-line);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 28px rgba(18, 19, 26, 0.05);
}

.about-pillar-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-accent);
}

.about-pillar h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.about-pillar p {
  margin: 0;
  color: var(--sl-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-policy-card {
  margin-top: 4px;
}

.about-policy-card a {
  color: var(--sl-primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-overlay {
    padding: 36px 0 28px;
  }
}
