/**
 * Link-in-bio ana sayfa — Orkun kart düzeni, Cihan kırmızı-siyah paleti.
 * Eski site CSS'inden bağımsız; yalnızca .lib-* seçicileri kullanır.
 */

.lib-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", system-ui, sans-serif;
  background: #140308;
  color: #fff;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.lib-page *,
.lib-page *::before,
.lib-page *::after {
  box-sizing: border-box;
}

.lib-page a {
  color: inherit;
  text-decoration: none;
}

.lib-page button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.lib-page img {
  max-width: 100%;
  display: block;
}

.lib-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lib-main {
  flex: 1 0 auto;
  padding: 20px 16px 24px;
}

/* Kartın altındaki telif satırı */
.lib-credit {
  flex-shrink: 0;
  padding: 8px 16px 22px;
  text-align: center;
}

.lib-credit p,
.lib-credit-line {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
}

/* Yatay logo + hakkımızda */
.lib-foot {
  flex-shrink: 0;
  padding: 8px 16px 28px;
}

.lib-foot-inner {
  max-width: 646px;
  margin: 0 auto;
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: #1a060b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lib-foot-logo {
  display: block;
  margin: 0 auto 16px;
  max-width: 380px;
}

.lib-foot-logo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.lib-foot-about h2 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff4a5e;
}

.lib-foot-about p {
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.lib-foot-about p:last-child {
  margin-bottom: 0;
}

.lib-foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 16px 0 14px;
}

.lib-foot-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.lib-foot-nav a:hover {
  color: #ff4a5e;
}

@media (min-width: 761px) and (max-width: 900px) {
  .lib-main {
    padding-right: 76px;
  }
}

.lib-wrap {
  max-width: 646px;
  margin: 0 auto;
}

/* Ortalanmış kart — referanstaki 2rem radius + gölge */
.lib-card {
  border-radius: 2rem;
  background: #2a0b12;
  box-shadow: 0 28px 60px rgba(40, 0, 8, 0.48);
  overflow: hidden;
}

.lib-hero {
  position: relative;
  aspect-ratio: 0.83;
  min-height: 420px;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
}

.lib-hero-media,
.lib-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lib-hero-media {
  object-fit: cover;
  object-position: center 22%;
}

/* Portre yokken kart yine dolu dursun */
.lib-hero-fallback {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(214, 0, 28, 0.45), transparent 50%),
    linear-gradient(165deg, #5a0a18 0%, #1a0508 55%, #0d0304 100%);
}

.lib-hero-fallback img {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  opacity: 0.28;
}

.lib-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 2, 4, 0.18) 0%,
    rgba(10, 2, 4, 0.12) 38%,
    rgba(20, 3, 8, 0.72) 72%,
    rgba(20, 3, 8, 0.94) 100%
  );
  pointer-events: none;
}

.lib-hero-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lib-lang {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
}

.lib-lang button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lib-lang button[aria-pressed="true"] {
  background: #111;
  color: #fff;
}

.lib-share {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
}

.lib-share:focus-visible,
.lib-lang button:focus-visible,
.lib-tab:focus-visible,
.lib-link:focus-visible,
.lib-video-card:focus-visible,
.lib-social-btn:focus-visible {
  outline: 2px solid #ff4a5e;
  outline-offset: 2px;
}

.lib-identity {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
}

.lib-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(1.7rem, 5.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lib-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d6001c;
  flex-shrink: 0;
}

.lib-badge svg {
  width: 12px;
  height: 12px;
}

.lib-tagline {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.lib-tabs {
  display: flex;
  margin: 18px 18px 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.lib-tab {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

/* Üç / dört sekme sığsın */
.lib-tabs--triple .lib-tab,
.lib-tabs--quad .lib-tab {
  padding: 0 4px;
  font-size: 0.82rem;
}

.lib-tab[aria-selected="true"] {
  background: #111;
  color: #fff;
}

.lib-panel {
  padding: 18px 18px 8px;
}

.lib-panel[hidden] {
  display: none;
}

.lib-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lib-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lib-link:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.lib-link-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.lib-link-icon svg {
  width: 22px;
  height: 22px;
}

.lib-link-label {
  flex: 1;
  text-align: center;
  padding-right: 28px;
}

.lib-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lib-video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  min-height: 100%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lib-video-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.lib-video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a0508;
  overflow: hidden;
}

.lib-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lib-video-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  flex: 1;
}

.lib-video-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lib-video-meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
}

.lib-video-cta {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff4a5e;
}

.lib-videos-status,
.lib-channel {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.lib-channel {
  display: inline-block;
  width: 100%;
  padding: 10px 0 6px;
  font-weight: 700;
}

.lib-channel:hover {
  color: #ff4a5e;
}

.lib-blog {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lib-blog-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lib-blog-thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: #1a0508;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lib-blog-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.lib-blog-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.lib-blog-excerpt {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

/* Sabit dikey sosyal çubuk — kartın dışında, sağ kenar */
.lib-rail {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.lib-rail .lib-social-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #2a2a2a;
  color: #c8c8c8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.lib-rail .lib-social-btn:hover {
  background: #d6001c;
  color: #fff;
}

.lib-rail .lib-social-btn svg {
  width: 22px;
  height: 22px;
}

.lib-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.lib-toast[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .lib-rail {
    top: auto;
    right: 12px;
    bottom: 16px;
    transform: none;
    flex-direction: row;
  }

  .lib-rail .lib-social-btn {
    width: 42px;
    height: 42px;
  }

  .lib-main {
    padding-bottom: 16px;
  }

  .lib-credit,
  .lib-foot {
    padding-bottom: 72px;
  }
}

@media (max-width: 520px) {
  .lib-main {
    padding: 12px 10px 16px;
  }

  .lib-hero {
    min-height: 380px;
  }

  .lib-link-label {
    padding-right: 0;
    text-align: left;
  }

  .lib-videos {
    gap: 10px;
  }

  .lib-tabs--triple .lib-tab,
  .lib-tabs--quad .lib-tab {
    font-size: 0.7rem;
    min-height: 40px;
  }
}

/* İç sayfa kartı — hero portresi yok, metin + form */
.lib-card--page {
  padding: 0 0 28px;
}

.collab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 0;
}

.collab-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.collab-back:hover {
  color: #fff;
}

.collab-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.collab-hero {
  padding: 12px 22px 8px;
}

.collab-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4a5e;
}

.collab-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.collab-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.shop-grid,
.shop-preview {
  display: grid;
  gap: 12px;
}

.shop-card {
  overflow: hidden;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.shop-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.shop-card-ph {
  display: grid;
  place-items: center;
  height: 88px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  background: #2a0b12;
}

.shop-card-body {
  padding: 12px 14px 14px;
}

.shop-card-body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.shop-card-body p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.shop-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-card-bar strong {
  color: #ff4a5e;
  font-size: 1rem;
}

.shop-soon {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.shop-preview {
  padding-bottom: 12px;
}

.shop-preview-lead {
  margin: 0 0 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.shop-preview .shop-card-ph {
  height: 64px;
}

.collab-block {
  padding: 22px 22px 0;
}

.collab-block h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.collab-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.collab-offer {
  padding: 14px;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
}

.collab-offer h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.collab-offer p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.collab-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collab-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.collab-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.collab-field input,
.collab-field select,
.collab-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.collab-field textarea {
  min-height: 140px;
  resize: vertical;
}

.collab-field input:focus,
.collab-field select:focus,
.collab-field textarea:focus {
  outline: 2px solid #ff4a5e;
  outline-offset: 1px;
}

.collab-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.collab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.collab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.collab-btn--primary {
  background: #d6001c;
  color: #fff;
}

.collab-btn--primary:hover {
  background: #ff2038;
}

.collab-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
}

.collab-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.collab-meta {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.collab-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.collab-email a {
  font-weight: 700;
  color: #ff4a5e;
}

@media (max-width: 520px) {
  .collab-offers {
    grid-template-columns: 1fr;
  }
}

/* Blog yazısı — aynı kart, okuma için biraz daha geniş */
.lib-wrap--article {
  max-width: 720px;
}

.lib-article-cover {
  margin: 16px 18px 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #1a0508;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lib-article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.lib-article-date {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.lib-article-body {
  padding: 8px 22px 4px;
}

.lib-article-body .article-lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.lib-article-body h2 {
  margin: 26px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #ff4a5e;
}

.lib-article-body p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.lib-article-body ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.lib-article-body li {
  margin: 0 0 8px;
  line-height: 1.55;
}

.lib-article-cta {
  margin: 18px 18px 0;
  padding: 18px;
  border-radius: 1.2rem;
  background: rgba(214, 0, 28, 0.22);
}

.lib-article-cta p {
  margin: 0 0 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.lib-article-nav {
  padding-top: 16px;
}

/* Blog liste sayfası — ana sayfa Blog sekmesiyle aynı kartlar */
.lib-blog-index {
  padding: 8px 18px 0;
}

.lib-blog-index .lib-blog-card {
  align-items: center;
}
